匿名用户版本5.0
[root@gbase8c_10 script]# ./gs_preinstall -U omm -G dbgrp -X /opt/software/openGauss/cluster_config.xml
Parsing the configuration file.
Successfully parsed the configuration file.
Installing the tools on the local node.
Successfully installed the tools on the local node.
Are you sure you want to create trust for root (yes/no)?yes
Please enter password for root
Password:
下面是安装日志 (root用户的互信,无论是否已经做好了,都出现卡在---写远程主机名时候,)
第一次没做root用户的互信,卡在---写远程主机名时候
第2次做了root用户的互信,卡在---写远程主机名时候
more gs_preinstall-2025-10-21_143612.log
[2025-10-21 14:36:46.585952][14805][gs_sshexkey][DEBUG]:gs_sshexkey execution takes 11 steps in total
[2025-10-21 14:36:46.586092][14805][gs_sshexkey(getAllHosts:428)][gs_sshexkey][DEBUG][Step1]:Get hostnames for all nodes.
[2025-10-21 14:36:46.993909][14805][gs_sshexkey(getAllHosts:454)][gs_sshexkey][DEBUG][Step1]:Successfully get hostnames fo
r all nodes.
[2025-10-21 14:36:46.994038][14805][gs_sshexkey(_log:1396)][gs_sshexkey][LOG][Step2]:Checking network information.
[2025-10-21 14:36:51.043692][14805][gs_sshexkey][LOG]:All nodes in the network are Normal.
[2025-10-21 14:36:51.044138][14805][gs_sshexkey(_log:1396)][gs_sshexkey][LOG][Step2]:Successfully checked network informat
ion.
[2025-10-21 14:36:51.044489][14805][gs_sshexkey(_debug:1407)][gs_sshexkey][DEBUG][Step3]:Write local hostname and Ip into
/etc/hosts.
[2025-10-21 14:36:51.078602][14805][gs_sshexkey(_debug:1407)][gs_sshexkey][DEBUG][Step3]:Successfully write local hostname
and Ip into /etc/hosts.
[2025-10-21 14:36:51.083948][14805][gs_sshexkey(_debug:1407)][gs_sshexkey][DEBUG][Step4]:Write remote hostname and Ip into
/etc/hosts.
下面是配置文件
[root@gbase8c_10 om]# more /opt/software/openGauss/cluster_config.xml
<?xml version="1.0" encoding="utf-8"?>
<ROOT>
<CLUSTER>
<PARAM name="clusterName" value="cluster_dxj" />
<PARAM name="nodeNames" value="gbase8c_10,gbase8c_11"/>
<PARAM name="gaussdbAppPath" value="/opt/openGauss/app" />
<PARAM name="gaussdbLogPath" value="/opt/openGauss/log" />
<PARAM name="tmpMppdbPath" value="/opt/openGauss/tmp"/>
<PARAM name="gaussdbToolPath" value="/opt/openGauss/om" />
<PARAM name="corePath" value="/opt/openGauss/corefile"/>
<PARAM name="backIp1s" value="192.168.56.242,192.168.56.243"/>
</CLUSTER>
<DEVICELIST>
<DEVICE sn="gbase8c_10">
<PARAM name="name" value="gbase8c_10"/>
<PARAM name="azName" value="AZ1"/>
<PARAM name="azPriority" value="1"/>
<PARAM name="backIp1" value="192.168.56.242"/>
<PARAM name="sshIp1" value="192.168.56.242"/>
<!-- dn -->
<PARAM name="dataNum" value="1"/>
<PARAM name="dataPortBase" value="15400"/>
<PARAM name="dataNode1" value="/opt/openGauss/data/dn,gbase8c_11,/opt/openGauss/data/dn"/>
<PARAM name="dataNode1_syncNum" value="0"/>
</DEVICE>
<DEVICE sn="gbase8c_11">
<PARAM name="name" value="gbase8c_11"/>
<PARAM name="azName" value="AZ1"/>
<PARAM name="azPriority" value="1"/>
<PARAM name="backIp1" value="192.168.56.243"/>
<PARAM name="sshIp1" value="192.168.56.243"/>
</DEVICE>
</DEVICELIST>
</ROOT>
墨值悬赏

评论
