Upgrading appliance to 1.4.5
- Appliance versions 1.4.4 can ONLY be upgraded to 1.4.5
Assumptions
- Version 1.4.4 of appliance is installed and running
- sudo access to the appliance machine
- Latest release singlefile.tar.gz is downloaded
- Adequate space is available ( at least 50 GB ) on the partition where docker copies its files ( typically /var/lib/docker/ )
1.. On the appliance machine, navigate to the directory where CloudHedge is installed
# cd <CloudHedge-home>
2.. Stop the CloudHedge Enterprise using the following command:
# docker-compose -f compose.yaml down
3.. Move the downloaded singlefile.tar.gz to CloudHedge-home and extract it
# mv singlefile.tar.gz <CloudHedge-home>
# cd <CloudHedge-home>
# tar xvzf singlefile.tar.gz
4.. Extract from containers.tar.gz
# tar xvzf containers.tar.gz
5.. Load the new CloudHedge container images
# docker load -i containers.tar
This will take some time depending on system and disk speed
6.. Rename rhel-compose.yaml and rhel-cloudhedgeenv files
# mv rhel-compose.yaml compose.yaml
# mv rhel-cloudhedgeenv cloudhedgeenv
7.. Update cloudhedgeenv with the ip addresses and Mongo details as it was in the previous cloudhedgeenv file
8.. Update compose.yaml with the same tag for license-service as it was in the previous compose.yaml file
9.. Start CloudHedge Enterprise
# cd <CloudHedge-home>
# docker-compose -f compose.yaml up -d
10.. Open browser and access the appliance. Login with the existing credentials and confirm you are able to login.
11.. Check the version of CloudHedge Enterprise by clicking on Help/Current Version. Make sure that the version displayed is the version you installed
12.. After CloudHedge Enterprise is upgraded, for all the nodes that have been discovered in the earlier version of CloudHedge Enterprise, run "Check prerequisites". This will ensure that the nodes have the latest CloudHedge Enterprise tools on them that will enable all operations to be performed.