Exploring, predicting and reporting with SAS Visual Analytics and SAS Visual Statistics

Test the HPA Server Cluster Installation

Reply
Contributor
Posts: 68

Test the HPA Server Cluster Installation

Hi All!

I'm Tin, I'm new SAS VA .

I'm installing sas va 9.4 distribute(1 namenode: 10.0.18.181(centos 6.8), 2 datanodes: 10.0.18.182,183(centos 6.8)) but when  Install the SAS High-Performance Analytics components. I cannot list servernode when i test by running ./gridmon.sh file.

I run xming on windown  with ip: 10.0.18.45 AND set on putty with DISPLAY=10.0.18.45:10.0.

When i run ./gridmon.sh to test servernode i recieve windowns without anythings and after that one massage appears "Fail to connect" on another windown.

Please explain to me and tell me to fix them!

Thanks so much!

SAS Super FREQ
Posts: 558

Re: Test the HPA Server Cluster Installation

[ Edited ]

@htin,

I'm installing sas va 9.4 distribute(1 namenode: 10.0.18.181(centos 6.8), 2 datanodes

FYI, minimum three worker nodes are required for the LASR server.

one massage appears "Fail to connect" on another windown.

Try these commands, do not forget to edit <LASR_HEAD_NODE_FQDN> & <PATH_TO>

 

export GRIDHOST="<LASR_HEAD_NODE_FQDN>"
export GRIDINSTALLLOC=/<PATH_TO>/TKGrid/
export TKPATH=/<PATH_TO>/TKGrid/lib:/<PATH_TO>/TKGrid/bin
export GRIDRSHCOMMAND=/<PATH_TO>/TKGrid/bin/ssh.sh
/<PATH_TO>/TKGrid/bin/checknodes /<PATH_TO>/TKGrid/grid.hosts
/<PATH_TO>/TKGrid/bin/tkgridperf
/<PATH_TO>/TKGrid/bin/tkgridmon

Will you get any errors?

Contributor
Posts: 68

Re: Test the HPA Server Cluster Installation

Dear Alexal!

Can i have some questions?

+ LASR_HEAD_NODE_FQDN is a server hostname which i install namenode/SAS node?

+ I have installed TKGrid in /opt/TKGrid_2.1/TKGrid..., so PATH: /opt/TKGrid_2.1?

+ Must I copy all commands below into .bash_profile and source it?

Thanks so much!

SAS Super FREQ
Posts: 558

Re: Test the HPA Server Cluster Installation

@htin,

LASR_HEAD_NODE_FQDN is a server hostname which i install namenode/SAS node?

Yes.


I have installed TKGrid in /opt/TKGrid_2.1/TKGrid..., so PATH: /opt/TKGrid_2.1?

Yes.

Must I copy all commands below into .bash_profile and source it?

No, just run them directly from the console.

Contributor
Posts: 68

Re: Test the HPA Server Cluster Installation

Hi!

I have just run commands below and output:

[sasinstall@sasnode1 ~]$ export GRIDHOST="sasnode1"
[sasinstall@sasnode1 ~]$ export GRIDINSTALLLOC=/opt/TKGrid_2.1/TKGrid
[sasinstall@sasnode1 ~]$ export TKPATH=/opt/TKGrid_2.1/TKGrid/lib:/opt/TKGrid_2.1/TKGrid/bin
[sasinstall@sasnode1 ~]$ export GRIDRSHCOMMAND=/opt/TKGrid_2.1/TKGrid/bin/ssh.sh /opt/TKGrid_2.1/TKGrid/bin/checknodes /opt/TKGrid_2.1/TKGrid/grid.hosts
-bash: export: `/opt/TKGrid_2.1/TKGrid/bin/checknodes': not a valid identifier
-bash: export: `/opt/TKGrid_2.1/TKGrid/grid.hosts': not a valid identifier
[sasinstall@sasnode1 ~]$

Please tell me why!

SAS Super FREQ
Posts: 558

Re: Test the HPA Server Cluster Installation

@htin,

 

export GRIDRSHCOMMAND & checknodes are separate commands.

Contributor
Posts: 68

Re: Test the HPA Server Cluster Installation

Hi!

I have checked nodes and my output:

[sasinstall@sasnode1 ~]$ /opt/TKGrid_2.1/TKGrid/bin/checknodes
Usage: checknodes machinefile outfile
[sasinstall@sasnode1 ~]$ /opt/TKGrid_2.1/TKGrid/grid.hosts
/opt/TKGrid/grid.hosts: line 1: sasnode1: command not found
/opt/TKGrid/grid.hosts: line 2: sasnode2: command not found
/opt/TKGrid/grid.hosts: line 3: sasnode3: command not found
[sasinstall@sasnode1 ~]$ /opt/TKGrid_2.1/TKGrid/bin/tkgridperf
Unable to enumerate grid.
[sasinstall@sasnode1 ~]$ /opt/TKGrid_2.1/TKGrid/bin/tkgridmon
Unable to enumerate grid.
Timeout waiting for Grid connection.

[sasinstall@sasnode1 ~]$

Thanks!

SAS Super FREQ
Posts: 558

Re: Test the HPA Server Cluster Installation

@htin,

 

Please make sure that you have configured passwordless SSH. Each user that needs to start and stop servers and load and unload tables must have an account that is configured for passwordless SSH (on each machine in the cluster).

 

You can use this command to test passwordless SSH:

 

/opt/TKGrid_2.1/TKGrid/bin/simsh /opt/TKGrid_2.1/TKGrid/bin/simsh "hostname; id"
Contributor
Posts: 68

Re: Test the HPA Server Cluster Installation

Hi!

I have ssh to nodes by cmd as below:

[sasinstall@sasnode1 ~]$ ssh -o StrictHostKeyChecking=no -o PasswordAuthentication=no sasnode1
Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
[sasinstall@sasnode1 ~]$ ssh -o StrictHostKeyChecking=no -o PasswordAuthentication=no sasnode1^C
[sasinstall@sasnode1 ~]$ ssh -o PasswordAuthentication=no sasnode2
Last login: Tue Oct 17 15:18:19 2017 from sasnode1
[sasinstall@sasnode2 ~]$ exit
logout
Connection to sasnode2 closed.
[sasinstall@sasnode1 ~]$ ssh -o PasswordAuthentication=no sasnode3
Last login: Tue Oct 17 15:17:25 2017 from sasnode1
[sasinstall@sasnode3 ~]$ exit
logout
Connection to sasnode3 closed.
[sasinstall@sasnode1 ~]$

+ With this output, is it call  passwordless SSH between nodes?

+ Sorry, i'm new sas va, if you are free know, please remote my computer to check and fix by teamviewer: id: 187 423 600, pass: 4099.

Thanks so much!

SAS Super FREQ
Posts: 558

Re: Test the HPA Server Cluster Installation

@htin,

[sasinstall@sasnode1 ~]$ ssh -o StrictHostKeyChecking=no -o PasswordAuthentication=no sasnode1
Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).

Passwordless SSH should be bidirectional. Please see the link and command to verify it in the previous post.

Contributor
Posts: 68

Re: Test the HPA Server Cluster Installation

OK, it works, thanks so much.

SAS Super FREQ
Posts: 558

Re: Test the HPA Server Cluster Installation

@htin,

 

You are welcome!

Contributor
Posts: 68

Re: Test the HPA Server Cluster Installation

Hi!

Next step is install sasva software by UI.

In this cmd: ./setup.sh -deploy -record -responsefile /sas94/response.txt, file /sas94/response.txt is we create before or this file had available in sas source when I dwonloaded?

Thanks.

Ask a Question
Discussion stats
  • 12 replies
  • 260 views
  • 0 likes
  • 2 in conversation