Use the viocli upgrade command to upgrade between major versions of VMware Integrated OpenStack.

The viocli upgrade command supports a variety of actions to perform different tasks. The following parameters apply to all actions.

Parameter Mandatory or Optional Description

-d NAME or --deployment NAME

Optional

Name of the deployment to use.

If you do not enter a value, the default deployment is used.

-p or --progress

Optional

Shows the progress of the current operation.

You can run viocli upgrade -h or viocli upgrade --help to display the parameters for the command. You can also use the -h or --help option on any action to display parameters for the action. For example, viocli upgrade prepare -h will show parameters for the prepare action.

viocli upgrade mgmt_server [-d NAME] DIR-NAME NFS-VOLUME [-p]

Upgrades the management server database and configuration to the desired version. The following additional parameters apply to the mgmt_server action.

Parameter Mandatory or Optional Description

DIR-NAME

Mandatory

Directory containing the backup file.

NFS-VOLUME

Mandatory

Name or IP address of the target NFS volume and directory in the format remote-host:remote-dir.

For example: 192.168.1.77:/backups

 

viocli upgrade prepare [-d NAME] BLUE-OMS-SERVER NFS-DIR-NAME [BLUE-VIOUSER-PASSWORD] [-f] [-p]

Prepares the NFS server for the OpenStack Management Server upgrade. The following additional parameters apply to the prepare action.

Parameter Mandatory or Optional Description

BLUE-OMS-SERVER

Mandatory

IP address of the old OpenStack Management Server.

NFS-DIR-NAME

Mandatory

Local mount point to attach the target NFS volume.

BLUE-VIOUSER-PASSWORD

Optional

Password of the viouser account on the old OpenStack Management Server.

If you do not include this option in the command, you will be prompted to enter the password.

-f or --force

Optional

Runs the command without prompting for confirmation.

 

viocli upgrade openstack [-d NAME] [-n NEW-DEPLOY] [-f] [-p]

Upgrades the VMware Integrated OpenStack deployment to the desired version.

Note: If possible, use the vSphere Web Client to upgrade your deployment instead of this command.

The following additional parameters apply to the openstack action.

Parameter Mandatory or Optional Description

-n NEW-DEPLOY

Optional

Name of the deployment for the new version.

If you do not include this option in the command, you will be prompted to enter a name.

-f or --force

Optional

Runs the command without prompting for confirmation.