Upgrading OmniData
The OmniData service 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
/home/omm/haf-install/haf-target/tools/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
Task Description
Transferring the upgrade software package for OmniData upgrade
Local Path
Select a local path for storing the OmniData software package based on the site requirements.
Remote Path
/home/omm/haf-software

- Add a command execution service flow, edit the task content, and click Save.
Parameter
Description
Task Name
Software upgrade
Task Description
Upgrading OmniData
Run Directory
/home/omm/haf-software/omnidata-setup
Run Command
sh omnidata-upgrade.sh /home/omm/haf-install/haf-target /home/omm/haf-software/BoostKit-omnidata_1.3.0.tar.gz

Parameters in the omnidata-upgrade.sh script in 4 are described as follows:- The first parameter indicates the HAF installation path on the offload node. In this example, the value is /home/omm/haf-install/haf-target.
- The second parameter indicates the full path of the upgrade package.
- 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:
/home/omm/haf-install/haf-target/tools/haf-tool service --status