Manager Upgrade
-
Stop the service and execute
bash ./service.sh stopallin the root directory of the manager (stopped is output successfully); -
Clean up the current HDP Service and Manager related files:
-
Back up and remove the data files related to the original microservice application, such as:
mv /data/hap/ /backup/hdpbak20260805/. The specific target location can be customized. This step is a high-risk operation, so be sure to operate it correctly and the data backup is successful 💥 💥 💥; -
Execute
rm -rf ./*in the Manager root directory (This operation cannot be performed if the manager is not stored in an independent folder)
-
-
Reinstall, refer to Installation Steps (complete steps 3~7);
-
Stop the service and execute
bash ./service.sh stopallin the root directory of the manager (stopped will be output if successful); -
Execute
rm -rf /data/hap/script/volume/data/*to clean the data generated by reinstallation, and then restore the previously backed up data, such ascp -r /backup/hdpbak20260805/script/volume/data/* /data/hap/script/volume/data/; -
Compare
/data/hap/script/docker-compose.yamlwith/backup/hdpbak20260805/script/docker-compose.yamlin the backup directory. If there are additional custom configuration items, they need to be adjusted manually; -
Restart the service, execute
bash ./service.sh startallin the root directory of the manager, and wait for the command execution to complete;