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

Verifying the Installation and Configuration of N1 Grid Service Provisioning System

This section contains the procedure you need for verifying the installation and configuration of N1 Grid Service Provisioning System.

This procedure does not verify that your applications are highly available because you have not installed your data service yet. Select the appropriate procedure for the N1 Grid Service Provisioning System application you installed.

ProcedureHow to Verify the Installation and Configuration of N1 Grid Service Provisioning System Master Server

This procedure is for the installation verification of the master server.

  1. (Optional) Log in to the target zone if the master server is installed in a non-global zone.


    # zlogin sps-zone
    
  2. Start the N1 Grid Service Provisioning System Master Server.

    Switch to the N1 Grid Service Provisioning System Master Servers user name (in the following example, it is sps) and change to the directory where the software is located. In the following example the software version is 4.1.


    Note –

    The output messages of the start and shutdown commands are highly version dependent.



     # su -  sps
    $ cd N1_Service_Provisioning_System_4.1
    $ cd server/bin
    $ ./cr_server start
    *** Starting database
    *** Starting cr_server
  3. Check the Installation

    Start a web browser and connect to the cluster node with http://logical-hostname:port. The port is the web administration port configured in the installation procedure of the master server. If you see the default N1 Grid Service Provisioning System login page everything is working correctly.

  4. Stop the N1 Grid Service Provisioning System Master Server.


     $ ./cr_server stop
    *** Stopping cr_server
    Waiting for CR to complete shutdown...
    *** Stopping database
    waiting for postmaster to shut down.......done
    postmaster successfully shut down
  5. (Optional) Leave the target zone.

ProcedureHow to Verify the Installation and Configuration of N1 Grid Service Provisioning System Remote Agent

This procedure is for the installation verification of the N1 Grid Service Provisioning System Remote Agent.

  1. (Optional) Log in to the target zone if the master server is installed in a non-global zone.


    # zlogin sps-zone
    
  2. Start the N1 Grid Service Provisioning System Remote Agent.

    Switch to the N1 Grid Service Provisioning System Remote Agents user name (in the following example, it is sps) and change to the directory where the software is located. In the following example the software version is 4.1.


    Note –

    The output messages of the start and shutdown commands are highly version dependent.



     # su -  sps
    $ cd N1_Service_Provisioning_System
    $ cd agent/bin
    $ ./cr_agent start
    *** Starting cr_agent
  3. Check the Installation

    Check the process table with the following command:


    $ /usr/ucb/ps -auxww |grep java|grep agent >/dev/null;echo $? 
    0

    If the response is 0, everything is working correctly. You may omit the |grep agent >/dev/null;echo $? in this case you have to see a java process with agent in the process string.

  4. Stop the N1 Grid Service Provisioning System Remote Agent.


     $ ./cr_agent stop
    *** Stopping cr_agent
  5. (Optional) Leave the target zone.

ProcedureHow to Verify the Installation and Configuration of N1 Grid Service Provisioning System Local Distributor

This procedure is for the installation verification of the N1 Grid Service Provisioning System Local Distributor.

  1. (Optional) Log in to the target zone if the master server is installed in a non-global zone.


    # zlogin sps-zone
    
  2. Start the N1 Grid Service Provisioning System Local Distributor.

    Switch to the N1 Grid Service Provisioning System Remote Agents user name (in the following example, it is sps) and change to the directory the software is located. In the following example the software version is 4.1.


    Note –

    The output messages of the start and shutdown commands are highly version dependent.



     # su -  sps
    $ cd N1_Service_Provisioning_System
    $ cd ld/bin
    $ ./cr_ld start
    *** Starting cr_ld
  3. Check the Installation

    Check the process table with the following command:


    $ /usr/ucb/ps -auxww |grep java|grep ld>/dev/null;echo $?
    0

    If the response is 0, everything is working correctly. You may omit the |grep ld>/dev/null;echo $? in this case you have to see a java process with ld in the process string.

  4. Stop the N1 Grid Service Provisioning System Local Distributor.


     $ ./cr_ld stop
    *** Stopping cr_ld
  5. (Optional) Leave the target zone.