admin
Immortal
Immortal

VMID of a virtual machine

Jump to solution

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

Thanks in advance..

0 Kudos
1 Solution

Accepted Solutions
esiebert7625
Immortal
Immortal

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

0 Kudos
9 Replies
conradsia
Hot Shot
Hot Shot

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

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

0 Kudos
conradsia
Hot Shot
Hot Shot

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

0 Kudos
esiebert7625
Immortal
Immortal

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.

0 Kudos
admin
Immortal
Immortal

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...

0 Kudos
esiebert7625
Immortal
Immortal

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

0 Kudos
joubertbe
Contributor
Contributor

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

--joubert

0 Kudos
esiebert7625
Immortal
Immortal

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.

0 Kudos
conradsia
Hot Shot
Hot Shot

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

0 Kudos