Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Rainbond 5.1.6 release supports how to install highly available clusters in public and private cloud environments

2025-02-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

This article mainly introduces how to install high availability clusters in public and private cloud environments when Rainbond 5.1.6 is released. It is very detailed and has certain reference value. Friends who are interested must finish reading it.

Highly available installation

In this version update, to make it easier for users to install Rainbond with high availability, we have made the following adjustments to the Rainbond installation script project:

The configuration of Ansible host list is changed from script maintenance to installation tools to obtain node data from the cluster for maintenance, so that the host list information can be expressed accurately.

Adjust the node role installation strategy to support flexible role combination installation and incremental role installation.

Adjust the deployment configuration parameters of some services to reduce the deployment failure rate in a resource-limited environment.

Change the API certificate issuing logic. By default, the public network IP address is used as the certificate issuing target.

Change the support policy of the external database to support Ali Cloud RDS database.

Based on the adjustment of the installation script, we provide two highly available installation documents for users' reference:

1. Install Rainbond platform based on Aliyun High availability

two。 High availability installation of Rainbond platform in private cloud environment

BUG repair

Fixed a problem where code cache directory conflicts caused some service construction failures in the era of batch multi-service construction.

Fixed a problem where some environment variables cannot be set due to a maximum storage limit of 256. change it to a maximum limit of 1024 goodrain/rainbond#338

Fixed the problem that goodrain/rainbond#352 could not set the account password due to the low limit of private username password when creating image service.

Fixed the problem that the mount path could not be modified by shared storage and local storage goodrain/rainbond#347

Fixed the problem that the performance analysis could not be performed when the performance analysis plug-in and the ingress network governance plug-in were turned on at the same time, goodrain/rainbond#318

Fixed a problem that caused incorrect use of resources by platform statistics tenants when Pod status error goodrain/rainbond#328

Fixed the problem of node collapse caused by the failure of node log collection module to obtain container metadata goodrain/rainbond#331

Fix the problem that the image cannot be upgraded horizontally by identifying the nth power of the limited memory value that is not 2 when creating the service. Goodrain/rainbond-console#186

Fixed an issue where failed builds in version management still provided upgrade options, goodrain/rainbond-console#207

Fixed loss of https configuration during gateway access policy editing goodrain/rainbond-ui#174

The Java class service builds the source setting, and changes the OracleJDK setting to a custom JDK setting, making it easy for users to diverge to use this feature. Goodrain/rainbond-ui#169

Fixed the problem of searching for installation from the application market and unable to install goodrain/rainbond-ui#166 in the convenient add component of the application management page

Fix the problem that the connection information of dependent services is not fully displayed, goodrain/rainbond-ui#171

Upgrade requirements and considerations for version upgrade

V5.1.6 supports upgrading from V5.1.2 to V5.1.6. If you have not already upgraded to V5.1.2, refer to the V5.1.x upgrade document and upgrade to V5.1.2 first:

Grctl version, for example, version 5.1.5 is shown as follows: Rainbond grctl v5.1.5-release-381a1da-2019-07-12-15

The upgrade process will restart the management service, so only the cluster of a single management node will temporarily affect the console operation. Please select a reasonable upgrade period.

The upgrade process script needs to obtain node data from the cluster, so be sure to upgrade under normal working conditions of the cluster.

Download the 5.1.6 update package

The image size of the offline package is about 1.3GB. You need to ensure that the free space of the current cluster disk is at least 2 GB.

# Rainbond component upgrade package wget https://pkg.rainbond.com/offline/5.1/rainbond.images.2019-08-11-5.1.6.tgz-O / grdata/services/offline/rainbond.images.upgrade.5.1.6.tgz# upgrade script package wget https://pkg.rainbond.com/offline/5.1/rainbond-ansible.upgrade.5.1.6.tgz-O / grdata/services/offline/rainbond-ansible.upgrade.5.1.6 The first management node of .tgz executes the following command to upgrade the platform rm-rf / tmp/rainbond-ansiblerm-rf / grdata/services/offline/upgrademkdir-p / tmp/rainbond-ansibletar xf / grdata/services/offline/rainbond-ansible.upgrade.5.1.6.tgz-C / tmp/rainbond-ansiblecd / tmp/rainbond-ansible/scripts/upgrade/bash. / upgrade.sh platform upgrade verification

Execute grctl cluster to make sure that all services and nodes are functioning properly

Grctl version confirms that the version has been upgraded to 5.1.6 and the running component image version is v5.1.6-release

Plug-in upgrade

The performance analysis plug-in has been updated in this version. After the platform has completed the upgrade, upgrade the plug-in as follows:

The management node executes the following command:

Docker pull rainbond/plugins-tcm:5.1.6docker tag rainbond/plugins-tcm:5.1.6 goodrain.me/tcmdocker push goodrain.me/tcm

Enter the platform, different teams enter the plug-in management, select the performance analysis plug-in, and click on the build plug-in.

Update the service that uses the current plug-in, and the plug-in will take effect.

These are all the contents of the article "Rainbond 5.1.6 release supports how to install highly available clusters in public and private cloud environments". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report