Sun Cluster Data Service for SWIFTAlliance Gateway Guide for Solaris OS

Registering and Configuring the Sun Cluster HA for SWIFTAlliance Gateway

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

To enable Sun Cluster HA for SWIFTAlliance Gateway to make SWIFTAlliance Gateway highly available, configure the Sun Cluster HA for SWIFTAlliance Gateway data service as a failover data service.

Before you perform this procedure, ensure that the Sun Cluster HA for SWIFTAlliance Gateway data service packages are installed.

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 sag-rg
    
  5. Create a resource for the Sun Cluster Disk Storage.


    # clreseource create -gsag-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. For more information, see the SUNW.HAStoragePlus(5) man page.

  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 sag-rg
    
  8. Create a resource for SWIFTAlliance Gateway.

    1. Change the user name, password, and path variable in the /opt/SUNWscsag/etc/settings.sh file.

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

    2. Change the group name, resource name and, if necessary, the port number in the /opt/SUNWscsag/util/sag_config file.

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

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