Changing the Master Host in Grid Engine



Overview

1. Stop the daemons on the current master host
2. Edit $SGE_ROOT/default/common/act_qmaster
3. Run sge5 on the new master host

1) Stop all daemons on the current master host

Stop the master and scheduler daemon on the current master by running the following command:

qconf -ks -km

2) Edit $SGE_ROOT/default/common/act_qmaster

In the act_qmaster file, the current hostname will need to be replaced with the new master host's name. This name should be the same as the name returned by the utility, gethostname. Run the following command on the new master host:

$SGE_ROOT/utilbin/$ARCH/gethostname

Put this name in the act_qmaster file in place of the old name.

3) Run sge5 on the new master host

On the new master host, run the following script:

$SGE_ROOT/default/common/sge5

This will start up sge_qmaster and sge_schedd on the new master host.