前置检查
- 以root用户进入上传软件包节点appctl.sh文件所在目录。
cd /data/docker-service
- 执行以下命令,进行安装前检查。未配置节点互信的情况下,请根据提示输入root密码。
如果是SUSE操作系统,在执行前置检查的命令前,需要执行以下命令替换前置检查脚本。
\cp -af /data/docker-service/action/mainAction/precheck.sh.suse /data/docker-service/action/mainAction/precheck.sh
sh appctl.sh precheck
回显如下,说明前置检查通过。
*** CHECK BASE SETTINGS *** check python | OK check jdk | OK check net tools | OK check expect | OK check secc | OK: Installed secc. check libcgroup | OK: Installed libcgroup. check dos2unix | OK: Installed dos2unix. check custom dir | OK check install mode | OK: HA mode. check IP format | OK check net condition | OK start check node authentication node not support auto authentication, will input root password 请输入root用户密码: check node authentication success. Now scp precheck files... scp precheck files done Now doing precheck for 192.168.0.175 Now doing precheck for 192.168.0.140 Now doing precheck for 192.168.0.243 [WARNING]-[check_drs]===>[192.168.0.140: The switch of use_cgroup is no.You are not allow to install drs together on this machine.] [WARNING]-[check_dir_total]===>[192.168.0.140: all directory are not belong to same top directory, the check of directory mem size may be incorrect.] [WARNING]-[check_dir_mount]===>[192.168.0.140: /opt/cloud was not mounted.] [WARNING]-[check_dir_mount]===>[192.168.0.140: /opt/cloud/logs was not mounted.] [WARNING]-[check_dir_mount]===>[192.168.0.140: /opt/docker was not mounted.] [WARNING]-[check_dir_mount]===>[192.168.0.140: /opt/gaussdb was not mounted.] [WARNING]-[check_dir_mount]===>[192.168.0.140: /opt/influxdb was not mounted.] [WARNING]-[check_users]===>[192.168.0.140: [service sftpservice] will be used, if the users already exists, we will delete the user before creating it.] [WARNING]-[check_drs]===>[192.168.0.175: The switch of use_cgroup is no.You are not allow to install drs together on this machine.] [WARNING]-[check_dir_total]===>[192.168.0.175: all directory are not belong to same top directory, the check of directory mem size may be incorrect.] [WARNING]-[check_dir_mount]===>[192.168.0.175: /opt/cloud was not mounted.] [WARNING]-[check_dir_mount]===>[192.168.0.175: /opt/cloud/logs was not mounted.] [WARNING]-[check_dir_mount]===>[192.168.0.175: /opt/docker was not mounted.] [WARNING]-[check_dir_mount]===>[192.168.0.175: /opt/gaussdb was not mounted.] [WARNING]-[check_dir_mount]===>[192.168.0.175: /opt/influxdb was not mounted.] [WARNING]-[check_users]===>[192.168.0.175: [service sftpservice] will be used, if the users already exists, we will delete the user before creating it.] [WARNING]-[check_drs]===>[192.168.0.243: The switch of use_cgroup is no.You are not allow to install drs together on this machine. [WARNING]-[check_dir_total]===>[192.168.0.243: all directory are not belong to same top directory, the check of directory mem size may be incorrect.] [WARNING]-[check_dir_mount]===>[192.168.0.243: /opt/cloud was not mounted.] [WARNING]-[check_dir_mount]===>[192.168.0.243: /opt/cloud/logs was not mounted.] [WARNING]-[check_dir_mount]===>[192.168.0.243: /opt/docker was not mounted.] [WARNING]-[check_dir_mount]===>[192.168.0.243: /opt/gaussdb was not mounted.] [WARNING]-[check_users]===>[192.168.0.243: [service sftpservice] will be used, if the users already exists, we will delete the user before creating it.] Precheck all completed.
前置检查回显中,[WARNING]级别消息为提示消息,不会阻塞安装。[ERROR]级别消息为错误消息,需要解决所有ERROR消息后,再进行安装。
ERROR信息处理可参考前置检查报错处理。
浙公网安备 33010602011771号