Less known Solaris Features: Remote Mirror with AVS - Part 6: Deactivating a replication
In the last parts of this tutorial i´ve explained to you, how you set up a replication relation. But it´s important to know how you deactivate and delete the replication as well.
Deleting the replication configuration
It´s quite easy to delete the replication.
At first we look up the existing replication configuration.
Okay, we can use the local or remote volume as a name to choose the configuration to be deleted:
Now we can lookup the configuration again.
As you see, the configuration is gone. But you have to do the same on the other host. So login as root to the other host:
[root@theoden:~]$ sndradm -P
/dev/rdsk/c1d1s1 -> gandalf:/dev/rdsk/c1d1s1
autosync: off, max q writes: 4096, max q fbas: 16384, async threads: 2, mode: sync, state: logging
[root@theoden:~]$ sndradm -d gandalf:/dev/rdsk/c1d1s1
Disable Remote Mirror? (Y/N) [N]: y
[root@theoden:~]$ sndradm -P
[root@theoden:~]$
</blockquote>