Skip to contentSkip to conversation

Dom-U attributes

DISCUSSION dinesh chandrasekaran 4 participants 4 messages Sep 3, 2008 – Sep 4, 2008

lore
Share & tools
lore
#0 lore raw

Hi All,

Is there any attribute associated with a Dom-U guest which is unique and doesnt change during its lifetime.

The domain id changes after reboot. Is there any way to hard code the domain ids so they remain the same even after reboot.

I guess the name doesnt, but where to get the guest name. Or is there any ID that uniquely identifies each guest running on Xen?

regards,
Dinesh.

_________________________________________________________________
Movies, sports & news! Get your daily entertainment fix, only on live.com
http://www.live.com/?scope=video&form=MICOAL

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw

2008/9/3 dinesh chandrasekaran <[email protected]>:

Quoted 2 lines

Is there any attribute associated with a Dom-U guest which is unique and doesnt change during its lifetime.

Don't think so.

Quoted 2 lines

The domain id changes after reboot. Is there any way to hard code the domain ids so they remain the same even after reboot.

No

Quoted 2 lines

I guess the name doesnt, but where to get the guest name. Or is there any ID that uniquely identifies each guest running on Xen?

If you do know the domU name, you can use

xm domid domUname

to return the ID

#2 lore raw
In reply to dinesh chandrasekaran
Quoted 4 lines · dinesh chandrasekaran

Hi All,

Is there any attribute associated with a Dom-U guest which is
unique and doesnt change during its lifetime.

UUID for the domains are unique and retain even across migration.

Quoted 3 lines

The domain id changes after reboot. Is there any way to hard code the domain ids so they remain the same even after reboot.

i don't think so this provision exist, however you can make vifname constant, using
"vifname param" in vif of configuration scripts.

Quoted 3 lines

I guess the name doesnt, but where to get the guest name. Or is there any ID that uniquely identifies each guest running on Xen?

No you can't AFAIK

Quoted 13 lines

regards,
Dinesh.

________________________________
Voice your opinion on the burning issues of the day. Discuss, debate with the world. Logon to message boards on MSN. Try it!
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#3 lore raw
In reply to dinesh chandrasekaran
Quoted 7 lines · dinesh chandrasekaran

Hi All,

Is there any attribute associated with a Dom-U guest which is
unique and doesnt change during its lifetime.

The domain id changes after reboot. Is there any way to hard code the domain ids so they remain the same even after reboot.

try assigning UUID to your domainU using your guest config file.

Thanks,
--Pradeep

Quoted 16 lines

I guess the name doesnt, but where to get the guest name. Or is there any ID that uniquely identifies each guest running on Xen?

regards,
Dinesh.

________________________________
Voice your opinion on the burning issues of the day. Discuss, debate with the world. Logon to message boards on MSN. Try it!
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Signature · 3 lines
Pradeep Singh Rautela
http://eagain.wordpress.com
http://emptydomain.googlepages.com