Specify type of host for virtual machines

8 views
Skip to first unread message

Sam Bird

unread,
Dec 23, 2025, 4:53:10 PM (2 days ago) Dec 23
to cloudlab-users
Hi there:

I have an experiment profile that relies on multiple hosts, and to reduce the number of physical hosts I have been running these in virtual machines. These XenVMs are running on the same physical PC.

I am trying to specify the hardware type in my geni-lib script. However, if I were to write

node_0 = request.XenVM('node-0')
node_0.hardware_type = 'c6620'
node_1 = request.XenVM('node-1')
node_1.hardware_type = 'c6620'

Both of these nodes would be created on the desired hardware type, but on different physical PCs. Is there a way to group these two nodes so that the VMs are created on the same physical PC of a given type? If it is relevant, all nodes are connected by a Link.

Thanks
Sam

Leigh Stoller

unread,
Dec 23, 2025, 5:01:39 PM (2 days ago) Dec 23
to cloudlab-users

> On Dec 23, 2025, at 1:53 PM, Sam Bird <sam....@ou.edu> wrote:
>
> Both of these nodes would be created on the desired hardware type, but on different physical PCs. Is there a way to group these two nodes so that the VMs are created on the same physical PC of a given type? If it is relevant, all nodes are connected by a Link.

Hi. Take a look at this example profile:

https://www.cloudlab.us/show-profile.php?uuid=865973b6-d077-11ed-b28b-e4434b2381fc

Leigh

Bird, Sam

unread,
Dec 24, 2025, 12:39:54 AM (yesterday) Dec 24
to cloudla...@googlegroups.com
Hi Leigh, that worked. Thanks!

Sam

From: cloudla...@googlegroups.com <cloudla...@googlegroups.com> on behalf of Leigh Stoller <lbst...@gmail.com>
Date: Tuesday, 23 December 2025 at 16:50
To: cloudlab-users <cloudla...@googlegroups.com>
Subject: Re: [cloudlab-users] Specify type of host for virtual machines

External Email
 
> On Dec 23, 2025, at 1:53 PM, Sam Bird <sam....@ou.edu> wrote: > > Both of these nodes would be created on the desired hardware type, but on different physical PCs. Is there a way to group these two nodes so that the VMs are created on the same physical PC of a given type? If it is relevant, all nodes are connected by a Link. Hi. Take a look at this example profile:
https://urldefense.com/v3/__https://www.cloudlab.us/show-profile.php?uuid=865973b6-d077-11ed-b28b-e4434b2381fc__;!!GNU8KkXDZlD12Q!87tTCIj5j399I_FdZUIAVjsyHYESXgaojAQjkPyfcmfghi2JIgLietumUYM3QunpGbL1U8uRYjFPoGre$[cloudlab[.]us] Leigh -- You received this message because you are subscribed to a topic in the Google Groups "cloudlab-users" group. To unsubscribe from this topic, visit https://urldefense.com/v3/__https://groups.google.com/d/topic/cloudlab-users/FPX2t6BhoeU/unsubscribe__;!!GNU8KkXDZlD12Q!87tTCIj5j399I_FdZUIAVjsyHYESXgaojAQjkPyfcmfghi2JIgLietumUYM3QunpGbL1U8uRYpYazUHx$[groups[.]google[.]com]. To unsubscribe from this group and all its topics, send an email to cloudlab-user...@googlegroups.com. To view this discussion visit https://urldefense.com/v3/__https://groups.google.com/d/msgid/cloudlab-users/3A2FD6E7-FBB8-4384-8556-9DAF7861B266*40gmail.com__;JQ!!GNU8KkXDZlD12Q!87tTCIj5j399I_FdZUIAVjsyHYESXgaojAQjkPyfcmfghi2JIgLietumUYM3QunpGbL1U8uRYsQOBcHZ$[groups[.]google[.]com].
Reply all
Reply to author
Forward
0 new messages