We can connect to a Vertica database from any Linux server which is running the same version of Linux as the database server. Simply copy the vsql binary from the database server to your local server then connect!
For example, say I want to connect to the vertica01 server from a server named non-cluster01.
First I have to copy the vsql binary from vertica01 to non-cluster01:
Code: Select all
[root@non-cluster01 ~]# scp root@vertica01:/opt/vertica/bin/vsql /usr/local/bin
root@vertica01's password: *********
[root@non-cluster01 ~]# which vsql
/usr/local/bin/vsql
Code: Select all
[root@non-cluster01 ~]# vsql -h vertica01 -U vusername -W
Password: *********
Welcome to vsql, the Vertica Analytic Database v5.0.11-0 interactive terminal.
Type: \h for help with SQL commands
\? for help with vsql commands
\g or terminate with semicolon to execute query
\q to quit
vusername=>