Hi Team,
I am trying to start VA services through code line.
I am trying to run a program and failed with base sas.
/path/to/sas restart.sas . This program is getting timed out and failing in starting the services.
But, when i do from ./Workspaceserver.sh -nodms and run the same code, I am able to running an start the services successfully.
/* Start the LASR server process in the cluster */
proc lasr create PORT=10053
path="/opt/sas/sigfiles"
signer="https://hostURL:3443/SASLASRAuthorization"
tablemem=80
logging
(
PATH = "/opt/sas/Logs"
)
;
performance host="firstnamenode" nodes=ALL
install="/opt/sas/TKGrid"
;
run;
Please hep me to run the same code in background like integrating in batch.
Best Regards,
Sandeep
@sandeep_reddy - Please note, as @Anand_V has already said this has to be run as a batch job. Once started the job must be left running so that PROC LASR stays in memory. If you kill the batch job your VA services will also stop.
You need to make sure that this SAS process has access to the metadata repository.
As you are using the SAS LASR Authorization service, PROC LASR requires a connection to the metadata server. If you wantto run your program from Base SAS, you have to define the following options:
options metaserver='your.metadata.server.fqdn' metaport=8561 metaprotocol='bridge' metauser='USERNAME' metapass='PASSWORD' metarepository='Foundation';
Dear All,
Thanks for your reply.
I tried suggested "options" statement while running from Foundation and sasbatch, still issue is same.
When I did strace on PID, I am getting "connection timed" out continuously.
The code which executed in Workspace server successfully is doing nothing(no lines in log) in foundation and sasbatch. I am confused here.
How to debug above error?
Best Regards,
Sandeep
Please run the SAS program shown below in Base SAS and show me the log:
options metaserver='METADARA.SERVER.FQDN' metaport=8561 metaprotocol='bridge' metauser='USERNAME' metapass='PASSWORD' metarepository='Foundation';
options set=SHOWGRIDMSG="1";
options set=GRIDHOST="HEAD.NODE.FQDN";
options set=GRIDINSTALLLOC="/opt/sas/TKGrid";
options set=GRIDRSHCOMMAND="/opt/sas/TKGrid/bin/ssh.sh";
proc hpatest data=sashelp.cars; performance nodes=all; run;
proc lasr create PORT=10053 path="/opt/sas/sigfiles" signer="https://MIDDLE.TIER.FQDN:3443/SASLASRAuthorization" tablemem=80 logging ( PATH = "/opt/sas/Logs" KEEPLOG ); nodes=all; run;
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!
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.