BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
woo
Barite | Level 11 woo
Barite | Level 11

Hello friends,
I have dumb question may be. We are running with sas 9.4 m7 on linux and it's a grid environment. I don't know why but I do not see SAS/CONNECT is up and running on any grid node or don't see plug-in for SMC as well. What I am missing here? Of-course base sas and sas/connect is required on each node not I don't see it either in services as well.
Thank you

1 ACCEPTED SOLUTION

Accepted Solutions
doug_sas
SAS Employee

@woo wrote:

Thank you. 

We are running with LSF and gsub. We don't have grid orchestrator. 

Any commands we can use? ps -ef cmd doesn't shows any process with connect spawner. We have multiple sasapp and for same app servers, we have obj. spawner definition defined.  


A spawner is not needed in a grid. LSF replaces the spawner as the daemon that starts CONNECT servers. Run the following code:

%put rc=%sysfunc(grdsvc_enable(_ALL_,server=SASApp));
SIGNON T1;

(this assumes you have a SAS Application Server context 'SASApp' that has a logical grid server defined)

Once this runs, there should be a SAS process running on the grid in CONNECT server mode. Use the LSF 'bjobs' command from a terminal to see the job information. To make the server go away, run the following code:

SIGNOFF T1;

If you had a CONNECT spawner, the process name would be 'cntspawn' in 9.4

View solution in original post

13 REPLIES 13
Tom
Super User Tom
Super User

I don't think SAS/Connect is needed for a GRID environment.  The GRID tools will take care of running the SAS processes on the right node.

 

To see if it is licensed run PROC SETINIT.

To see if it is installed run PROC PRODUCT_STATUS.

JosvanderVelden
SAS Super FREQ
Like Tom mentioned you can check the licensed and installed products by using the setinit and product_status procedures. And if you have access to the softwaredepot used for the installation you can check the license-file in the softwaredepot itself. It should have SAS/Connect.
woo
Barite | Level 11 woo
Barite | Level 11

Thank you Tom/Everyone for comment. 

Both, proc setinit; and proc product_status on node shows 'SAS/CONNECT - custom version information: 9.4_M7'.

AhmedAl_Attar
Rhodochrosite | Level 12

Hi @woo 

Check these links  

SAS Help Center: SAS Grid Topology

https://support.sas.com/publishing/pubcat/chaps/61471.pdf

They have SAS Grid Topology diagrams 

LinusH
Tourmaline | Level 20

SAS Grid comes in threes different flavours, SAS Grid manager, Platform and Hadoop.

The first one requires SAS/CONNECT on all involved servers, but I think the control node not necessarily needs to have the SAS/CONNECT Spawner service running...?.

 

Data never sleeps
doug_sas
SAS Employee

SAS/CONNECT is a pre-requisite for any grid product so you should have it licensed, but unless your plan file specified CONNECT spawners to be running, they will not automatically be set configured by SDW.

 

SAS Grid can start CONNECT servers by adding the grdsvc_enable statement before the SIGNON statement so a spawner is not needed. CONNECT servers started this way are often called 'grid servers', but are just CONNECT servers started by the grid provider (SWO, LSF, YARN).

woo
Barite | Level 11 woo
Barite | Level 11

Thank you Dog for your comment. I do see SAS/CONNECT in proc setinit and proc product_status though. 

 

So this way from your comment "CONNECT servers started this way are often called 'grid servers', but are just CONNECT servers started by the grid provider (SWO, LSF, YARN)." ---- is this means, they have node configured and that is why it plug-in doesn't exist in SMC? When Grid starts connect server, any way to track it? 

doug_sas
SAS Employee

You track things started on the grid through the Grid provider's UI. 

  • SAS Workload Orchestrator serves up its own UI (no mid-tier needed)
  • SAS has the SAS Grid Manager Module for SAS Environment Manager to serve up one for LSF (mid-tier required).
  • Hadoop YARN has the UI for the YARN Resource Manager
woo
Barite | Level 11 woo
Barite | Level 11

Thank you. 

We are running with LSF and gsub. We don't have grid orchestrator. 

Any commands we can use? ps -ef cmd doesn't shows any process with connect spawner. We have multiple sasapp and for same app servers, we have obj. spawner definition defined.  

SASKiwi
PROC Star

Have a look in SAS Management Console. If SAS/CONNECT is installed then I'd expect to see this on all App nodes:

SASKiwi_0-1710184337457.png

 

 

doug_sas
SAS Employee

It is more accurate to say 'if SAS/CONNECT is configured' instead of installed. SAS/CONNECT can be installed, but if you did not have any SAS/CONNECT Server Configurations (or SAS/CONNECT configurations) defined in your plan file, a SAS/CONNECT spawner would not have been configured and Logical CONNECT servers may not have been configured either.

doug_sas
SAS Employee

@woo wrote:

Thank you. 

We are running with LSF and gsub. We don't have grid orchestrator. 

Any commands we can use? ps -ef cmd doesn't shows any process with connect spawner. We have multiple sasapp and for same app servers, we have obj. spawner definition defined.  


A spawner is not needed in a grid. LSF replaces the spawner as the daemon that starts CONNECT servers. Run the following code:

%put rc=%sysfunc(grdsvc_enable(_ALL_,server=SASApp));
SIGNON T1;

(this assumes you have a SAS Application Server context 'SASApp' that has a logical grid server defined)

Once this runs, there should be a SAS process running on the grid in CONNECT server mode. Use the LSF 'bjobs' command from a terminal to see the job information. To make the server go away, run the following code:

SIGNOFF T1;

If you had a CONNECT spawner, the process name would be 'cntspawn' in 9.4

gwootton
SAS Super FREQ
With a grid configuration you would not need to have a SAS/Connect Spawner and Server configured, this would be an optionally configured component and in your case it sounds like one has not been configured.

Instead, you would use GRDSVC_ENABLE to launch a connect server as a grid job directly rather than submitting a request to launch a connect server to the connect spawner, which would not make use of grid.
--
Greg Wootton | Principal Systems Technical Support Engineer

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Get Started with SAS Information Catalog in SAS Viya

SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 13 replies
  • 913 views
  • 13 likes
  • 8 in conversation