You can use command arguments to set the execution parameters of the upgrade command.
vcsa-deploy upgrade path_to_the_json_file list_of_arguments
Argument | Description |
---|---|
--accept-eula | Accepts the end-user license agreement. Required for executing the deployment command. |
--acknowledge-ceip | Confirms your acknowledgement of your VMware Customer Experience Improvement Program (CEIP) participation. Required if the |
-v, --verbose | Adds debug information to the console output. |
-t, --terse | Hides the console output. Displays only warning and error messages. |
--log-dir LOG_DIR | Specifies the location of the log and other output files that the installer generates. |
--skip-ovftool-verification | Performs basic verification of the configuration parameters and deploys the vCenter Server appliance, but does not validate the OVF Tool parameters in the |
--no-ssl-certificate-verification | Prohibits SSL verification of for all server connections. The CLI verifies that a server's security certificate is signed by a Certificate Authority (CA), and establishes a secure connection. If the certificate is self-signed, the CLI stops the upgrade unless you specify that the CLI ignore the self-signed certificate using the If you are connecting to a server with a self-signed certificate, and fail to specify that the CLI accept it, the CLI displays the server's self-signed certificate thumbprint, and prompts you to accept or reject the it. You can also specify that the CLI ignore self-signed certificates using the
Important: Avoid using this option as it may cause problems during or after upgrade due to an un-validated identity of the target host.
|
--operation-id | Lets you provide an identifier to track the concurrent installation, migration, or upgrade of multiple vCenter Server instances. If do not provide an operation ID, the CLI generates a universally unique identifier (UUID) which you can use to identify the different instances of vCenter Server and their installation or upgrade status. |
--pause-on-warnings | Pauses and waits for acknowledgment of warnings. |
--verify-template-only | Performs basic template verification without installing Upgrade Runner, running prechecks, and upgrading or migrating the vCenter Server Appliance. |
--precheck-only | Installs Upgrade Runner on the source appliance and runs a complete set of prechecks without performing the upgrade. |
-h, --help | Displays the help message for the vcsa-deploy upgrade command. |
--template-help | Displays the help message for the use of configuration parameters in the JSON upgrade file. |
Exit Code | Description |
---|---|
0 | Command ran successfully |
1 | Runtime error |
2 | Validation error |
3 | Template error |