For URL-based patching, by default the vCenter Server Appliance is configured to use the default VMware repository URL that is preset for the build profile of the appliance. You can configure a custom repository URL as the current source of patches for your environment's requirements.

Before you begin

Log in to the vCenter Server Appliance Management Interface as root.

About this task

By default the current repository for URL-based patching is the default VMware repository URL.

Note:

You can use the proxy.set command to configure a proxy server for the connection between the vCenter Server Applianceand the repository URL. For more information about the API commands in the appliance shell, see vCenter Server Appliance Configuration.

If the vCenter Server Appliance is not connected to the Internet or if your security policy requires it, you can build and configure a custom repository that runs on a local Web server within your data center and replicates the data from the default VMware repository URL. Optionally, you can set up authentication policy for accessing the Web server that hosts the custom patching repository.

Procedure

  1. If you want to configure a custom repository URL, build the repository on your local Web server.
    1. Download the vCenter Server Appliance patch ZIP file from the VMware Web site at https://my.vmware.com/web/vmware/downloads.
    2. On your Web server, create a repository directory under the root.

      For example, create the vc_update_repo directory.

    3. Extract the ZIP file into the repository directory.

      The extracted files are in the manifest and package-pool subdirectories.

  2. In the vCenter Server Appliance Management Interface, click Update.
  3. Click Settings.
  4. Select the Repository settings.

    Option

    Description

    Use default repository

    Uses the default VMware repository URL that is preset for the build profile of the appliance.

    Use specified repository

    Uses a custom repository. You must enter the repository URL, for example, http://web_server_name.your_company.com/vc_update_repo.

    If the repository policy requires authentication, enter a user name and password.

  5. Click OK.

What to do next

Check for and Install vCenter Server Appliance Patches