It is possible to use VM nodes as targets for jobs in a batch system. The following is an example of having SLC3 and SLC4 running alongside each other in the client nodes of a PBS/Torque batch system.

torque.png

In the illustration, oplaslim12-2 and oplaslim12-3 are VMs running on the Xen host oplaslim12, and similar for oplaslim13. In the PBS node list, each VM node is specified, and the OS installed - slc3 or slc4 - is specified as a 'property' after the hostname, e.g. 'oplaslim12-2 slc3'

One routing queue ('queue_type = Route') is created and one execution queue ('queue_type = Execution') per physical machine. If a physical machine is an n-way machine, then the max number of jobs in its execution queue is set to n.

In addition to Torque, Maui needs to be installed. In the Maui config file, /usr/local/maui/maui.cfg, the following is entered.

NODESETPOLICY ONEOF

NODESETATTRIBUTE FEATURE

NODESETDELAY 0:00:00

NODESETLIST oplaslim12-2 oplaslim12-3

NODESETPOLICY ONEOF

NODESETATTRIBUTE FEATURE

NODESETDELAY 0:00:00

NODESETLIST oplaslim13-2 oplaslim13-3

Now the execution environment can be selected with the -l parameter, e.g. 'pbs_sub -l slc3...' and the job will be executed on an slc3 node.

-- Main.hbjerke - 22 Jan 2007

Topic attachments
I Attachment History Action Size Date Who Comment
PNGpng torque.png r1 manage 14.7 K 2007-01-22 - 14:29 UnknownUser  
SVG (Scalable Vector Graphics)svg torque.svg r1 manage 12.7 K 2007-01-22 - 14:28 UnknownUser  
Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2007-01-22 - unknown
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Virtualization All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback