Architecting, installing and maintaining your SAS environment

sas deplpyment agent status

Accepted Solution Solved
Reply
Super Contributor
Super Contributor
Posts: 373
Accepted Solution

sas deplpyment agent status

how to tell or check if sas deployment agent is running or not on linux redhat?

 

when do ./sas.servers status from ..../web/config/Lev1 don't see there,,and service command will not tell as sas.servers not added to /etc/init.d I believe,,,Thank you -


Accepted Solutions
Solution
Tuesday
Trusted Advisor
Posts: 1,424

Re: sas deplpyment agent status

Hello @woo,

 

some bits:

 

  • to start and/or check your agent is running:  ./agentadmin.sh start

You will get:

$ ./agentadmin.sh start
agentadmin.sh: agent start: SAS Deployment Agent is already running. Process Identifier (PID) is 4056

  • To be sure of the post of your agent  solstice.agent.jmx.port value at sashome/SASDeploymentAgent/9.4/config/agent.properties
  • If you will check the port, please do it on that port.

View solution in original post


All Replies
Trusted Advisor
Posts: 1,424

Re: sas deplpyment agent status

Hello @woo,

 

unfortunately, the SAS Deployment Agent it is, indeed, not managed by the sas.servers script. You can manage it only independently.

Please see the links below, they have all the information.

 

What you can do, is to create your own sas.servers script (do not modify the current one) and include the lines to check the status of this service, and to stop/start it.

 

http://documentation.sas.com/?docsetId=bisag&docsetTarget=p0unuqm5ft99abn1hbgkzp5rjwj9.htm&docsetVer...

https://communities.sas.com/t5/tkb/articleprintpage/tkb-id/library/article-id/1448

Super Contributor
Super Contributor
Posts: 373

Re: sas deplpyment agent status

Posted in reply to JuanS_OCS

Thanks  

 

so if want to make own script how much information script would include? I see agent.sh script at ....install/SASDeploymentAgent/9.4,

if I do ./agent.sh status -> it gives me nothing,

 

 

Trusted Advisor
Posts: 1,424

Re: sas deplpyment agent status

Hello @woo,

 

for status, probably you should try a telnet command to the port of your Deployment Agent or check on netstat

Super Contributor
Super Contributor
Posts: 373

Re: sas deplpyment agent status

Posted in reply to JuanS_OCS

Thanks Juan but this gets me nothing as root (not sure on what port, SDA is running so checking with default one,

 

lsof -I :5660 -S

or

netstat -tulpn | grep :5660

 

or with 5669

Solution
Tuesday
Trusted Advisor
Posts: 1,424

Re: sas deplpyment agent status

Hello @woo,

 

some bits:

 

  • to start and/or check your agent is running:  ./agentadmin.sh start

You will get:

$ ./agentadmin.sh start
agentadmin.sh: agent start: SAS Deployment Agent is already running. Process Identifier (PID) is 4056

  • To be sure of the post of your agent  solstice.agent.jmx.port value at sashome/SASDeploymentAgent/9.4/config/agent.properties
  • If you will check the port, please do it on that port.
☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 5 replies
  • 164 views
  • 1 like
  • 2 in conversation