< Previous | Next > | |
Product: Volume Replicator Guides | |
Manual: Volume Replicator 4.1 Administrator's Guide |
Administering the Replicated Data SetRemoving a Secondary from a Replicated Data SetThe vradmin delsec command removes a Secondary RVG from its RDS. The vradmin delsec command can be entered from any host in an RDS. The vradmin delsec command removes the Secondary RVG from its RDS on the specified Secondary host. Before executing this command, you must stop replication to the specified Secondary, using the vradmin stoprep command. Caution The operation performed by the vradmin delsec command is irreversible. The vradmin delsec command performs the following by default:
The vradmin delsec command does not delete data volumes and the SRL. To remove a Secondary from an RDS # vradmin -g diskgroup delsec local_rvgname sec_hostname The argument local_rvgname is the name of the RVG on the local host and represents its RDS. The argument sec_hostname is the name of the Secondary host as displayed in the output of the vradmin printrvg command.
This example removes the Secondary RVG hr_rvg from its RDS when the configuration looks like this:
Because the command is entered on the Primary seattle, the local RVG is the Primary RVG hr_rvg belonging to the disk group hrdg. To remove the Secondary RVG hr_rvg from its RDS, type the following command on seattle: # vradmin -g hrdg delsec hr_rvg london Removing a Primary RVGThe vradmin delpri command removes a Primary RVG from an RDS and thus deletes the corresponding RDS. Prerequisite for deleting a Primary RVG: All Secondaries in the RDS must be removed. For more information on how to remove a Secondary from an RDS, see Removing a Secondary from a Replicated Data Set. The vradmin delpri command performs the following by default:
The vradmin delpri command does not delete data volumes or the SRL from the VERITAS Volume Manager configuration. Note This command can only be issued from the Primary host. # vradmin -g diskgroup delpri rvg_name The argument rvg_name is the name of the Primary RVG to be removed. When used with the -f option, the vradmin delpri command removes the Primary RVG even when the application is running on the Primary. To remove the Primary RVG hr_rvg when the application using the Primary data volumes is inactive, issue the following command on the Primary host: # vradmin -g hrdg delpri hr_rvg To remove the Primary RVG hr_rvg when the application using the Primary data volumes is active, issue the following command on the Primary host: # vradmin -g hrdg -f delpri hr_rvg |
^ Return to Top | < Previous | Next > |
Product: Volume Replicator Guides | |
Manual: Volume Replicator 4.1 Administrator's Guide | |
VERITAS Software Corporation
www.veritas.com |