BookmarkSubscribeRSS Feed
htin
Quartz | Level 8

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!

12 REPLIES 12
alexal
SAS Employee

@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?

htin
Quartz | Level 8

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!

alexal
SAS Employee

@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.

htin
Quartz | Level 8

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!

alexal
SAS Employee

@htin,

 

export GRIDRSHCOMMAND & checknodes are separate commands.

htin
Quartz | Level 8

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!

alexal
SAS Employee

@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"
htin
Quartz | Level 8

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!

alexal
SAS Employee

@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.

htin
Quartz | Level 8

OK, it works, thanks so much.

alexal
SAS Employee

@htin,

 

You are welcome!

htin
Quartz | Level 8

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.

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

Tips for filtering data sources in SAS Visual Analytics

See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 12 replies
  • 2501 views
  • 0 likes
  • 2 in conversation