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

Preparation of the N1 Grid Service Provisioning System Master Servers database

In this section you prepare the database of the N1 Grid Service Provisioning System Master Server. It needs to contain the user sc_test and the table sc_test. The user and the table are needed to monitor the PostgreSql database. The script db_prep_postgres is provided to create the user and the table.

Preparation of the Master Servers database.
  1. Start the N1 Grid Service Provisioning System Master Server as described in How to Verify the Installation and Configuration of N1 Grid Service Provisioning System Master Server.

  2. Remain within the user of the Master Server and prepare the database.

    For the preparation of the database you need the N1 Grid Service Provisioning System Master Servers base directory. It is the directoy that contains the server/bin directory. You prepare the database with the following command:


    $/opt/SUNWscsps/master/util/db_prep_postgres <Base Directory of the master Server>
    CREATE USER
    CREATE

    An example for the Base Directory is:/global/sps/N1_Service_Provisioning_System_4.1.

  3. Stop the N1 Grid Service Provisioning System Master Server as described inHow to Verify the Installation and Configuration of N1 Grid Service Provisioning System Master Server.