Sun Cluster Data Service for SWIFTAlliance Gateway Guide for Solaris OS

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

Use this procedure to configure the Sun Cluster HA for SWIFTAlliance Gateway data service as a failover service.

  1. Become superuser on one of the nodes in the cluster that is the host for SWIFTAlliance Gateway.

  2. Register the SUNW.gds resource type.


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


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


    # clresourcegroup create [-n node-zone-list] sag-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 sag-rg \
    -t SUNW.HAStoragePlus \
    -x FilesystemMountPoints=/swift sag-ds-rs
    
    sag-ds-rs

    Specifies that the resource that you are creating is named sag-ds-rs.

    -g sag-rg

    Specifies that the resource is to be added to the SWIFTAlliance Gateway resource group.

    -x FileSystemMountPoints=mountpoint-list

    Specifies a list of valid mount points for the file system.

  6. Create a resource for the Sun Cluster logical hostname.


    # clreslogicalhost create -g sag-rg \
    -h gatewayhostname sag-lh-rs
    
  7. Enable the failover resource that contains the Sun Cluster Disk Storage and the Logical hostname resources.


    # clresourcegroup online -eM sag-rg
    
  8. Create a resource for SWIFTAlliance Gateway.

    1. Change the variables in the /opt/SUNWscsag/util/sag_config file.

      For information about this file, see Configuration Files and Registration Script.

    2. Run the registration script to register the data service and application.

      For information about this script, see Configuration Files and Registration Script.


      # /opt/SUNWscsag/util/sag_register
      
  9. Enable the SWIFTAlliance Gateway resource.


    # clresource enable sag-resource-rs
    
Next Steps

Go to Verifying the Sun Cluster HA for SWIFTAlliance Gateway Installation and Configuration.