Installing & Configuring a Batch Scheduler: Torque + Maui
Installing Torque (PBS)
Installing Maui
Running Torque and Maui
1. pbs_server (on server node only, must be started using root).
2. pbs_mom (on compute nodes only, must be started using root).
3. maui (on server node only)
# Prepared at 16 March 2006
- Download and extract the source from Cluster Resources
- > ./configure --prefix=/usr/local/torque --set-cflags=-O2
- > make
- > make install
- > make packages (will generate .sh files for distribution)
- Create a system account TORQUEADMIN
- Add /usr/local/torque/bin and /usr/local/torque/sbin to path.
- Initialize PBS server files and create default queue.
- > ./torque.setup TORQUEADMIN
Note that "pbs_server -t create" is running in background.
torque.setup is similar to following: - > pbs_server -t create
- > qmgr -c "set server scheduling=true"
- > qmgr -c "create queue batch queue_type=execution"
- > qmgr -c "set queue batch started=true"
- > qmgr -c "set queue batch enabled=true"
- > qmgr -c "set queue batch resources_default.nodes=1"
- > qmgr -c "set queue batch resources_default.walltime=3600"
- > qmgr -c "set server default_queue=batch"
- > qmgr -c "set server operators += TORQUEADMIN@SERVERNAME"
- > qmgr -c "set server managers += TORQUEADMIN@SERVERNAME"
- Check pbs_server running status.
- > qstat -q
- > qmgr -c 'p s'
- Stop the pbs_server, runs "qterm -t quick"
- Install pbs_mom into all compute nodes by running the generated script torque-package-mom-linux-ia64.sh in all compute nodes.
- Add server node information to compute nodes.
- Create /usr/spool/PBS/server_name with the server hostname.
- > cat /usr/spool/PBS/server_name
shannon - Create /usr/spool/PBS/mom_priv/config
- Create the file with the following lines.
$pbsserver shannon1 # note: IP address of host running pbs_server
$logevent 255
$restricted shannon1 # note: IP address of host running pbs_server
$usecp shannon1:/home /home - Add compute node information to server node
- Create /usr/spool/PBS/server_priv/nodes
- Create the file with the hostnames. e.g.
shannon2 np=2
shannon3 np=2
shannon4 np=2
shannon5 np=2 - Start pbs_server on server node, and pbs_mom on all compute nodes.
- > qterm -t quick
- > pbs_server (in server node)
- > pbs_mom (in all compute nodes)
- Verify torque
- > qstat -q
- > pbsnodes -a
- > echo "sleep 30" | qsub
- > qstat
Installing Maui
- Download and extract the source from Cluster Resources
- > CFLAGS=-O2 ./configure --with-pbs=/usr/local/torque --with-spooldir=/usr/spool/maui --prefix=/usr/local/maui-3.2.6p13
- > make
- > make install
- Create a system user mauiadmin.
- Edit /usr/spool/maui/maui.cfg
- Set ADMIN1 mauiadmin
- Add mauiadmin to PBS manager and operator list.
- > qmgr -c "set server managers += mauiadmin@shannon"
- > qmgr -c "set server operators += mauiadmin@shannon"
- Change owner of /usr/spool/maui and /usr/local/maui/sbin to mauiadmin.
Running Torque and Maui
1. pbs_server (on server node only, must be started using root).
2. pbs_mom (on compute nodes only, must be started using root).
3. maui (on server node only)
# Prepared at 16 March 2006
1 Comments:
At 2/01/2013 1:03 PM , Anonymous said...
top [url=http://www.001casino.com/]free casino bonus[/url] brake the latest [url=http://www.casinolasvegass.com/]casino games[/url] autonomous no consign reward at the leading [url=http://www.baywatchcasino.com/]casino
[/url].
Post a Comment
Subscribe to Post Comments [Atom]
<< Home