Preparing the Secondary Enterprise Controller for Failover

Searching Sun xVM Ops Center 2.1

home Home
Sun xVM Information Exchange
Read Me First
Contact the Wiki Administrators


What's Going On

Get Going

Keep Going

Reference Material

Printable Quick Start Guides

Printable Versions

Previous Releases

Index


back"alt="back High Availability Support


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.

  1. 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.
  2. 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.

  3. 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" 
    # 
    


  4. 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
    #
    


  5. 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.

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

Sign up or Log in to add a comment or watch this page.


The individuals who post here are part of the extended Sun Microsystems community and they might not be employed or in any way formally affiliated with Sun Microsystems. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Sun nor any other party necessarily agrees with them.

Copyright 1994-2009 Sun Microsystems, Inc.
Powered by Atlassian Confluence
Sun Guidelines on Public Discourse Privacy Policy Terms of Use Trademarks Site Map Employment Investor Relations Contact