<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Starting SAS VA services through code in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Starting-SAS-VA-services-through-code/m-p/666301#M13957</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10246"&gt;@sandeep_reddy&lt;/a&gt;&amp;nbsp; - Please note, as &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/52993"&gt;@AnandVyas&lt;/a&gt; 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.&lt;/P&gt;</description>
    <pubDate>Wed, 01 Jul 2020 08:26:29 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2020-07-01T08:26:29Z</dc:date>
    <item>
      <title>Starting SAS VA services through code</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Starting-SAS-VA-services-through-code/m-p/666285#M13955</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;
&lt;P&gt;I am trying to start VA services through code line.&lt;/P&gt;
&lt;P&gt;I am trying to run a program and failed with base sas.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/path/to/sas restart.sas . This program is getting timed out and failing in starting the services.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But, when i do from ./Workspaceserver.sh -nodms and run the same code, I am able to running an start the services successfully.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/* Start the LASR server process in the cluster */&lt;BR /&gt;proc lasr create PORT=10053&lt;BR /&gt;path="/opt/sas/sigfiles"&lt;BR /&gt;signer="https://hostURL:3443/SASLASRAuthorization"&lt;BR /&gt;tablemem=80&lt;BR /&gt;logging &lt;BR /&gt;( &lt;BR /&gt;PATH = "/opt/sas/Logs"&lt;BR /&gt;&lt;BR /&gt;)&lt;BR /&gt;;&lt;BR /&gt;performance host="firstnamenode" nodes=ALL&lt;BR /&gt;install="/opt/sas/TKGrid" &lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please hep me to run the same code in background like integrating in batch.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Sandeep&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2020 07:14:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Starting-SAS-VA-services-through-code/m-p/666285#M13955</guid>
      <dc:creator>sandeep_reddy</dc:creator>
      <dc:date>2020-07-01T07:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: Starting SAS VA services through code</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Starting-SAS-VA-services-through-code/m-p/666289#M13956</link>
      <description>Why are you trying to run it directly using SAS Foundation? I would suggest to use SAS batch server instead of that. It should be located under your app context directory just like workspace server.</description>
      <pubDate>Wed, 01 Jul 2020 07:38:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Starting-SAS-VA-services-through-code/m-p/666289#M13956</guid>
      <dc:creator>AnandVyas</dc:creator>
      <dc:date>2020-07-01T07:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: Starting SAS VA services through code</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Starting-SAS-VA-services-through-code/m-p/666301#M13957</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10246"&gt;@sandeep_reddy&lt;/a&gt;&amp;nbsp; - Please note, as &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/52993"&gt;@AnandVyas&lt;/a&gt; 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.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2020 08:26:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Starting-SAS-VA-services-through-code/m-p/666301#M13957</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2020-07-01T08:26:29Z</dc:date>
    </item>
    <item>
      <title>Re: Starting SAS VA services through code</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Starting-SAS-VA-services-through-code/m-p/666310#M13958</link>
      <description>&lt;P&gt;You need to make sure that this SAS process has access to the metadata repository.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2020 08:56:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Starting-SAS-VA-services-through-code/m-p/666310#M13958</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-07-01T08:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: Starting SAS VA services through code</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Starting-SAS-VA-services-through-code/m-p/666332#M13959</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10246"&gt;@sandeep_reddy&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;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:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options metaserver='your.metadata.server.fqdn' metaport=8561 metaprotocol='bridge' metauser='USERNAME' metapass='PASSWORD' metarepository='Foundation';&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 01 Jul 2020 11:10:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Starting-SAS-VA-services-through-code/m-p/666332#M13959</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2020-07-01T11:10:08Z</dc:date>
    </item>
    <item>
      <title>Re: Starting SAS VA services through code</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Starting-SAS-VA-services-through-code/m-p/666503#M13961</link>
      <description>&lt;P&gt;Dear All,&lt;/P&gt;
&lt;P&gt;Thanks for your reply.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried suggested "options" statement while running from Foundation and sasbatch, still issue is same.&lt;/P&gt;
&lt;P&gt;When I did strace on PID, I am getting "connection timed" out continuously.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The code which executed in Workspace server successfully is doing nothing(no lines in log)&amp;nbsp;in foundation and sasbatch. I am confused here.&lt;/P&gt;
&lt;P&gt;How to debug above error?&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Sandeep&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2020 23:45:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Starting-SAS-VA-services-through-code/m-p/666503#M13961</guid>
      <dc:creator>sandeep_reddy</dc:creator>
      <dc:date>2020-07-01T23:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: Starting SAS VA services through code</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Starting-SAS-VA-services-through-code/m-p/666595#M13966</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10246"&gt;@sandeep_reddy&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please run the SAS program shown below in Base SAS and show me the log:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;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;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 02 Jul 2020 14:00:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Starting-SAS-VA-services-through-code/m-p/666595#M13966</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2020-07-02T14:00:03Z</dc:date>
    </item>
  </channel>
</rss>

