Sun Cluster Data Service for SWIFTAlliance Access Guide for Solaris OS

Registering and Configuring Sun Cluster HA for SWIFTAlliance Access

This section contains the procedures you need to configure Sun Cluster HA for SWIFTAlliance Access.

ProcedureHow to Register and Configure Sun Cluster HA for SWIFTAlliance Access as a Failover Service

This procedure assumes that you installed the data service packages during your initial Sun Cluster installation.

Steps 1 to 6 will normally already be done in order to prepare for the installation of the IBM DCE and SWIFTAlliance Access software. See How to Install and Configure SWIFTAlliance Access. Typically, you should go directly to step 7.

  1. Become superuser on one of the nodes in the cluster that will host Sun Cluster.

  2. Register the SUNW.gds resource type.


    # clresourcetype register SUNW.gds
    
  3. Register the SUNW.HAStoragePlus resource type.


    # clresourcetype register SUNW.HAStoragePlus
    
  4. Create a failover resource group.


    # clresourcegroup create [-n node-zone-list] swift-rg
    
    -n node-zone-list

    Specifies a comma-separated, ordered list of zones that can master the resource group. The format of each entry in the list is node. In this format, node specifies the node name and zone specifies the name of a non-global Solaris zone. To specify the global zone, or to specify a node without non-global zones, specify only node. This list is optional. If you omit this list, the global zone of each cluster node can master the resource group.

  5. Create a resource for the Sun Cluster Disk Storage.


    # clresource create -g swift-rg  \
    -t SUNW.HAStoragePlus  \
    -x FilesystemMountPoints=/global/saadg/alliance swift-ds
    
  6. Create a resource for the Sun Cluster Logical Hostname.


    # clreslogicalhostname create  -g swift-rg\
      -h swift-lh swift-lh-rs
    
  7. Enable the failover resource group that now includes the Sun Cluster Disk Storage and Logical Hostname resources.


    # clresourcegroup online -M swift-rg
    
  8. Create a resource for SWIFTAlliance Access.

    1. Before running this script, check that the names of the resources match what is configured in /opt/SUNWscsaa/util/saa_config.


      # /opt/SUNWscsaa/util/saa_register 
      
    2. Run the registration script provided as part of the SWIFTAlliance Access HA agent.

  9. Start the SWIFTAlliance Access instance manually.


    su - all_adm
    The GUI will open up. From within the GUI, select the menu
    Alliance - Start Alliance Servers
  10. Stop the SWIFTAlliance Access manually.


    su - all_adm
     The GUI will come up. Stop the application from within the GUI.
  11. Enable each Sun Cluster resource.


    # clresourcegroup status -g swift-rg
    # clresource enable swift-saa-rs