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
- Log in to the UMDS virtual machine by using a Secure Shell (SSH) client.
- Open an SSH connection to nyc01umds01.rainpole.local.
- Log in using the following credentials.
Setting |
Value |
User name |
svc-umds |
Password |
svc-umds_password |
- Install the Nginx Web server with the following command.
sudo apt-get -y install nginx
- Change the patch repository directory permissions by running the following command.
sudo chmod -R 755 /var/lib/vmware-umds
- Copy the default site configuration for use with the UMDS configuration.
sudo cp /etc/nginx/sites-available/default /etc/nginx/sites-available/umds
- 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;
}
}
- Disable the existing default site.
sudo rm /etc/nginx/sites-enabled/default
- Enable the new UMDS site.
sudo ln -s /etc/nginx/sites-available/umds /etc/nginx/sites-enabled/
- To apply the new configuration, restart the Nginx Web service.
sudo service nginx restart
- Ensure that you can browse the files on the UMDS Web server by opening a Web browser to http://nyc01umds01.rainpole.local.