Sun Cluster Software Installation Guide for Solaris OS

ProcedureHow to Provoke a Switchover

Steps
  1. Change the primary cluster to logging mode.


    nodeA# /usr/opt/SUNWesm/sbin/sndradm -n -l lhost-reprg-prim \
    /dev/vx/rdsk/devicegroup/vol01 \
    /dev/vx/rdsk/devicegroup/vol04 lhost-reprg-sec \
    /dev/vx/rdsk/devicegroup/vol01 \
    /dev/vx/rdsk/devicegroup/vol04 ip sync
    

    When the data volume on the disk is written to, the bitmap volume on the same device group is updated. No replication occurs.

  2. Confirm that the primary cluster and the secondary cluster are in logging mode, with autosynchronization off.

    1. On nodeA, confirm the mode and setting:


      nodeA# /usr/opt/SUNWesm/sbin/sndradm -P
      

      The output should resemble the following:


      /dev/vx/rdsk/devicegroup/vol01 ->
      lhost-reprg-sec:/dev/vx/rdsk/devicegroup/vol01
      autosync:off, max q writes:4194304,max q fbas:16384,mode:sync,ctag:
      devicegroup, state: logging
    2. On nodeC, confirm the mode and setting:


      nodeC# /usr/opt/SUNWesm/sbin/sndradm -P
      

      The output should resemble the following:


      /dev/vx/rdsk/devicegroup/vol01 <-
      lhost-reprg-prim:/dev/vx/rdsk/devicegroup/vol01
      autosync:off, max q writes:4194304,max q fbas:16384,mode:sync,ctag:
      devicegroup, state: logging

    For nodeA and nodeC, the state should be logging, and the active state of autosynchronization should be off.

  3. Confirm that the secondary cluster is ready to take over from the primary cluster.


    nodeC# /usr/sbin/fsck -y /dev/vx/rdsk/devicegroup/vol01
    
  4. Switch over to the secondary cluster.


    nodeC# scswitch -Z -g nfs-rg
    
Next Steps

Go to How to Update the DNS Entry.