HiperLogic

Virtualization, High Performance Computing, Enterprise Computing

VMware

You are currently browsing the archive for the VMware category.

I had a customer that needed to uninstall a broken vCenter plugin, uninstalling the offending application was not unregistering the plugin and it showed up with errors.

The easy way to do this is to login to vCenter with the following URL:

  https://<vCenter>/mob/?moid=ExtensionManager

You will see a list of extensions below, click on the image to expand it:

Now type the name of the extension between the double quotes, and click invoke method to unregister like the screenshot below.

You may need to re-login to the VIC client to see the update.

vSphere 4.1 is now released! A slew of new features. Join the webinar on Friday at 3:00 EST that goes into a deep dive on the new features, sign-up at A list of documents related to this release:

VMware vSphere 4.1 Presentation – Whats New Technical

VMware vSphere 4.1 Brochure – EN

VMware vSphere4.1 DataSheet – Standard Edition EN

VMware vSphere 4.1 Whats New Flyer – Enterprise EN

VMware vSphere 4.1 Whats New Flyer – SMB – Now with VMotion!!!

VMware vSphere 4.1 DataSheet – Essentials Editions EN

Download links vSphere 4.1:
vCenter: http://bit.ly/9M6Rcz
ESX: http://bit.ly/9ypsFj
ESXi: http://bit.ly/arqXl

Tags:

NetApp has released a fantastic PowerShell kit to automate operations with their filers.

To get started, download the DataOntap.zip and install.ps1 from the NetApp NOW site, and place them in c:\temp\ on a Windows box with PowerShell ( I am using 2008 R2 with PowerShell Version 2 )

Start PowerShell, and type the following:

set-executionpolicy remotesigned
cd c:\temp\
 ./install.ps1

after that, start PowerShell again and type

     Get-Module -listavailable

to make sure you see DataONTAP installed.

Now you can type

Import-Module DataONTAP

To access the DataONTAP cmdlets in your session. You will need to do this each time you start PowerShell, or you can add the above command to your PowerShell profile to automatically load them.

To see help and examples, you can use the following command:

Show-NaHelp

For detailed help on a cmdlet, use get-help as you normally would with PowerShell:

Get-Help Connect-NaController –full

There are MANY great cmdlets available to automate common NetApp administration tasks.

A great example is a script mixing both NetApp and VMware PowerShell automation by Jase McCarty here which automatically provisions and mounts storage on all ESX hosts.

I modified Jase’s script slightly to work with PowerShell 2.0 and to use root access instead of AD credentials. This script must be ran from VMware PowerCLI to work:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Add the  DATA ONTAP Module
Import-module DataONTAP
# Set my variables. Change for your site
##########################
$vCenter = "192.168.15.70"
$Filer = "192.168.15.3"
$aggr = "aggrx"
$newvol = "volx"
$narootpasswd = "netapprootpasshere"
#########################

#Connect to NetApp as root
$password = ConvertTo-SecureString $narootpasswd -AsPlainText -Force
$cred = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList "root",$password

Connect-NaController $Filer -Credential $cred

# Create a new 6GB volume
New-NaVol $newvol $aggr 6g

# Set some options for the new volume
Set-NaVolOption $newvol no_atime_update yes
Set-NaVolOption $newvol fractional_reserve 0

# Set the SnapShot Reserve to 0
Set-NaSnapshotreserve $newvol 0
Set-NaSnapshotschedule $newvol -Weeks 0 -Days 0 -Hours 0

# Add an NFS export
Add-NaNfsExport /vol/$newvol -Persistent -ReadWrite all-hosts -NoSuid -SecurityFlavors sys,krb5

# Get all the vSphere Hosts and add the NFS export. This requires VMware PowerCLI

# Connect to vCenter
Connect-VIServer $vCenter

$Hosts = Get-VMHost
ForEach ($h in $Hosts)
{
New-Datastore -Nfs -VMHost $h.Name -NAME $newvol -Path /vol/$newvol -NfsHost $Filer;
}

While vSphere 4.1 is not out yet, there are numerous leaks and announcements on the forums and other blogs on what to expect in 4.1

A partial list of features expected include:

1. ESX and ESXi direct support for Microsoft Active Directory through Likewise technology
2. Memory Compression for even higher VM density per host.
3. Scripted installations for ESXi making large rapid deployments supported and quick.
4. Storage I/O Control – Think of this is shares and limits for storage I/O to make sure important VMs get priority.
5. DRS VM Affinity – Restrict VM placement to particular hosts inside of an ESX cluster.
6. New HA dashboard for monitoring your ESX HA cluster.
7. Up to 8 simultaneous VMotions.
8. Microsoft Volume Shadow Service (VSS) in Windows Server 2008 and 2008 R2 guest operating systems for VADP
9. QoS engine that can prioritize between virtual machines, vMotion, Fault Tolerance (FT) and IP storage traffic.
10. Support for USB pass-through

Should be a very nice release!

The new Veeam Sure Backup Technology that checks that your VM will be able to recover from a backup is shown in this video. VERY cool, good example of how you can backup a system that is corrupted and have a false sense of security that it can be recovered without the use of SureBackup:

Storage I/O Control is a new feature coming in vSphere 4.1 that will allow the admin to control and throttle VM throughput to the datastores when a VMs latency crosses a certain threshold.

This is an entertaining video made by someone else that demonstrates this ( pre-release ) technology:

This is a great site for keeping track of VMware build information:
VMware Release Build Information

Tags:

[vSphere 4.0 Update 2 is out which includes updates for ESX/ESXi hosts (build 261974) as well as the vCenter Server (build 258672).

This update primarily has more hardware support and guest OS support, and the ability to see more performance statistics for NFS datastores, along with the usual bug fixes.

To see the new NFS stats use (r)esxtop and hit "u" to see the NFS datastore stats like below:

esxtop

esxtop

NOTE: If you are using VMware View, do NOT upgrade at this time. See this article for the latest info on this issue: 1022830

UPDATE June 14th: If you are using EMC CLARiiON, make sure and read This EMC Post Before upgrading.

Update July 9th: Another nice feature in this update is how “Delete All” snapshots is handled, reducing the amount of space required and lowering the chance you fill up the datastore. See Yellow Bricks for more details

HiperLogic offers hardware solutions from HP ( and other vendors ), and for Virtualization we are a big fan of the HP DL380 G6. We have noted during our VMware health check service that many DL380 G6 installs that were done by our competitors were not ordered and/or configured for maximum performance. This post is to assist customers in getting it right.

Memory
Not having an optimal memory configuration can drastically reduce performance. HP has engineered the DL380 G6 to support large amounts of RAM and still keep the memory speed at 1333MHz (With 95W CPUs ). The memory configuration on new Nehalem based systems is no longer a simple matter of just picking a capacity and running with it like in the old days. If you want to configure your own memory see www.hp.com/go/ddr3memory-configurator. A good presentation on memory configuration is here.

Disk

Next is disk performance. You should purchase a Battery Backed Write Cache Module with any DL380 G6 for vSphere ESXi or you will have performance problems, see this HP advisory. Even if you are running ESX today, ESXi may in the very near future be the only path forward, so better to spend a few dollars to future proof your investment.

BIOS

Having the wrong BIOS settings can really make a huge difference in performance. For example you may consider setting:

Turbo Boost On
HP Power Profile to Maximum Performance
HP Power Regulator to Static High Performance
Thermal Configuration Increased Cooling

Local Disk

HiperLogic also likes to have some fast local disk, the DL380G6 has plenty of internal storage for putting lots of fast disk. Having fast local disk is great even if you use a SAN as you can always storage vmotion to a local VMFS volume when testing or debugging VM disk I/O or VM disk performance issues, and for temporarily working around SAN issues etc. Disk is cheap, and it is nice to have the flexibility.

Finally always check the VMware HCL, for the DL380 G6 that is here

Tags:

Rodney Mach of HiperLogic was selected as one of the VMware vExperts for 2010.

The VMware vExpert Award is given to individuals who have significantly contributed to the community of VMware users over the past year. vExperts are book authors, bloggers, VMUG leaders, tool builders, and other IT professionals who share their knowledge and passion with others. These vExperts have gone above and beyond their day jobs to share their technical expertise and communicate the value of VMware and virtualization to their colleagues and community.

Rodney runs the Ann Arbor Virtualization User Group ( http://aavug.org) and blogs here on the HiperLogic blog http://hiperlogic.com/blog and at http://rodmach.com/blog on Virtualization technologies. Thanks to VMware for the honor!

Recently a customer noted that many of their VMs were still showing up on an old datastore after doing a storage vMotion to a new datastore. Browsing the actual datastore showed the VM was not there, but the VIC continued to report it was.

The issue was the customer had Storage vMotioned with ISO images connected, which you should not do. The simple fix was to disconnect all the ISO images from those VMs. This is easy through the VIC GUI, but to automate it and make sure none were missed we used Power CLI:

Get-VM  | ForEach ( $_ ) { Get-CDDrive $_ | Where { $_.IsoPath.Length -gt 0 -OR $_.HostDevice.Length -gt 0 } | Set-CDDrive -NoMedia -Confirm:$False }

Or to just do this for a particular datastore:

Get-VM  -DataStore mydatastore | ForEach ( $_ ) { Get-CDDrive $_ | Where { $_.IsoPath.Length -gt 0 -OR $_.HostDevice.Length -gt 0 } | Set-CDDrive -NoMedia -Confirm:$False }

Installing VMware Tools in a Windows or Linux VM increases the I/O timeout for all disks to help the guest OS survive a short SAN/NAS storage outage.

If you wish to increase this value from the VMware default ( or if you don’t install VMware tools for some reason), there are couple ways to automate this. Jason McCarty last week posted a nice PowerCLI script to automatically set Windows Guest timeout registry setting to the NetApp recommended value of 190 seconds: http://www.jasemccarty.com/blog/?p=691.

If you are running RHEL5 with vSphere U1 VMware tools installed, the default is set to 180 seconds in /etc/udev/rules.d/99-vmware-scsi-udev.rules. You can increase this if you want by editing this file, or manually set /sys/block/sda/device/timeout in /etc/rc.local to avoid a VMware tools upgrade from changing your settings.

Many customers use the the Notes: field in the VMware vSphere client to track a variety of information, like what the VM is for.

Unfortunately, a few different 3rd party products overwrite the Notes: field by default with their application specific data.

If you find yourself re-creating all your Notes: field after having a 3rd party blow them away, here is how you can back them up and restore them to prevent this in the future, using PowerCLI .

If you aren’t familiar with setting up and getting started with PowerCLI, See the 5 minute guide to VMware PowerCLI by Rod Mach.

To export all your Notes field and store them in c:\temp\notes.csv

Get-VM |select Name, Description |Export-Csv C:\temp\notes.csv

To import all your Notes field back in:

Import-Csv “C:\notes.csv” | % { Set-VM $_.Name -Description $_.Description -Confirm:$false}

Pano continues to make the simplest desktop virtualization solution on the planet, with their award winning “ZERO” client that has no operating system, moving parts, firmware, CPU, or other components that could fail.

The new Pano System 3.0 solution has the following new features:

1. Support for Windows 7 (32-bit)
2. Support for multiple desktops per user. A use can choose between their XP and Win7 desktop, or have different desktops for different projects.
3. Easily deploy desktops into their own OU without scripting.
4. Wizard driven Active/Passive Pano Manager configuration eliminates single point of failure.
5. Silent Install of Pano DAS
6. Tighter integration with VMware View 4 ( Optional )
6. Continued abstraction of the hypervisor, most administration can be done through Pano Manager.

Current customers contact HiperLogic for detailed information on upgrading from your current release, this release is free for all customers on current maintenance.

Rodney Mach of HiperLogic was featured as the cover story for Storage Virtualization solutions in Channel Pro Magazine.

The great thing about VMware is never having to give up that Windows 2000 box that is running some legacy app that you just still have to keep around. Simply turn it into a VM, or create a backup VM copy in the event the physical hardware would die.

A couple tips that might help you if you are having a problem with VMware vCenter Converter with Windows 2000:

1. Make sure the VM is Windows 2000 SP4 ( Required )
2. Use the latest Converter client, vSphere U1 has several fixes for converting W2K.
3. If the VM doesn’t boot after the conversion, make sure when you do the conversion you choose
SCSI as the target disk type, if you choose IDE or it picks IDE then the VM will convert fine, but won’t boot.
4. If the VM is not on your domain for some reason ( I have seen this at a customer site where legacy boxes where not joined to the domain) make sure that the host can resolve in DNS both vCenter AND the ESX host you are converting the VM to. If it doesn’t, put the ESX host and vCenter in the hosts file on the W2K box before starting the conversion.
5. After the conversion, make sure and delete all the old legacy devices, especially the stale network adapters, or you may have unusual issues. To do so:

1. Open a Windows command prompt and type the following:
set devmgr_show_nonpresent_devices=1
This tells the device manager to show all non-present devices.
2. At the same command prompt, type
devmgmt.msc
3. In the device manager, select View menu, and then check
“Show Hidden Devices.”

You can get the latest download info for the Windows 2000 sysprep files that vCenter Converter requires at VMware KB 1005593

That’s it! If someone has a tip they would like to share, comment here.

A note to customers, when you buy a server with the new AMD Magny Cours chips with more than 6 cores per socket, you must have either vSphere Advanced OR Enterprise Plus. This is a licensing issue, all other editions of VMware limit you to 6 cores per socket.

See:

http://www.vmware.com/files/pdf/vsphere_pricing.pdf

There is also an explanation here:

http://www.vmware.com/download/eula/multicore.html

Likely VMware will be forced to fix their licensing scheme now that 8-core and 12-core servers are available. The document states “VMware will revisit its licensing policies as x86 processors with a greater number of cores become available.”

If you already have Advanced or Enterprise Plus, you should be fine. Otherwise, be aware you will need to upgrade your VMware licenses until which time VMware changes their licensing ( assuming they do. )

A customer recently asked me how often they needed to do a “full” backup with Veeam so they would have a full backup in the event there was corruption of one of their differentials. With Veeam Backup’s synthetic backup, this scenario doesn’t exist!!

Veeam uses a synthetic backup which means EVERY backup gives you a full backup, at incremental speed, in a file called jobname.vbk. This .vbk file does NOT depend on any past differentials ( which have the extension .vrb).

The fantastic thing about synthetic backup is never taking the time and space penalty after your 1st backup for a full backup, with all the comfort of a traditional full backup.

The veeammeup blog has a good technical description of this wizardry of how synthetic backup works, which I duplicate here.

The way Veeam’s Synthetic Backup works is that after the first full backup, all subsequent backups are incremental, meaning just the changes from the last backup run, forever. Veeam Backup “injects” the changes into the full recovery file (.VBK) and then also saves any data replaced during this process into the reversed incremental changes file (.VRB). The .VBK file is always a full recovery file and the largest file in the directory. The .VBK file also has the most current modified date as it gets updated after each backup cycle.

The .VRB files do not change, as they contain the .VBK data blocks which were replaced by incremental data for that particular incremental backup run. To restore or roll-back to a particular date/time, all related .VRB files are applied to the .VBK file in the required order to get you back to that point-in-time.

The retention policy specifies how many of the .VRB files you want to keep, this also then corresponds to how “far” you can roll-back. If the retention policy is set to 14, then the 15th time the backup job runs it will delete the oldest .VRB file.

If you archive the .VBK and associated .VRB files as a set to tape, you can recover them back to disk if needed and import them into Veeam Backup to roll-back or recover to any point in time in that set.

So to be clear, if you accidently delete the .VRB file(s) you can get back to your full, as the .VBK is the “full” file. (This should never happen, but I had a customer who had an admin delete these files on their filer to free up some space before they knew the implications).

We love PowerShell at HiperLogic, because we use it to automate just about everything.

Veeam Backup has PowerShell integration, and this post is about creating a small script to meet a user requirement to get a list of VM’s in a backup job called “mytestjob”. The customer wanted to integrate this information into another program via powershell glue.

To run this code, run the following from the powershell console:

add-pssnapin "VeeamPSSnapIn"
$job = Get-VBRJob -name "mytestjob"
$job.GetObjectsInJob() | foreach { $_.Location }

One other interesting easter egg of things to come, run this powershell line

 Get-VBRJob |get-member |select-string "HyperV"

Veeam has announced that the next release of Veeam Backup and Replication will have some exciting new features,  including the new  SureBackup technology we have covered in this blog before.

Another major change in Veeam Backup and Replication 5.0 ( Scheduled for Q3 2010) is that there will now be TWO editions, Standard Edition 5.0, and Enterprise Edition 5.0

Note that ALL THE CURRENT FEATURES of Veeam Backup and Replication 4.1.1 are in Standard Edition, plus all the new 5.0 features. NO current features have been removed and moved to the Enterprise edition, which is very good for existing customers. All existing Veeam Backup and Replication Customers ( on maintenance) will get 5.0 Standard Edition at no charge.  Veeam is creating an Enterprise Edition to target new high end features that not all customers may want to pay a premium for.

Currently, there are differences in three areas between Standard and Enterprise Edition:

Recovery verification: Standard Edition will provide basic recovery verification (verifying the latest backup
of a VM by manually mounting and testing the backup file), while Enterprise Edition will offer automated
and more advanced recovery verification (including testing any available restore point, not just the most
recent one).

 Windows guest file system indexing: Standard Edition will maintain an index of Windows guest files in
current backups, while Enterprise Edition will also include files in archived backups, for using google like search functionality.

Universal application‐item recovery: Enterprise Edition will include universal application‐item recovery
(Standard Edition will not). This is the ability to restore individual application objects, such as exchange email
messages, directory objects, or database records, from a regular backup.  Note that individual file level recovery is STILL available in both editions, just like it always has been.

Customers who are current on maintenance will receive Standard Edition v5.0 as a regular product update at no additional charge. Standard Edition will include all the functionality in the current v4.1 software plus the major new features described in this blog, and the usual fixes and improvements.

For customers that want the enhanced functionality of Enterprise Edition,  the Enterprise upgrade fee will be waived on licenses purchased on or before August 31st, 2010. You must have maintenance on all sockets purchased all the way up to the time you decide to upgrade, no later than 3 months after the 5.0 Enterprise release. ( We recommend customers always stay on maintenance, so this should be a non-issue).

Many customers want to know if they should upgrade to Enterprise, or stick with Standard?  For customers that want the enterprise features mentioned, you should upgrade. But Note that all FUTURE purchases of Enterprise will be $330 per socket MORE expensive than Standard edition.  (MSRP is 659 on Standard, 989 on Enterprise.) With this in mind, you may want to buy any more sockets you anticipate you will need this year BEFORE June 18th to save money.

If you do NOT need the new Enterprise features, then you may not want to take advantage of the free upgrade to Enterprise because all future Enterprise sockets will be $330 more expensive than Standard sockets. In the case you don’t need the new Enterprise features now or in the future, you may want to stick with Standard Edition.

If there are any questions on the new Veeam Backup and Replication 5.0, please contact HiperLogic and we will help you determine what is best for your particular situation

« Older entries

© 2006-2010 HiperLogic, LLC.  |  Serving the Ann Arbor, Southeast Michigan, and Ohio region  |  (888)-268-3930  |