Sun N1 System Manager 1.3.3 ご使用にあたって

Grid Engine のマスターが 2 つある場合に、マスターを N1 System Manager からアンロードできない (6423617)

回避策: N1 System Manager を再ロードするか、次の手順を実行してデータベースからマスターホストを 1 つ削除します。

  1. Solaris の場合は /opt/SUNWscs/sbin/db_tool.pl psql、Linux の場合は /opt/sun/scs/sbin/db_tool.pl psql を使用してデータベースにアクセスします。

  2. 2 つのマスターのエントリを表示します。

    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. sge_host_versions テーブルと sge_hosts テーブルからマスターの 1 つを削除します。

    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)