Location>code7788 >text

[VMware VCF] Configure VCF offline libraries using the Offline Bundle Transfer Utility (OBTU).

Popularity:111 ℃/2024-10-29 17:28:31

In a VMware Cloud Foundation environment, package repository sourcing is supported in two ways, as followsOnline Depot cap (a poem)Offline DepotThe first way is if the VCF environment has an Internet connection. The first way, if the VCF environment can connect to the Internet, is to configure the account password and then get the packages directly from the official VMware online repository; the second way, if the VCF environment can not connect to the Internet, is to set up a local web server with the Offline Bundle Transfer Utility (OBTU) tool to serve as the offline/offline repository for the VCF environment. The second way is to set up a local web server and use the Offline Bundle Transfer Utility (OBTU) tool as the offline/offline repository for the VCF environment if the VCF environment is not connected to the Internet.

The online repository approach is certainly very convenient, but often many environments cannot connect to the Internet for various reasons, and then you have to use the offline repository. vMware has introduced a way to configure the offline repository for VCF environments, which can provide a great deal of convenience for customers, especially for environments with multiple VCF instances. You just need to find a local Linux server with Internet connection and configure it as a web server, then use the Offline Bundle Transfer Utility (OBTU) tool to download the VCF-related packages to this server, and then configure the offline repository in SDDC Manager to achieve the same effect as the online repository. You can realize the same effect as the online repository after configuring the offline library in SDDC Manager. Speaking of which, don't you realize that this is the same as the vSphere environment?Update Manager Download Service(UMDS) s used in a very similar way?

Of course, the above OBTU + web server as an offline library for VCF is only one way to use, you can still download the offline package manually by the following way, and then upload it to SDDC Manager manually to complete the lifecycle management of the components. But this is still a bit troublesome, so I will demonstrate how to prepare an OBTU server to configure the offline repository for VCF environment.

  • Offline Download of VMware Cloud Foundation 5. Upgrade Bundles
  • Offline Download of Async Patch Bundles
  • Offline Download of Flexible BOM Upgrade Bundles
  • Offline Download of Independent SDDC Manager Bundles

The following sections of this document are based on official VMware product documentation《VMware Cloud Foundation Lifecycle Management》Knowledge base articles (KB 312168) and related blog posts (VMware Cloud Foundation Offline Depot Introduction)。

 

I. Preparing the OBTU Server

This environment prepares an OBTU server based on the CentOS distribution to be used as an offline repository for the VCF environment.

[root@localhost ~]# cat /etc/os-release 
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="/"
BUG_REPORT_URL="/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

[root@localhost ~]# cat /etc/centos-release
CentOS Linux release 7.9.2009 (Core)
[root@localhost ~]# 
[root@localhost ~]# uname -a
Linux localhost 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
[root@localhost ~]# 

Configure the hostname, Hosts file, and turn the Selinux and Firewalld firewalls off.

[root@localhost ~]# hostnamectl set-hostname vcf-obtu
[root@localhost ~]# 
[root@localhost ~]# bash
[root@vcf-obtu ~]# 
[root@vcf-obtu ~]# cat /etc/hosts
127.0.0.1   localhost  localhost4 localhost4.localdomain4
::1         localhost  localhost6 localhost6.localdomain6

192.168.32.56 
[root@vcf-obtu ~]# vim /etc/selinux/config 
[root@vcf-obtu ~]# cat /etc/selinux/config 

# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#     enforcing - SELinux security policy is enforced.
#     permissive - SELinux prints warnings instead of enforcing.
#     disabled - No SELinux policy is loaded.
SELINUX=disabled
# SELINUXTYPE= can take one of three values:
#     targeted - Targeted processes are protected,
#     minimum - Modification of targeted policy. Only selected processes are protected. 
#     mls - Multi Level Security protection.
SELINUXTYPE=targeted 


[root@vcf-obtu ~]# systemctl stop firewalld
[root@vcf-obtu ~]# systemctl status firewalld
    - firewalld - dynamic firewall daemon
   Loaded: loaded (/usr/lib/systemd/system/; disabled; vendor preset: enabled)
   Active: inactive (dead)
     Docs: man:firewalld(1)
[root@vcf-obtu ~]# systemctl disable firewalld

Please make sure to prepare enough space (/obtu) for the VCF packages, a new hard disk has been added to this environment.

[root@vcf-obtu ~]# df -hT
Filesystem              Type      Size  Used Avail Use% Mounted on
devtmpfs                devtmpfs  3.9G     0  3.9G   0% /dev
tmpfs                   tmpfs     3.9G     0  3.9G   0% /dev/shm
tmpfs                   tmpfs     3.9G  8.9M  3.9G   1% /run
tmpfs                   tmpfs     3.9G     0  3.9G   0% /sys/fs/cgroup
/dev/mapper/centos-root xfs        14G  2.6G   11G  20% /
/dev/sdb1               ext4      493G   73M  467G   1% /obtu
/dev/sda1               xfs      1014M  150M  865M  15% /boot
tmpfs                   tmpfs     783M     0  783M   0% /run/user/0
[root@vcf-obtu ~]#

 

Installation of the Apache server

Use YUM to install the Apache server, note that you need to also install themod_ssl Module.

[root@vcf-obtu ~]# yum install -y httpd mod_ssl jq
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: 
 * extras: 
 * updates: 
Resolving Dependencies
--> Running transaction check
---> Package httpd.x86_64 0:2.4.6-99..1 will be installed
---> Package jq.x86_64 0:1.6-2.el7 will be installed
---> Package mod_ssl.x86_64 1:2.4.6-99..1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

============================================================================================================================
 Package                  Arch                    Version                                    Repository                Size
============================================================================================================================
Installing:
 httpd                    x86_64                  2.4.6-99..1                      updates                  2.7 M
 jq                       x86_64                  1.6-2.el7                                  epel                     167 k
 mod_ssl                  x86_64                  1:2.4.6-99..1                    updates                  116 k

Transaction Summary
============================================================================================================================
Install  3 Packages

Total download size: 3.0 M
Installed size: 10 M
Downloading packages:
(1/3): httpd-2.4.6-99..1.x86_64.rpm                                                        | 2.7 MB  00:00:00     
(2/3): jq-1.6-2.el7.x86_64.rpm                                                                       | 167 kB  00:00:00     
(3/3): mod_ssl-2.4.6-99..1.x86_64.rpm                                                      | 116 kB  00:00:00     
----------------------------------------------------------------------------------------------------------------------------
Total                                                                                       6.1 MB/s | 3.0 MB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : httpd-2.4.6-99..1.x86_64                                                                       1/3 
  Installing : 1:mod_ssl-2.4.6-99..1.x86_64                                                                   2/3 
  Installing : jq-1.6-2.el7.x86_64                                                                                      3/3 
  Verifying  : httpd-2.4.6-99..1.x86_64                                                                       1/3 
  Verifying  : jq-1.6-2.el7.x86_64                                                                                      2/3 
  Verifying  : 1:mod_ssl-2.4.6-99..1.x86_64                                                                   3/3 

Installed:
  httpd.x86_64 0:2.4.6-99..1         jq.x86_64 0:1.6-2.el7         mod_ssl.x86_64 1:2.4.6-99..1        

Complete!
[root@vcf-obtu ~]#

Start the Apache service and add it to the boot self-start.

[root@vcf-obtu ~]# systemctl start httpd
[root@vcf-obtu ~]# 
[root@vcf-obtu ~]# systemctl status httpd
●  - The Apache HTTP Server
   Loaded: loaded (/usr/lib/systemd/system/; disabled; vendor preset: disabled)
   Active: active (running) since Thu 2024-10-24 18:36:01 CST; 10s ago
     Docs: man:httpd(8)
           man:apachectl(8)
 Main PID: 1903 (httpd)
   Status: "Total requests: 0; Current requests/sec: 0; Current traffic:   0 B/sec"
   CGroup: //
           ├─1903 /usr/sbin/httpd -DFOREGROUND
           ├─1904 /usr/sbin/httpd -DFOREGROUND
           ├─1905 /usr/sbin/httpd -DFOREGROUND
           ├─1906 /usr/sbin/httpd -DFOREGROUND
           ├─1907 /usr/sbin/httpd -DFOREGROUND
           └─1908 /usr/sbin/httpd -DFOREGROUND

Oct 24 18:36:01  systemd[1]: Starting The Apache HTTP Server...
Oct 24 18:36:01  systemd[1]: Started The Apache HTTP Server.
[root@vcf-obtu ~]# 
[root@vcf-obtu ~]# systemctl enable httpd
Created symlink from /etc/systemd/system// to /usr/lib/systemd/system/.
[root@vcf-obtu ~]#

 

Configuring the Apache server

Create the user that will be used to authenticate to the web server with the usernamedepotThe password isvmwareGenerate an SSL self-signed certificate for the OBTU server. Generate an SSL self-signed certificate for the OBTU server.

[root@vcf-obtu ~]# htpasswd -b -c /etc/httpd/.htpasswd depot vmware
Adding password for user depot
[root@vcf-obtu ~]# 
[root@vcf-obtu ~]# openssl req -x509 -nodes -days 365 -newkey rsa:2048 \
>     -subj "/CN=" \
>     -keyout /etc/pki/tls/private/offline_depot.key \
>     -out /etc/pki/tls/certs/offline_depot.crt
Generating a 2048 bit RSA private key
......+++
.............+++
writing new private key to '/etc/pki/tls/private/offline_depot.key'
-----
[root@vcf-obtu ~]#

Create a custom web directory and a new web configuration file with the contents shown below. Then, test the Apache configuration file for correctness and restart the Apache service.

[root@vcf-obtu ~]# mkdir -p /obtu/www/offline_depot
[root@vcf-obtu ~]# 
[root@vcf-obtu ~]# chown $USER:$USER /obtu/www/offline_depot
[root@vcf-obtu ~]# 
[root@vcf-obtu ~]# vim /etc/httpd//offline_depot_httpd.conf
[root@vcf-obtu ~]# 
[root@vcf-obtu ~]# cat /etc/httpd//offline_depot_httpd.conf
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerName 
DocumentRoot /obtu/www/offline_depot

SSLEngine on
SSLCertificateFile /etc/pki/tls/certs/offline_depot.crt
SSLCertificateKeyFile /etc/pki/tls/private/offline_depot.key

<Directory /obtu/www/offline_depot/>
AuthType Basic
AuthName “depot”
AuthUserFile /etc/httpd/.htpasswd
Require valid-user
</Directory>

Alias /products/v1/bundles/lastupdatedtime /obtu/www/offline_depot/PROD2/vsan/hcl/
Alias /products/v1/bundles/all /obtu/www/offline_depot/PROD2/vsan/hcl/
Alias /Compatibility/ /obtu/www/offline_depot/PROD2/evo/vmw/Compatibility/

</VirtualHost>
</IfModule>
[root@vcf-obtu ~]#
[root@vcf-obtu ~]# apachectl configtest
Syntax OK
[root@vcf-obtu ~]# 
[root@vcf-obtu ~]# systemctl reload httpd
[root@vcf-obtu ~]# 

Now, create an html test page in the web directory and use the curl command with username and password authentication to test whether the connection status of the OBTU server is normal or not. You can also access it directly through your browser and enter your username and password to test if it works.

[root@vcf-obtu ~]# 
[root@vcf-obtu ~]# echo "Offline Depot OK" > /obtu/www/offline_depot/
[root@vcf-obtu ~]# 
[root@vcf-obtu ~]# curl  -k --silent -u depot:vmware
Offline Depot OK
[root@vcf-obtu ~]# 

Since the OBTU server uses a self-signed SSL certificate, you need to add it to the trusted certificates of SDDC Manager. Use the following command to obtain the certificate of the OBTU server.

[root@vcf-obtu ~]# echo '{ "certificate" : '$(jq -sR . /etc/pki/tls/certs/offline_depot.crt)',
"certificateUsageType" : "TRUSTED_FOR_OUTBOUND" }'
{ "certificate" : "-----BEGIN CERTIFICATE-----\nMIIDETCCAfmgAwIBAgIJAJOqS5hXP2lbMA0GCSqGSIb3DQEBCwUAMB8xHTAbBgNV\nBAMMFHZjZi1vYnR1Lm11bGFiLmxvY2FsMB4XDTI0MTAyNDEwNTUzMFoXDTI1MTAy\nNDEwNTUzMFowHzEdMBsGA1UEAwwUdmNmLW9idHUubXVsYWIubG9jYWwwggEiMA0G\nCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDVDi8aICqq//qp0mBgX3bW7K6v3xnL\n2ZZBkhLOyuiYjK3b18mFPQj7T9G0whygz0WUKg1TPUkykhJ1OfRcEjFZkLP+LkLj\n0Z1in6xby2DQiJ5LlTTFhQIRv1w8++E4syR40+lszglWBVe54EtCBSUmZhc4LyZy\nEHt040S5+pPIl/QqaERHN44Kw7/bWr/iC2bAp/Oszhpv3kcTx2/qmnAEoTaZNqP0\n24/xV3f4d1xmRe8pHR1UCLybj0xKVzEALMAp/6FXaFHas71eB2gYyQFiQ0FTaJl6\nG7XpUmHdnfEFRKHdGqoXKraB7aRDKh3RcpKJk/fs4ZKpeHeBvZ85xa3XAgMBAAGj\nUDBOMB0GA1UdDgQWBBSgS5Pvan0sHT9qB7MIzXhPZA5FgjAfBgNVHSMEGDAWgBSg\nS5Pvan0sHT9qB7MIzXhPZA5FgjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBCwUA\nA4IBAQAls3oBsAqKDB/bo54d9u7GWT97UNeN7Rbt0LvxFPQXM0qMfCVuTjEscPXF\nwPup6XKUXEvjmRyPlU2oJAMs4muoYWPuzHsGP3KAyi8ndUR4EyyQL7o/QxrpLqzG\nP8hnoHsiPxbZ7bnY1BQMs7nBAM230LrkjnNP84Hu183qauNIL31nWm3pPrJLERC5\npCP22azuTIgkeQvdmd59Aa/vHWaKVoUuSZrDxr/7Hj+z4J7FtZfqMS3vA9YV1A8M\njjYDIAQZyhqO9aM5Vw2aZHD3eihgw2zdHiW5ySWsNuYuPHtFraVQ3+xlk90afc2E\n0DavEodrcgZDBLUgnR3cU7BjJv1E\n-----END CERTIFICATE-----\n",
  "certificateUsageType" : "TRUSTED_FOR_OUTBOUND"
}
[root@vcf-obtu ~]#

Log in to the SDDC Manager UI, navigate to Developer Center, and use thev1/sddc-manager/trusted-certifcates Upload the generated trusted certificate.

 

Download the VCF software package

After completing the configuration of the web server, you now need to download the packages used by the VCF environment. This is accomplished through theBroadcom Support PortalDownload the latest OBTU toolkit (), then upload it to the OBTU server and unzip it, which can be done via the--help Option to view help for using the OBTU tool.

[root@vcf-obtu ~]# mkdir -p /opt/obtu
[root@vcf-obtu ~]# chmod 755 /opt/obtu/
[root@vcf-obtu ~]# chown $USER:$USER /opt/obtu/
[root@vcf-obtu ~]# ls lcm*

[root@vcf-obtu ~]# tar -xf  --directory=/opt/obtu/
[root@vcf-obtu ~]# chmod +x /opt/obtu/bin/lcm-bundle-transfer-util
[root@vcf-obtu ~]# cd /opt/obtu/bin/
[root@vcf-obtu bin]# ls -l
total 36
-rwxr-x--x 1 201 201 8761 Jan  1  2000 lcm-bundle-transfer-util
-rw-r----- 1 201 201 7422 Jan  1  2000 
-rw-r----- 1 201 201 5853 Jan  1  2000 vcf-async-patch-tool
-rw-r----- 1 201 201 4381 Jan  1  2000 
[root@vcf-obtu bin]# ./lcm-bundle-transfer-util --help

Enter the Broadcom Support Portal password (BSP-PASSWORD) into a text file and use the following command to perform the download process for the VCF package. Notes.BSP-USER is the Broadcom Support Portal account.--sourceVersionis the current version of the VCF environment, OBTU will automatically detect the available update version (e.g. 5.2.1.0) according to the current version and execute the download. AccessKB 96099 Learn more about the VCF package.

[root@vcf-obtu bin]# echo "BSP-PASSWORD" > ~/
[root@vcf-obtu bin]# 
[root@vcf-obtu bin]# ./lcm-bundle-transfer-util --setUpOfflineDepot \
>   --offlineDepotRootDir /obtu/www/offline_depot \
>   --offlineDepotUrl  \
>   --depotUser BSP-USER \
>   --depotUserPasswordFile ~/ \
>   --sourceVersion 5.2.0.0
*********Welcome to OBTU tool***********

Make sure to download the most recent metadata files and upload them to the SDDC Manager appliance before
downloading bundles. If you do not have the most recent metadata files, the metadata for most recent upgrades will be
missing and will impact the upgrades. The following metadata files are required:  LCM manifest and VMware compatibility
data (For 5.0 or upgrade to 5.0), vSAN HCL data (For 5.1 or upgrade to 5.1). VxRail requires these additional metadata files: 
VxRail compatibility data (For 5.0 or upgrade to 5.0) and partner bundle manifest (PBM).
/en/VMware-Cloud-Foundation/5.0/context?id=vcf_451\n
OpenJDK 64-Bit Server VM warning: Ignoring option --illegal-access=warn; support was removed in 17.0
Setting up the offline depot
Print warnings
----------------------------------------------------------------------------------------------------
                                              WARNING                                               
* Have you configured TCP keepalive in your SSH client to prevent socket connection timeouts when
using the Bundle Transfer Tool for long-running operations?
----------------------------------------------------------------------------------------------------
Validate passwords
Validate the password for VMware depot
Validating the depot user credentials...
Download HCL file
Downloading vSAN HCL attributes to path: /obtu/www/offline_depot/PROD2/vsan/hcl/
Downloading the vSAN HCL file to path: /obtu/www/offline_depot/PROD2/vsan/hcl/
Successfully completed downloading vSAN HCL file
Download VVS data
User has not set the path using the default path
Directory to download data is existing or created at path /obtu/www/offline_depot/PROD2/evo/vmw/
Download VMware compatibility matrix to directory /obtu/www/offline_depot/PROD2/evo/vmw/Compatibility/
2024-10-29T13:47:59.122+08:00  INFO   --- [           main]    : vvs uri with query params: /v1/products/bundles/type/vcf-lcm-v2-bundle?format=json
vvs uri with query params: /v1/products/bundles/type/vcf-lcm-v2-bundle?format=json
Successfully downloaded VMWARE_COMPAT compatibility data to file /obtu/www/offline_depot/PROD2/evo/vmw/Compatibility/
Compatibility metadata has been downloaded, to upload to SDDC Manager use this path as input: /obtu/www/offline_depot/PROD2/evo/vmw/
Modified file permissions to 777 on the file: /obtu/www/offline_depot/PROD2/evo/vmw
Creating delta file
Downloading LCM Manifest to: /obtu/www/offline_depot/PROD2/evo/vmw
Successfully completed downloading file
Default manifest file found, attempting to read into manifest object.
Copping /obtu/www/offline_depot/PROD2/evo/vmw/tmp/index.v3 to /obtu/www/offline_depot/PROD2/evo/vmw/index.v3

List of applicable bundles: 

-------------------------------------------------------------------------------------------------------------------------------------------------
Bundle                               | Product Version  |      Bundle Size | Bundle Component                                   | Bundle Type    
-------------------------------------------------------------------------------------------------------------------------------------------------
bundle-133762                        | 5.2.1.0          |         606.4 MB | ESX_HOST-8.0.3-24280767                            | PATCH          
bundle-133763                        | 5.2.1.0          |        8895.2 MB | NSX_T_MANAGER-4.2.1.0.0-24304122                   | PATCH          
bundle-133760                        | 5.2.1.0          |        2364.8 MB | SDDC_MANAGER_VCF-5.2.1.0-24307856                  | PATCH          
bundle-133761                        | 5.2.1.0          |           0.0 MB | SDDC_MANAGER_VCF-5.2.1.0-24307856                  | PATCH (Drift)  
bundle-133765                        | 5.2.1.0          |       18817.0 MB | VCENTER-8.0.3.00300-24305161                       | PATCH          
bundle-130870                        | 5.2.1.0          |        4238.5 MB | NSX_ALB-22.1.7-24190832                            | INSTALL        
bundle-133764                        | 5.2.1.0          |       11636.7 MB | NSX_T_MANAGER-4.2.1.0.0-24304122                   | INSTALL        
bundle-133766                        | 5.2.1.0          |       11832.3 MB | VCENTER-8.0.3.00300-24305161                       | INSTALL        
-------------------------------------------------------------------------------------------------------------------------------------------------

Created delta file
Total applicable bundles: 8
Starting downloading bundles...
Checking for sufficient disk space before downloading bundles
Available disk space on download directory: /obtu/www/offline_depot/PROD2/evo/vmw is 503734.8 MB
Required disk space to download the bundles is 78231.9 MB
Downloading bundle: bundle-133762.
Downloading bundle: bundle-130870.
Downloading bundle: bundle-133763.
Deleted the temp dir Manifest File  /obtu/www/offline_depot/PROD2/evo/vmw/tmp/manifests/
Deleted the temp dir Manifest File  /obtu/www/offline_depot/PROD2/evo/vmw/tmp/manifests/
Deleted the temp dir Manifest File  /obtu/www/offline_depot/PROD2/evo/vmw/tmp/manifests/
Deleted the temp dir Manifest File  /obtu/www/offline_depot/PROD2/evo/vmw/tmp/manifests/
Deleted the temp dir Manifest File  /obtu/www/offline_depot/PROD2/evo/vmw/tmp/manifests/
Deleted the temp dir Manifest File  /obtu/www/offline_depot/PROD2/evo/vmw/tmp/manifests/
Download Progress of bundle tar :  : 0.1 MB, Average Speed: 1.01 Mbps, Total Size:  : 606.4 MB
Download Progress of bundle tar :  : 0.2 MB, Average Speed: 0.63 Mbps, Total Size:  : 4238.5 MB
Download Progress of bundle tar :  : 0.0 MB, Average Speed: 0.30 Mbps, Total Size:  : 8895.2 MB
Download Progress of bundle tar :  : 28.0 MB, Average Speed: 13.03 Mbps, Total Size:  : 606.4 MB
Download Progress of bundle tar :  : 31.3 MB, Average Speed: 13.88 Mbps, Total Size:  : 4238.5 MB
Download Progress of bundle tar :  : 25.3 MB, Average Speed: 11.91 Mbps, Total Size:  : 8895.2 MB
Download Progress of bundle tar :  : 96.0 MB, Average Speed: 15.17 Mbps, Total Size:  : 4238.5 MB
Download Progress of bundle tar :  : 92.3 MB, Average Speed: 14.74 Mbps, Total Size:  : 606.4 MB
Download Progress of bundle tar :  : 75.4 MB, Average Speed: 12.29 Mbps, Total Size:  : 8895.2 MB
Download Progress of bundle tar :  : 185.3 MB, Average Speed: 12.97 Mbps, Total Size:  : 606.4 MB
Download Progress of bundle tar :  : 147.9 MB, Average Speed: 10.46 Mbps, Total Size:  : 8895.2 MB
Download Progress of bundle tar :  : 200.0 MB, Average Speed: 13.88 Mbps, Total Size:  : 4238.5 MB
Download Progress of bundle tar :  : 352.9 MB, Average Speed: 11.59 Mbps, Total Size:  : 4238.5 MB
Download Progress of bundle tar :  : 271.9 MB, Average Speed: 8.92 Mbps, Total Size:  : 606.4 MB
Download Progress of bundle tar :  : 246.8 MB, Average Speed: 8.11 Mbps, Total Size:  : 8895.2 MB
Download Progress of bundle tar :  : 789.4 MB, Average Speed: 12.64 Mbps, Total Size:  : 4238.5 MB
Download Progress of bundle tar :  : 539.2 MB, Average Speed: 8.61 Mbps, Total Size:  : 606.4 MB
Download Progress of bundle tar :  : 542.7 MB, Average Speed: 8.68 Mbps, Total Size:  : 8895.2 MB
Bundle bundle-133762. checksum validation successful
Successfully downloaded bundle: bundle-133762.
Completed downloading:1 of total:8
Downloading bundle: bundle-133764.
Deleted the temp dir Manifest File  /obtu/www/offline_depot/PROD2/evo/vmw/tmp/manifests/
Deleted the temp dir Manifest File  /obtu/www/offline_depot/PROD2/evo/vmw/tmp/manifests/
Download Progress of bundle tar :  : 0.0 MB, Average Speed: 0.30 Mbps, Total Size:  : 11636.7 MB
Download Progress of bundle tar :  : 24.1 MB, Average Speed: 10.54 Mbps, Total Size:  : 11636.7 MB
Download Progress of bundle tar :  : 78.7 MB, Average Speed: 12.52 Mbps, Total Size:  : 11636.7 MB
Download Progress of bundle tar :  : 202.3 MB, Average Speed: 14.12 Mbps, Total Size:  : 11636.7 MB
Download Progress of bundle tar :  : 440.4 MB, Average Speed: 14.49 Mbps, Total Size:  : 11636.7 MB
Download Progress of bundle tar :  : 1804.4 MB, Average Speed: 14.73 Mbps, Total Size:  : 4238.5 MB
Download Progress of bundle tar :  : 1413.1 MB, Average Speed: 11.53 Mbps, Total Size:  : 8895.2 MB
Download Progress of bundle tar :  : 860.0 MB, Average Speed: 13.78 Mbps, Total Size:  : 11636.7 MB
Download Progress of bundle tar :  : 2708.9 MB, Average Speed: 14.85 Mbps, Total Size:  : 4238.5 MB
Download Progress of bundle tar :  : 2370.4 MB, Average Speed: 12.98 Mbps, Total Size:  : 8895.2 MB
Download Progress of bundle tar :  : 1687.3 MB, Average Speed: 13.78 Mbps, Total Size:  : 11636.7 MB
Download Progress of bundle tar :  : 3587.8 MB, Average Speed: 14.80 Mbps, Total Size:  : 4238.5 MB
Download Progress of bundle tar :  : 3268.9 MB, Average Speed: 13.47 Mbps, Total Size:  : 8895.2 MB
Download Progress of bundle tar :  : 2558.2 MB, Average Speed: 14.02 Mbps, Total Size:  : 11636.7 MB
Download Progress of bundle tar :  : 4242.8 MB, Average Speed: 14.01 Mbps, Total Size:  : 8895.2 MB
Download Progress of bundle tar :  : 3454.6 MB, Average Speed: 14.25 Mbps, Total Size:  : 11636.7 MB
Bundle bundle-130870. checksum validation successful
Successfully downloaded bundle: bundle-130870.
Completed downloading:2 of total:8
Downloading bundle: bundle-133760.
Deleted the temp dir Manifest File  /obtu/www/offline_depot/PROD2/evo/vmw/tmp/manifests/
Deleted the temp dir Manifest File  /obtu/www/offline_depot/PROD2/evo/vmw/tmp/manifests/
Download Progress of bundle tar :  : 0.0 MB, Average Speed: 0.00 Mbps, Total Size:  : 2364.8 MB
Download Progress of bundle tar :  : 15.9 MB, Average Speed: 7.66 Mbps, Total Size:  : 2364.8 MB
Download Progress of bundle tar :  : 76.1 MB, Average Speed: 12.22 Mbps, Total Size:  : 2364.8 MB
Download Progress of bundle tar :  : 173.6 MB, Average Speed: 12.20 Mbps, Total Size:  : 2364.8 MB
Download Progress of bundle tar :  : 404.7 MB, Average Speed: 13.36 Mbps, Total Size:  : 2364.8 MB
Download Progress of bundle tar :  : 5058.0 MB, Average Speed: 13.94 Mbps, Total Size:  : 8895.2 MB
Download Progress of bundle tar :  : 4270.7 MB, Average Speed: 14.12 Mbps, Total Size:  : 11636.7 MB
Download Progress of bundle tar :  : 875.0 MB, Average Speed: 14.04 Mbps, Total Size:  : 2364.8 MB
Download Progress of bundle tar :  : 5990.9 MB, Average Speed: 14.16 Mbps, Total Size:  : 8895.2 MB
Download Progress of bundle tar :  : 5109.3 MB, Average Speed: 14.09 Mbps, Total Size:  : 11636.7 MB
Download Progress of bundle tar :  : 1754.4 MB, Average Speed: 14.34 Mbps, Total Size:  : 2364.8 MB
Download Progress of bundle tar :  : 6931.3 MB, Average Speed: 14.35 Mbps, Total Size:  : 8895.2 MB
Download Progress of bundle tar :  : 5963.6 MB, Average Speed: 14.11 Mbps, Total Size:  : 11636.7 MB
Bundle bundle-133760. checksum validation successful
Successfully downloaded bundle: bundle-133760.
Completed downloading:3 of total:8
Downloading bundle: bundle-133761.
Deleted the temp dir Manifest File  /obtu/www/offline_depot/PROD2/evo/vmw/tmp/manifests/
Deleted the temp dir Manifest File  /obtu/www/offline_depot/PROD2/evo/vmw/tmp/manifests/
Download Progress of bundle tar :  : 0.0 MB, Average Speed: 0.73 Mbps, Total Size:  : 0.0 MB
Bundle bundle-133761. checksum validation successful
Successfully downloaded bundle: bundle-133761.
Completed downloading:4 of total:8
Downloading bundle: bundle-133765.
Deleted the temp dir Manifest File  /obtu/www/offline_depot/PROD2/evo/vmw/tmp/manifests/
Deleted the temp dir Manifest File  /obtu/www/offline_depot/PROD2/evo/vmw/tmp/manifests/
Download Progress of bundle tar :  : 0.0 MB, Average Speed: 0.00 Mbps, Total Size:  : 18817.0 MB
Download Progress of bundle tar :  : 1.2 MB, Average Speed: 0.61 Mbps, Total Size:  : 18817.0 MB
Download Progress of bundle tar :  : 21.3 MB, Average Speed: 3.41 Mbps, Total Size:  : 18817.0 MB
Download Progress of bundle tar :  : 7993.1 MB, Average Speed: 14.71 Mbps, Total Size:  : 8895.2 MB
Download Progress of bundle tar :  : 61.2 MB, Average Speed: 4.29 Mbps, Total Size:  : 18817.0 MB
Download Progress of bundle tar :  : 6899.8 MB, Average Speed: 14.30 Mbps, Total Size:  : 11636.7 MB
Download Progress of bundle tar :  : 163.7 MB, Average Speed: 5.41 Mbps, Total Size:  : 18817.0 MB
Download Progress of bundle tar :  : 405.1 MB, Average Speed: 6.50 Mbps, Total Size:  : 18817.0 MB
Download Progress of bundle tar :  : 8036.1 MB, Average Speed: 14.80 Mbps, Total Size:  : 11636.7 MB
Download Progress of bundle tar :  : 1105.1 MB, Average Speed: 9.03 Mbps, Total Size:  : 18817.0 MB
Download Progress of bundle tar :  : 9371.9 MB, Average Speed: 15.55 Mbps, Total Size:  : 11636.7 MB
Bundle bundle-133763. checksum validation successful
Successfully downloaded bundle: bundle-133763.
Completed downloading:5 of total:8
Downloading bundle: bundle-133766.
Deleted the temp dir Manifest File  /obtu/www/offline_depot/PROD2/evo/vmw/tmp/manifests/
Deleted the temp dir Manifest File  /obtu/www/offline_depot/PROD2/evo/vmw/tmp/manifests/
Download Progress of bundle tar :  : 0.0 MB, Average Speed: 0.00 Mbps, Total Size:  : 11832.3 MB
Download Progress of bundle tar :  : 1.1 MB, Average Speed: 0.52 Mbps, Total Size:  : 11832.3 MB
Download Progress of bundle tar :  : 13.8 MB, Average Speed: 2.26 Mbps, Total Size:  : 11832.3 MB
Download Progress of bundle tar :  : 42.7 MB, Average Speed: 2.97 Mbps, Total Size:  : 11832.3 MB
Download Progress of bundle tar :  : 1593.1 MB, Average Speed: 8.73 Mbps, Total Size:  : 18817.0 MB
Download Progress of bundle tar :  : 117.2 MB, Average Speed: 3.84 Mbps, Total Size:  : 11832.3 MB
Download Progress of bundle tar :  : 10309.0 MB, Average Speed: 15.55 Mbps, Total Size:  : 11636.7 MB
Download Progress of bundle tar :  : 372.5 MB, Average Speed: 5.96 Mbps, Total Size:  : 11832.3 MB
Download Progress of bundle tar :  : 2166.9 MB, Average Speed: 8.94 Mbps, Total Size:  : 18817.0 MB
Download Progress of bundle tar :  : 11591.9 MB, Average Speed: 16.03 Mbps, Total Size:  : 11636.7 MB
Download Progress of bundle tar :  : 1031.6 MB, Average Speed: 8.42 Mbps, Total Size:  : 11832.3 MB
Download Progress of bundle tar :  : 2858.3 MB, Average Speed: 9.45 Mbps, Total Size:  : 18817.0 MB
Download Progress of bundle tar :  : 1724.6 MB, Average Speed: 9.45 Mbps, Total Size:  : 11832.3 MB
Download Progress of bundle tar :  : 3561.3 MB, Average Speed: 9.83 Mbps, Total Size:  : 18817.0 MB
Bundle bundle-133764. checksum validation successful
Successfully downloaded bundle: bundle-133764.
Completed downloading:6 of total:8
Download Progress of bundle tar :  : 2419.9 MB, Average Speed: 9.98 Mbps, Total Size:  : 11832.3 MB
Download Progress of bundle tar :  : 4269.3 MB, Average Speed: 10.11 Mbps, Total Size:  : 18817.0 MB
Download Progress of bundle tar :  : 3106.3 MB, Average Speed: 10.27 Mbps, Total Size:  : 11832.3 MB
Download Progress of bundle tar :  : 4887.9 MB, Average Speed: 10.13 Mbps, Total Size:  : 18817.0 MB
Download Progress of bundle tar :  : 3768.0 MB, Average Speed: 10.39 Mbps, Total Size:  : 11832.3 MB
Download Progress of bundle tar :  : 5576.8 MB, Average Speed: 10.28 Mbps, Total Size:  : 18817.0 MB
Download Progress of bundle tar :  : 4469.1 MB, Average Speed: 10.58 Mbps, Total Size:  : 11832.3 MB
Download Progress of bundle tar :  : 6270.1 MB, Average Speed: 10.41 Mbps, Total Size:  : 18817.0 MB
Download Progress of bundle tar :  : 5162.3 MB, Average Speed: 10.70 Mbps, Total Size:  : 11832.3 MB
Download Progress of bundle tar :  : 6985.8 MB, Average Speed: 10.55 Mbps, Total Size:  : 18817.0 MB
Download Progress of bundle tar :  : 5856.8 MB, Average Speed: 10.79 Mbps, Total Size:  : 11832.3 MB
Download Progress of bundle tar :  : 7682.6 MB, Average Speed: 10.63 Mbps, Total Size:  : 18817.0 MB
Download Progress of bundle tar :  : 6552.3 MB, Average Speed: 10.87 Mbps, Total Size:  : 11832.3 MB
Download Progress of bundle tar :  : 8381.2 MB, Average Speed: 10.71 Mbps, Total Size:  : 18817.0 MB
Download Progress of bundle tar :  : 7242.4 MB, Average Speed: 10.93 Mbps, Total Size:  : 11832.3 MB
Download Progress of bundle tar :  : 9086.1 MB, Average Speed: 10.79 Mbps, Total Size:  : 18817.0 MB
Download Progress of bundle tar :  : 7932.4 MB, Average Speed: 10.98 Mbps, Total Size:  : 11832.3 MB
Download Progress of bundle tar :  : 9790.5 MB, Average Speed: 10.85 Mbps, Total Size:  : 18817.0 MB
Download Progress of bundle tar :  : 8623.1 MB, Average Speed: 11.02 Mbps, Total Size:  : 11832.3 MB
Download Progress of bundle tar :  : 10501.3 MB, Average Speed: 10.91 Mbps, Total Size:  : 18817.0 MB
Download Progress of bundle tar :  : 9308.9 MB, Average Speed: 11.05 Mbps, Total Size:  : 11832.3 MB
Download Progress of bundle tar :  : 11092.7 MB, Average Speed: 10.85 Mbps, Total Size:  : 18817.0 MB
Download Progress of bundle tar :  : 9989.4 MB, Average Speed: 11.07 Mbps, Total Size:  : 11832.3 MB
Download Progress of bundle tar :  : 11792.1 MB, Average Speed: 10.89 Mbps, Total Size:  : 18817.0 MB
Download Progress of bundle tar :  : 10685.3 MB, Average Speed: 11.10 Mbps, Total Size:  : 11832.3 MB
Download Progress of bundle tar :  : 12490.6 MB, Average Speed: 10.93 Mbps, Total Size:  : 18817.0 MB
Download Progress of bundle tar :  : 11374.2 MB, Average Speed: 11.12 Mbps, Total Size:  : 11832.3 MB
Download Progress of bundle tar :  : 13189.7 MB, Average Speed: 10.97 Mbps, Total Size:  : 18817.0 MB
Download Progress of bundle tar :  : 13890.8 MB, Average Speed: 11.00 Mbps, Total Size:  : 18817.0 MB
Download Progress of bundle tar :  : 14599.4 MB, Average Speed: 11.04 Mbps, Total Size:  : 18817.0 MB
Bundle bundle-133766. checksum validation successful
Successfully downloaded bundle: bundle-133766.
Completed downloading:7 of total:8
Download Progress of bundle tar :  : 15298.6 MB, Average Speed: 11.06 Mbps, Total Size:  : 18817.0 MB
Download Progress of bundle tar :  : 16003.4 MB, Average Speed: 11.09 Mbps, Total Size:  : 18817.0 MB
Download Progress of bundle tar :  : 16709.6 MB, Average Speed: 11.12 Mbps, Total Size:  : 18817.0 MB
Download Progress of bundle tar :  : 17418.8 MB, Average Speed: 11.15 Mbps, Total Size:  : 18817.0 MB
Download Progress of bundle tar :  : 18121.5 MB, Average Speed: 11.17 Mbps, Total Size:  : 18817.0 MB
Bundle bundle-133765. checksum validation successful
Successfully downloaded bundle: bundle-133765.
Completed downloading:8 of total:8
Successfully completed downloading all VSRN bundles to directory path: /obtu/www/offline_depot/PROD2/evo/vmw
Log file: /var/log/vmware/vcf/lcm/tools/debugtool/tmp/debuglog/
[root@vcf-obtu bin]# 

In the end, you will get the directory structure shown below.

[root@vcf-obtu ~]# tree /obtu/www/offline_depot/
/obtu/www/offline_depot/
└── PROD2
    ├── evo
    │   └── vmw
    │       ├── bundles
    │       │   ├── 
    │       │   ├── 
    │       │   ├── 
    │       │   ├── 
    │       │   ├── 
    │       │   ├── 
    │       │   ├── 
    │       │   └── 
    │       ├── Compatibility
    │       │   └── 
    │       ├── deltaFileDownloaded
    │       ├── deltaFileDownloaded.md5
    │       ├── index.v3
    │       ├── lcm
    │       │   └── manifest
    │       │       └── v1
    │       │           └── 
    │       ├── manifests
    │       │   ├── 
    │       │   ├── 
    │       │   ├── 
    │       │   ├── 
    │       │   ├── 
    │       │   ├── 
    │       │   ├── 
    │       │   ├── 
    │       │   ├── 
    │       │   ├── 
    │       │   ├── 
    │       │   ├── 
    │       │   ├── 
    │       │   ├── 
    │       │   ├── 
    │       │   └── 
    │       └── tmp
    │           ├── index.v3
    │           └── 
    └── vsan
        └── hcl
            ├── 
            └── 

12 directories, 33 files
[root@vcf-obtu ~]#

 

Configuring the VCF Offline Library

Log in to SDDC Manager UI and navigate to Admin-> Library Settings, where VMware Cloud Foundation 5.2 and later versions can perform offline library settings. For VMware Cloud Foundation 5.1 and earlier versions, please refer to the knowledge base and blog posts mentioned at the beginning of this article for specific steps.

Click Settings in "Offline Library", fill in the OBTU server address and other information, and then complete the settings.

The offline library was set up successfully.

After a few moments, navigate to Lifecycle Management - > Package Management and you should see all the packages available in the offline repository. Refer to the article "Update VCF 5.1 to VCF 5.2."or"Update the version of the SDDC Manager component independently."Perform follow-up operations.