Categories: Platforms, ESX, Server, ThinApp, View
VCB End Of Life
Mar 3, 2010 at 10:03:07 am | By michaelburger | Category: News | Send feedback »
VMware announced the end of life (EOL) for its Consolidated Backup (VCB) framework. The company states that the next version of vSphere, due later this year, will not support VCB and will solely rely on the new vStorage APIs for Data Protection (VADP) introduced with vSphere 4.0.
VCB binaries will be still available and supported on VI 3.x and vSphere 4.0 according to the support policy, but they will not be included in the new platform. Most partners with a strong focus on backup/restore already support VADP. VMware promises that even more vendors will offer VADP-based solutions in time for the next vSphere release.
vSphere VMFS Best Practices
Nov 12, 2009 at 10:01:29 am | By michaelburger | Category: Howto | Send feedback »
VMware has implemented some new features in the VMFS file system in vSphere 4 and these updates bring some good news for you: In the past you had to consider the block size very carefully when formatting a VMFS volume, because in VI3 configuration and log files were stored within the VMFS for the first time. This meant that every file allocated at least the chosen block size, no matter how large or small it really was. VMFS in vSphere 4 introduced the ability to store smaller files in so-called 64KB "sub-blocks" to save disk space.
So choosing a small block size will not give you an advantage anymore, it will only limit you in the future in case you want to grow your VMFS! Yes, that's another difference, you are not limited to extents in vSphere 4, now you able to really grow your VMFS, which makes it even more flexible. Unfortunately the VMFS wizard will still ask you to format your volume with 1MB block size by default. I would recommend to choose the largest available block size here to be as flexible as possible, because changing it later is not possible.
By the way, it is definitely false information that the chosen block size will impact your storage performance, but: Another highly acclaimed feature by VMware is thin provisioning. As you already figured out yourself, you should be pretty careful using it in your production environment, although there are cases in which it will be very useful. In my opinion thin provisioning also makes sense with larger VMFS block sizes, because increasing the VMDK file in tiny 1MB chunks doesn't look like best practice to me.
Resize Service Console Memory
Feb 27, 2009 at 05:12:44 pm | By michaelburger | Category: Howto | 3 feedbacks »
The standard for Service Console (SC) RAM in ESX 3.5 server is 272MB. This minimum is fine for the standard server that does not have installed any other software. But you might have proprietary hardware agents, backup solutions or other software installed, and you might run into serious trouble you are unaware of, if do not expand the SC memory (e.g. HA agent errors). 512MB should be enough for most scenarios, but if you don't mind you can go for the maximum of 800MB. You have to configure the RAM size in the ESX configuration file
/etc/vmware/esx.conf
Just search for /boot/memSize = "272" and enter your value. After that you will have to deal with GRUB and the init process, because the settings are boot-relevant. ESX server has proprietary aliases for that, the command is esxcfg-boot. You have to run it twice: First time to regenerate the GRUB configuration files, the second time to recreate the initrd file with the new settings. You might want to use this short shell script, that does it all for you:
sed -i 's/memSize = "[0-9][0-9][0-9]"/memSize = "800"/' /etc/vmware/esx.conf
esxcfg-boot -g
esxcfg-boot -b
Because you have to reboot the host to take effect, so you should plan this for your next ESX patch day.
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.
VCDX Study Guide
Feb 23, 2009 at 12:17:57 pm | By michaelburger | Category: Knowledge | Send feedback »
Peter van den Bosch released a very fine summary of all topics that are mentioned in the official VCDX blueprint. If you are serious about taking the exam, you should read it to make sure you are prepared. I had some problems printing the PDF (especially page 18), but this could be a driver problem of my printer. Good luck with your exam!





