回避策: N1 System Manager を再ロードするか、次の操作を行います。
次の手順でマスターホストを 1 つデータベースから削除します。
Solaris の場合は /opt/SUNWscs/sbin/db_tool.pl psql、Linux の場合は /opt/sun/scs/sbin/db_tool.pl psql を使用してデータベースにアクセスします。
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)
|
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)
|