VMware Cloud Community
admin
Immortal
Immortal
Jump to solution

VMID of a virtual machine

How do I check the generated for a VM in ESX 3.0.1?

Thanks in advance..

Reply
0 Kudos
1 Solution

Accepted Solutions
esiebert7625
Immortal
Immortal
Jump to solution

vm-support –x will work...

Fyi…if you find this post helpful, please award points using the Helpful/Correct buttons.

-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-

Thanks, Eric

Visit my website: http://vmware-land.com

-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-

View solution in original post

Reply
0 Kudos
9 Replies
conradsia
Hot Shot
Hot Shot
Jump to solution

vcbVmName -h localhost -u root -p password -s any

But this wont work if your password starts with '!", then you will need to edit to vcb tool conf file in /etc/vmware/backuptools.conf or maybe you want to do that anyway, its up to you. If you do that then you only need

to run

vcbVmName -h localhost -s any

You are looking for the moref .

Found VM:

moref:256[/code]

Message was edited by:

conradsia

esiebert7625
Immortal
Immortal
Jump to solution

vm-support –x will work...

Fyi…if you find this post helpful, please award points using the Helpful/Correct buttons.

-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-

Thanks, Eric

Visit my website: http://vmware-land.com

-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-

Reply
0 Kudos
conradsia
Hot Shot
Hot Shot
Jump to solution

Yeah it will, but only if they are powered on.

Reply
0 Kudos
esiebert7625
Immortal
Immortal
Jump to solution

I thought a VMID is only assigned to powered on VM's? Try powering off a VM and powering it back on and it will have a different VMID.

Reply
0 Kudos
admin
Immortal
Immortal
Jump to solution

Hey, Thanx for your helps.. What does moref id mean about? That is different from the VMID...

is generated only when the VM is powered on.. right??? And the VMID is not a constant value and it changes whenever it is powered on...

Reply
0 Kudos
esiebert7625
Immortal
Immortal
Jump to solution

Not sure what that is, the VM's also have a couple permanent ID's associated with them.

Reply
0 Kudos
joubertbe
Contributor
Contributor
Jump to solution

Esiebert7625, could you tell me a little more about the other "couple permanent ID's" associcated with VMs.

--joubert

Reply
0 Kudos
esiebert7625
Immortal
Immortal
Jump to solution

If you look in the VC SQL database there are some ID's assigned to VM's.

The VPX_VM table lists a UUID_BIOS row for each VM as well as a ID that is used by SQL to reference the VM in other tables.

Reply
0 Kudos
conradsia
Hot Shot
Hot Shot
Jump to solution

That's strange, I use the [/code] when manually creating snapshots from the esx console, it's one of the ways to identify a VM.

For example vcbSnapshot -c moref:352 mail1-test-snap would create a snapshot on my test mail server with the ID of mail1-test-snap. I don't know what other VCB commands use it.

vcbSnapshot -h

Reply
0 Kudos