If you use VVR, you need to perform the following steps. This section gives the steps to remove a Replicated Data Set (RDS) when the application is either active or stopped.
To remove the Replicated Data Set
# vxrlink -g diskgroup status rlink_name
If the Secondary is not required to be up-to-date, proceed to 2 and stop replication using the -f option with the vradmin stoprep command.
The vradmin stoprep command fails if the Primary and Secondary RLINKs are not up-to-date. Use the -f option to stop replication to a Secondary even when the RLINKs are not up-to-date.
# vradmin -g diskgroup stoprep 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.
# 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.
# vradmin -g diskgroup delpri local_rvgname
When used with the -f option, the vradmin delpri command removes the Primary even when the application is running on the Primary.
The RDS is removed.
# vxedit -r -g diskgroup rm srl_name