Copy the moab-private.cfg file you generated in 1.1 Microsoft Windows HPC Server 2008 to /opt/moab/etc so Moab can load MSMHPC's private key. |
The following is a sample Moab configuration file (moab.cfg) that is configured for a hybrid environment:
# Scheduler configuration SCHEDCFG[moab] SERVER=moab:42559 SCHEDCFG[moab] MODE=NORMAL SCHEDCFG[moab] FLAGS=ALLOWMULTICOMPUTE NOLOCALUSERENV TRUE DISPLAYFLAGS SHOWSYSTEMJOBS # Logging LOGFILE moab.log LOGLEVEL 1 LOGFILEMAXSIZE 10000000 LOGFILEROLLDEPTH 7 RMPOLLINTERVAL 15 DEFERTIME 60 # Primary admin must be first in admin1 user list # <http://adaptivecomputing.com/resources/docs/mwm/a.esecurity.html> ADMINCFG[1] USERS=root #Resource Manager configuration RMCFG[torque] TYPE=PBS RMCFG[torque] PARTITION=local RMCFG[torque] NODESTATEPOLICY=OPTIMISTIC RMCFG[torque] DEFOS=linux RMCFG[torque] FLAGS=USERSPACEISSEPARATE RMCFG[prov] TYPE=NATIVE RESOURCETYPE=PROV RMCFG[prov] ENV=OSSTRING=windows;RMNAME=MSMHPC;PUBKEY=mypubkey;DOMAIN=yourdomain;PROXY=http://winhead:5343/MSMHPC RMCFG[prov] PROVDURATION=10:00 RMCFG[prov] NODEMODIFYURL=exec://$TOOLSDIR/os.switch.pl RMCFG[HPC] TYPE=NATIVE:MSMHPC RMCFG[HPC] PARTITION=local RMCFG[HPC] NODESTATEPOLICY=OPTIMISTIC RMCFG[HPC] DEFOS=windows RMCFG[HPC] FLAGS=USERSPACEISSEPARATE RMCFG[HPC] ADMINEXEC=jobsubmit RMCFG[HPC] ENV=OSSTRING=windows;RMNAME=MSMHPC;PUBKEY=mypubkey;DOMAIN=yourdomain;PROXY=http://winhead:5343/MSMHPC RMCFG[HPC] CLUSTERQUERYURL=exec://$TOOLSDIR/cluster.query.hpc.pl RMCFG[HPC] WORKLOADQUERYURL=exec://$TOOLSDIR/workload.query.hpc.pl RMCFG[HPC] JOBSUBMITURL=exec://$TOOLSDIR/job.submit.hpc.pl RMCFG[HPC] JOBSTARTURL=exec://$TOOLSDIR/job.start.hpc.pl RMCFG[HPC] JOBCANCELURL=exec://$TOOLSDIR/job.cancel.hpc.pl RMCFG[HPC] JOBREQUEUEURL=exec://$TOOLSDIR/job.requeue.hpc.pl # Enable On-demand provisioning QOSCFG[ondemand] QFLAGS=PROVISION USERCFG[DEFAULT] QLIST=ondemand NODEALLOCATIONPOLICY PRIORITY NODECFG[DEFAULT] PRIORITYF='100 * RANDOM' NODEAVAILABILITYPOLICY DEDICATED JOBMIGRATEPOLICY JUSTINTIME IGNORENODES winhead NODECFG[compute000] OSLIST=windows PARTITION=local FEATURES=compute000 NODECFG[compute001] OSLIST=linux PARTITION=local FEATURES=compute001 NODECFG[compute002] OSLIST=linux,windows PARTITION=local FEATURES=compute002 NODECFG[compute003] OSLIST=linux,windows PARTITION=local FEATURES=compute003 NODECFG[compute004] OSLIST=linux,windows PARTITION=local FEATURES=compute004 NODECFG[compute005] OSLIST=linux,windows PARTITION=local FEATURES=compute005 NODECFG[compute006] OSLIST=linux,windows PARTITION=local FEATURES=compute006 NODECFG[compute007] OSLIST=linux,windows PARTITION=local FEATURES=compute007 # run individual provisioning actions for each node AGGREGATENODEACTIONS FALSE # Enable job re-queueing CLASSCFG[HIGHEST] JOBFLAGS=RESTARTABLE CLASSCFG[ABOVENORMAL] JOBFLAGS=RESTARTABLE CLASSCFG[NORMAL] JOBFLAGS=RESTARTABLE CLASSCFG[BELOWNORMAL] JOBFLAGS=RESTARTABLE CLASSCFG[LOWEST] JOBFLAGS=RESTARTABLE # Enable provisioning jobs to switch from Windows to Linux CLASSCFG[DEFAULT] CDEF=NORMAL
To change the PROXY variable from its default port 5343, use the MSMHPC manager on the Windows head node in the Configuration Page → Server Port → Save Settings. |
The DOMAIN variable does not need to be the full domain name, but should match the login domain, such as DOMAIN\user. |
Copyright © 2011 Adaptive Computing Enterprises, Inc.®