Add a new node to an existing cluster of 1 node fail on 6.1.3 - install script doesn't install the R
Add a new node to an existing cluster of 1 node fail on 6.1.3 - install script doesn't install the RPM on centos6 :
25 df --portability /tmp | tail -1 | awk '{print $4}'
26 echo $?Exitcode
27 scp -r -oConnectTimeout=30 -o TCPKeepAlive=no -o ServerAliveInterval=15 -o ServerAliveCountMax=2 -o StrictHostKeyChecking=no root@10.0.3.101:/home/dbadmin/vertica-6.1.3-0.x86_64.RHEL5.rpm /tmp/dbRPM.rpm
28 echo $?Exitcode
29 /etc/init.d/ntpd status
30 echo $?Exitcode
31 cat /etc/mtab | awk '/^\//{print "a='blockdev --getra",$1," 2>/dev/null'; \
32 if [ $? -eq 0 ]; \
33 then check='echo $a*512/1024 \\< 2048 | bc'; \
34 if [ $check -eq 0 ]; \
35 then echo blockdev --setra 2048",$1," \\# old value $a; \
36 echo blockdev --setra 2048",$1," >> /tmp/test_setra.txt;\
37 fi;\
38 fi;"}' | sh ;
39 echo $?Exitcode
40 /opt/vertica/bin/validators.sh
41 echo $?Exitcode
40 fail because the RPM is not here and /opt/vertica doesn't exist on the new node
On the initiator node:
Error parsing validation output: No JSON object could be decodedValidation output: -bash: /opt/vertica/bin/validators.sh: No such file or directory
#/opt/vertica/sbin/update_vertica -A 10.0.3.102 -r /home/dbadmin/vertica-6.1.3-0.x86_64.RHEL5.rpm -L licence.dat On 10.0.3.102 : # history23 rm -rf /tmp/dbRPM.rpm
25 df --portability /tmp | tail -1 | awk '{print $4}'
26 echo $?Exitcode
27 scp -r -oConnectTimeout=30 -o TCPKeepAlive=no -o ServerAliveInterval=15 -o ServerAliveCountMax=2 -o StrictHostKeyChecking=no root@10.0.3.101:/home/dbadmin/vertica-6.1.3-0.x86_64.RHEL5.rpm /tmp/dbRPM.rpm
28 echo $?Exitcode
29 /etc/init.d/ntpd status
30 echo $?Exitcode
31 cat /etc/mtab | awk '/^\//{print "a='blockdev --getra",$1," 2>/dev/null'; \
32 if [ $? -eq 0 ]; \
33 then check='echo $a*512/1024 \\< 2048 | bc'; \
34 if [ $check -eq 0 ]; \
35 then echo blockdev --setra 2048",$1," \\# old value $a; \
36 echo blockdev --setra 2048",$1," >> /tmp/test_setra.txt;\
37 fi;\
38 fi;"}' | sh ;
39 echo $?Exitcode
40 /opt/vertica/bin/validators.sh
41 echo $?Exitcode
40 fail because the RPM is not here and /opt/vertica doesn't exist on the new node
On the initiator node:
Error parsing validation output: No JSON object could be decodedValidation output: -bash: /opt/vertica/bin/validators.sh: No such file or directory
0