Preparing the Secondary Enterprise Controller for Failover
Preparing the secondary Enterprise Controller before you transfer storage requires the following tasks:
- Stopping Sun xVM Ops Center services
- Unmounting LOFS mounts
- Unsharing the /var/opt/sun/xvm/osp/share/allstart directory
- Renaming the /var/opt/sun/xvm directory, and creating an empty /var/opt/sun/xvm directory
Perform the following procedure on the secondary Enterprise Controller.
To Prepare the Secondary Enterprise Controller for Failover
Caution – The following example procedure is based on the example Solaris OS-based storage solution that is described in Configuring Storage for High Availability. You must determine what specific procedures to use, depending on the storage solution that you have implemented. |
- Use the satadm command to check for and shut down Sun xVM Ops Center services on the secondary Enterprise Controller.
- Solaris OS: Use the /opt/SUNWxvmoc/bin/satadm command.
- RHEL OS: Use the /opt/sun/xvmoc/bin/satadm command.
For example:# /opt/SUNWxvmoc/bin/satadm status online # /opt/SUNWxvmoc/bin/satadm stop -w satadm: Shutting down satellite using SMF... satadm: Satellite services have stopped #
In this example, Enterprise Controller services are online. On a secondary Enterprise Controller you typically install, but do not configure, Sun xVM Ops Center Software. No Proxy Controller services run on a system that has Sun xVM Ops Center software installed but not configured. You can use the proxyadm command to check for and stop Proxy Controller services if required.
- Solaris OS: Use the /opt/SUNWxvmoc/bin/proxyadm command.
- RHEL OS: Use the /opt/sun/xvmoc/bin/proxyadm command.
- Unmount the /etc/opt/SUNWuce, /var/opt/SUNWuce, and /opt/SUNWuce LOFS mounts.
For example:# mount -v | grep xvm /var/opt/sun/xvm/uce/etc.opt on /etc/opt/SUNWuce type lofs read/write/setuid/devices/dev=1d80018 on Mon Feb 23 08:16:30 2009 /var/opt/sun/xvm/uce/var.opt on /var/opt/SUNWuce type lofs read/write/setuid/devices/dev=1d80018 on Mon Feb 23 08:16:30 2009 /var/opt/sun/xvm/uce/opt on /opt/SUNWuce type lofs read/write/setuid/devices/dev=1d80018 on Mon Feb 23 08:16:30 2009 # # umount /etc/opt/SUNWuce # umount /var/opt/SUNWuce # umount /opt/SUNWuce # mount -v | grep xvm #
In this example, the system was installed using one file system to hold all Sun xVM Ops Center software. No separate file system yet exists for the /var/opt/sun/xvm directory.
- Unshare the /var/opt/sun/xvm/osp/share/allstart directory.
For example:# share - /var/opt/sun/xvm/osp/share/allstart ro "Allstart Share" - /var/js ro,anon=0 "Allstart Share" - /opt/SUNWjet ro,anon=0 "JET Framework" # unshare /var/opt/sun/xvm/osp/share/allstart # share - /var/js ro,anon=0 "Allstart Share" - /opt/SUNWjet ro,anon=0 "JET Framework" #
- Rename the /var/opt/sun/xvm directory to /var/opt/sun/xvm_secondary.
For example:# mv /var/opt/sun/xvm /var/opt/sun/xvm_secondary #
- Create a new directory named /var/opt/sun/xvm.
For example:# mkdir /var/opt/sun/xvm #This directory is used to mount the transferable storage that contains the /var/opt/sun/xvm directory structure from the primary Enterprise Controller.
Where to Go From Here
See Transferring a Storage Asset to learn how to transfer the storage asset that holds the /var/opt/sun/xvm directory structure to the secondary Enterprise Controller.



