Follow the below steps to upgrade VMware Pulse IOT Center agents from 2.0.0 to 2.0.1:
Agent Upgrade Procedure:
After upgrading the on-premise version of VMware Pulse IoT Center from 2.0.0 to 2.0.1, apply the following patch on all the upgraded instances:
Prerequisites:
- SSH and SCP or WINSCP utility on the local system or VM to log in and copy the VMware Pulse IoTC Agent packages to the Pulse Server Nodes.
- SSH access to all the 3 Pulse Server Nodes for root user.
- Download the patch for VMware Pulse IoTC Agent binaries (all the tar.gz and the manifest.json files) to local system or VM from where you apply the patch.
Steps to Download:
- Log in to https://customerconnect.vmware.com/group/vmware/patch.
- Select Product: Pulse IoT Center, Version: 2.0.1 and click Search.
- Select the patch with name Pulse-IoTc-2.0.1-14869950.tar.gz and Click Download.
Download the Load Balancer CA cert:
- Log in to the VMware Pulse Administrator console of the Load Balancer.
- Navigate to the Certificate Management section and download the loadBalancer.crt file under Load Balancer Certificate.
- Ensure that loadBalancer.crt does not include a space in the file name.
- Delete the older VMware Pulse IoTC Agent packages Under Campaign Packages:
- Log in to the VMware Pulse IoT Center console and navigate to Updates > Packages.
- Select and delete all the Agents with version 2.0.1-14825020.
Note: These packages must not be part of any campaign.
Procedure:
Perform the following steps on all the Pulse Server Nodes:
- Login to Pulse Server Node as root user.
- Backup the contents of /opt/vmware/iotc/iotc-agent/artifacts/ folder:
mkdir -p /opt/vmware/iotc/iotc-agent/artifacts_back
mv /opt/vmware/iotc/iotc-agent/artifacts/* /opt/vmware/iotc/iotc-agent/artifacts_back
- Log out of the Node and copy the newly downloaded VMware Pulse IoTC Agent binaries (tar.gz and the manifest.json files) to the /opt/vmware/iotc/iotc-agent/artifacts/ folder using SCP or WINSCP.
scp <Path to the Agent packages>/*.gz root@<Server Node IP>:/opt/vmware/iotc/iotc-agent/artifacts/
scp <Path to the Agent packages>/manifest.json root@<Server Node IP>:/opt/vmware/iotc/iotc-agent/artifacts/
- Log in to the Node through SSH and set the permissions to the antifactory:
chmod 755 -R /opt/vmware/iotc/iotc-agent/artifacts/*
- After running the steps successfully, run the following script to create campaign packages for the VMware Pulse IoTC Agent upgrade:
sh /etc/bootstrap/postupdate.d/02-agent-upgrade.sh
- Re-bundle the VMware Pulse IoTC Agents with the Load Balancer CA certificate.
- Log in to the VMware Pulse Administrator console of the respective Pulse node.
- Navigate to Certificate Management > Rebundle VMware Pulse IoT Center Agent. Click Replace.
- Browse and select the loadBalancer.crt file. Enter the VMware Pulse IoT Center FQDN, which is the Load Balancer FQDN.
- Click Next and then click Replace.
- Repeat Step 1 through Step 7 for the other Pulse Server Nodes.