Previous  |  Next  >  
Product: Volume Replicator Guides   
Manual: Volume Replicator 4.1 Administrator's Guide   

Administering the Replicated Data Set

Removing a Secondary from a Replicated Data Set

The 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  Caution    The operation performed by the vradmin delsec command is irreversible.

The vradmin delsec command performs the following by default:

  • Dissociates the data volumes and SRL from the Secondary RVG.
  • Removes the Secondary RVG from its RDS, deletes the Secondary RVG, and deletes the associated Primary and Secondary RLINKs.

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.

Example:

This example removes the Secondary RVG hr_rvg from its RDS when the configuration looks like this:

On Primary On Secondary
Host Name displayed in the output of the vradmin printrvg command

seattle

london

RVG

hr_rvg

hr_rvg

Disk Group

hrdg

hrdg

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 RVG

The vradmin delpri command removes a Primary RVG from an RDS and thus deletes the corresponding RDS.

Prerequisite for deleting a Primary RVG:

The vradmin delpri command performs the following by default:

  • Dissociates the data volumes and SRL from the Primary RVG.
  • Removes the Primary RVG.

The vradmin delpri command does not delete data volumes or the SRL from the VERITAS Volume Manager configuration.


Note   Note    This command can only be issued from the Primary host.

  To remove a Primary RVG


#  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.

Example 1:

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

Example 2:

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