Community
Discussions | Feature Requests | Tips and Tricks
Setting UUID on VM startup
#1Feb. 6, 2013 02:14:51
- Enterprise Archicture Group
- Registered: 2012-08-29
- Posts: 3
Setting UUID on VM startup
Our VMs hosted in nimbula do not seem to have a UUID as shown here:
[root@10-90-5-158 ~]# dmidecode |grep -i UUID
UUID: Not Settable
[root@10-90-5-158 ~]
Searching online for a solution I found some suggestion on using the --uuid parameter to specify the UUID on startup with the kvm command. I was wondering if there is an option in nimbula to set this parameter to either a generated value or specify the value in the launch plan.
Any insight into this is greatly appreciated.
[root@10-90-5-158 ~]# dmidecode |grep -i UUID
UUID: Not Settable
[root@10-90-5-158 ~]
Searching online for a solution I found some suggestion on using the --uuid parameter to specify the UUID on startup with the kvm command. I was wondering if there is an option in nimbula to set this parameter to either a generated value or specify the value in the launch plan.
Any insight into this is greatly appreciated.
#2Feb. 6, 2013 02:44:51
- Peter Juritz
- Registered: 2011-06-20
- Posts: 1
Setting UUID on VM startup
Hi,
One way for an instance to find it's UUID is to query the metadata url. There are different ways to do this.
From inside an instance run:
curl 192.0.0.192/name
This will return the instance UUID.
Alternatively, you can query:
curl 169.254.169.254/latest/meta-data/instance-id
from inside an instance.
This will return the full name of the instance.
Peter Juritz
One way for an instance to find it's UUID is to query the metadata url. There are different ways to do this.
From inside an instance run:
curl 192.0.0.192/name
This will return the instance UUID.
Alternatively, you can query:
curl 169.254.169.254/latest/meta-data/instance-id
from inside an instance.
This will return the full name of the instance.
Peter Juritz
#6Feb. 7, 2013 08:36:01
- Jeremy Bar
- Registered: 2011-01-05
- Posts: 30
Setting UUID on VM startup
eag@thunderhead.com
Any change you could send me a link to the support request. For some reason I am no longer able to find it under either open or closed section.
I e-mailed Yuri the link privately.