vCenter Server appliance 6.0 URL-based patching
With the recent release of vCenter Server appliance 6.0 Update 1b support was added for patching your vCenter server appliance, making use of a URL within your company network. Before this patch your vCenter appliance would have to make a direct connection with the internet and download the patches from the VMware repository. Now with this change you will be able to download the patches on your workstation, place them on a webserver within your company netwerk and then apply the patches to your vCenter appliance.
To start things of with you will need to have your own web server, this can be either a Windows or Linux based server. After that you will need to download the zipped updated bundle from the vmware website. Once downloaded extract the files into your repository directory on the webserver, this should result in two subdirectories called “manifest” and “package-pool”.
After that you have two options in updating the vCenter appliance, either by the vCenter server appliance Management interface (VAMI) or through the use of the command line interface.
vCenter server appliance management interface:
- Open the management vCenter Virtual Appliance web interface on port 5480.
- In the Update tab, click Settings.
- Select Use Specified Repository.
- For the Repository URL, enter the URL of the repository you created. For example, if the repository directory is vc_update_repo, the URL should be similar to the following URL: http://web_server_name.your_company.com/vc_update_repo
- Click OK.
- Click Check Updates.
- Click Check URL.
- Under Available Updates, click Install Updates.
- Based on your requirement, select from the following options:
- Install all updates.
- Install third-party updates.
Command line interface:
- Access the appliance shell and log in as a user who has a super administrator (default root) role.
- To stage the patches included in a repository URL: software-packages stage –url http://web_server_name.your_company.com/vc_update_repo
- Install staged patches: software-packages install –staged
- To reboot after patching if needed: reboot -r “patch reboot”
This update should keep your IT environment up to date and secure, even if your Update server doesn’t have internet access.
- Working with the VMware vCenter Server Appliance by Edwin Weijdema
- Network connection lost after vCSA restore by Erik Scholten
- VMware releases first ShellShock patch by Alex Muetstege
- vCenter Server: Installable versus Appliance by Edwin Weijdema
- VMware Fling – VMware Access Point Deployment Utility by Erik Scholten
Sander Martijn is a Technical Professional for Conoscenza in The Netherlands. As a Technical Professional he works for different clients, building, troubleshooting and managing ICT infrastructures. He is a certified VMware VCP-DCV, VCP-DTM, several VSP and VTSP. Since 2015 he has been awarded vExpert status.