Categories: vCenter, Converter, Server, Site Recovery
Troubleshooting VMware Update Manager
Feb 25, 2009 at 02:55:33 pm | By michaelburger | Category: Howto | Send feedback »
The VMware Update Manager is a very convenient way of updating your ESX hosts or your entire environment including VMs an their applications, but you have to configure it properly and sometimes even that is not enough. I recognized more than once, that no more updates were received for a while, but the Update Manager told me that everything was compliant although I knew it was not. So what to do?
First, please be sure NOT to use the old "VMware Infrastructure Update Client", an application which is still on your vCenter server for legacy reasons, but is definitely not the tool to update your ESX 3.5 hosts! The right way to do it, is to install the "VMware Update Manager Plugin" within your vCenter client application and activate it.
Now let us assume your Update Manager does not provide any more updates. Please uninstall the "VMware Update Manager" application and delete the remaining installation directory. Do not forget to delete the old download folder, because Update Manager keeps track of it's updates by a database and not by the files, and since we are going to reinitialize the database, you do not want any inconsistencies here. The standard path for Update Manager downloads is C:\Documents and Settings\All Users\Application Data\VMware\Data
Now you reinstall Update Manager from your ISO / DVD and enter credentials to access your proxy if you have one and the right DSN (ODBC connection). Please be sure the DSN is the correct one and that it is NOT your vCenter database, because when the installer asks if you want to reinitialize the Update Manager database, you select yes and confirm it.
After installing you open the vCenter client and check for the activated Update Manager plugin. You should have a new icon on the upper right, just click on it and configure your Update Manager properties, if you have to. Now click on "Scheduled Tasks" and you will see a now task named "VMware Update Manager Update Download". Reschedule it to suite your needs and if you want to do download the updates right now, just right-click on the task and run it.
Now let's talk about baselines: A baseline is nothing more than a list of available updates, divided into critical and non-critical updates for ESX hosts and VM guests. Update Manager compares your hosts and guests to these lists and looks for the delta. If your update repository is up to date and the delta is 0, the object is compliant. Otherwise there are one ore more updates available for the object. Please remember that you have to attach the baselines first, because NO baseline is attached after installation of Update Manager. To do that, go into the left pane and click on the object you are planning to remediate, e.g. "Hosts & Clusters" to update your whole environment. Now select the Update Manager tab in the right pane, click on "Attach Baseline" and select the ones you want to apply.
Now you should be ready to go, but remember that the first initialization could take very long because there are lots of update packages to download. Right-click on the object and first select to check for updates. Now the vcIntergrity component checks the objects for compliance. When the process is done, you are ready to remediate, again with a right-click on the object. You can remediate whole clusters because Update Manager only patches one host at a time. I strongly encourage you to test the patches in a non-productive environment first, because I experienced some cases where Update Manager continued with patching, even though something went wrong and the systems were not able to boot! So Update Manager shut down the whole cluster one by one...
If you do not want to update your Windows or Linux VMs with Update Manager, you should configure Update Manager skip those OS updates, because there are bags full of packages for these operating systems that will clog up your Internet connection. Most data centers have other methods for updating Windows and Linux, so if there is no need to do it, just don't do it. Click on the vCenter Update Manager configuration button and select "Update Downloads". On the right there is a small link named "Edit Update Downloads", where you can configure your Update Manager downloads.
If you have an Internet firewall with integrated anti-virus security, you might experience some problems downloading your update packages due to timeouts caused by the anti-virus scanning process. You can edit the vci-integrity.xml file in the Update Manager directory. Let's have a look at section downloadMgr, where you can edit
- maxDownload - How many downloads at once?
- downloadRetries - How many retries if a download fails?
- retryDelaySeconds - How many seconds to wait before retrying?
- recvTimeout - How long to wait before deciding a download has timed out?
The last entry is the one you can push up to solve the timeout problem with your firewall.
vCenter 2.5 Update 4 released
Feb 25, 2009 at 11:09:08 am | By michaelburger | Category: Howto | Send feedback »
Link: http://www.vmware.com/support/vi3/doc/vi3_vc25u4_rel_notes.html
VMware released Update 4 for vCenter, which includes updates for all components. You can choose between English and new localized versions in Chinese, Japanese and German. I recommend staying with the non-localized version. Windows Server 2008 customization is available from now on, the rest are bug fixes. Please read the release notes to see all fixes, there are lots of.
The automatic update for the vCenter clients is disabled in this release, which is fine with me, because the feature did not work smoothly at all. So you have to update your clients conventionally.
There is a new optional JAVA-based "Performance Overview Plug-In", which you have to install manually. Please read the instructions, because you will need to install a JDK6 and add two environment variables before running the installer, and still the batch file did not run smoothly on our system. The new plugin will display a single view of key performance metrics for CPU, memory, disk, and network without navigating through multiple charts. From my point of view this implementation is absolutely no piece of art. Please, VMware, we do not need any more beta features, we need stable releases!
vConverter 4 Image Import
Feb 20, 2009 at 10:57:40 am | By michaelburger | Category: Tip | Send feedback »
Did you know that meanwhile vConverter supports a lot of different image formats for import? Right now you can choose from:
- VMware Workstation (*.vmx, *.vmtn)
- VMware Consolidated Backup (*.vmx)
- Microsoft Virtual PC / Virtual Server (*.vmc)
- Symantec Backup Exec (*.sv2i)
- StorageCraft ShadowProtect Files (*.spf)
- Acronis True Image (*.tib)
Especially the last one is good news to me, because True Image is one of my favorites. Very flexible and reliable solution, only the server licenses became pretty high priced in the last years.
VMware Reference Card
Feb 18, 2009 at 03:27:48 pm | By michaelburger | Category: Tip | Send feedback »
Link: http://www.vmreference.com/vi3-card/
Forbes Guthrie created a great overview of VMware specs and figures. He calls his project the "vmreference card". Very useful if you are preparing for a VMware exam, but also for your EEE (Everyday ESX Experience).
Invalid Token Error in vConverter
Feb 18, 2009 at 10:44:20 am | By michaelburger | Category: Howto | Send feedback »
When you try to import a machine via vCenter you might get an unknown error. If you look into the log file, you will find some SSL issues and an entry like this:
[2009-02-18 10:33:59.002 'P2V' 3792 error] [task,301] Task failed: at line number 7, not well-formed (invalid token)
This problem occurs commonly in European environments and is caused by the use of Umlaute, which are quite often used in the German language. The result is the "invalid token" message. Please remove all Umlaute from all VMs in vCenter (VM Names, Folders, Notes, etc.).





