Category: Rancher 1.6.13
-
Post Views: 14 1. All Rancher environment variables at this stage have no default values, so they must be clearly set in the Rancher environment variables, as shown in Figure 1 2. The configuration file of the previous environment variable, if the environment variable is not set: channel_pub_api_cfg_db_table_pr efix, then set its default value to: channel_pub_api_cfg_db_table_prefix, that is, its value…
-
Post Views: 40 1. When the RAncher container is upgraded, execute the shell script error: sed: -e expression #1, char 37: unknown option to `s, as shown in Figure 1 2. The value of the environment variable CMCP_API_CFG_REdis_password is q5dhp@xcbuujy^L, which leads to the failure of the upgrade, and the value is changed to q5dhp@xcbuujyl, remove the ^ symbol, upgrade…
-
Post Views: 14 1. The current upgrade plan, after the Rancher container is upgraded, enter the Docker container and run it in sequence on the command line: 2. The problem with the current upgrade plan is that sometimes after the Rancher container is upgraded, the operation and maintenance personnel need to paste and run at least 2 commands in each…
-
Post Views: 15 1. Execute the initialization command in Windows 10, set the directory permissions of all applications, normal (14 lines in total), as shown in Figure 1 2. Execute the initialization command in CentOS 7.2, the directory permissions under some applications are not set, abnormal (8 lines in total), as shown in Figure 2 3. Enter the /api directory…
-
Post Views: 15 1. Supervisor is a small system that can manage and monitor various processes in UNIX-like systems. The configuration file of supervisor is a Windows-ini style (Python ConfigParser) file. 2. The program configuration item of the configuration file of Supervisor 3. Create a new \build\c_files\etc\supervisord.d\yii-task-submit.ini, as shown in Figure 1 4. StopWaitSecs, after the program sends a stop…
-
Post Views: 14 1. When there is an environment variable, the replacement is not performed, the variable in the file /etc/nginx/conf.d/pcs.conf is not replaced, and there is a replacement record in /config/init/change.log, as shown in Figure 1 2. Check the container log, report an error: sed: couldnT open file ww/pcs/build/config.js: No such file or directory 3. pcs_cfg_callback_login=https://cmclogin.chinamcloud.com/login/index?call_back=http://wjdev2.chinamcloud.com:8657/#/topic/add, there is #…
-
Post Views: 15 1, \build\c_files\config\init\config0.sh, replace the shell script of environment variables 2. When upgrading, the system source ID of the parameters uploaded by the CP upload is missing, and the boot container fails, as shown in Figure 1 3. Edit \build\c_files\config\init\config0.sh, and replace the shell script of the environment variable. When an environment variable exists, the replacement operation is…
-
Post Views: 13 1. View the \build\c_files\config\init\config0.sh file 2. In the Rancher environment variable, the values of pcs_api_cfg_cpu_params_xcontent, pcs_api_cfg_cpu_params_pcs are Chinese, as shown in Figure 1 3. After the upgrade is completed, go to the container to check, and find that the variables in the configuration file have not been replaced, as shown in Figure 2 4. Edit the \build\c_files\config\init\config0.sh…