Upgrading the Secret Service
Caution:
Ensure that all preparation steps for system upgrade have been completed. For instructions, see Preparing the Upgrade Environment.
The secret service contains two components that need to be upgraded separately in this particular order: first Etcd, then Vault.
The Etcd and Vault upgrades are rolling upgrades: each upgrade is executed on all three management nodes with one command.
Using the Service Web UI
-
In the navigation menu, click Upgrade & Patching.
-
In the top-right corner of the Upgrade Jobs page, click Create Upgrade or Patch.
The Create Request window appears. Choose Upgrade as the Request Type.
-
Select the appropriate upgrade request type: Upgrade Etcd.
-
If required, fill out the upgrade request parameters:
-
Advanced Options JSON: Optionally, add a JSON string to provide additional command parameters.
-
Image Location: This parameter is deprecated.
-
ISO Checksum: This parameter is deprecated.
-
Log Level: Optionally, select a specific log level for the upgrade log file. The default log level is "Information". For maximum detail, select "Debug".
-
-
Click Create Request.
The new upgrade request appears in the Upgrade Jobs table.
-
When the Etcd upgrade has completed successfully, repeat this procedure to create an upgrade request for Vault.
Using the Service CLI
-
Enter the two upgrade commands. Wait until the Etcd upgrade is finished before starting the Vault upgrade.
PCA-ADMIN> upgradeEtcd Command: upgradeEtcd Status: Success Time: 2021-09-25 10:24:52,177 UTC Data: Service request has been submitted. Upgrade Job Id = 1632826770954-etcd-26973 Upgrade Request Id = UWS-fec15d32-fc2b-48bd-9ae0-62f49587a284 PCA-ADMIN> upgradeVault Command: upgradeVault Status: Success Time: 2021-09-25 10:38:25,417 UTC Data: Service request has been submitted. Upgrade Job Id = 1632850933353-vault-16966 Upgrade Request Id = UWS-352df3d1-c21f-441b-8f6e-9381ac075906
-
Use the request ID and the job ID to check the status of the upgrade process.
PCA-ADMIN> getUpgradeJobs id upgradeRequestId commandName result -- ---------------- ----------- ------ 1632995409822-mysql-83013 UWS-77bc0c30-7ff5-4c50-ad09-6f96907e22e1 mysql Passed 1632850933353-vault-16966 UWS-352df3d1-c21f-441b-8f6e-9381ac075906 vault Passed 1632826770954-etcd-26973 UWS-fec15d32-fc2b-48bd-9ae0-62f49587a284 etcd Passed 1632926926773-host-32993 UWS-fef3b663-45b7-4177-a041-26f73e68848d host Passed 1632990827394-host-56156 UWS-1a97a8d9-54ef-478d-a0c0-348a17ba6755 host Passed 1632990493570-host-6646 UWS-4c78f3ef-ac42-4f32-9483-bb43a309faa3 host Passed PCA-ADMIN> getUpgradeJob upgradeJobId=1632850933353-vault-16966 Command: getUpgradeJob upgradeJobId=1632850933353-vault-16966 Status: Success Time: 2021-09-25 10:39:31,308 UTC Data: Upgrade Request Id = UWS-352df3d1-c21f-441b-8f6e-9381ac075906 Name = vault Start Time = 2021-09-25T10:38:25 End Time = 2021-09-25T10:39:07 Pid = 16966 Host = pcamn02 Log File = /nfs/shared_storage/pca_upgrader/log/pca-upgrader_vault_2021_09_25-10.38.25.log Arguments = {"verify_only":false,"upgrade":false,"diagnostics":false,"host_ip":null,"result_override":null,"log_level":null,"switch_type":null,"precheck_status":false,"task_time":0,"fail_halt":false,"fail_upgrade":null,"component_names":null,"upgrade_to":null,"image_location":"http://host.example.com/pca-3.0.1-b535176.iso","epld_image_location":null,"expected_iso_checksum":null,"checksum":"240420cfb9478f6fd026f0a5fa0e998e086275fc45e207fb5631e2e99732e192e8e9d1b4c7f29026f0a5f58dadc4d792d0cfb0279962838e95a0f0a5fa31dca7","composition_id":null,"request_id":"UWS-352df3d1-c21f-441b-8f6e-9381ac075906","display_task_plan":false,"dry_run_tasks":false} Status = Passed Execution Time(sec) = 42 Tasks 1 - Name = Check Vault Running Status Tasks 1 - Description = Check vault service running status is healthy Tasks 1 - Time = 2021-09-25T10:38:25 [...]