BookmarkSubscribeRSS Feed
shoin
Lapis Lazuli | Level 10

SAS 9.4 TS1M6, Non-distributed VA on Linux.

 

Q: How do I find LASR Server status via command line?  I looked in the admin guides and Google but nothing specific.

 

Note: This is outside of going to Hub or using PROC HTTP.

 

Thank you in advance,

 

S

2 REPLIES 2
gwootton
SAS Super FREQ

What about checking if the ports are listening?

 

[sas@host~]$ for p in 10011 10031; do nc -z -w1 $HOSTNAME $p && echo "LASR up on port $p" || echo "LASR down on port $p"; done
LASR down on port 10011
LASR down on port 10031
[sas@host ~]$

[sas@host~]$ for p in 10011 10031; do nc -z -w1 $HOSTNAME $p && echo "LASR up on port $p" || echo "LASR down on port $p"; done
LASR up on port 10011
LASR up on port 10031
[sas@host~]$
--
Greg Wootton | Principal Systems Technical Support Engineer
alexal
SAS Employee

Sure, you can check whether the port is in use, however that doesn't mean the server is up and responding. For non-distributed LASR server the best way to check whether the server is up and responding is to write a wrapper script that starts Base SAS and connects to the LASR server using the SASIOLA engine. 

 

LIBNAME LASR SASIOLA  TAG=<YOUR_TAG>  PORT=<YOUR_PORT> SIGNER="https://<YOUR_MIDDLE_TIER_URL>/SASLASRAuthorization"  HOST="<YOUR_LASR_HOST>" ;
LIBNAME LASR clear;

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
  • 2 replies
  • 796 views
  • 2 likes
  • 3 in conversation