Upgrading OmniData
OmniData can be upgraded only after being approved by customers.
- Select the service nodes to be upgraded (for example, ceph1, ceph2, and ceph3), click Configure Service, select Command Execution, and click Add a Task.
- Edit the task content and click Save.
Parameter
Description
Task Name
Stopping the OmniData service
Run Directory
/
Run Command
su -s /bin/bash - haf -c "haf-tool service --stop"

- Select the service nodes to be upgraded (for example, ceph1, ceph2, and ceph3). Configure the service flow, select File Transfer, and click Add a Task.
Parameter
Description
Task Name
Transferring the upgrade software package
Local Path
Select a local path for storing the OmniData software package based on your requirements.
Remote Path
/opt/haf-software

- Add a command execution service flow, edit the task content, and click Save.
Parameter
Description
Task Name
Upgrading the software
Run Directory
/opt/haf-software/omnidata-setup
Run Command
sh omnidata-upgrade.sh /opt/haf-software/BoostKit-omnidata_1.1.0.tar.gz

- Check the service status.
The upgrade.sh parameter is the absolute path of the new package. The script checks whether the OmniData service is running. If the OmniData service is running, the upgrade will not be performed. Ensure that the OmniData service is stopped before the upgrade.
Run the following command using SmartKit:
su -s /bin/bash - haf -c "haf-tool service --status"