This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-users] Xen and Torque

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Xen and Torque
From: "Artem Y. Pervin" <artempervin@xxxxxxxxx>
Date: Sat, 26 Apr 2008 14:02:03 +0400
Delivery-date: Sat, 26 Apr 2008 03:02:37 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=Qpbno6ZF2FFiMDTw2Up20DtdyEdHU4RhCADfUbCTS98=; b=TgatbVN4MoXiL6bVcMdMq6+Iv4n3UO3Lfnh3HL1ipteCJK2G89Df+Zg0Jj0Eu/4GG9E+WsS3cldh1NDxQmGRGqFCKhLl1aPdXg4SbZ5GbFkisROez1Sh5lSOs0NLfn0XQ1RdvdGn0RtudgqXj8SVE/pdaGyfG59yLL59pykj+fg=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=tt7q5vuLlDasluulay+nGZgNgZboduTZPekROXUJ9D9Xi8YwTHr1VqLJa2OUVAno9FXFUcxcfAmjv5i/YwNGQCGsYpRLyFyU6fyVTVZuVXRTGJdOwAyni68KG69cmLCOQ70xy3lK3DWZKG2ydagFOOfBI8bNp/edVsCJHINgA8c=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Dear Xen users.

Have anyone tried to integrate Xen with Torque resource management system?
Could you please help me with an advice for a system I'm developing that relies on torque.
Let me describe the system first.

The part of the system that talks with torque should request a certain amount on nodes of a cluster and launch there a virtual machine instance (one vm instance per host).
Thus the instantiations of virtual machine would result into a virtual cluster (after some iptabling).

I've developed this system already, but it doesn't deal with torque. I have a central utility which send requests to computational nodes to manage vms on these nodes.
And now I'm about to integrate this system with torque.

I've managed to create a script that launches virtual machines on a selected amount of nodes. It looks like this:
on the central host:

#PBS -S /bin/bash

pbsdsh -v /home/torque/myscript.sh

on nodes:

pushd /opt/xen
sudo /usr/sbin/xm create vnode.cfg

The problem is that several seconds after the launching the /usr/sbin/xm (either with console or without it) returns the execution control and the torque switches this node to "free" state. But in my case the node should be in "job-exclusive" state all the time the virtual machine on this node is online.

How could I achive this?

Thanks in advance.

Best regards,
Artem Pervin
Xen-users mailing list
<Prev in Thread] Current Thread [Next in Thread>