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

About this task

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 out to the vSphere Update Manager instances within the region by using the 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 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 and replace the server {} block with the following text.
    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. Restart the Nginx Web service to apply the new configuration.
    sudo service nginx restart
  9. Ensure that you can browse the files of the UMDS Web server by opening a Web browser to http://nyc01umds01.rainpole.local.