zhangzj  发表于 2018-5-30 12:43 | 显示全部楼层 楼主
172.16.0.199  gbase0
172.16.0.201  gbase1
172.16.0.200  gbase2
OS为centos 7.3,4G/2C
按照"GBase 8a MPP Cluster安装手册.pdf"进行安装,没有修改内核参数
# sysctl -p
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
vm.swappiness = 1
net.ipv4.neigh.default.gc_stale_time = 120
net.ipv4.conf.all.rp_filter = 0
net.ipv4.conf.default.rp_filter = 0
net.ipv4.conf.default.arp_announce = 2
net.ipv4.conf.lo.arp_announce = 2
net.ipv4.conf.all.arp_announce = 2
net.ipv4.tcp_max_tw_buckets = 20000
net.ipv4.tcp_syncookies = 1
net.ipv4.tcp_max_syn_backlog = 262144
net.ipv4.tcp_synack_retries = 2
kernel.sysrq = 1
kernel.core_uses_pid = 1
net.core.netdev_max_backlog = 262144
net.core.rmem_default = 8388608
net.core.rmem_max = 16777216
sysctl: setting key "net.core.somaxconn": Invalid argument
net.core.somaxconn = 262144
net.core.wmem_default = 8388608
net.core.wmem_max = 16777216
net.ipv4.ip_local_port_range = 6005 65535
net.ipv4.tcp_fin_timeout = 1
net.ipv4.tcp_max_orphans = 3276800
net.ipv4.tcp_mem = 94500000 915000000 927000000
net.ipv4.tcp_rmem = 4096 87380 4194304
net.ipv4.tcp_sack = 1
net.ipv4.ip_local_reserved_ports = 5050,5258,5288,6666,6268
net.ipv4.tcp_timestamps = 0
net.ipv4.tcp_tw_recycle = 1
net.ipv4.tcp_tw_reuse = 1
net.ipv4.tcp_window_scaling = 1
net.ipv4.tcp_wmem = 4096 16384 4194304
vm.vfs_cache_pressure = 1024
vm.overcommit_memory = 0
vm.zone_reclaim_mode = 0
vm.max_map_count = 242620
vm.min_free_kbytes = 388192

vi demo.options
installPrefix= /opt
coordinateHost = 172.16.0.199,172.16.0.201,172.16.0.200
dataHost = 172.16.0.199,172.16.0.201,172.16.0.200
#existCoordinateHost =
#existDataHost =
dbaUser = gbase
dbaGroup = gbase
dbaPwd = 'gbase'
rootPwd = '1qaz@WSX'
dbRootPwd = ''
#mcastAddr = 226.94.1.39
mcastPort = 5493

安装时报错:
2018-05-30 10:55:24,333-root-ERROR
2018-05-30 10:55:24,333-root-ERROR sed: can't read /etc/sysconfig/ulimit: No such file or directory
2018-05-30 10:55:24,333-root-ERROR
2018-05-30 10:55:24,333-root-DEBUG sed -i "s/\(^SOFTFDLIMIT.*\)/\(SOFTFDLIMIT=\"655360\"\)/g" /etc/sysconfig/ulimit
2018-05-30 10:55:24,335-root-ERROR
2018-05-30 10:55:24,336-root-ERROR sed: can't read /etc/sysconfig/ulimit: No such file or directory
2018-05-30 10:55:24,336-root-ERROR
2018-05-30 10:55:24,346-root-DEBUG echo "`grep MemTotal /proc/meminfo | awk '{printf "%.0f",$2}'`/10" | bc
2018-05-30 10:55:24,350-root-DEBUG /sbin/sysctl -w vm.min_free_kbytes=388192
2018-05-30 10:55:24,353-root-DEBUG sed -i.bck -e 's/^\(\s*vm\.min_free_kbytes.*\)/#\1 #Commented out by gcluster/g' /etc/sysctl.conf
2018-05-30 10:55:24,356-root-DEBUG echo vm\.min_free_kbytes = 388192 >> /etc/sysctl.conf
2018-05-30 10:55:24,358-root-DEBUG su - gbase -c "ulimit -m"
2018-05-30 10:55:24,380-root-INFO unlimited
2018-05-30 10:55:24,380-root-DEBUG su - gbase -c "ulimit -v"
2018-05-30 10:55:24,401-root-INFO unlimited
2018-05-30 10:55:24,401-root-DEBUG make /etc/sysconfig/gbase
2018-05-30 10:55:24,401-root-DEBUG free -g |awk '/^Mem/{print $2}'
2018-05-30 10:55:24,405-root-DEBUG chmod 644 /etc/sysconfig/gbase
2018-05-30 10:55:24,407-root-INFO extractall coordinate files.
2018-05-30 10:55:24,407-root-DEBUG tar -jxf /opt/bundle.tar.bz2 -C /opt gcluster rpms >/dev/null 2>&1
2018-05-30 10:55:24,411-root-ERROR
2018-05-30 10:55:24,411-root-ERROR
zhangzj  发表于 2018-5-30 12:45 | 显示全部楼层 沙发
1.系统并没有/etc/sysconfig/ulimit文件
2.另外,日志中:
2018-05-30 10:55:24,411-root-ERROR
2018-05-30 10:55:24,411-root-ERROR
没有提示错误详细信息,有没有日志级别的设置?
grander  发表于 2018-5-30 14:26 | 显示全部楼层 板凳
zhangzj 发表于 2018-5-30 12:45
1.系统并没有/etc/sysconfig/ulimit文件
2.另外,日志中:
2018-05-30 10:55:24,411-root-ERROR

把完整的安装日志gcinstall.log和/tmp/InstallTar.log附上看一下
zhangzj  发表于 2018-5-30 14:33 | 显示全部楼层 地板
gcinstall.log信息:
2018-05-30 10:54:46,599-root-DEBUG chmod 766 /root/software/gcinstall/gcinstall.log
2018-05-30 10:54:48,185-root-INFO Start PrepareInstall
2018-05-30 10:54:48,186-root-INFO Checking environment on host 172.16.0.199
2018-05-30 10:54:48,186-root-INFO Checking environment on host 172.16.0.201
2018-05-30 10:54:48,192-root-INFO Checking environment on host 172.16.0.200
2018-05-30 10:54:49,028-root-INFO Path(/opt) exists on host 172.16.0.200.
2018-05-30 10:54:49,032-root-INFO Path(/opt) exists on host 172.16.0.199.
2018-05-30 10:54:49,058-root-INFO Path(/opt) exists on host 172.16.0.201.
2018-05-30 10:54:49,129-root-INFO Path(/opt/gcluster) not exists on host 172.16.0.200.
2018-05-30 10:54:49,133-root-INFO Path(/opt/gcluster) not exists on host 172.16.0.199.
2018-05-30 10:54:49,159-root-INFO Path(/opt/gcluster) not exists on host 172.16.0.201.
2018-05-30 10:54:49,230-root-INFO Path(/opt/gnode) not exists on host 172.16.0.200.
2018-05-30 10:54:49,230-root-INFO 172.16.0.200 is Data?, True
2018-05-30 10:54:49,230-root-INFO 172.16.0.200 is IsCoordinator?, True
2018-05-30 10:54:49,230-root-INFO 172.16.0.200 is IsExistsCoordinator?, False
2018-05-30 10:54:49,230-root-INFO 172.16.0.200 is IsExistsData?, False
2018-05-30 10:54:49,230-root-INFO 172.16.0.200 is IsPrefixExist?, True
2018-05-30 10:54:49,230-root-INFO 172.16.0.200 is IsGCExist?, False
2018-05-30 10:54:49,230-root-INFO 172.16.0.200 is IsGNExist?, False
2018-05-30 10:54:49,234-root-INFO Path(/opt/gnode) not exists on host 172.16.0.199.
2018-05-30 10:54:49,234-root-INFO 172.16.0.199 is Data?, True
2018-05-30 10:54:49,234-root-INFO 172.16.0.199 is IsCoordinator?, True
2018-05-30 10:54:49,234-root-INFO 172.16.0.199 is IsExistsCoordinator?, False
2018-05-30 10:54:49,234-root-INFO 172.16.0.199 is IsExistsData?, False
2018-05-30 10:54:49,234-root-INFO 172.16.0.199 is IsPrefixExist?, True
2018-05-30 10:54:49,234-root-INFO 172.16.0.199 is IsGCExist?, False
2018-05-30 10:54:49,234-root-INFO 172.16.0.199 is IsGNExist?, False
2018-05-30 10:54:49,260-root-INFO Path(/opt/gnode) not exists on host 172.16.0.201.
2018-05-30 10:54:49,260-root-INFO 172.16.0.201 is Data?, True
2018-05-30 10:54:49,261-root-INFO 172.16.0.201 is IsCoordinator?, True
2018-05-30 10:54:49,261-root-INFO 172.16.0.201 is IsExistsCoordinator?, False
2018-05-30 10:54:49,261-root-INFO 172.16.0.201 is IsExistsData?, False
2018-05-30 10:54:49,261-root-INFO 172.16.0.201 is IsPrefixExist?, True
2018-05-30 10:54:49,261-root-INFO 172.16.0.201 is IsGCExist?, False
2018-05-30 10:54:49,261-root-INFO 172.16.0.201 is IsGNExist?, False
2018-05-30 10:54:49,463-root-DEBUG id -nu
2018-05-30 10:54:49,467-root-DEBUG id -ng
2018-05-30 10:54:49,470-root-INFO coordinateHost ?: ['172.16.0.199', '172.16.0.201', '172.16.0.200']
2018-05-30 10:54:49,470-root-INFO existCoordinateHost ?: []
2018-05-30 10:54:49,470-root-INFO dataHost ?: ['172.16.0.199', '172.16.0.201', '172.16.0.200']
2018-05-30 10:54:49,470-root-INFO existDataHost ?: []
2018-05-30 10:54:49,470-root-INFO upgrade ?: False
2018-05-30 10:54:49,470-root-INFO localHost ?: 172.16.0.199
2018-05-30 10:54:49,470-root-INFO IsFederal ?: True
2018-05-30 10:54:49,470-root-INFO dependRpms ?: ['libuuid', 'apr', 'libxml2', 'expat', 'libstdc++', 'libgcc', 'nss', 'xz-libs', 'openssl-libs', 'pcre', 'libssh2', 'boost-system', 'keyutils-libs', 'glibc', 'fontconfig', 'nss-softokn-freebl', 'freetype', 'libidn', 'ncurses-libs', 'libcom_err', 'openldap', 'readline', 'cyrus-sasl-lib', 'libcurl', 'nspr', 'zlib', 'krb5-libs', 'nss-util', 'libselinux', 'boost-filesystem']
2018-05-30 10:54:49,470-root-DEBUG ping -c 1 -w 1 172.16.0.199
2018-05-30 10:54:49,473-root-DEBUG ping -c 1 -w 1 172.16.0.201
2018-05-30 10:54:49,477-root-DEBUG ping -c 1 -w 1 172.16.0.200
2018-05-30 10:54:49,480-root-DEBUG ping -c 1 -w 1 172.16.0.199
2018-05-30 10:54:49,483-root-DEBUG ping -c 1 -w 1 172.16.0.201
2018-05-30 10:54:49,486-root-DEBUG ping -c 1 -w 1 172.16.0.200
2018-05-30 10:54:49,489-root-DEBUG ping -c 1 -w 1 172.16.0.199
2018-05-30 10:54:49,492-root-DEBUG ping -c 1 -w 1 172.16.0.201
2018-05-30 10:54:49,495-root-DEBUG ping -c 1 -w 1 172.16.0.200
2018-05-30 10:54:50,298-root-DEBUG 172.16.0.199: Wed May 30 10:54:50 CST 2018
2018-05-30 10:54:50,364-root-DEBUG 172.16.0.201: Wed May 30 10:54:50 CST 2018
2018-05-30 10:54:50,369-root-DEBUG 172.16.0.200: Wed May 30 10:54:50 CST 2018
2018-05-30 10:54:51,278-root-DEBUG Execute cmd(id -nu gbase) on 172.16.0.199.
2018-05-30 10:54:51,321-root-DEBUG Execute cmd(id -nu gbase) on 172.16.0.201.
2018-05-30 10:54:51,343-root-DEBUG Execute cmd(id -nu gbase) on 172.16.0.200.
2018-05-30 10:54:51,381-root-DEBUG 172.16.0.199: gbase
2018-05-30 10:54:51,424-root-DEBUG 172.16.0.201: gbase
2018-05-30 10:54:51,445-root-DEBUG 172.16.0.200: gbase
2018-05-30 10:54:54,638-root-WARNING local variable 'JA' referenced before assignment
2018-05-30 10:54:54,638-root-DEBUG cat /opt/gcluster/config/gbase_8a_gcluster.cnf | grep ^datadir
2018-05-30 10:54:54,643-root-ERROR
2018-05-30 10:54:54,643-root-ERROR cat: /opt/gcluster/config/gbase_8a_gcluster.cnf: No such file or directory

2018-05-30 10:54:55,379-root-DEBUG Execute cmd(mkdir -p /opt) on 172.16.0.200.
2018-05-30 10:54:55,400-root-DEBUG Execute cmd(mkdir -p /opt) on 172.16.0.199.
2018-05-30 10:54:55,406-root-DEBUG Execute cmd(mkdir -p /opt) on 172.16.0.201.
2018-05-30 10:54:55,481-root-DEBUG 172.16.0.200:
2018-05-30 10:54:55,502-root-DEBUG 172.16.0.199:
2018-05-30 10:54:55,508-root-DEBUG 172.16.0.201:
2018-05-30 10:54:56,391-root-DEBUG Execute cmd(export LC_ALL='en_US.UTF-8';export LANG='en_US.UTF-8';df -P -k /tmp | grep -v 'Filesystem' | sed 's/ \{1,\}/ /g') on 172.16.0.199.
2018-05-30 10:54:56,470-root-DEBUG Execute cmd(export LC_ALL='en_US.UTF-8';export LANG='en_US.UTF-8';df -P -k /tmp | grep -v 'Filesystem' | sed 's/ \{1,\}/ /g') on 172.16.0.201.
2018-05-30 10:54:56,479-root-DEBUG Execute cmd(export LC_ALL='en_US.UTF-8';export LANG='en_US.UTF-8';df -P -k /tmp | grep -v 'Filesystem' | sed 's/ \{1,\}/ /g') on 172.16.0.200.
2018-05-30 10:54:56,495-root-DEBUG 172.16.0.199: /dev/vda1 41151808 1841252 37197124 5% /
2018-05-30 10:54:56,574-root-DEBUG 172.16.0.201: /dev/vda1 41151808 1718376 37320000 5% /
2018-05-30 10:54:56,582-root-DEBUG 172.16.0.200: /dev/vda1 41151808 1718380 37319996 5% /
2018-05-30 10:54:56,785-root-INFO  
2018-05-30 10:54:56,785-root-INFO Disk Space Free
2018-05-30 10:54:56,785-root-INFO [172.16.0.199]    37197124 K
2018-05-30 10:54:56,785-root-INFO [172.16.0.201]    37320000 K
2018-05-30 10:54:56,785-root-INFO [172.16.0.200]    37319996 K
2018-05-30 10:54:56,785-root-INFO  
2018-05-30 10:54:57,522-root-DEBUG Execute cmd(export LC_ALL='en_US.UTF-8';export LANG='en_US.UTF-8';df -P -k /usr | grep -v 'Filesystem' | sed 's/ \{1,\}/ /g') on 172.16.0.200.
2018-05-30 10:54:57,533-root-DEBUG Execute cmd(export LC_ALL='en_US.UTF-8';export LANG='en_US.UTF-8';df -P -k /usr | grep -v 'Filesystem' | sed 's/ \{1,\}/ /g') on 172.16.0.199.
2018-05-30 10:54:57,556-root-DEBUG Execute cmd(export LC_ALL='en_US.UTF-8';export LANG='en_US.UTF-8';df -P -k /usr | grep -v 'Filesystem' | sed 's/ \{1,\}/ /g') on 172.16.0.201.
2018-05-30 10:54:57,626-root-DEBUG 172.16.0.200: /dev/vda1 41151808 1718388 37319988 5% /
2018-05-30 10:54:57,636-root-DEBUG 172.16.0.199: /dev/vda1 41151808 1841264 37197112 5% /
2018-05-30 10:54:57,660-root-DEBUG 172.16.0.201: /dev/vda1 41151808 1718388 37319988 5% /
2018-05-30 10:54:57,862-root-INFO  
2018-05-30 10:54:57,862-root-INFO Disk Space Free
2018-05-30 10:54:57,862-root-INFO [172.16.0.199]    37197112 K
2018-05-30 10:54:57,862-root-INFO [172.16.0.201]    37319988 K
2018-05-30 10:54:57,862-root-INFO [172.16.0.200]    37319988 K
2018-05-30 10:54:57,863-root-INFO  
zhangzj  发表于 2018-5-30 14:35 | 显示全部楼层 5#

gcinstall.log信息
2018-05-30 10:54:58,555-root-DEBUG Execute cmd(export LC_ALL='en_US.UTF-8';export LANG='en_US.UTF-8';df -P -k /opt | grep -v 'Filesystem' | sed 's/ \{1,\}/ /g') on 172.16.0.199.
2018-05-30 10:54:58,623-root-DEBUG Execute cmd(export LC_ALL='en_US.UTF-8';export LANG='en_US.UTF-8';df -P -k /opt | grep -v 'Filesystem' | sed 's/ \{1,\}/ /g') on 172.16.0.200.
2018-05-30 10:54:58,633-root-DEBUG Execute cmd(export LC_ALL='en_US.UTF-8';export LANG='en_US.UTF-8';df -P -k /opt | grep -v 'Filesystem' | sed 's/ \{1,\}/ /g') on 172.16.0.201.
2018-05-30 10:54:58,658-root-DEBUG 172.16.0.199: /dev/vda1 41151808 1841280 37197096 5% /
2018-05-30 10:54:58,727-root-DEBUG 172.16.0.200: /dev/vda1 41151808 1718396 37319980 5% /
2018-05-30 10:54:58,737-root-DEBUG 172.16.0.201: /dev/vda1 41151808 1718396 37319980 5% /
2018-05-30 10:54:58,939-root-INFO  
2018-05-30 10:54:58,939-root-INFO Disk Space Free
2018-05-30 10:54:58,940-root-INFO [172.16.0.199]    37197096 K
2018-05-30 10:54:58,940-root-INFO [172.16.0.201]    37319980 K
2018-05-30 10:54:58,940-root-INFO [172.16.0.200]    37319980 K
2018-05-30 10:54:58,940-root-INFO  
2018-05-30 10:54:58,940-root-DEBUG chmod 777 GetOSType.py
2018-05-30 10:55:17,533-root-INFO Start StartInstallThread
2018-05-30 10:55:17,533-root-INFO Start install on host 172.16.0.199
2018-05-30 10:55:17,535-root-INFO Start install on host 172.16.0.201
2018-05-30 10:55:17,537-root-INFO Start install on host 172.16.0.200
2018-05-30 10:55:18,216-root-INFO Copying data files to host 172.16.0.199
2018-05-30 10:55:18,216-root-DEBUG chmod 777 /root/software/gcinstall/172.16.0.199.options
2018-05-30 10:55:18,298-root-INFO Copying data files to host 172.16.0.201
2018-05-30 10:55:18,299-root-DEBUG chmod 777 /root/software/gcinstall/172.16.0.201.options
2018-05-30 10:55:18,303-root-INFO Copying data files to host 172.16.0.200
2018-05-30 10:55:18,303-root-DEBUG chmod 777 /root/software/gcinstall/172.16.0.200.options
2018-05-30 10:55:18,695-root-INFO Copying /root/software/gcinstall/InstallTar.py to host 172.16.0.199:/opt
2018-05-30 10:55:18,781-root-INFO Copying /root/software/gcinstall/InstallTar.py to host 172.16.0.201:/opt
2018-05-30 10:55:18,811-root-INFO Copying /root/software/gcinstall/InstallTar.py to host 172.16.0.200:/opt
2018-05-30 10:55:19,121-root-INFO Copying /root/software/gcinstall/InstallFuns.py to host 172.16.0.199:/opt
2018-05-30 10:55:19,263-root-INFO Copying /root/software/gcinstall/InstallFuns.py to host 172.16.0.201:/opt
2018-05-30 10:55:19,290-root-INFO Copying /root/software/gcinstall/InstallFuns.py to host 172.16.0.200:/opt
2018-05-30 10:55:19,564-root-INFO Copying /root/software/gcinstall/rmt.py to host 172.16.0.199:/opt
2018-05-30 10:55:19,742-root-INFO Copying /root/software/gcinstall/rmt.py to host 172.16.0.201:/opt
2018-05-30 10:55:19,777-root-INFO Copying /root/software/gcinstall/rmt.py to host 172.16.0.200:/opt
2018-05-30 10:55:20,032-root-INFO Copying /root/software/gcinstall/SSHThread.py to host 172.16.0.199:/opt
2018-05-30 10:55:20,239-root-INFO Copying /root/software/gcinstall/SSHThread.py to host 172.16.0.201:/opt
2018-05-30 10:55:20,249-root-INFO Copying /root/software/gcinstall/SSHThread.py to host 172.16.0.200:/opt
2018-05-30 10:55:20,533-root-INFO Copying /root/software/gcinstall/RestoreLocal.py to host 172.16.0.199:/opt
2018-05-30 10:55:20,725-root-INFO Copying /root/software/gcinstall/RestoreLocal.py to host 172.16.0.200:/opt
2018-05-30 10:55:20,750-root-INFO Copying /root/software/gcinstall/RestoreLocal.py to host 172.16.0.201:/opt
2018-05-30 10:55:21,031-root-INFO Copying /root/software/gcinstall/pexpect.py to host 172.16.0.199:/opt
2018-05-30 10:55:21,221-root-INFO Copying /root/software/gcinstall/pexpect.py to host 172.16.0.200:/opt
2018-05-30 10:55:21,228-root-INFO Copying /root/software/gcinstall/pexpect.py to host 172.16.0.201:/opt
2018-05-30 10:55:21,501-root-INFO Copying /root/software/gcinstall/BUILDINFO to host 172.16.0.199:/opt
2018-05-30 10:55:21,712-root-INFO Copying /root/software/gcinstall/BUILDINFO to host 172.16.0.200:/opt
2018-05-30 10:55:21,734-root-INFO Copying /root/software/gcinstall/BUILDINFO to host 172.16.0.201:/opt
2018-05-30 10:55:22,006-root-INFO Copying /root/software/gcinstall/bundle.tar.bz2 to host 172.16.0.199:/opt
2018-05-30 10:55:22,183-root-INFO Copying /root/software/gcinstall/bundle.tar.bz2 to host 172.16.0.200:/opt
2018-05-30 10:55:22,226-root-INFO Copying /root/software/gcinstall/bundle.tar.bz2 to host 172.16.0.201:/opt
2018-05-30 10:55:22,957-root-INFO Copying /root/software/gcinstall/bundle_data.tar.bz2 to host 172.16.0.199:/opt
2018-05-30 10:55:23,120-root-INFO Copying /root/software/gcinstall/bundle_data.tar.bz2 to host 172.16.0.200:/opt
2018-05-30 10:55:23,150-root-INFO Copying /root/software/gcinstall/bundle_data.tar.bz2 to host 172.16.0.201:/opt
2018-05-30 10:55:23,444-root-INFO Copy data files to host 172.16.0.199 successfully.
2018-05-30 10:55:23,444-root-INFO Installing gcluster.
2018-05-30 10:55:23,445-root-INFO send cmd: /usr/bin/python /opt/InstallTar.py --silent=/opt/172.16.0.199.options --IsCoordinator --IsData
2018-05-30 10:55:23,570-root-INFO Copy data files to host 172.16.0.200 successfully.
zhangzj  发表于 2018-5-30 14:36 | 显示全部楼层 6#
2018-05-30 10:54:58,555-root-DEBUG Execute cmd(export LC_ALL='en_US.UTF-8';export LANG='en_US.UTF-8';df -P -k /opt | grep -v 'Filesystem' | sed 's/ \{1,\}/ /g') on 172.16.0.199.
2018-05-30 10:54:58,623-root-DEBUG Execute cmd(export LC_ALL='en_US.UTF-8';export LANG='en_US.UTF-8';df -P -k /opt | grep -v 'Filesystem' | sed 's/ \{1,\}/ /g') on 172.16.0.200.
2018-05-30 10:54:58,633-root-DEBUG Execute cmd(export LC_ALL='en_US.UTF-8';export LANG='en_US.UTF-8';df -P -k /opt | grep -v 'Filesystem' | sed 's/ \{1,\}/ /g') on 172.16.0.201.
2018-05-30 10:54:58,658-root-DEBUG 172.16.0.199: /dev/vda1 41151808 1841280 37197096 5% /
2018-05-30 10:54:58,727-root-DEBUG 172.16.0.200: /dev/vda1 41151808 1718396 37319980 5% /
2018-05-30 10:54:58,737-root-DEBUG 172.16.0.201: /dev/vda1 41151808 1718396 37319980 5% /
2018-05-30 10:54:58,939-root-INFO  
2018-05-30 10:54:58,939-root-INFO Disk Space Free
2018-05-30 10:54:58,940-root-INFO [172.16.0.199]    37197096 K
2018-05-30 10:54:58,940-root-INFO [172.16.0.201]    37319980 K
2018-05-30 10:54:58,940-root-INFO [172.16.0.200]    37319980 K
2018-05-30 10:54:58,940-root-INFO  
2018-05-30 10:54:58,940-root-DEBUG chmod 777 GetOSType.py
2018-05-30 10:55:17,533-root-INFO Start StartInstallThread
2018-05-30 10:55:17,533-root-INFO Start install on host 172.16.0.199
2018-05-30 10:55:17,535-root-INFO Start install on host 172.16.0.201
2018-05-30 10:55:17,537-root-INFO Start install on host 172.16.0.200
2018-05-30 10:55:18,216-root-INFO Copying data files to host 172.16.0.199
2018-05-30 10:55:18,216-root-DEBUG chmod 777 /root/software/gcinstall/172.16.0.199.options
2018-05-30 10:55:18,298-root-INFO Copying data files to host 172.16.0.201
2018-05-30 10:55:18,299-root-DEBUG chmod 777 /root/software/gcinstall/172.16.0.201.options
2018-05-30 10:55:18,303-root-INFO Copying data files to host 172.16.0.200
2018-05-30 10:55:18,303-root-DEBUG chmod 777 /root/software/gcinstall/172.16.0.200.options
2018-05-30 10:55:18,695-root-INFO Copying /root/software/gcinstall/InstallTar.py to host 172.16.0.199:/opt
2018-05-30 10:55:18,781-root-INFO Copying /root/software/gcinstall/InstallTar.py to host 172.16.0.201:/opt
2018-05-30 10:55:18,811-root-INFO Copying /root/software/gcinstall/InstallTar.py to host 172.16.0.200:/opt
2018-05-30 10:55:19,121-root-INFO Copying /root/software/gcinstall/InstallFuns.py to host 172.16.0.199:/opt
2018-05-30 10:55:19,263-root-INFO Copying /root/software/gcinstall/InstallFuns.py to host 172.16.0.201:/opt
2018-05-30 10:55:19,290-root-INFO Copying /root/software/gcinstall/InstallFuns.py to host 172.16.0.200:/opt
2018-05-30 10:55:19,564-root-INFO Copying /root/software/gcinstall/rmt.py to host 172.16.0.199:/opt
2018-05-30 10:55:19,742-root-INFO Copying /root/software/gcinstall/rmt.py to host 172.16.0.201:/opt
2018-05-30 10:55:19,777-root-INFO Copying /root/software/gcinstall/rmt.py to host 172.16.0.200:/opt
2018-05-30 10:55:20,032-root-INFO Copying /root/software/gcinstall/SSHThread.py to host 172.16.0.199:/opt
2018-05-30 10:55:20,239-root-INFO Copying /root/software/gcinstall/SSHThread.py to host 172.16.0.201:/opt
2018-05-30 10:55:20,249-root-INFO Copying /root/software/gcinstall/SSHThread.py to host 172.16.0.200:/opt
2018-05-30 10:55:20,533-root-INFO Copying /root/software/gcinstall/RestoreLocal.py to host 172.16.0.199:/opt
2018-05-30 10:55:20,725-root-INFO Copying /root/software/gcinstall/RestoreLocal.py to host 172.16.0.200:/opt
2018-05-30 10:55:20,750-root-INFO Copying /root/software/gcinstall/RestoreLocal.py to host 172.16.0.201:/opt
2018-05-30 10:55:21,031-root-INFO Copying /root/software/gcinstall/pexpect.py to host 172.16.0.199:/opt
2018-05-30 10:55:21,221-root-INFO Copying /root/software/gcinstall/pexpect.py to host 172.16.0.200:/opt
2018-05-30 10:55:21,228-root-INFO Copying /root/software/gcinstall/pexpect.py to host 172.16.0.201:/opt
2018-05-30 10:55:21,501-root-INFO Copying /root/software/gcinstall/BUILDINFO to host 172.16.0.199:/opt
2018-05-30 10:55:21,712-root-INFO Copying /root/software/gcinstall/BUILDINFO to host 172.16.0.200:/opt
2018-05-30 10:55:21,734-root-INFO Copying /root/software/gcinstall/BUILDINFO to host 172.16.0.201:/opt
2018-05-30 10:55:22,006-root-INFO Copying /root/software/gcinstall/bundle.tar.bz2 to host 172.16.0.199:/opt
2018-05-30 10:55:22,183-root-INFO Copying /root/software/gcinstall/bundle.tar.bz2 to host 172.16.0.200:/opt
2018-05-30 10:55:22,226-root-INFO Copying /root/software/gcinstall/bundle.tar.bz2 to host 172.16.0.201:/opt
2018-05-30 10:55:22,957-root-INFO Copying /root/software/gcinstall/bundle_data.tar.bz2 to host 172.16.0.199:/opt
2018-05-30 10:55:23,120-root-INFO Copying /root/software/gcinstall/bundle_data.tar.bz2 to host 172.16.0.200:/opt
2018-05-30 10:55:23,150-root-INFO Copying /root/software/gcinstall/bundle_data.tar.bz2 to host 172.16.0.201:/opt
2018-05-30 10:55:23,444-root-INFO Copy data files to host 172.16.0.199 successfully.
2018-05-30 10:55:23,444-root-INFO Installing gcluster.
zhangzj  发表于 2018-5-30 14:38 | 显示全部楼层 7#
2018-05-30 10:55:23,445-root-INFO send cmd: /usr/bin/python /opt/InstallTar.py --silent=/opt/172.16.0.199.options --IsCoordinator --IsData
2018-05-30 10:55:23,570-root-INFO Copy data files to host 172.16.0.200 successfully.
2018-05-30 10:55:23,570-root-INFO Installing gcluster.
2018-05-30 10:55:23,570-root-INFO send cmd: /usr/bin/python /opt/InstallTar.py --silent=/opt/172.16.0.200.options --IsCoordinator --IsData
2018-05-30 10:55:23,610-root-INFO Copy data files to host 172.16.0.201 successfully.
2018-05-30 10:55:23,610-root-INFO Installing gcluster.
2018-05-30 10:55:23,611-root-INFO send cmd: /usr/bin/python /opt/InstallTar.py --silent=/opt/172.16.0.201.options --IsCoordinator --IsData
2018-05-30 10:55:24,490-root-INFO 172.16.0.200 handler.before: 1
handler.after: ###
2018-05-30 10:55:24,490-root-INFO Fail to Install. Reason: . Please refer to 172.16.0.200:/tmp/InstallTar.log
2018-05-30 10:55:24,521-root-INFO 172.16.0.201 handler.before: 1
handler.after: ###
2018-05-30 10:55:24,521-root-INFO Fail to Install. Reason: . Please refer to 172.16.0.201:/tmp/InstallTar.log
2018-05-30 10:55:40,281-root-INFO 172.16.0.199 handler.before: 0
handler.after: ###
2018-05-30 10:55:40,281-root-INFO Install gcluster on host 172.16.0.199 successfully.
2018-05-30 10:55:40,484-root-INFO Fail to Install. Reason: . Please refer to 172.16.0.201:/tmp/InstallTar.log
2018-05-30 10:55:40,485-root-INFO Fail to Install. Reason: . Please refer to 172.16.0.200:/tmp/InstallTar.log
2018-05-30 10:55:40,497-root-DEBUG Fail to install cluster,begin to restoring...
zhangzj  发表于 2018-5-30 14:40 | 显示全部楼层 8#
2018-05-30 10:55:40,497-root-DEBUG ping -c 1 -w 1 172.16.0.199
2018-05-30 10:55:40,501-root-DEBUG ping -c 1 -w 1 172.16.0.201
2018-05-30 10:55:40,504-root-DEBUG ping -c 1 -w 1 172.16.0.200
2018-05-30 10:55:41,211-root-DEBUG python -V 2>&1 | awk -F '.' ' { print $1 } ' | awk -F ' ' ' { print $2 } '
2018-05-30 10:55:41,217-root-DEBUG python -V 2>&1 | awk -F '.' ' { print $2 } '
2018-05-30 10:55:41,265-root-DEBUG python -V 2>&1 | awk -F '.' ' { print $1 } ' | awk -F ' ' ' { print $2 } '
2018-05-30 10:55:41,271-root-DEBUG python -V 2>&1 | awk -F '.' ' { print $2 } '
2018-05-30 10:55:41,274-root-DEBUG python -V 2>&1 | awk -F '.' ' { print $1 } ' | awk -F ' ' ' { print $2 } '
2018-05-30 10:55:41,283-root-DEBUG python -V 2>&1 | awk -F '.' ' { print $2 } '
2018-05-30 10:55:41,294-root-DEBUG 172.16.0.200 - /bin/rm -rf /opt/gnode /tmp/gbase_8a_5050.sock;/bin/rm -rf /opt/gcluster /tmp/gcluster_5258.sock;/bin/rm -rf /usr/bin/extendsg_check.py /usr/bin/gc_8amtablesync.py /usr/bin/gc_gcmtablesync.py /usr/bin/gc_modeswitch /usr/bin/gc_sginfo /usr/bin/gc_sync_cpnode.py /usr/bin/gc_sync_env.py /usr/bin/gc_sync_scget /usr/bin/gcadmin /usr/bin/node_copy.py /usr/bin/node_init.py /usr/bin/node_rejoin.py /usr/bin/node_sync.py /usr/bin/removesg_check.py /usr/bin/passwd_check.py /usr/bin/gadm_cp_sys_tbl.py /usr/bin/gadm_cp_codi_tbl.py /usr/bin/gcadmin_tar_codi_tbl.sh /usr/lib64/libGcClm.so /usr/lib64/libGcClm.so.3 /usr/lib64/libGcClm.so.3.0.0 /usr/lib64/libGcCrm.so /usr/lib64/libGcCrm.so.3 /usr/lib64/libGcCrm.so.3.0.0 /usr/lib64/libGcLck.so /usr/lib64/libGcLck.so.3 /usr/lib64/libGcLck.so.3.0.0 /usr/lib64/pkgconfig/libGcClm.pc /usr/lib64/pkgconfig/libGcCrm.pc /usr/lib64/pkgconfig/libGcLck.pc /usr/lib64/python2.7/site-packages/_gcware.so /usr/lib64/python2.7/site-packages/gcware.py /usr/lib64/lcrso/gcware_clm.lcrso /usr/lib64/lcrso/gcware_crm.lcrso /usr/lib64/lcrso/gcware_lck.lcrso /usr/lib64/lcrso/gcwserviceenable.lcrso /usr/libexec/lcrso/gcware_clm.lcrso /usr/libexec/lcrso/gcware_crm.lcrso /usr/libexec/lcrso/gcware_lck.lcrso /usr/libexec/lcrso/gcwserviceenable.lcrso /usr/sbin/gcwexec /var/lib/gcware /var/log/gcware /etc/corosync/corosync.conf;/bin/rm -rf /usr/bin/corosync-blackbox /usr/sbin/corosync /usr/sbin/corosync-cfgtool /usr/sbin/corosync-cpgtool /usr/sbin/corosync-fplay /usr/sbin/corosync-keygen /usr/sbin/corosync-notifyd /usr/sbin/corosync-objctl /usr/sbin/corosync-pload /usr/sbin/corosync-quorumtool /usr/share/man/man5/corosync.conf.5 /usr/share/man/man8/corosync-blackbox.8 /usr/share/man/man8/corosync-cfgtool.8 /usr/share/man/man8/corosync-cpgtool.8 /usr/share/man/man8/corosync-fplay.8 /usr/share/man/man8/corosync-keygen.8 /usr/share/man/man8/corosync-notifyd.8 /usr/share/man/man8/corosync-objctl.8 /usr/share/man/man8/corosync-pload.8 /usr/share/man/man8/corosync-quorumtool.8 /usr/share/man/man8/corosync.8 /usr/share/man/man8/corosync_overview.8 /var/lib/corosync /var/log/cluster /etc/corosync/corosync.conf.example /etc/corosync/corosync.conf.example.udpu /etc/corosync/service.d /etc/corosync/uidgid.d /etc/init.d/corosync /etc/init.d/corosync-notifyd /etc/rc.d/init.d/corosync /etc/rc.d/init.d/corosync-notifyd /usr/libexec/lcrso/coroparse.lcrso /usr/libexec/lcrso/objdb.lcrso /usr/libexec/lcrso/quorum_testquorum.lcrso /usr/libexec/lcrso/quorum_votequorum.lcrso /usr/libexec/lcrso/service_cfg.lcrso /usr/libexec/lcrso/service_confdb.lcrso /usr/libexec/lcrso/service_cpg.lcrso /usr/libexec/lcrso/service_evs.lcrso /usr/libexec/lcrso/service_pload.lcrso /usr/libexec/lcrso/vsf_quorum.lcrso /usr/libexec/lcrso/vsf_ykd.lcrso /usr/lib64/lcrso/coroparse.lcrso /usr/lib64/lcrso/objdb.lcrso /usr/lib64/lcrso/quorum_testquorum.lcrso /usr/lib64/lcrso/quorum_votequorum.lcrso /usr/lib64/lcrso/service_cfg.lcrso /usr/lib64/lcrso/service_confdb.lcrso /usr/lib64/lcrso/service_cpg.lcrso /usr/lib64/lcrso/service_evs.lcrso /usr/lib64/lcrso/service_pload.lcrso /usr/lib64/lcrso/vsf_quorum.lcrso /usr/lib64/lcrso/vsf_ykd.lcrso /usr/share/doc/corosync/LICENSE /usr/share/doc/corosync/SECURITY /usr/lib64/libcfg.so.4 /usr/lib64/libcfg.so.4.0.1 /usr/lib64/libconfdb.so.4 /usr/lib64/libconfdb.so.4.1.0 /usr/lib64/libcoroipcc.so.4 /usr/lib64/libcoroipcc.so.4.0.0 /usr/lib64/libcoroipcs.so.4 /usr/lib64/libcoroipcs.so.4.0.0 /usr/lib64/libcpg.so.4 /usr/lib64/libcpg.so.4.1.0 /usr/lib64/libevs.so.4 /usr/lib64/libevs.so.4.0.0 /usr/lib64/liblogsys.so.4 /usr/lib64/liblogsys.so.4.0.0 /usr/lib64/libpload.so.4 /usr/lib64/libpload.so.4.0.0 /usr/lib64/libquorum.so.4 /usr/lib64/libquorum.so.4.0.0 /usr/lib64/libsam.so.4 /usr/lib64/libsam.so.4.1.0 /usr/lib64/libtotem_pg.so.4 /usr/lib64/libtotem_pg.so.4.0.0 /usr/lib64/libvotequorum.so.4 /usr/lib64/libvotequorum.so.4.0.0;/bin/rm -rf /opt/InstallTar.py /opt/InstallFuns.py /opt/rmt.py /opt/SSHThread.py /opt/RestoreLocal.py /opt/pexpect.py /opt/BUILDINFO /opt/bundle.tar.bz2 /opt/bundle_data.tar.bz2 /opt/172.16.0.200.options
zhangzj  发表于 2018-5-30 14:42 | 显示全部楼层 9#
2018-05-30 10:55:41,368-root-DEBUG 172.16.0.199 - /bin/rm -rf /opt/gnode /tmp/gbase_8a_5050.sock;/bin/rm -rf /opt/gcluster /tmp/gcluster_5258.sock;/bin/rm -rf /usr/bin/extendsg_check.py /usr/bin/gc_8amtablesync.py /usr/bin/gc_gcmtablesync.py /usr/bin/gc_modeswitch /usr/bin/gc_sginfo /usr/bin/gc_sync_cpnode.py /usr/bin/gc_sync_env.py /usr/bin/gc_sync_scget /usr/bin/gcadmin /usr/bin/node_copy.py /usr/bin/node_init.py /usr/bin/node_rejoin.py /usr/bin/node_sync.py /usr/bin/removesg_check.py /usr/bin/passwd_check.py /usr/bin/gadm_cp_sys_tbl.py /usr/bin/gadm_cp_codi_tbl.py /usr/bin/gcadmin_tar_codi_tbl.sh /usr/lib64/libGcClm.so /usr/lib64/libGcClm.so.3 /usr/lib64/libGcClm.so.3.0.0 /usr/lib64/libGcCrm.so /usr/lib64/libGcCrm.so.3 /usr/lib64/libGcCrm.so.3.0.0 /usr/lib64/libGcLck.so /usr/lib64/libGcLck.so.3 /usr/lib64/libGcLck.so.3.0.0 /usr/lib64/pkgconfig/libGcClm.pc /usr/lib64/pkgconfig/libGcCrm.pc /usr/lib64/pkgconfig/libGcLck.pc /usr/lib64/python2.7/site-packages/_gcware.so /usr/lib64/python2.7/site-packages/gcware.py /usr/lib64/lcrso/gcware_clm.lcrso /usr/lib64/lcrso/gcware_crm.lcrso /usr/lib64/lcrso/gcware_lck.lcrso /usr/lib64/lcrso/gcwserviceenable.lcrso /usr/libexec/lcrso/gcware_clm.lcrso /usr/libexec/lcrso/gcware_crm.lcrso /usr/libexec/lcrso/gcware_lck.lcrso /usr/libexec/lcrso/gcwserviceenable.lcrso /usr/sbin/gcwexec /var/lib/gcware /var/log/gcware /etc/corosync/corosync.conf;/bin/rm -rf /usr/bin/corosync-blackbox /usr/sbin/corosync /usr/sbin/corosync-cfgtool /usr/sbin/corosync-cpgtool /usr/sbin/corosync-fplay /usr/sbin/corosync-keygen /usr/sbin/corosync-notifyd /usr/sbin/corosync-objctl /usr/sbin/corosync-pload /usr/sbin/corosync-quorumtool /usr/share/man/man5/corosync.conf.5 /usr/share/man/man8/corosync-blackbox.8 /usr/share/man/man8/corosync-cfgtool.8 /usr/share/man/man8/corosync-cpgtool.8 /usr/share/man/man8/corosync-fplay.8 /usr/share/man/man8/corosync-keygen.8 /usr/share/man/man8/corosync-notifyd.8 /usr/share/man/man8/corosync-objctl.8 /usr/share/man/man8/corosync-pload.8 /usr/share/man/man8/corosync-quorumtool.8 /usr/share/man/man8/corosync.8 /usr/share/man/man8/corosync_overview.8 /var/lib/corosync /var/log/cluster /etc/corosync/corosync.conf.example /etc/corosync/corosync.conf.example.udpu /etc/corosync/service.d /etc/corosync/uidgid.d /etc/init.d/corosync /etc/init.d/corosync-notifyd /etc/rc.d/init.d/corosync /etc/rc.d/init.d/corosync-notifyd /usr/libexec/lcrso/coroparse.lcrso /usr/libexec/lcrso/objdb.lcrso /usr/libexec/lcrso/quorum_testquorum.lcrso /usr/libexec/lcrso/quorum_votequorum.lcrso /usr/libexec/lcrso/service_cfg.lcrso /usr/libexec/lcrso/service_confdb.lcrso /usr/libexec/lcrso/service_cpg.lcrso /usr/libexec/lcrso/service_evs.lcrso /usr/libexec/lcrso/service_pload.lcrso /usr/libexec/lcrso/vsf_quorum.lcrso /usr/libexec/lcrso/vsf_ykd.lcrso /usr/lib64/lcrso/coroparse.lcrso /usr/lib64/lcrso/objdb.lcrso /usr/lib64/lcrso/quorum_testquorum.lcrso /usr/lib64/lcrso/quorum_votequorum.lcrso /usr/lib64/lcrso/service_cfg.lcrso /usr/lib64/lcrso/service_confdb.lcrso /usr/lib64/lcrso/service_cpg.lcrso /usr/lib64/lcrso/service_evs.lcrso /usr/lib64/lcrso/service_pload.lcrso /usr/lib64/lcrso/vsf_quorum.lcrso /usr/lib64/lcrso/vsf_ykd.lcrso /usr/share/doc/corosync/LICENSE /usr/share/doc/corosync/SECURITY /usr/lib64/libcfg.so.4 /usr/lib64/libcfg.so.4.0.1 /usr/lib64/libconfdb.so.4 /usr/lib64/libconfdb.so.4.1.0 /usr/lib64/libcoroipcc.so.4 /usr/lib64/libcoroipcc.so.4.0.0 /usr/lib64/libcoroipcs.so.4 /usr/lib64/libcoroipcs.so.4.0.0 /usr/lib64/libcpg.so.4 /usr/lib64/libcpg.so.4.1.0 /usr/lib64/libevs.so.4 /usr/lib64/libevs.so.4.0.0 /usr/lib64/liblogsys.so.4 /usr/lib64/liblogsys.so.4.0.0 /usr/lib64/libpload.so.4 /usr/lib64/libpload.so.4.0.0 /usr/lib64/libquorum.so.4 /usr/lib64/libquorum.so.4.0.0 /usr/lib64/libsam.so.4 /usr/lib64/libsam.so.4.1.0 /usr/lib64/libtotem_pg.so.4 /usr/lib64/libtotem_pg.so.4.0.0 /usr/lib64/libvotequorum.so.4 /usr/lib64/libvotequorum.so.4.0.0;/bin/rm -rf /opt/InstallTar.py /opt/InstallFuns.py /opt/rmt.py /opt/SSHThread.py /opt/RestoreLocal.py /opt/pexpect.py /opt/BUILDINFO /opt/bundle.tar.bz2 /opt/bundle_data.tar.bz2 /opt/172.16.0.199.options
2018-05-30 10:55:41,375-root-DEBUG 172.16.0.201 - /bin/rm -rf /opt/gnode /tmp/gbase_8a_5050.sock;/bin/rm -rf /opt/gcluster /tmp/gcluster_5258.sock;/bin/rm -rf /usr/bin/extendsg_check.py /usr/bin/gc_8amtablesync.py /usr/bin/gc_gcmtablesync.py /usr/bin/gc_modeswitch /usr/bin/gc_sginfo /usr/bin/gc_sync_cpnode.py /usr/bin/gc_sync_env.py /usr/bin/gc_sync_scget /usr/bin/gcadmin /usr/bin/node_copy.py /usr/bin/node_init.py /usr/bin/node_rejoin.py /usr/bin/node_sync.py /usr/bin/removesg_check.py /usr/bin/passwd_check.py /usr/bin/gadm_cp_sys_tbl.py /usr/bin/gadm_cp_codi_tbl.py /usr/bin/gcadmin_tar_codi_tbl.sh /usr/lib64/libGcClm.so /usr/lib64/libGcClm.so.3 /usr/lib64/libGcClm.so.3.0.0 /usr/lib64/libGcCrm.so /usr/lib64/libGcCrm.so.3 /usr/lib64/libGcCrm.so.3.0.0 /usr/lib64/libGcLck.so /usr/lib64/libGcLck.so.3 /usr/lib64/libGcLck.so.3.0.0 /usr/lib64/pkgconfig/libGcClm.pc /usr/lib64/pkgconfig/libGcCrm.pc /usr/lib64/pkgconfig/libGcLck.pc /usr/lib64/python2.7/site-packages/_gcware.so /usr/lib64/python2.7/site-packages/gcware.py /usr/lib64/lcrso/gcware_clm.lcrso /usr/lib64/lcrso/gcware_crm.lcrso /usr/lib64/lcrso/gcware_lck.lcrso /usr/lib64/lcrso/gcwserviceenable.lcrso /usr/libexec/lcrso/gcware_clm.lcrso /usr/libexec/lcrso/gcware_crm.lcrso /usr/libexec/lcrso/gcware_lck.lcrso /usr/libexec/lcrso/gcwserviceenable.lcrso /usr/sbin/gcwexec /var/lib/gcware /var/log/gcware /etc/corosync/corosync.conf;/bin/rm -rf /usr/bin/corosync-blackbox /usr/sbin/corosync /usr/sbin/corosync-cfgtool /usr/sbin/corosync-cpgtool /usr/sbin/corosync-fplay /usr/sbin/corosync-keygen /usr/sbin/corosync-notifyd /usr/sbin/corosync-objctl /usr/sbin/corosync-pload /usr/sbin/corosync-quorumtool /usr/share/man/man5/corosync.conf.5 /usr/share/man/man8/corosync-blackbox.8 /usr/share/man/man8/corosync-cfgtool.8 /usr/share/man/man8/corosync-cpgtool.8 /usr/share/man/man8/corosync-fplay.8 /usr/share/man/man8/corosync-keygen.8 /usr/share/man/man8/corosync-notifyd.8 /usr/share/man/man8/corosync-objctl.8 /usr/share/man/man8/corosync-pload.8 /usr/share/man/man8/corosync-quorumtool.8 /usr/share/man/man8/corosync.8 /usr/share/man/man8/corosync_overview.8 /var/lib/corosync /var/log/cluster /etc/corosync/corosync.conf.example /etc/corosync/corosync.conf.example.udpu /etc/corosync/service.d /etc/corosync/uidgid.d /etc/init.d/corosync /etc/init.d/corosync-notifyd /etc/rc.d/init.d/corosync /etc/rc.d/init.d/corosync-notifyd /usr/libexec/lcrso/coroparse.lcrso /usr/libexec/lcrso/objdb.lcrso /usr/libexec/lcrso/quorum_testquorum.lcrso /usr/libexec/lcrso/quorum_votequorum.lcrso /usr/libexec/lcrso/service_cfg.lcrso /usr/libexec/lcrso/service_confdb.lcrso /usr/libexec/lcrso/service_cpg.lcrso /usr/libexec/lcrso/service_evs.lcrso /usr/libexec/lcrso/service_pload.lcrso /usr/libexec/lcrso/vsf_quorum.lcrso /usr/libexec/lcrso/vsf_ykd.lcrso /usr/lib64/lcrso/coroparse.lcrso /usr/lib64/lcrso/objdb.lcrso /usr/lib64/lcrso/quorum_testquorum.lcrso /usr/lib64/lcrso/quorum_votequorum.lcrso /usr/lib64/lcrso/service_cfg.lcrso /usr/lib64/lcrso/service_confdb.lcrso /usr/lib64/lcrso/service_cpg.lcrso /usr/lib64/lcrso/service_evs.lcrso /usr/lib64/lcrso/service_pload.lcrso /usr/lib64/lcrso/vsf_quorum.lcrso /usr/lib64/lcrso/vsf_ykd.lcrso /usr/share/doc/corosync/LICENSE /usr/share/doc/corosync/SECURITY /usr/lib64/libcfg.so.4 /usr/lib64/libcfg.so.4.0.1 /usr/lib64/libconfdb.so.4 /usr/lib64/libconfdb.so.4.1.0 /usr/lib64/libcoroipcc.so.4 /usr/lib64/libcoroipcc.so.4.0.0 /usr/lib64/libcoroipcs.so.4 /usr/lib64/libcoroipcs.so.4.0.0 /usr/lib64/libcpg.so.4 /usr/lib64/libcpg.so.4.1.0 /usr/lib64/libevs.so.4 /usr/lib64/libevs.so.4.0.0 /usr/lib64/liblogsys.so.4 /usr/lib64/liblogsys.so.4.0.0 /usr/lib64/libpload.so.4 /usr/lib64/libpload.so.4.0.0 /usr/lib64/libquorum.so.4 /usr/lib64/libquorum.so.4.0.0 /usr/lib64/libsam.so.4 /usr/lib64/libsam.so.4.1.0 /usr/lib64/libtotem_pg.so.4 /usr/lib64/libtotem_pg.so.4.0.0 /usr/lib64/libvotequorum.so.4 /usr/lib64/libvotequorum.so.4.0.0;/bin/rm -rf /opt/InstallTar.py /opt/InstallFuns.py /opt/rmt.py /opt/SSHThread.py /opt/RestoreLocal.py /opt/pexpect.py /opt/BUILDINFO /opt/bundle.tar.bz2 /opt/bundle_data.tar.bz2 /opt/172.16.0.201.options
2018-05-30 10:55:41,400-root-DEBUG UnInstall 172.16.0.200 's data successfully.
2018-05-30 10:55:41,483-root-DEBUG UnInstall 172.16.0.201 's data successfully.
2018-05-30 10:55:41,517-root-DEBUG UnInstall 172.16.0.199 's data successfully.
zhangzj  发表于 2018-5-30 14:45 | 显示全部楼层 10#
/tmp/InstallTar.log
2018-05-30 10:55:23,790-root-INFO IsExistCoordinate: False
2018-05-30 10:55:23,790-root-INFO existCoordinateList: []
2018-05-30 10:55:23,790-root-INFO IsExistData: False
2018-05-30 10:55:23,791-root-INFO existDataList: []
2018-05-30 10:55:23,791-root-INFO coordinateList: ['172.16.0.199', '172.16.0.201', '172.16.0.200']
2018-05-30 10:55:23,791-root-INFO dataList: ['172.16.0.199', '172.16.0.201', '172.16.0.200']
2018-05-30 10:55:23,791-root-INFO OS type is: redhat
2018-05-30 10:55:23,791-root-DEBUG cat /etc/group | grep "^gbase:"
2018-05-30 10:55:23,794-root-DEBUG /usr/bin/id -nu gbase
2018-05-30 10:55:23,797-root-INFO dbauser:gbase,dabpwd: gbase
2018-05-30 10:55:23,883-root-INFO send pwd dabpwd: gbase
2018-05-30 10:55:23,984-root-INFO send pwd dabpwd: gbase
2018-05-30 10:55:24,199-root-INFO EOF
2018-05-30 10:55:24,199-root-DEBUG sed -i '/^export GBASE_BASE/d' /home/gbase/.bashrc
2018-05-30 10:55:24,202-root-DEBUG sed -i '/^export GBASE_HOME/d' /home/gbase/.bashrc
2018-05-30 10:55:24,206-root-DEBUG sed -i '/^export GBASE_SID/d' /home/gbase/.bashrc
2018-05-30 10:55:24,209-root-DEBUG sed -i '/^export GCLUSTER_SID/d' /home/gbase/.bashrc
2018-05-30 10:55:24,211-root-DEBUG sed -i '/^export GCLUSTER_HOME/d' /home/gbase/.bashrc
2018-05-30 10:55:24,214-root-DEBUG sed -i '/^export GCLUSTER_BASE/d' /home/gbase/.bashrc
2018-05-30 10:55:24,217-root-DEBUG sed -i '/^export GCLUSTER_USER/d' /home/gbase/.bashrc
2018-05-30 10:55:24,219-root-DEBUG sed -i '/^export GCLUSTER_GROUP/d' /home/gbase/.bashrc
2018-05-30 10:55:24,222-root-DEBUG sed -i '/^export SSH_GBASE_PASSWD/d' /home/gbase/.bashrc
2018-05-30 10:55:24,224-root-DEBUG sed -i '/^export LD_LIBRARY_PATH/d' /home/gbase/.bashrc
2018-05-30 10:55:24,227-root-DEBUG sed -i '/^export TCMALLOC_AGGRESSIVE_DECOMMIT/d' /home/gbase/.bashrc
2018-05-30 10:55:24,230-root-DEBUG sed -i '/^export TCMALLOC_MAX_TOTAL_THREAD_CACHE_BYTES/d' /home/gbase/.bashrc
2018-05-30 10:55:24,232-root-DEBUG sed -i '/^export TERMINFO/d' /home/gbase/.bashrc
2018-05-30 10:55:24,235-root-DEBUG sed -i '/^export GBASE_BASE/d' /home/gbase/.bash_profile
2018-05-30 10:55:24,237-root-DEBUG sed -i '/^export GBASE_HOME/d' /home/gbase/.bash_profile
2018-05-30 10:55:24,240-root-DEBUG sed -i '/^export GBASE_SID/d' /home/gbase/.bash_profile
2018-05-30 10:55:24,243-root-DEBUG sed -i '/^export GCLUSTER_SID/d' /home/gbase/.bash_profile
2018-05-30 10:55:24,245-root-DEBUG sed -i '/^export GCLUSTER_HOME/d' /home/gbase/.bash_profile
2018-05-30 10:55:24,248-root-DEBUG sed -i '/^export GCLUSTER_BASE/d' /home/gbase/.bash_profile
2018-05-30 10:55:24,250-root-DEBUG sed -i '/^export GCLUSTER_USER/d' /home/gbase/.bash_profile
2018-05-30 10:55:24,253-root-DEBUG sed -i '/^export GCLUSTER_GROUP/d' /home/gbase/.bash_profile
2018-05-30 10:55:24,256-root-DEBUG sed -i '/^export SSH_GBASE_PASSWD/d' /home/gbase/.bash_profile
2018-05-30 10:55:24,258-root-DEBUG sed -i '/^export LD_LIBRARY_PATH/d' /home/gbase/.bash_profile
2018-05-30 10:55:24,261-root-DEBUG sed -i '/^export TCMALLOC_AGGRESSIVE_DECOMMIT/d' /home/gbase/.bash_profile
2018-05-30 10:55:24,263-root-DEBUG sed -i '/^export TCMALLOC_MAX_TOTAL_THREAD_CACHE_BYTES/d' /home/gbase/.bash_profile
2018-05-30 10:55:24,266-root-DEBUG sed -i '/^export TERMINFO/d' /home/gbase/.bash_profile
2018-05-30 10:55:24,269-root-DEBUG free -g |awk '/^Mem/{print $2}'
2018-05-30 10:55:24,272-root-DEBUG chown gbase:gbase /home/gbase/.bashrc
2018-05-30 10:55:24,275-root-DEBUG grep -q gbase_profile /root/.bashrc
2018-05-30 10:55:24,277-root-INFO Set env ...
2018-05-30 10:55:24,278-root-INFO /sbin/sysctl -p
2018-05-30 10:55:24,278-root-DEBUG /sbin/sysctl -p
2018-05-30 10:55:24,281-root-DEBUG rm -f /tmp/tmpSysctl.conf
2018-05-30 10:55:24,284-root-DEBUG sed -i.bck -e 's/^\(\*\s*\)\(soft\|hard\)\(\s\+nofile\)/#Commented out by gcluster\n#\1\2\3/g' /etc/security/limits.conf
2018-05-30 10:55:24,286-root-DEBUG sed -i.bck -e 's/^\(gbase\s*\)\(soft\|hard\)\(\s\+nofile\)/#Commented out by gcluster\n#\1\2\3/g' /etc/security/limits.conf
2018-05-30 10:55:24,289-root-DEBUG sed -i.bck -e 's/^\(\*\s*\)\(soft\|hard\)\(\s\+nproc\)/#Commented out by gcluster\n#\1\2\3/g' /etc/security/limits.conf
2018-05-30 10:55:24,292-root-DEBUG sed -i.bck -e 's/^\(gbase\s*\)\(soft\|hard\)\(\s\+nproc\)/#Commented out by gcluster\n#\1\2\3/g' /etc/security/limits.conf
2018-05-30 10:55:24,295-root-DEBUG sed -i.bck -e 's/^\(\*\s*\)\(soft\|hard\)\(\s\+sigpending\)/#Commented out by gcluster\n#\1\2\3/g' /etc/security/limits.conf
2018-05-30 10:55:24,298-root-DEBUG sed -i.bck -e 's/^\(gbase\s*\)\(soft\|hard\)\(\s\+sigpending\)/#Commented out by gcluster\n#\1\2\3/g' /etc/security/limits.conf
2018-05-30 10:55:24,301-root-DEBUG sed -i -e 's/^# End of file/#/g' /etc/security/limits.conf
2018-05-30 10:55:24,303-root-DEBUG sh -c "echo -e '# Added by gcluster\n*\tsoft\tnofile\t655360' >>/etc/security/limits.conf"
2018-05-30 10:55:24,306-root-DEBUG sh -c "echo -e '# Added by gcluster\n*\thard\tnofile\t655360' >>/etc/security/limits.conf"
2018-05-30 10:55:24,309-root-DEBUG sh -c "echo -e '# Added by gcluster\n*\tsoft\tsigpending\tunlimited' >>/etc/security/limits.conf"
2018-05-30 10:55:24,311-root-DEBUG sh -c "echo -e '# Added by gcluster\n*\thard\tsigpending\tunlimited' >>/etc/security/limits.conf"
2018-05-30 10:55:24,314-root-DEBUG sh -c "echo -e '# Added by gcluster\n*\tsoft\tnproc\tunlimited' >>/etc/security/limits.conf"
2018-05-30 10:55:24,317-root-DEBUG sh -c "echo -e '# Added by gcluster\n*\thard\tnproc\tunlimited' >>/etc/security/limits.conf"
2018-05-30 10:55:24,320-root-DEBUG sh -c "echo -e '# End of file' >>/etc/security/limits.conf"
2018-05-30 10:55:24,322-root-DEBUG sh -c "if [ -f /etc/pam.d/su ]; then if [ `egrep '^[[:space:]]*session[[:space:]]+required[[:space:]]+pam_limits\.so' /etc/pam.d/su | wc -l` -eq 0 ]; then echo 'session required pam_limits.so' >> /etc/pam.d/su;  fi fi"
2018-05-30 10:55:24,328-root-DEBUG sed -i "s/\(^\*\s*soft\s*nproc.*\)/#\1/g" /etc/security/limits.d/*-nproc.conf
2018-05-30 10:55:24,330-root-DEBUG sed -i "s/\(^HARDFDLIMIT.*\)/\(HARDFDLIMIT=\"655360\"\)/g" /etc/sysconfig/ulimit
2018-05-30 10:55:24,333-root-ERROR
2018-05-30 10:55:24,333-root-ERROR sed: can't read /etc/sysconfig/ulimit: No such file or directory
2018-05-30 10:55:24,333-root-ERROR
2018-05-30 10:55:24,333-root-DEBUG sed -i "s/\(^SOFTFDLIMIT.*\)/\(SOFTFDLIMIT=\"655360\"\)/g" /etc/sysconfig/ulimit
2018-05-30 10:55:24,335-root-ERROR
2018-05-30 10:55:24,336-root-ERROR sed: can't read /etc/sysconfig/ulimit: No such file or directory
2018-05-30 10:55:24,336-root-ERROR
2018-05-30 10:55:24,346-root-DEBUG echo "`grep MemTotal /proc/meminfo | awk '{printf "%.0f",$2}'`/10" | bc
2018-05-30 10:55:24,350-root-DEBUG /sbin/sysctl -w vm.min_free_kbytes=388192
2018-05-30 10:55:24,353-root-DEBUG sed -i.bck -e 's/^\(\s*vm\.min_free_kbytes.*\)/#\1 #Commented out by gcluster/g' /etc/sysctl.conf
2018-05-30 10:55:24,356-root-DEBUG echo vm\.min_free_kbytes = 388192 >> /etc/sysctl.conf
2018-05-30 10:55:24,358-root-DEBUG su - gbase -c "ulimit -m"
2018-05-30 10:55:24,380-root-INFO unlimited
2018-05-30 10:55:24,380-root-DEBUG su - gbase -c "ulimit -v"
2018-05-30 10:55:24,401-root-INFO unlimited
2018-05-30 10:55:24,401-root-DEBUG make /etc/sysconfig/gbase
2018-05-30 10:55:24,401-root-DEBUG free -g |awk '/^Mem/{print $2}'
2018-05-30 10:55:24,405-root-DEBUG chmod 644 /etc/sysconfig/gbase
2018-05-30 10:55:24,407-root-INFO extractall coordinate files.
2018-05-30 10:55:24,407-root-DEBUG tar -jxf /opt/bundle.tar.bz2 -C /opt gcluster rpms >/dev/null 2>&1
2018-05-30 10:55:24,411-root-ERROR
2018-05-30 10:55:24,411-root-ERROR

12下一页
您需要登录后才可以回帖 登录 | 立即注册