To reduce update time by pre-copying software update PAK files, follow steps in:
Note: If you do not pre-copy the PAK file to a node, the Software Update feature copies the PAK file to the node as usual when you finish the update using the administration interface.
Part 1: On Nodes except the Primary node
- Determine the destination directory for your version.
(6.1-8.x) $STORAGE/db/casa/pak/dist_pak_files/{platform}
where {platform} is VA_LINUX, NON_VA_LINUX, or NON_VA_WINDOWS depending on deployment type
For example, on a Aria Operations 8.x vApp deployment, the destination directory is:
/data/db/casa/pak/dist_pak_files/VA_LINUX
- Using a utility such as WinSCP or Filezilla, copy the PAK file to the destination directory of the Aria Operations appliance
- Note the ID of the PAK file by entering the following command.
$VMWARE_PYTHON_BIN {path}/vcopsPakManager.py --action=query_pak_id --pak={pak-filename}
- Determine the ID of the PAK file by noting the value to the right of "pak_id" as shown in the following examples.
∘ On a 6.0.x vApp deployment, the command and output resemble the following:
$VMWARE_PYTHON_BIN $ALIVE_BASE/../vmware-vcopssuite/utilities/pakManager/bin/vcopsPakManager.py --action=query_pak_id --pak=vRealize_Operations_Manager-VA-6.1.0.2733055.pak
{
"pak_id": "vRealizeOperationsManagerEnterprise-6102733055"
}
∘ On a 6.1 vApp deployment, the command and output resemble the following:
$VMWARE_PYTHON_BIN /usr/lib/vmware-vcopssuite/utilities/pakManager/bin/vcopsPakManager.py --action=query_pak_id --pak=vRealize_Operations_Manager-VA-6.1.0.5445359.pak
{
"invalid_reason": null,
"is_signature_valid": true,
"is_signature_valid_certificate_untrusted": null,
"is_signed": true,
"pak_id": "vRealizeOperationsManagerEnterprise-6105445359",
"pak_version": "6.1.0.5445359",
"platform": [
"Linux VA"
],
"vcopssuiteinstall_build_number": "5441604",
"vcopssuiteinstall_build_type": "sb",
"vcopssuitevm_build_number": "5441602",
"vcopssuitevm_build_type": "sb"
}
- If needed - rename the PAK file so that the PAK ID becomes the base filename.
For example:
mv vRealize_Operations_Manager-VA-6.1.0.2733055.pak vRealizeOperationsManagerEnterprise-6102733055.pak
- (Optional) Enter the following command to verify that the PAK file was correctly copied to the node and renamed:
sha1sum {new-filename}.pak
For example:
$ sha1sum vRealizeOperationsManagerEnterprise-6102733055.pak
610df3113d9f02e1931e34bed95f952b23b710b4 *vRealizeOperationsManagerEnterprise-6102733055.pak
Part 2: On the Primary Node
- In the administration interface, click Software Update, click Install a Software Update, and follow the wizard to locate and upload the PAK file.
Important: Do not select the option to force PAK upload and installation. The option will remove the PAK from nodes where it was manually copied.
- Wait until the upload finishes.
- (Optional) Use your REST client to verify that the PAK file is present on all nodes. The REST client will also need to pass the administrator username of admin and the admin password.
- Enter the following HTTP call to the master node.
GET /casa/upgrade/cluster/pak/reserved/list
- Follow the href link to identify the PAK ID.
- Enter the following HTTP call to the master node.
GET /casa/upgrade/cluster/pak/{PAK ID}/status
- Verify that the pak_state is DISTRIBUTED for nodes that have the manual copy.
∘ For example, first note the PAK ID of vRealizeOperationsManagerEnterprise-6102733055:
https://host/casa/upgrade/cluster/pak/reserved/list
[
{
"links": [
{
"rel": "pak_cluster_status",
"href": "https://host:443/casa/upgrade/cluster/pak/vRealizeOperationsManagerEnterprise-6102733055/status"
},
{
"rel": "pak_file_information",
"href": "https://host:443/casa/upgrade/slice/pak/vRealizeOperationsManagerEnterprise-6102733055/file_information"
},
{
"rel": "pak_information",
"href": "https://host:443/casa/upgrade/cluster/pak/vRealizeOperationsManagerEnterprise-6102733055/information"
}
],
"pak_file": "vRealizeOperationsManagerEnterprise-6102733055.pak",
"pak_id": "vRealizeOperationsManagerEnterprise-6102733055"
},
{
"links": [
{
"rel": "pak_cluster_status",
"href": "https://host:443/casa/upgrade/cluster/pak/VMwarevSphere-602263102/status"
},
{
"rel": "pak_file_information",
"href": "https://host:443/casa/upgrade/slice/pak/VMwarevSphere-602263102/file_information"
},
{
"rel": "pak_information",
"href": "https://host:443/casa/upgrade/cluster/pak/VMwarevSphere-602263102/information"
}
],
"pak_file": "VMwarevSphere-602263102.pak",
"pak_id": "VMwarevSphere-602263102"
}
]
∘ Next, note that nodes 192.168.10.85 and 192.168.10.86, which have the manual copy, show a pak_state of DISTRIBUTED:
https://host:443/casa/upgrade/cluster/pak/vRealizeOperationsManagerEnterprise-6102733055/status
{
"cluster_pak_install_status": "CANDIDATE",
"slices": [
{
"slice_address": "192.168.10.85",
"http_code": 200,
"document": {
"pak_id": "vRealizeOperationsManagerEnterprise-6102733055",
"pak_state": "DISTRIBUTED",
"pak_install_status": "CANDIDATE",
"node_unchanged": true,
"failed_details": null,
"log_links": []
},
"content_type": "application/json"
},
{
"slice_address": "192.168.10.84",
"http_code": 200,
"document": {
"pak_id": "vRealizeOperationsManagerEnterprise-6102733055",
"pak_state": "STAGED",
"pak_install_status": "CANDIDATE",
"node_unchanged": true,
"failed_details": null,
"log_links": []
},
"content_type": "application/json"
},
{
"slice_address": "192.168.10.86",
"http_code": 200,
"document": {
"pak_id": "vRealizeOperationsManagerEnterprise-6102733055",
"pak_state": "DISTRIBUTED",
"pak_install_status": "CANDIDATE",
"node_unchanged": true,
"failed_details": null,
"log_links": []
},
"content_type": "application/json"
}
],
"cluster_data": {
"cluster_action_failed": false,
"cluster_action_failed_time": null,
"cluster_action": "NO_ACTION"
}
}
- Continue the software update the way that you normally would, by clicking Next, accepting the EULA, clicking Next, and so on.