Skip to main content

Problem configuring cluster

  • October 7, 2014
  • 8 replies
  • 18 views

Eqtconsulting
Forum|alt.badge.img+1

Hi,

I installed Vertica and now I want to create a cluster with 3 nodes.
The command I type to create the cluster is:

/opt/Vertica/sbin/install_vertica --hosts 10.1.24.203,10.1.24.204,10.1.24.205 --rpm vertica.rpm --dba-user dbadmin

The message that appears is that the hosts 203 and 204 were Successful, but there is a problem with the host 205, the message that appears is this:

/opt/vertica/oss/python/bin/python: No module named vertica


Can you help me?

Thanks,

8 replies

wwong2
Forum|alt.badge.img
  • Participating Frequently
  • October 8, 2014
Make sure root and dbadmin ids can passwordless ssh to that node

Eqtconsulting
Forum|alt.badge.img+1
  • Author
  • Participating Frequently
  • October 8, 2014
Hi Wayne Wong,

Both root and dbadmin are unable to passwordless ssh.
The configuration is the same for all 3 nodes.

Any other ideas?

Thanks,


Raul_1
Forum|alt.badge.img
  • Participating Frequently
  • October 17, 2014
On node 205 you could check for the rpm -

rpm -qa | grep vertica

... and if it is there, then check for the following -

ls -l /opt/vertica/oss/python/lib/python2.7/site-packages

.
.
.


lrwxrwxrwx 1 root root     31 2011-10-26 10:19 vertica -> /opt/vertica/share/eggs/vertica

mwfox952
  • New Participant
  • November 11, 2014
I am running into a similar problem, when I run ls -l /opt/vertica/oss/python/lib/python2.7/site-packages  -

lrwxrwxrwx 1 root root     31 2011-10-26 10:19 vertica -> /opt/vertica/share/eggs/vertica does not exist.


mwfox952
  • New Participant
  • November 11, 2014
Also,  root and dbadmin are able to passwordless SSH.

Raul_1
Forum|alt.badge.img
  • Participating Frequently
  • November 11, 2014
If you can, try installing the rpm on the problem node and running the install from there.

mwfox952
  • New Participant
  • November 11, 2014
I'll give that a try.  I also ran ln -s /opt/vertica/share/eggs/vertica /opt/vertica/oss/python/lib/python2.7/site-packages and now I run into this:
image


Albert_CT
  • New Participant
  • November 27, 2015

I have solved this problem, following the next steps:

 

At different nodes that doesn't work, you should go to 

 

/opt/vertica/oss/python/lib/python2.7/site-packages/

 

and create this links, if they doesn't exist:

 

ln -s /opt/vertica/share/eggs/vertica   /opt/vertica/oss/python/lib/python2.7/site-packages/vertica

 

ln -s /opt/vertica/share/eggs/py /opt/vertica/oss/python/lib/python2.7/site-packages/py

 

ln -s /opt/vertica/share/eggs/ipaddress.pyc   /opt/vertica/oss/python/lib/python2.7/site-packages/ipaddress.pyc

 

ln -s /opt/vertica/share/eggs/ipaddress.py   /opt/vertica/oss/python/lib/python2.7/site-packages/ipaddress.py

 

ln -s /opt/vertica/share/eggs/flufl   /opt/vertica/oss/python/lib/python2.7/site-packages/flufl

 

For me, this solution have solved my problem, and I could finish the installation without problems.

 

I hope this can help you.

 

Centos7 + vertica 7.2.0.1

 

Regards.