Pages

Friday, October 19, 2012

vSphere 5.1 Release Notes !

vSphere 5.1 is there now:-

This is really great to a have quick look on vSphere 5.1 Release Notes, I took few product support notes from:-


Product Support Notices

  • vSphere Client. In vSphere 5.1, all new vSphere features are available only through the vSphere Web Client. The traditional vSphere Client will continue to operate, supporting the same feature set as vSphere 5.0, but not exposing any of the new features in vSphere 5.1.
    vSphere 5.1 and its subsequent update and patch releases are the last releases to include the traditional vSphere Client. Future major releases of VMware vSphere will include only the vSphere Web Client.
    For vSphere 5.1, bug fixes for the traditional vSphere Client are limited to security or critical issues. Critical bugs are deviations from specified product functionality that cause data corruption, data loss, system crash, or significant customer application down time where no workaround is available that can be implemented.
  • VMware Toolbox. vSphere 5.1 is the last release to include support for the VMware Tools graphical user interface, VMware Toolbox. VMware will continue to update and support the Toolbox command-line interface (CLI) to perform all VMware Tools functions.
  • VMI Paravirtualization. vSphere 4.1 was the last release to support the VMI guest operating system paravirtualization interface. For information about migrating virtual machines that are enabled for VMI so that they can run on later vSphere releases, see Knowledge Base article 1013842.
  • Windows Guest Operating System Customization. vSphere 5.1 is the last release to support customization for Windows 2000 guest operating systems. VMware will continue to support customization for newer versions of Windows guests.
  • VMCI Sockets. Guest-to-guest communications (virtual machine to virtual machine) are deprecated in the vSphere 5.1 release. This functionality will be removed in the next major release. VMware will continue support for host to guest communications.

Friday, September 28, 2012

Rename Virtual Machine After Creating VMware vSphere


Renaming virtual Machine inventory name is much easier, just right click and rename. But in the datastore all the folder and files related to that VM keep the old name, means if you have VM with inventory name “VM001” then in the datastore this will create the folder “VM001” and within that folder all the files also start with same name like see the diagram below

















Then suppose you rename the VM in the inventory VM001à db-srv-del-01 after this you can see that in the inventory you have new name but in the datastore folder and files still keep the old name. See the screen shot below:-
 

















So if you want to apply the new name to all the files and folder related to that VM, you need to shutdown the VM and then remove from inventory and then manually rename all the files and folder with new name and then add back to inventory. For details on that see below:-

       Shutdown the VM and then remove from inventory.
 
      After that connect to the console of esxi/esx server and then change directory to datastore where that VM is located. Like in my example that VM is located in datastore Private02 and the folder name is VM001. I just enabled SSH in my esxi server and then connect using the Putty to esxi host. So that I can reach those files, perform the steps as in the screenshot :-

After renaming the folder, you need to rename all the files also, so do the steps as in screenshot:-



Once all the related files are renamed with new name, after that you need to modify the vmx file to point to the new name of vmdk, so edit vmx file with any editor, I used in this case vi and then rename the .vmdk name to new name .vmdk and save the file and exit.


 









After this you also need to update the .vmdk fiel to point to new –flat.vmdk.   so you need to edit the vmname.vmdk file with vi editor (or any editor you feel comfortable), and modify the name of –flate.vmdk to new name –flat.vmdk after this save and exit.




 







Once all this done now your VM is ready with new name, now you can go back to vSphere client and browse your datastore and then locate the VM name folder and then locate .vmx file and add back to inventory. Once added to inventory you can power on the VM and now all files and folder related to that VM have new name.

vSphere 5.1

With a lot of improvement and new features vsphere 5.1 is there....



Monday, August 20, 2012

VMWARE VIRTUAL DISK FORMATS



VMWARE VIRTUAL DISK FORMATS

Three types of virtual disks are available to VMs in vSphere. You should become familiar with all of them, including their similarities, differences, weaknesses, and strengths.

THICK VIRTUAL DISK

The thick virtual disk is the traditional virtual disk format that most of us have deployed with most of our VMs. This format pre-allocates the capacity of the virtual disk from the datastore at the time it is created. This format does not format the VMDK at the time of deployment. This means that data that needs to be written must pause while the blocks required to store the data are zeroed out. The operation occurs on demand any time an area of the virtual disk that has never been written to is required to store data.

Figure 5) A thick VMDK as it relates to storage blocks on an array.


THIN VIRTUAL DISK

The thin virtual disk is very similar to the thick format, with the exception that it does not preallocate the capacity of the virtual disk from the datastore when it is created. When storage capacity is required, the VMDK allocates storage in chunks equal to the size of the file system block. For VMFS, this is from 1MB through 8MB (size selected at deployment), and for NFS it is 4KB. The process of allocating blocks on a shared VMFS datastore is considered a metadata operation and as such executes SCSI locks on the datastore while the allocation operation is executed. Although this process is very brief, it does suspend the write operations of the VMs on the datastore.

Figure 6) A thin VMDK as it relates to storage blocks on an array.


Similar to the thick format, thin VMDKs are not formatted at the time of deployment. Therefore, data that needs to be written must pause while the blocks required to store the data are zeroed out. The process of allocating blocks from within the datastore occurs on demand any time a write operation attempts to store data in a block range inside the VMDK that has not been written to by a previous operation.

To summarize the zeroing out and allocation differences between a thick and thin virtual disk, just remember that both suspend I/O when writing to new areas of disk that need to be zeroed. However, before this can occur with a thin virtual disk, it might also have to obtain additional capacity from the datastore.

EAGER-ZEROED THICK VIRTUAL DISK

The eager-zeroed thick virtual disk is similar to the thick format because it preallocates the capacity of the virtual disk from the datastore when it is created. However, unlike the thick and thin formats, an eager-zeroed thick virtual disk actually formats all of its data blocks at the time of deployment. This virtual disk format does not include or require the allocation and zeroing on-demand processes.

Figure 7) An eager-zeroed thick VMDK as it relates to storage blocks on an array. 



Tuesday, August 14, 2012

VMware vSphere 5 Memory Management and Monitoring diagram

The VMware vSphere 5 Memory Management and Monitoring diagram provides a comprehensive look into the ESXi memory management mechanisms and reclamation methods. This diagram also provides the relevant monitoring components in vCenter Server and the troubleshooting tools like ESXTOP,


Source:-
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2017642