The UMDS server in Region B 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 VUM instances within the region using the Nginx Web server.

Procedure

  1. Log in to UMDS virtual machine by using a Secure Shell (SSH) client.
    1. Open an SSH connection to mgmt01umds51.lax01.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 mgmt01umds51 mgmt01umds51.lax01.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 you can browse the files of the UMDS Web server by opening a web browser to http://mgmt01umds51.lax01.rainpole.local.