Sun Cluster Data Service for N1 Grid Service Provisioning System for Solaris OS

ProcedureHow to Register and Configure Sun Cluster HA for N1 Service Provisioning System Local Distributor as a Failover Data Service in a Failover Zone

This procedure assumes that you installed the data service packages.

If you did not install the Sun Cluster HA for N1 Service Provisioning System packages, go to Installing the Sun Cluster HA for N1 Service Provisioning System Packages.

  1. Become superuser or assume a role that provides solaris.cluster.verb RBAC authorization on one of the nodes in the cluster that will host N1 Grid Service Provisioning System Local Distributor.

  2. Configure the registration scripts for each required N1 Grid Service Provisioning System Local Distributor instance.


    # cd /opt/SUNWscsps/localdist/util
    # cp spsld_config desired place
    

    Edit the spsld_config file and follow the comments within that file. For example:


    #
    # Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
    # Use is subject to license terms.
    #
    
    #ident   "@(#)spsld_config.ksh 1.2     06/03/17 SMI"
    
    # This file will be sourced in by spsld_register and the parameters
    # listed below will be used.
    #
    # These parameters can be customized in (key=value) form
    #
    #        RS - name of the resource for the application
    #        RG - name of the resource group containing RS
    #      PORT - name of the port number to satisfy GDS registration
    #        LH - name of the LogicalHostname SC resource
    #      USER - name of the owner of the local distributor
    #      BASE - name of the directry where the N1 Service Provisioning Server
    #             is installed
    #    HAS_RS - name of the HAStoragePlus SC resource
    #
    #
    # The following variables need to be set only if the agent runs in a
    # failover zone
    #
    #              ZONE - Zonename where the zsmf component should be registered
    #           ZONE_BT - Resource name of the zone boot component
    #           PROJECT - A project in the zone, that will be used for the 
    #                     smf service.
    #                     If the variable is not set it will be translated as :default for
    #                     the smf credentialss.
    #                     Optional
    #
    
    RS=
    RG=
    PORT=22
    LH=
    USER=
    BASE=
    HAS_RS=
    
    # failover zone specific options
    
    ZONE=
    ZONE_BT=
    PROJECT=

    The following is an example for N1 Grid Service Provisioning System 4.1 Local Distributor.


    RS=N1spsld-res
    RG=N1spsld-rg
    PORT=22
    LH=N1spsld-lh
    USER=sps
    BASE=/global/sps/N1_Service_Provisioning_System_4.1
    HAS_RS=N1spsld-hastplus-res
    ZONE=sps-zone
    ZONE_BT=sps-zone-rs
    PROJECT=

    The PORT variable is needed to satisfy the requirements of the generic data service.

  3. After editing spsld_config register the resource.


    # ksh ./spsld_register -f desired_place/spsld_config
    
  4. Enable each N1 Grid Service Provisioning System Local Distributor resource.


    # clresource status
    

    # clresource enable N1spsra-resource
    
  5. (Optional) Repeat Step 2 to Step 4 for each N1 Grid Service Provisioning System Local Distributor instance you need.