Reference Guide

Table Of Contents
Action Description
--quiet
Suppress any additional prompts or messages.
Actions
Action Description
restore_on_vcenter
Restore the vCenter configuration if access to the previous vCenter is lost.
migrate_to_vcenter
Migrate PowerStore from one vCenter to another.
fix_restore_issues
Remove empty proxy switches from ESXs if needed. Run this command if prompted by the
restore_on_vcenter or migrate_to_vcenter commands.
Migrate to vCenter (svc_migrate_to_vcenter migrate_to_vcenter)
This service script migrates PowerStore from one vCenter to another.
Format
svc_migrate_to_vcenter migrate_to_vcenter [-h] [--generate_config]
config
Optional arguments
Action
Description
-h, --help
Show this help message and exit.
--generate_config
Only generate template config and finish.
Positional arguments
Action
Description
config
JSON config file that should have the following structure:
{'cluster_name': '<Optional. Allows to redefine name for
ESX cluster in a new vCenter>', 'old_vcenter': 'password':
'<Password for current vCenter>'}, 'esxs': [{'host': '<ESXi IP/host>',
'password': '<ESXi root password>'}, {'host': '<ESXi IP/host>',
'password': '<ESXi root password>'}], 'power_store': {'password':
'<PowerStore password>', 'user': '<PowerStore user>'},
'provider_name': '<Optional. Allows to redefine Storage provider
name in a new vCenter>', 'vcenter': {'host': '<vCenter IP/host>',
'password': '<vCenter password>', 'user': '<vCenter username>'},
'data_center_name': '<Optional. Allows to redefine Data Center name
in a new vCenter>'}
Restore the vCenter configuration (svc_migrate_to_vcenter
restore_on_vcenter)
This service script restores the vCenter configuration if access to the previous vCenter has been lost.
Service Commands
45