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

ProcedureExample: Installing the N1 Grid Service Provisioning System Master Server Software on Shared Storage

These steps illustrate how to install the N1 Grid Service Provisioning System software. As long as only one node is mentioned it needs to be the node where your resource group is online.

  1. Log into the zone on both nodes.


    phys-schost-1 zlogin clu1
    phys-schost-2 zlogin clu2
    
  2. Beginning on the node that owns the file system, add the sps user.


    zone-1# groupadd -g 1000 sps
    zone-2# groupadd -g 1000 sps
    zone-1# useradd -g 1000 -d /global/mnt3/sps -m -s /bin/ksh sps
    zone-2# useradd -g 1000 -d /global/mnt3/sps -m -s /bin/ksh sps
    
  3. Prepare the shared memory of the default project on both nodes.


    zone-1# projmod -a -K "project.max-shm-memory=(priv,536870912,deny)" default
    zone-2# projmod -a -K "project.max-shm-memory=(priv,536870912,deny)" default
    

    Note –

    This example is valid for Solaris 10 only. Use appropriate methods on Solaris 9.


  4. Install the N1 Grid Service Provisioning System binaries on one node.


    zone-1# cd /installation_directory
    zone-1# ./cr_ms_solaris_sparc_pkg_5.2.sh
    

    Answer on the following cluster relevant questions as follows:


    • What base directory ...
      default: /opt/SUNWn1sps) [<directory>] /global/mnt3/sps
      

    • Which user will own the N1 SPS Master Server distribution?
      (default: n1sps) [<valid username>] sps
      

    • Which group on this machine will own the
      N1 SPS Master Server distribution?
      (default: n1sps) [<valid groupname>] sps
      

    • What is the hostname or IP address for this Master Server?
      (default: phys-schost-1) ha-host-1
      

    For all the other values, you can accept the defaults, or chose appropriate values. For the simplicity of this example we assume the default values of all port values.

  5. Start the master server as user sps.


    zone-1# su - sps
    zone-1$ cd /global/mnt3/sps/N1_Service_Provisioning_System_5.2/server/bin
    zone-1$ ./cr_server start
    
  6. Prepare the PostgreSQL database for monitoring


    zone-1$ cd /opt/SUNWscsps/master/util
    zone-1$ ksh ./db_prep_postgres /global/mnt3/sps/N1_Service_Provisioning_System_5.2
    
  7. Stop the master server and leave the user sps.


    zone-1$ cd /global/mnt3/sps/N1_Service_Provisioning_System_5.2/server/bin
    zone-1$ ./cr_server stop