Categories

ID #1032

How do I integrate externally executed UGE/SGE server with Bright Cluster Manager 6.0?

  • Mount the $SGE_ROOT direcan class="highlight">toan>ry from your external server that is an class="highlight">toan> be managed by the Bright Cluster Manager (BCM) head node. Make sure that q* commands (qstat, qconf, ...) on the head node can be called successfully. 
  • Add the following parameters an class="highlight">toan> the AdvancedConfig section of /cm/local/apps/cmd/etc/cmd.conf:
    1. SGERoot=/path/an class="highlight">toan>/your/mounted/sge/
    2. SGEVar=/path/an class="highlight">toan>/your/mounted/sge/
    3. AlwaysAssumeSGERunning=1 
  • Restart the an style="font-family: courier new,courier;">cmdan> daemon on the head node
  • Assign the sgeserver role an class="highlight">toan> the head node in an style="font-family: courier new,courier;">cmshan> or an style="font-family: courier new,courier;">cmguian>. For example, using an style="font-family: courier new,courier;">cmshan>:

an style="font-family: courier new,courier;">[root@bright60 ~]# cmshan>
an style="font-family: courier new,courier;">[bright60]% devicean>
an style="font-family: courier new,courier;">[bright60->device]% use masteran>
an style="font-family: courier new,courier;">[bright60->device[bright60]]% rolesan>
an style="font-family: courier new,courier;">[bright60->device[bright60]->roles]% assign sgeserveran>
an style="font-family: courier new,courier;">[bright60->device*[bright60*]->roles*[sgeserver*]]% commitan>
an style="font-family: courier new,courier;">[bright60->device[bright60]->roles[sgeserver]]%an>

 

  • Enable the sgeclient roles on the nodes where the jobs are an class="highlight">toan> run. For example, using cmsh:

    an style="font-family: courier new,courier;">[root@bright60 ~]# cmshan>
    an style="font-family: courier new,courier;">[bright60]% devicean>
    an style="font-family: courier new,courier;">[bright60->device]% use node001an>
    an style="font-family: courier new,courier;">[bright60->device[node001]]% rolesan>
    an style="font-family: courier new,courier;">[bright60->device[node001]->roles]% assign sgeclientan>
    an style="font-family: courier new,courier;">[bright60->device*[node001*]->roles*[sgeclient*]]% commitan>
    an style="font-family: courier new,courier;">[bright60->device[node001]->roles[sgeclient]]% ..
    an style="font-family: courier new,courier;">[bright60->device[node001]->roles]% ..
    an style="font-family: courier new,courier;">[bright60->device[node001]]% imageupdate -w
    an>
    an>
    an>

After these steps you can control and monian class="highlight">toan>r GE queues and jobs in an style="font-family: courier new,courier;">cmshan> and an style="font-family: courier new,courier;">cmguian>, and also in the User portal. 

 

an class="highlight">Notan>e, that if CMDaemon is an class="highlight">notan> executing on the node where sge_qmaster is running, then you canan class="highlight">notan> use the prologue/epilogue scripts distributed with BCM.

Tags: uge sge

Related entries:

You cannot comment on this entry