FineOps Version
Functional Change
V1.5.5
V1.9.0
Included detecting and upgrading the Docker engine version during the manual upgrade process to prevent functional issues caused by an outdated version.
V2.0.0
Optimized the interaction by adjusting the function entry location.
An upgrade on an internal network uses the FineKey containerized deployment tool and an offline installation package to upgrade FineOps and its components. This method applies when the image registry cannot connect to FanRuan's cloud registry.
If your environment can obtain images online, an online upgrade is recommended. For details, see Upgrading FineOps over the Internet.
This document does not cover upgrades to the FineReport or FineBI applications in a project. For details, see Upgrading O&M Projects on the Internal Network.
Before upgrading FineOps, review recent changes in the Update History.
FineOps restarts during the upgrade. If a Docker engine upgrade is triggered, the containers on the corresponding server also restart.
If FineOps and an O&M project are deployed on the same server, upgrading FineOps may affect access to FineOps or the project on that server.
Schedule the upgrade during a maintenance window when your business can tolerate interruptions.
The server hosting FineKey and the server hosting FineOps must be able to communicate with each other. Otherwise, this upgrade method cannot be used.
You can upload FineKey to the FineOps server and run it.
1. Choose Platform Management > O&M Component and record the version of the OPS component.
2. Check the Update History for the latest version.
If FineOps is already at the latest version, do not proceed with the upgrade.
If the system prohibits the upgrade, FineKey stops the process.
You can contact the technical support personnel to obtain the installation package of FineOps. For contact methods, see Technical Support Channel Introduction.
Do not select the online installation package for an internal network environment. Full Offline Installation Package is recommended.
Installation Package Type
Description
Online Installation Package
1. In this type, the server can access the Internet. You can download images of O&M components. The installation package is small.
2. It allows you to deploy projects via FineOps visually with component images of FanRuan applications that FineOps downloads from the cloud.
3. You can connect FineOps to existing FanRuan applications.
Pure Offline Installation Package
1. In this type, the server is on an internal network. The installation package includes images of all O&M components and is large.
2. Component images of FanRuan applications are not built-in, so you cannot deploy projects via FineOps visually.
Full Offline Installation Package
2. It allows you to deploy projects via FineOps visually with built-in component images of FanRuan applications.
1. Upload the installation package to the server hosting FineOps. To run FineKey from another server, first complete the node connectivity check in the "Checking Upgrade Prerequisites" section.
The following example shows that the package is uploaded to the /home directory on the FineOps server.
2. Navigate to the directory where the tool package is located and decompress the package. (Adjust the command according to the actual package name and location.)
cd /hometar zxvf finekey-amd64-tomcat-all-publish.tar.gz
3. The FineKey tool directory is now available.
finekey/bin
This directory contains the FineKey executable.
finekey/conf/finekey.yaml
This file contains the deployment and upgrade configuration.
finekey/resources/images
This directory contains offline image resources.
1. Open finekey.yaml (finekey/conf/finekey.yaml) in the original package obtained in the "Checking Upgrade Prerequisites" section.
2. Check each item and enter the corresponding configuration value in finekey.yaml in the new package.
3. If FineKey and FineOps are on different servers, add the connection details for the node to be upgraded.
update: nodes: - ip: localhost #Machine IP address port: 22 #Machine SSH port number user: #Node SSH user password: #Node SSH password # - ip: 192.168.101.145 # port: 22 # user: # password:
1. Go to the bin directory in the FineKey package extracted in the "Uploading and Decompressing the FineKey Installation Package" section.
cd /home/finekey/bin
2. Run the following command to start the upgrade.
./finekey update
Note:
After starting the upgrade, FineKey will follow these steps to upgrade FineOps. You should wait patiently for the upgrade to be completed.
Step
Content
Check upgrade prerequisites.
The FineKey tool will prioritize checking whether the upgrade prerequisites in the "Checking Upgrade Prerequisites" section are met.
If the prerequisites are not met, the upgrade will end directly.
If the prerequisites are met, FineKey will proceed to the next step.
Check component versions.
The FineKey tool will automatically check whether the versions of the components to be upgraded match the FineKey image versions.
If they match, no upgrade is required, and the upgrade process ends.
If they do not match, FineKey will proceed to the next step.
Back up components automatically.
The FineKey tool will automatically back up data mounted by components that need upgrading.
Replace and upgrade the image.
The FineKey tool will automatically change the image for the upgrade.
Restart FineOps.
The FineKey tool will automatically restart FineOps.
If the restart is successful, the upgrade is successful.
If the restart fails, it will automatically roll back and cancel the upgrade.
1. After FineOps becomes accessible again, log in as the admin.
2. If the following message appears, wait for the upgrade to finish and keep FineOps open: "The FineOps upgrade is at the final step, and this page will be automatically refreshed after the upgrade is completed. Do not close FineOps during the upgrade!"
3. If the prompt in the previous step does not appear, you need to choose Platform Management > O&M Component and click One-Click Upgrade to upgrade other components.
1. Log in to FineOps as the admin.
2. Choose Platform Management > Update & Upgrade to view the version. The prompt "Already Latest Version" means the upgrade of FineOps is successful.
Problem Description
During the upgrade process, a Docker engine-related error is reported.
An error occurs (error message: can not update for non Finekey Docker) when you check the Docker version using the finekey command.
Cause Analysis
The versions of the Docker engine, FineOps, and the project's OPS Agent component must be compatible.
If you need to manually upgrade FineOps, you must ensure that the server where FineOps is located and the server where the connected project is located both support upgrading the Docker engine.
If FineKey detects that the system does not allow a Docker engine upgrade while executing the FineKey upgrade command, it reports an error and stops the upgrade.
Solution
1. Log in to the server where FineOps is located and each server where the connected projects are located, respectively.
2. Execute the command to upgrade the Docker engine.
./finekey engine --update
3. Start the upgrade again with the following command:
Notes
When FineOps is upgraded, the containers on any server where a Docker engine upgrade is triggered will restart.
This will affect end users using the platform and projects. You are advised to perform upgrades during non-working hours to minimize the impact on your business.
滑鼠選中內容,快速回饋問題
滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。
不再提示
10s後關閉
Submitted successfully
Network busy