![]() |
![]() |
![]() |
![]() |
![]() |
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
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