Upgrade the OTA and traffic gateway components
To help IT administrators upgrade to the latest release quickly, 丰盘 includes an OTA remote upgrade subsystem at installation time. When a new release is detected, the administrator can run a one-click automated upgrade in the web UI. For stability, the OTA subsystem and the traffic gateway themselves can be updated only from the server command line, not from the web UI.
Do OTA and the traffic gateway need frequent upgrades?
The OTA remote upgrade subsystem and the traffic gateway do not carry the functional modules of the file management system, so they are updated infrequently, mainly for stability, security, or architecture changes, roughly once every one to two years. The main application iterates more often, with about one major version per quarter plus several patch releases.
Update the xpc.sh operations script
xpc.sh is a scripting tool that ships with the deployment. It helps administrators manage the whole 丰盘 system simply and conveniently, and updating it to the latest version unlocks more convenient operations. Replace the license parameter in the URL (sample value XXXXXYYYYY) with the license key you use.
# Download the script with curl
# If this command fails with a "curl: command not found" error, use the wget command below
curl -fsSL -o /opt/xpan/tools/xpc.sh "https://ota.ekbcloud.com/api/v1/ota/scriptfile?name=xpc&license=XXXXXYYYYY" && sudo chmod u+rx,g+rx /opt/xpan/tools/xpc.sh
# The second argument is an uppercase letter O
wget -q -O /opt/xpan/tools/xpc.sh "https://ota.ekbcloud.com/api/v1/ota/scriptfile?name=xpc&license=XXXXXYYYYY" && sudo chmod u+rx,g+rx /opt/xpan/tools/xpc.shUpdate the traffic gateway and OTA components
Run the command below to upgrade the OTA and traffic gateway components to the latest stable version. After the upgrade starts, the system downloads the latest image packages first. This stage has no impact on the running system, and users can keep working. When the download finishes, the script switches between the old and new versions, which causes a few seconds of interruption.
# Upgrade the 丰盘 OTA and gateway core components to the latest stable version
sh /opt/xpan/tools/xpc.sh update