Sun N1 System Manager 1.3.2 Release Notes

Grid Engine Master Cannot Be Unloaded From N1 System Manager When Two Masters Are Present (6423617)

Workaround: Reload N1 System Manager or remove one of the master hosts from the database by performing the following procedure.

  1. Access the database through /opt/SUNWscs/sbin/db_tool.pl psql for Solaris or /opt/sun/scs/sbin/db_tool.pl psql for Linux.

  2. List the entries for the two masters:

    mgmt=>select * from sge_hosts;


     appliance_id |  type  | hostname  |              spooldir
    --------------+--------+-----------+-------------------------------------
                2 | MASTER | 10-0-0-17 | /gridware/sge/default/spool/qmaster
                3 | MASTER | hdco16    | /gridware/sge/default/spool/qmaster
    (2 rows)

    mgmt=>SELECT * from sge_host_versions;


     appliance_id | version
    --------------+---------
                2 | a1
                3 | a1
    (2 rows)
  3. Delete one of the masters from the sge_host_versions table and the sge_hosts table.

    mgmt=>delete from sge_host_versions where appliance_id = '3';


    DELETE 1

    mgmt=>SELECT * from sge_host_versions;


     appliance_id | version
    --------------+---------
                2 | a1
    (1 row)

    mgmt=>delete from sge_hosts where appliance_id = '3';


    DELETE 1

    mgmt=>select * from sge_hosts;


     appliance_id |  type  | hostname  |              spooldir
    --------------+--------+-----------+-------------------------------------
                2 | MASTER | 10-0-0-17 | /gridware/sge/default/spool/qmaster
    (1 row)