Upgrade
VMware Cloud Director extension for Data Solutions

You can upgrade
VMware Cloud Director extension for Data Solutions
using the
VMware Cloud Director
Solution Add-On Landing Zone or the command-line interface.
  • Verify that you have the credentials of a
    VMware Cloud Director
    System Administrator
    account.
  • If you maintain an internal container registry, verify that the
    Data Solutions Operator
    package is cloned to its internal container registry.
You can upgrade to
VMware Cloud Director extension for Data Solutions
1.4 from versions 1.X.

升级
VMware Cloud Director extension for Data Solutions
解决方案加载项实例

可以使用
VMware Cloud Director
解决方案加载项登录区升级
VMware Cloud Director extension for Data Solutions
如果使用命令行界面安装
VMware Cloud Director extension for Data Solutions
时使用了
--encryption-key
参数,则无法使用
VMware Cloud Director
UI 执行升级。
  1. 登录到
    VMware Cloud Director 服务提供商管理门户
  2. 在解决方案加载项登录区中上载最新版本的
    VMware Cloud Director extension for Data Solutions
    .iso
    文件。请参见将解决方案加载项上载到 VMware Cloud Director
  3. 升级
    VMware Cloud Director extension for Data Solutions
    的加载项实例。请参见在 VMware Cloud Director 中升级解决方案加载项实例
租户管理员必须升级在其组织内的 Kubernetes 集群中运行的每个
Data Solutions Operator
。要避免在下一次
VMware Cloud Director extension for Data Solutions
升级期间升级
Data Solutions Operator
,租户管理员必须将
Data Solutions Operator
升级策略设置为
自动升级到最新版本

Upgrade
VMware Cloud Director extension for Data Solutions
using the CLI

Upgrade
VMware Cloud Director extension for Data Solutions
using the command-line interface.
If you installed
VMware Cloud Director extension for Data Solutions
using the command-line interface, with parameter
--encryption-key
, you must provide the same encryption key, when you perform the upgrade and you must not specify the parameter
--iso
. The parameters
--encryption-key
and
--iso
are mutually exclusive.
To get the certificate file, run the following command:
$ run get certificates --host
HOST_NAME
-o
CERTIFICATE_FILENAME
--accept
. You must not download the
VMware Cloud Director
certificate file in the folder, where you mount the ISO package. If you do not trust the
VMware Cloud Director
certificate, use the following command to trust it:
$ run trust --host
HOST_NAME
--username
USER_NAME
--password
PASSWORD
--certificate-file
CERTIFICATE_FILENAME
--accept
.
  1. To upgrade
    VMware Cloud Director extension for Data Solutions
    , navigate to the folder, which contains the extracted ISO package and run the following command:
    • For Windows:
      windows.run.exe upgrade instance --name
      EXTENSION_NAME
      --host
      HOST_NAME
      --username
      USER_NAME
      --password
      PASSWORD
      --certificate-file
      CERTIFICATE_FILE_NAME
      --accept --iso
    • For Linux:
      ./linux.run upgrade instance --name
      EXTENSION_NAME
      --host
      HOST_NAME
      --username
      USER_NAME
      --password
      PASSWORD
      --certificate-file
      CERTIFICATE_FILE_NAME
      --accept --iso
    The following table describes the parameters values that you must enter. To see the full list of command parameters, run the following command:
    <run> upgrade instance -h
    .
    Upgrade command parameters
    Parameter
    Description
    EXTENSION_NAME
    The name of the
    VMware Cloud Director extension for Data Solutions
    .
    HOST_NAME
    The name of the
    VMware Cloud Director
    host.
    USER_NAME
    The user name of the
    VMware Cloud Director
    system administrator.
    PASSWORD
    The password of the
    VMware Cloud Director
    system administrator.
    CERTIFICATE_FILE_NAME
    The
    VMware Cloud Director
    API endpoint SSL certificate filename.
    Example:
    windows.run.exe get certificates --host
    atl1-vcd-static-000-00.eng.vmware.com
    -o
    C:\Users\Administrator\Downloads\vcd_cert.pem
    --accept windows.run.exe trust --host
    atl1-vcd-static-000-00.eng.vmware.com
    --username
    admin
    --password
    vmware
    --certificate-file
    C:\Users\Administrator\Downloads\vcd_cert.pem
    --accept windows.run.exe upgrade instance --name
    tds1
    --host
    atl1-vcd-static-000-00.eng.vmware.com
    --username
    admin
    --password
    vmware
    --certificate-file
    C:\Users\Administrator\Downloads\vcd_cert.pem
    --accept --iso
  • Update the
    VMware Cloud Director extension for Data Solutions
    repository and set to the latest version. You can preview the latest version, by selecting the
    Use Default Value
    check box in the
    Update Repository
    window.
    The default registry path for
    Data Solutions Operator
    1.4 is
    projects.registry.vmware.com/vcdds/vcd-data-solutions-package-repo:1.4.0
    . See Managing container registries in the
    Using
    VMware Cloud Director extension for Data Solutions
    as a Service Provider
    guide.
  • The tenant administrator must upgrade each
    Data Solutions Operator
    , which runs in the Kubernetes clusters within their organizations. To avoid upgrading the
    Data Solutions Operator
    s during the next
    VMware Cloud Director extension for Data Solutions
    upgrade, the tenant administrator must set the
    Data Solutions Operator
    upgrade policy to
    Auto upgrade to the latest version
    .