The UMDS server downloads upgrades, patch binaries, patch metadata, and notifications to a directory that you must share to vSphere Update Manager by using a Web server.

The default folder to which UMDS downloads patch binaries and patch metadata on a Linux machine is /var/lib/vmware-umds. You share this folder to the vSphere Update Manager instances using a Nginx Web server.

Procedure

  1. Log in to the UMDS virtual machine by using a Secure Shell (SSH) client.
    1. Open an SSH connection to nyc01umds01.rainpole.local.
    2. Log in using the following credentials.

      Setting

      Value

      User name

      svc-umds

      Password

      svc-umds_password

  2. Install the Nginx Web server with the following command.
    sudo apt-get -y install nginx
  3. Change the patch repository directory permissions by running the following command.
    sudo chmod -R 755 /var/lib/vmware-umds
  4. Copy the default site configuration for use with the UMDS configuration.
    sudo cp /etc/nginx/sites-available/default /etc/nginx/sites-available/umds
  5. Edit the new /etc/nginx/sites-available/umds site configuration file by running the sudo vi /etc/nginx/sites-available/umds command and replace the server {} block with the following content.
    server {
            listen 80 default_server;
            listen [::]:80 default_server ipv6only=on;
    
            root /var/lib/vmware-umds;
            index index.html index.htm;
    
            # Make site accessible from http://localhost/
            server_name localhost nyc01umds01 nyc01umds01.rainpole.local;
    
            location / {
                    # First attempt to serve request as file, then
                    # as directory, then fall back to displaying a 404.
                    try_files $uri $uri/ =404;
                    # Uncomment to enable naxsi on this location
                    # include /etc/nginx/naxsi.rules
                    autoindex on;
            }
    }
  6. Disable the existing default site.
    sudo rm /etc/nginx/sites-enabled/default
  7. Enable the new UMDS site.
    sudo ln -s /etc/nginx/sites-available/umds /etc/nginx/sites-enabled/
  8. To apply the new configuration, restart the Nginx Web service.
    sudo service nginx restart
  9. Ensure that you can browse the files on the UMDS Web server by opening a Web browser to http://nyc01umds01.rainpole.local.