Sunday, August 30, 2009

Cloning or Migrating VM having snapshots

You can't clone/migrate the VM having snapshots in regular method because you will loose all your snapshots .
Follow the below method for VM's having snapshots:

1. Logon to the Service Console of target machine
2. Go inside the datastore and create folder using following command
mkdir foldername(VM name/Servername)
3.On the source host , Go inside the Virtual machine folder and run the following command
[root@sourcehost VM]# scp * root@hostname/vmfs/volumes/targetdatastore/targetfoldername/ .



Creating a quiesced snapshot failed because the (user-supplied) custom pre-freeze script in the virtual machine exited with a non-zero return code



During the V2V'ing process i got the above error message.

Solution: Just re-install the VMWare tools on it and try again.

RPC server is unavailable

Some times if you are trying to RDP into the server you will get following message:

" The system cannot log you on due to the following error:
The RPC Server is uvavailable.
Please try again or consult your system administrator."

Most of the times you will get this kind of message when RPC service in stop state.

To fix this issue:

Rebooting server will fix this issue because it will start the RPC service.
or
Start the RPC service from Services.msc manually.



How to Reset ILO

Some times ILO behaves differently and it won't perform job so in that case we need to reset the ILO.

There are two ways to reset the ILO
1. Using GUI from Browser

2. a. Putty into the ILO using ILO IP
b. Execute the following commands
1. cd /map1
2. reset

Saturday, August 29, 2009

VMWARE - The destination does not support 64bit guests

I'm trying to migrate my Server 2003 x64 into a virtual server but when running the migration process i get a message saying that destination server will not support 64x bit servers..
Answer is simple..........

Enable VT in advanced Processor Options in Bios.
http://communities.vmware.com/thread/194544

vSphere -Time to download

Admins,it is the time to download and test vSphere...

Kill a VM from Service Console

sometimes Virtual Center won't perform task.If your virtual machine is in hung state and not able to kill from VC so please use the following method to kill the VM from Service Console.


[root@XXXXX]# vmware-cmd /vmfs/volumes/datastore/VMfoldername/VM.vmx stop

Note: Don't use friendly datestore name.

if the above fails,then try it with the hard option,

[root@XXXXX]# vmware-cmd /vmfs/volumes/datastore/VMfoldername/VM.vmx stop hard

Thursday, August 27, 2009

Introducing VMware vCenter Mobile Access

I was flicking around the VMware website when I come across something which made me rather excited…. “Access to your Virtual Center features from your mobile phone”

Below Ive done a copy and paste from the origionl VMTN blog which covers this, if you want to have a read you can find it here.

vCMA allows you to monitor and manage VMware Infrastructure from your mobile phone with an interface that is optimized for such devices. Specifically, it allows you to:

  • Search for virtual machines in your data center
  • Migrate virtual machines from one host to another using vMotion
  • Execute recovery plans using VMware Site Recovery Manager
  • Access Scheduled Tasks, Alarms and Events
  • And much more…

In order for you to access vCMA, you will need to deploy a virtual appliance; call it the vCMA server. The vCMA server must be connected to VMware vCenter or any of the ESX servers that you want to manage. Once the server component is set up, you can manage your datacenter from the convenience of your mobile phone.

Please see the below link.

http://www.youtube.com/watch?v=9UxDnV2qaeM&eurl=http://goingvirtual.wordpress.com/category/site-recovery-manager/&feature=player_embedded#t=69

For me the ability to perform tasks such as VMotion from the mobile is pretty cool, but personaly its the VMware Site Recovery intergration that interests me the most, this is really good stuff !


Audit your VMware Environment using RV Tools


RVTools is a small .NET 2.0 application which uses the VI SDK to display information about your virtual machines. Interacting with VirtualCenter 2.x or ESX 3.x RVTools is able to list information about cpu, memory, disks, nics, cd-rom, floppy drives, snapshots, VMware tools, ESX hosts, datastores and health checks. With RVTools you can disconnect the cd-rom or floppy drives from the virtual machines and RVTools is able to list the current version of the VMware Tools installed inside each virtual machine. and update them to the latest version.

alt

Note: This application only supports ESX Server 3.x, VirtualCenter 2.x and ESX Server 3i.

How to rename Virtual Machines in VMWare

You can clone the VM to a new one with the proper name, but that requires a lot of downtime usually.
Follow are the two ways to rename the VM in VMWare ESX.:



1.Shut down the VM
2.Choose “Remove from inventory”
3.Log into the ESX console and cd to the place where your VM is
4.Rename the directory
5.Rename all the files in the directory
6.Change the names in the vmdk, vmsd, vmx, and vmxf files
7.Browse the datastore and add the new vmx to the inventory

(OR)

cd /vmfs/volumes/vmfs-data6
mv OldVM NewVM
cd NewVM
rename OldVM NewVM *
perl -pi -e 's/OldVM/NewVM/g' NewVM.vm*