Drive it with your mouse, your finger, or just use the arrow keys.
Use Learn mode to learn the demo. The orange boxes show where to click.
Use Present mode to hide the orange boxes and notes.
Click a Shortcut to jump to a specific part of the demo.
VMware Cloud Foundation
Offline Lifecycle Management
Welcome to this demonstration on Offline Lifecycle Management in VMware Cloud Foundation. This demo will show how to perform Lifecycle Management for Cloud Foundation environments not connected to the internet using the Offline Bundle Transfer Utility.
The major steps in this process are:
· Create the Manifest file
· Transfer the Offline Bundle Transfer Utility and Manfiest file to an internet connected workstation
· Run the Offline Bundle Transfer Utility to download the available updates
· Transfer the files back to SDDC Manager
· Complete the process by running the Offline Bundle Transfer Utility on SDDC Manager
Let’s join Rainpole as they begin this process on their Cloud Foundation Private Cloud
We begin at the SDDC Manager dashboard.
Here we see that there are no updates on this system
Here we see that no updates have been downloaded on this system either.
Here we see that this system is not connected to a My VMware account.
Now we need to launch an SSH session to the SDDC Manager
An SSH Session to the management IP address of SDDC Manager under the 'vcf' username has been established for us.
The process of changing the directory and then generating a Manifest file (also known as a "marker file") is being shown. This file will be used by the workstation connected to the internet to provide details about what version of the software components are currently running in this Cloud Foundation instance. Now this file needs to be transferred to our workstation to be able to connect to the repository and query available updates.
Now we must launch a tool to transfer the files from SDDC Manager to our workstation. In this example we will use WinSCP
A SFTP session with SDDC Manager has been established with the 'vcf' user, connecting to the Management IP address. Now we will need to transfer the markerFile and the markerFile.md5 from the /home/vcf directory to the c:\temp directory on our workstation.
With the marker files downloaded we must proceed to download the Offline Bundle Transfer Utility to this workstation. This tool is located in the following directory on SDDC Manager /opt/vmware/vcf/lcm/lcm-tools
Here we see the ‘bin’, ‘conf’, and ‘lib’ folders that need to be transferred to the c:\Temp directory on this workstation
Now that all files have been downloaded successfully to the workstation we must close the WinSCP utility.
Prior to beginning Java 8 was installed on our workstation so that we can execute the utility. Let’s launch a Command Prompt to begin using the utility.
Now we need to change the directory to the C:\temp\bin directory as this is where the Offline Bundle Transfer Utility was downloaded to using the WinSCP application.
Here we see the entire command entered in, before executing, the important pieces of this command is the -outputDirectory, -depotUser, -markerFile and -markerMd5File locations. It is recommended to create a directory within c:\temp to download the bundles to, however we will be showing what are the necessary files to move in the event that a subdirectory is not used.
We are asked for the My VMware Account Password
After successful authentication we can see that this system needs 6 updates including Multiple SDDC Manager, ESX, NSX, PSC/vCenter updates
We see that the download process begins. The download process will vary based upon the amount of patches to download as well as bandwidth available at the location. After the download completes we will close the Command Prompt and transfer the files to SDDC Manager
Here we see the listing in the c:\temp directory on the workstation. Only the following files are necessary to transfer
· Bundles directory
· Manifests directory
· Tmp directory
We can see that these files have been selected for us, and the directory that they will be transferred to on the SDDC Manager is located at: /nfs/vmware/vcf/nfs-mount/offlinebundle where ‘offlinebundle’ can be any name created for this session.
Now that the files have been transferred, we will close WinSCP and SSH into SDDC Manager
Here we see that Putty is open again and authenticated to SDDC Manager as the 'vcf' user, we will need to perform a few operations:
– Change user to root
– Modify the permissions of /nfs/vmware/vcf/nfs-mount/offline-bundle to 0777
– Change directories to /opt/vmware/vcf/lcm/lcm-tools/bin
Here we see a command that has been entered
./lcm-bundle-transfer-util -upload -bundleDirectory /nfs/vmware/vcf/nfs-mount/offlinebundle
This command will process all the bundles in the upload directory ‘offlinebundle’(or a different folder as created earlier for this session), and they will be viewable from the SDDC Manager Download History
Now that all the bundles have been uploaded, we can close Putty and Return to the SDDC Manager
Now that we are in the SDDC Manager we will want to see the Download History of patches
Here we can see the list of available patches for our VMware Cloud Foundation instance that is not connected to the internet, we can also scroll through the list of updates.
Rainpole is now ready to apply updates to their VMware Cloud Foundation instance while keeping their SDDC Manager from reaching the internet. Follow Rainpole through the process of applying the updates to each of the components that were downloaded in the next demonstration. For more information on VMware Cloud Foundation, visit our website at vmware.com/go/cloudfoundation