Archive for the ‘Virtualisation’ Category

VMware ESX/ESXi Backup Guide

Tuesday, January 10th, 2012

VMware ESX/ESXi Backup Guide

If you have a licensed version of ESX/ESXi, (paid for license) you could purchase the following third party applications to perform backups. If you do not have a licensed version of ESX/ESXi, your options are limited, because a non-licensed (paid for) version does not give access to the licensed APIs for third party products to function. You will there for need at least a Standard license for ESX/ESXi for the following products listed in 1 to 3 below.

1. Veeam Backup and Replication v5 – very popular, won many awards at VMworld 2010

Download a trial here – http://www.veeam.com/vmware-esx-backup.html

2. Quest Vizioncore Vranger Pro – the first VM backup product with a good pedigree.

Download a trial here – http://vizioncore.com/product/vRangerPro

3. PHD Virtual Backup – very fast backup technology, using virtual applicance.

Download a trial here – http://www.phdvirtual.com/phd-vb-51-vmware-vsphere

4. VMware Data Recovery – supports dedupe, integrated with vCenter – maybe included with your current VMware License (available in vSphere Enterprise Plus, Advanced, and Essentials Plus Editions. VMware Data Recovery can also be purchased a la carte with vSphere Standard Edition.)

http://www.vmware.com/products/data-recovery/overview.html

Free (download) alternatives for backing up VMs

5. ghettoVCB

http://communities.vmware.com/docs/DOC-8760 ((Will work on FREE ESXi, no licensed required.)

(can be performed whilst the virtual machine is live or powered on)

6. ghettoVCBg2

http://communities.vmware.com/docs/DOC-9843 (needs licensed version of ESX/ESXi)

(can be performed whilst the virtual machine is live or powered on)

7. Scripts and NFS backup

http://communities.vmware.com/message/1029047 (Will work on FREE ESXi, no licensed required.)
(can be performed whilst the virtual machine is live or powered on)

8. VMware Converter Standalone 4.3

http://downloads.vmware.com/d/info/datacenter_downloads/vmware_vcenter_converter_standalone/4_0

VMware vCenter Converter Standalone 4.x Documentation

http://www.vmware.com/support/pubs/converter_pubs.html

VMware vCenter Converter Standalone 4.3 User Guide
http://www.vmware.com/pdf/convsa_43_guide.pdf

With VMware Converter you can convert and copy a Virtual Machine to another datastore, this advantage is you can do this whilst the virtual machine is Online or Powered-Up.

9. Veeam FastSCP

Free download here http://www.veeam.com/vmware-esxi-fastscp.html

Fast Virtual Machine / File Transfer. Faster than WinSCP and other SCP-based tools as it uses full network capacity. The Veeam FastSCP engine also features traffic compression and empty block removal for best file copy performance.

You can use FastSCP to connect to the ESX/ESXi server, and download the entire virtual machine folder/directory to the current workstation or server, where yov’ve connected from. You must ensure that the virtual machines are powered off to complete this operation.

10. Datastore browser

The datastore browser is included in the vSphere GUI Client, and enables you access to the datastore, virtual machines are stored on. You can simple use the cut and paste, or download/upload options to backup and restore virtual machines. Again to copy a virtual machine, the virtual machine must be powered off.

Restoring with options 9 and 10, above, you must add the Virtual Machine manually to the inventory, by selecting the vmx file in the datastore browser, right click on the *.vmx file, and select “Add to Inventory”.

HOW TO: Suppress Configuration Issues and Warnings Alerts after enabling vSphere HA in a VMware vSphere Cluster

Tuesday, January 10th, 2012

In VMware vSphere 4 1 and 5.0, if you have two or more hosts, using shared storage, (SAN/NAS) you can create a VMware vSphere Cluster and enable High Availability mode (HA), if you have the correct VMware vSphere Licensing.

VMware vSphere High Availability (HA) provides easy to use, cost effective high availability for applications running in virtual machines. In the event of VMware vSphere server failure, affected virtual machines are automatically restarted on other VMware vSphere production servers with spare capacity.

You may have noticed that after Turning On vSphere HA in Cluster settings from the vSphere Client that a Configuration Issues warning yellow box may appear on the Summary page of ALL host ESXi servers in the vSphere Cluster.

The Configuration Issue reports This host currently has no management network redundancy

The Configuration Issue reports This host currently has no management network redundancy

The Configuration Issues reports “This host currently has no management network redundancy”

You will also notice there is also a yellow/orange warning triangle displayed on ALL the vSphere ESXi host servers in the vSphere Cluster.

Warning trianles on hosts in vSphere Cluster

Warning trianles on hosts in vSphere Cluster

The only issue, is that the Warning triangle displayed in VMware vSphere vCenter can mask real warning events.

VMware vSphere HA will still function correctly, the configuration issue, is warning that there is only one physical network interface connected to the virtual vswitch which has the service console (ESX) or management network interface (ESXi) connected.

example vSwitch with single physical network interface vmnic0

vSwitch example

vSwitch example

These configuration issues and warnings alert triangles, can be suppressed as follows

1

Connect to the VMware vSphere vCenter Server

Using the VMware vSphere Client, Login and Connect to the VMware vSphere vCenter server, using IP address or hostname of the VMware vSphere vCenter server, using vCenter Server Administrator username and password credentials.

Using the VMware vSphere Client, Login and Connect to the VMware vSphere vCenter Server

Using the VMware vSphere Client, Login and Connect to the VMware vSphere vCenter Server

2

Select the Cluster in Inventory

Select the Cluster in Inventory > Hosts and Clusters, Right Click the Cluster in the right hand panel, and select Edit Settings

Right Click the Cluster in the right hand panel, and select Edit Settings

Right Click the Cluster in the right hand panel, and select Edit Settings

The vSphere Cluster settings dialgoue box will be opened.

vSphere Cluster Settings

vSphere Cluster Settings

3

Select vSphere HA

Select vSphere HA and click Advanced Options, bottom right

vSphere HA Advanced Options

vSphere HA Advanced Options

the Advanced Options (vSphere HA) diaglogue box will open.

vSphere HA Advanced Options

vSphere HA Advanced Options

4

Add ‘das.ignoreRedundantNetWarning’ value

To suppress the configuration issues box and warning triangles, the das.ignoreRedundantNetWarning needs to be added with a value of TRUE.

Click the left hand column under Option, and enter das.ignoreRedundantNetWarn

ing

enter das.ignoreRedundantNetWarning

enter das.ignoreRedundantNetWarning

Click the right hand column under Value, and enter TRUE.

enter TRUE

enter TRUE

Click OK to return to Cluster Settings.

5

Click Cluster Features

Click Cluster Features and remove the Tick from Turn On vSphere HA.

This action will disable HA on ALL ESX/ESXi hosts in the cluster. Please note I would recommend any changes to a production environment be carried out and schedule out of core SLA hours.

Turn OFF HA

Turn OFF HA

Click OK. The HA cluster will be reconfigured, this will take a few seconds.

6

Turn On vSphere HA

Select the Cluster in Inventory > Hosts and Clusters, Right Click the Cluster in the right hand panel, and select Edit Settings

Right Click the Cluster in the right hand panel, and select Edit Settings

Right Click the Cluster in the right hand panel, and select Edit Settings

The vSphere Cluster settings dialgoue box will be opened.

Turn OFF HA

Turn OFF HA

Select Turn ON vSphere HA (by clicking and ensuring a Tick appears in the box)

Turn ON vSphere HA

Turn ON vSphere HA

Click OK.

The HA cluster will be reconfigured, this will take a few seconds. (Tested with Five hosts takes 40 seconds).

HA Configuration Issues Suppressed

HA Configuration Issues Suppressed

The Configuration Issues yellow box in the Summary Page and Warning Triangle will disappear immediately.

Thank you for reading my article, please leave valuable feedback.

HOW TO: Suppress Configuration Issues and Warnings Alert displayed in Summary status for ESXi 4.1 U2 or ESXi 5.0 after enabling SSH or ESXi Shell

Tuesday, January 10th, 2012

In vSphere 4 1 and 5.0, you can enable both Remote SSH and the ESXi Shell for management of hosts from the vSphere Client and from the Direct Console User Interface.

You may have noticed that on enabling both Remote SSH and the ESXi Shell for management of hosts from the vSphere Client and from the Direct Console User Interface that a Configuration Issues warning yellow box appears on the Summary page of the host ESXi server.

This Configuration Issues warning yellow box only appears when Remote SSH and/or ESXi shell has been enabled.

Configuration Issues, SSH and ESXi shell enabled

Configuration Issues, SSH and ESXi shell enabled

If you are also connected to a Windows vCenter Server using the vSphere Client, you will also notice there is also a yellow/orange warning triangle displayed on the host server.

vCenter Configuration Issue

vCenter Configuration Issue

There is no vSphere ESXi configuration issue, VMware vSphere Hypervisor (ESXi) and VMware vSphere vCenter server are indicating there is a possible security issue with your installation, you may not be aware that SSH and ESXi shell have been enabled.

VMware state “This message is a proactive security measure designed to ensure that administrators are aware that remote access has been enabled for the server.”

The only issue, is that the Warning triangle displayed in VMware vSphere vCenter can mask real warning events.

These configuration issues and warnings alert triangle, can be suppressed as follows

1

Connect to the VMware vSphere Hypervisor (ESXi) or VMware vSphere vCenter Server

Using the VMware vSphere Client, Login and Connect to the ESXi server, using IP address or hostname of the ESXi server, using root username and password credentials. If you have a VMware vSphere vCenter server, you could also specify IP address or hostname of the vCenter server.

Using the VMware vSphere Client, Login and Connect to the ESXi server

Using the VMware vSphere Client, Login and Connect to the ESXi server

2

Select the Configuration Tab

Once you are logged into and connected to the host ESXi or vCenter server, Select the host ESXi server, followed by the Configuration Tab.

Configuration Tab

Configuration Tab

3

Select the Advanced Settings option

Click the Advanced Settings option at the bottom of the list.

Advanced Settings

Advanced Settings

After Clicking Advanced Settings the following Advanced Settings dialogue box will open as shown in the following screenshot.

UserVars

UserVars

4

Navigate to the UserVars variable

Navigate to and Click the UserVars section.

Set the value of  UserVars.SuppressShellWarning from 0 to 1.

Set the value of UserVars.SuppressShellWarning from 0 to 1.

Set the value of UserVars.SuppressShellWarning from 0 to 1.

UserVars.SuppressShellWarning set to 1

UserVars.SuppressShellWarning set to 1

Click OK.

The Configuration Issues yellow box in the Summary Page and Warning Triangle will disappear immediately.

Please note: the variable UserVars.SuppressShellWarning is only available in ESXi 4.1 U2, ESXi 5.0 and vCenter Server 4.1 U2 and 5.0 only.

HOW TO: Enable Jumbo Frames on a VMware vSphere Hypervisor (ESXi 5.0) host server using the VMware vSphere Client

Tuesday, January 10th, 2012

The original payload size or maximum transmission unit (MTU) of an ethernet frame is 1500 bytes. A jumbo frame has an ethernet frame size of 9000 bytes or over. Common Jumbo Frame sizes are 9000, 9216 bytes (example – HP switches).

Enabling Jumbo Frames may help reduce storage latency and increase storage throughput when used in conjunction with iSCSI or NFS storage network protocols with a VMware vSphere Hypervisor (ESXi 5.0) host server and a storage area network (SAN) or network attached storage (NAS) device.

Before enabling Jumbo Frames on an ESXi 5.0 server, check

(i) ensure the servers network interface card can support jumbo frames. Check with server or network manufacturer.
(ii) network switches support the use of jumbo frames, and enable jumbo frames on the network switches. Not all switches support the use of jumbo frames.
(iii) the SAN or NAS supports jumbo frames, and is enabled accordingly to manufacturers instructions.

The end to end network topology must support jumbo frames, otherwise ethernet frame packets will become fragmented, and performance will be degraded.

Connect to the VMware vSphere Hypervisor (ESXi 5.0) Server

Using the VMware vSphere Client, Login and Connect to the ESXi 5.0 server, using IP address or hostname of the ESXi 5.0 server, using root username and password credentials. If you have a VMware vSphere vCenter server, you could also specify IP address or hostname of the vCenter server.

Using the VMware vSphere Client, Login and Connect to the ESXi 5.0 server

Using the VMware vSphere Client, Login and Connect to the ESXi 5.0 server

2

Select the Configuration Tab

Once you are logged into and connected to the host ESXi 5.0 server, Select the Configuration Tab.

Select the Configuration Tab

Select the Configuration Tab

3

Select the Networking option

Click the Networking option to display the network vSwitches.

Click the Networking option to display the network vSwitches

Click the Networking option to display the network vSwitches

4

Select the Properties of the vSwitch you wish to enable jumbo frames

Properties of vSwitch0

Properties of vSwitch0

you can check the existing frame or MTU size of the vSwitch. In this example vSwitch0 is selected.

vSwitch0 Properties

vSwitch0 Properties

Click Edit

5

Change MTU value of the selected vSwitch

Default MTU size 1500

Default MTU size 1500

The default MTU (frame) size is 1500, enter the MTU (jumbo frame size) either 9000 (9216 if you switch is HP). Check with your network switch and SAN/NAS vendor for correct jumbo frame size.

Custom MTU size 9000

Custom MTU size 9000

Click OK and Close.

6

Jumbo Frames have been enabled successfully

Jumbo Frames configured successfully

Jumbo Frames configured successfully

You have successfully configured your vSwitch for jumbo frames.

7

Test Network Change

Once you have configured jumbo frames, it is important to test this change before commissioning any ESXi 5.0 server into production.

HOW TO: Improve the transfer rate of a Physical to Virtual (P2V), Virtual to Virtual Conversion (V2V) using VMware vCenter Converter Standalone 5.0

Sunday, January 8th, 2012

VMware vCenter Converter Standalone 5.0 is a FREE tool available from VMware upon registration, the purpose of this software tool is to easily convert physical or virtual computers, images of computers to VMware virtual machines. Server and Workstation operating systems are supported in the conversion.

Download VMware vCenter Converter Standalone 5.0 here
VMware vCenter Converter Standalone 5.0 Documentation
VMware vCenter Converter Standalone 5.0 User Guide

In September 2011, VMware released version 5.0 of VMware vCenter Converter Standalone 5.0, with many new features including partition alignment important for aligning partitions correctly on storage array networks (SAN).

BUT, we’ve noticed that completing conversions using VMware vCenter Converter Standalone 5.0 compared to using VMware vCenter Converter Standalone 4.3, were taking much longer, and the transfer rate of a conversion had become degraded when using version 5.0.

The following modification will improve the transfer rate when using VMware vCenter Converter Standalone 5.0, to similar transfer rates obtained when using VMware vCenter Converter Standalone 4.3 to perform conversions.

It would appear that VMware uses a proprietary VMware protocol called NFC, to image to destination, also by encrypting (SSL) the data payload transfers in version 5.0, this additional overhead causes transfer performance degradation. The result of which is a longer than expected conversion time, when compared to version 4.3.

Turning OFF SSL Encryption in VMware vCenter Converter Standalone 5.0 can improves transfer rates.

(if appropriate for your environment)

To turn OFF SSL Encryption in VMware vCenter Converter Standalone 5.0, please follow the following steps:-

  • Find and Edit converter-worker.xml

this file is location in the following locations

Windows Vista, Windows 7, Windows 2008
%ALLUSERSPROFILE%VMwareVMware vCenter Converter Standalone

Windows XP, Windows 2003, Windows 2000
%ALLUSERSPROFILE%Application DataVMwareVMware vCenter Converter Standalone

  • Change the SSL Key <useSsl> true </useSsl> to false

You may find it easier to edit the file using Microsoft XML Notepad 2007 to edit the XML file. But Notepad or Wordpad can edit the file, just ensure, you make a copy of the original file for backup before making any alterations. Using Microsoft XMP Notepad 2007, you do not have to scroll the contents of the file, and the <useSsl> section is quicker to find and alter, but whatever tool you find most comfortable to use to edit the file, is okay.

Change

<useSsl> true </useSsl>

to

<useSsl> false </useSsl>

save the XML file.

Using Microsoft XML Notepad 2007

Using Microsoft XML Notepad 2007

Using Microsoft XML Notepad 2007 to change to false

Using Microsoft XML Notepad 2007 to change to false

  • Restart Service

For changes to take effect – Restart “VMware vCenter Converter Standalone Worker” service.

  • Results

We have seen performance increases from at least 2x to 6x. So if you want to half the conversion time at least, then alter the encryption setting. If appropriate for your environment.

In the following example, a Windows 2003 Server was converted from Virtual Machine to Virtual Machine (V2V) using VMware vCenter Converter Standalone 5.0 installed on the server to be converted. In the first conversion (TaskId10) the SSL Key was left as the default TRUE, and encryption was used. In the second conversion (TaskId11), the SSL Key was set to false.

As can be seen from the following screenshots Average Transfer rate has increased from 2 MB/s to 6 MB/s and the conversion time has reduced from 1hr 38mins to 33mins.
.

Default encryption value of true 2MB/s transfer rate

Default encryption value of true 2MB/s transfer rate

Default encryption value of false 6MB/s transfer rate

Default encryption value of false 6MB/s transfer rate

A performance increase of 60%! just by chaning a value from true to false.

The Official email – 8th Annual Expert Awards @ExpertsExchange – Expert of the Year

Friday, January 6th, 2012

I think the other email was the Experts Exchange Community Newsletter, this is the Official email!

8th-annual-expert-awards-expert-of-the-year1banner-expert-of-the-year

TOP AWARD! I AM THE Experts Exchange Expert of the Year 2011!

Monday, January 2nd, 2012

It’s been fun, a lot of hard work, approximately 3,500 VMware and Virtualisation Questions answered in 2011, and 20,000 posted comments at Experts Exchange. Expert of the Quarter,  Juggernaut and The Ally for Q2 and Q4 2011, and now I’ve just learnt

I AM THE EXPERT OF THE YEAR FOR 2011!


So not bad for 2011, VMware vEXPERT 2011, Experts Exchange EXPERT of the YEAR 2011!

Roll-on 2012!

Andysworld! Advent Calendar – Dec 19 – My VMware Christmas Gifts – from the VMware Festive Journey to the your Cloud

Monday, December 19th, 2011

For the last two weeks, VMware have been running VMware Festive Journey to the your Cloud, a daily draw competition, where you could win, cameras, iPods, Gift Vouchers, and VMware Merchandise.

It finishes on the 23 December 2011, so you’ve got a few days left to register, answer the question, and be entered into the daily draw!

I’ve been lucky to win a few items

vmwarefestivejourneytoyourcloud

vmwaregifts

Some handy winter car items, an ice scraper, torch and travel mug!

What to purchase a vEXPERT, VCP, VMware Admin, VMware Geek this Christmas?

Saturday, December 17th, 2011

If you wondering what to purchase a vEXPERT, VCP, VMware Admin, VMware Geek this Christmas, why not consider one of the best Technical books on VMware HA and DRS!

My Christmas Present from Secret Santa!

My Christmas Present from Secret Santa!


Andysworld! Advent Calendar – Dec 13 – x10 Computer Controlled Outside Christmas Tree Lights using VMware ESXi 5.0, a Windows 2008 Virtual Server and Web Services

Tuesday, December 13th, 2011

We’ve now also, added the Christmas Tree lights outside, in the Magnolia Tree.

I also got a little bored, and decided rather than using a traditional plug-in 240v 24 hour timer, I would add them to the X10 Computer Controlled System, so I can turn them off via a VMware Virtual Server, running Windows 2008 Web Services!

Lindsey asked “Why? I replied, because I can do stuff like that!

So in thoery I could grant access to this Website, on the Internet to turn them off remotely, or let other people turn them on or off!

x10website

The website is basic, but it functions, just need some graphics and CSS!

Update: I’d already written this blog, and submitted for publishing, before catching an Episode of “The Big Bang Theory” – The Cooper-Hofstadter Polarisation (s1e9) – at this very start of the episode, Howard Wolowitz also demonstrates a light and stereo being power-on via x10, and enabling public access to do the same thing, which Penny also states “Why?” – you can get a really cheap wireless remote from Radio Shack!

Okay, so I’m a nerd! But we all knew that!