Routing the world

Routing & IT System Administration

Archive for June 2010

Ubuntu Server remove MAC bind after VMWare Clone o Copy

with one comment

If you have a VMWare with Ubuntu and you clone or copy the VM, the network fails to work on the new VM.

The reason is that MAC address continues linked to the ethX interface and it has changed.

To reset the MAC address bind, you have to edit the file /etc/udev/rules.d/70-persistent-net.rules and comment the lines about ethX configuration with “#”.

Reboot and network will become alive.


Written by Root

June 1, 2010 at 11:34

Posted in Linux, VMWare

Tagged with , ,

Commit a Snapshot from console using ESXi 3.X and 4.X

with one comment

When you want to commit a snapshot using SSH, the VMWare KB refers to use the vmware-cmd command. This command is not available on ESXi versions but the scope of the KB articles says it is.

In ESXi there is other way to remove snapshot from its “experimental” console.

First of all you need to retrieve the VmId, that is, the VM Identifier Code:

vim-cmd vmsvc/getallvms

In the first column is the VmId.

One time you have the VmId you can delete all the snapshots:

vim-cmd vmsvc/snapshot.removeall VmId

Other useful command is:

vim-cmd vmsvc/get.snapshotinfo vmid

This will return information about the snapshots of a VM

Written by Root

June 1, 2010 at 11:25

Posted in VMWare

Tagged with ,

%d bloggers like this: