Upgrade Steps
Obtain the upgrade package fastone-fcp-xxx.tgz, place it under /opt on the node, and then follow the steps below.
Notes
During the upgrade, the NTP check may fail. Before upgrading, you can run the following command on the Core node under the ymir-specs directory to check the service status:
sudo bash -e spec/ntp/scripts/ntp_state_check.sh
You can also retry the upgrade script multiple times if needed.
Non Core-HA Scenario
Upgrade the Core node
- Extract the package:
# Extract
sudo tar xf ./fastone-fcp-xxx.tgz -C ./
- Enter the extracted directory:
cd ymir-specs/upgrade/2508upgrade2511
sudo bash upgrade.sh
Upgrade the Monitor node
Follow the same steps as upgrading the Core node.
Core-HA Scenario
Order
- Upgrade management nodes in the following order: Monitor node -> primary Core node -> secondary Core node.
Stop services
- In the Core-HA scenario, go to the
ymir-specsdirectory and run the following command on the three management nodes in sequence (Monitor -> secondary Core -> primary Core):sudo ymir down - After services are stopped on all management nodes, proceed with the upgrade steps below.
Upgrade the Monitor node
- Follow the Core node upgrade steps to upgrade the Monitor node.
Upgrade the primary Core node
- Extract the package:
sudo tar xf ./fastone-fcp-xxx.tgz -C /opt
- Enter the extracted directory:
cd ymir-specs/upgrade/2508upgrade2511
# The upgrade includes database index rebuild operations. This may take some time.
sudo bash upgrade.sh
Upgrade the secondary Core node
Follow the Core node upgrade steps to upgrade the secondary Core node.
Verify service status after upgrade
Use the Core-HA Deployment and Maintenance document to verify that management-node services are running properly.