Use the viocli migrate command to migrate resources in your deployment.

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

Parameter Mandatory or Optional Description

-v or --verbose

Optional

Displays output in verbose mode.

You can run viocli migrate -h or viocli migrate --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 migrate fwaas -h will show parameters for the fwaas action.

The actions that viocli migrate supports are listed as follows.

viocli migrate fwaas [-v]

Upgrades the firewalls in your deployment from Firewall as a Service (FWaaS) v1 to FWaaS v2.

 

viocli volume-migrate {--volume-ids volume1-uuid... | --source-dc src-dc-name --source-ds src-ds-name] dest-dc-name dest-ds-name [--ignore-storage-policy] [-v]

Migrates unattached Cinder volumes to another datastore.

Parameter Mandatory or Optional Description

--volume-ids

Mandatory if --source-dc and --source-ds are not used.

UUID of the volume that you want to migrate. You can include multiple UUIDs separated by commas (,).

If you want to migrate all volumes from a datastore, use the --source-dc and --source-ds parameters instead of this parameter.

--source-dc src-dc-name

Mandatory if --volume-ids is not used.

Name of the data center containing the volumes that you want to migrate.

This parameter must be used together with the --source-ds parameter. If you want to migrate specified volumes only, do not include this parameter.

--source-ds src-ds-name

Mandatory if --volume-ids is not used.

Name of the datastore containing the volumes that you want to migrate.

This parameter must be used together with the --source-dc parameter. If you want to migrate specified volumes only, do not include this parameter.

dest-dc-name

Mandatory

Name of the data center that contains the datastore to which you want to migrate volumes.

dest-ds-name

Mandatory

Name of the datastore to which you want to migrate volumes.

--ignore-storage-policy

Optional

Migrates volumes to the target datastore even if the datastore does not comply with the storage policy of the volume.