<?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: Reload-on-start in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Reload-on-start/m-p/627155#M13536</link>
    <description>Hello Nigel,&lt;BR /&gt;The Reload-On-Start has basically two steps: a) the automatic reflection in the storage of the imported data. b) if a LASR server stops, when you start it, it will reload all of that data.&lt;BR /&gt;I noticed you described in your test only the second step. Did you have the chance that the first step works for you?&lt;BR /&gt;Here is what I would do:&lt;BR /&gt;&lt;BR /&gt;  1.  Ensure all steps are done&lt;BR /&gt;  2.  Restart LASR, then import data and check if data is moved to storage as well. If OK, go to the next step, if not, first troubleshoot this one&lt;BR /&gt;  3.  Then restart LASR again and start LASR from the LASR servers tab (as the documentation says). Does it work?&lt;BR /&gt;If you want to achieve the scheduling of starting LASR and automatic load of data, then you will need to create an AutoLoad folder, or script the load by yourself. In addition to the Reload-on-start, of course, as you still want imported data to go to the Autoload folder.&lt;BR /&gt;Official documentation:&lt;BR /&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/vaag/69958/HTML/default/viewer.htm#n1s2hnpd892n7fn1dp18x2xgffel.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/vaag/69958/HTML/default/viewer.htm#n1s2hnpd892n7fn1dp18x2xgffel.htm&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/vaag/69958/HTML/default/viewer.htm#n0nm6qjzfz4eban1237qqrcmxz0j.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/vaag/69958/HTML/default/viewer.htm#n0nm6qjzfz4eban1237qqrcmxz0j.htm&lt;/A&gt;&lt;BR /&gt;An easy step-by-step guide created by Selerity:&lt;BR /&gt;&lt;A href="https://support.selerity.com.au/hc/en-us/articles/223346068-How-To-Loading-Data-in-SAS-Visual-Analytics-Reloading-on-Start" target="_blank"&gt;https://support.selerity.com.au/hc/en-us/articles/223346068-How-To-Loading-Data-in-SAS-Visual-Analytics-Reloading-on-Start&lt;/A&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Juan&lt;BR /&gt;</description>
    <pubDate>Tue, 25 Feb 2020 11:45:00 GMT</pubDate>
    <dc:creator>JuanS_OCS</dc:creator>
    <dc:date>2020-02-25T11:45:00Z</dc:date>
    <item>
      <title>Reload-on-start</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Reload-on-start/m-p/627149#M13535</link>
      <description>&lt;P&gt;SAS 9.4M5/VA 7.4 non-distributed on Windows 2012 R2.&lt;/P&gt;
&lt;P&gt;I'm trying to work out how to get Reload-On-Start working in a particular circumstance. We have the out-of-the-box Visual Analytics Public LASR and Visual Analytics Public&amp;nbsp;Data Provider libraries, associated with the Public LASR Analytic Server. If the LASR server is stopped for whatever reason (eg. server reboot), it currently has to be restarted manually from VA Administrator, and this kicks off Reload-On-Start. I created a scheduled&amp;nbsp;task to start the LASR server, but when it runs, Reload-On-Start doesn't work.&lt;/P&gt;
&lt;P&gt;The LASR library's data provide library is set to the correct data provider library and the following extended attributes are set:&lt;/P&gt;
&lt;P&gt;VA.ReloadOnStart.Enabled Yes&lt;/P&gt;
&lt;P&gt;VA.ReloadOnStart.Method All&lt;/P&gt;
&lt;P&gt;VA.ReloadOnStart.TableDefault Yes&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The scheduled task that I created runs SAS code which I took from the Last Action Log for the LASR server in VA Administrator. It does start the LASR server but the tables are never reloaded into the LASR library.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2020 10:53:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Reload-on-start/m-p/627149#M13535</guid>
      <dc:creator>Nigel_Pain</dc:creator>
      <dc:date>2020-02-25T10:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: Reload-on-start</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Reload-on-start/m-p/627155#M13536</link>
      <description>Hello Nigel,&lt;BR /&gt;The Reload-On-Start has basically two steps: a) the automatic reflection in the storage of the imported data. b) if a LASR server stops, when you start it, it will reload all of that data.&lt;BR /&gt;I noticed you described in your test only the second step. Did you have the chance that the first step works for you?&lt;BR /&gt;Here is what I would do:&lt;BR /&gt;&lt;BR /&gt;  1.  Ensure all steps are done&lt;BR /&gt;  2.  Restart LASR, then import data and check if data is moved to storage as well. If OK, go to the next step, if not, first troubleshoot this one&lt;BR /&gt;  3.  Then restart LASR again and start LASR from the LASR servers tab (as the documentation says). Does it work?&lt;BR /&gt;If you want to achieve the scheduling of starting LASR and automatic load of data, then you will need to create an AutoLoad folder, or script the load by yourself. In addition to the Reload-on-start, of course, as you still want imported data to go to the Autoload folder.&lt;BR /&gt;Official documentation:&lt;BR /&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/vaag/69958/HTML/default/viewer.htm#n1s2hnpd892n7fn1dp18x2xgffel.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/vaag/69958/HTML/default/viewer.htm#n1s2hnpd892n7fn1dp18x2xgffel.htm&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/vaag/69958/HTML/default/viewer.htm#n0nm6qjzfz4eban1237qqrcmxz0j.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/vaag/69958/HTML/default/viewer.htm#n0nm6qjzfz4eban1237qqrcmxz0j.htm&lt;/A&gt;&lt;BR /&gt;An easy step-by-step guide created by Selerity:&lt;BR /&gt;&lt;A href="https://support.selerity.com.au/hc/en-us/articles/223346068-How-To-Loading-Data-in-SAS-Visual-Analytics-Reloading-on-Start" target="_blank"&gt;https://support.selerity.com.au/hc/en-us/articles/223346068-How-To-Loading-Data-in-SAS-Visual-Analytics-Reloading-on-Start&lt;/A&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Juan&lt;BR /&gt;</description>
      <pubDate>Tue, 25 Feb 2020 11:45:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Reload-on-start/m-p/627155#M13536</guid>
      <dc:creator>JuanS_OCS</dc:creator>
      <dc:date>2020-02-25T11:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: Reload-on-start</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Reload-on-start/m-p/627161#M13537</link>
      <description>&lt;P&gt;Hi Juan, thanks for replying.&lt;/P&gt;
&lt;P&gt;The tables exist in the data provider library so, from my understanding of Load-On-Start, I thought they should be loaded when the LASR server starts? This is what happens when I manually start it from VA Administrator. It just doesn't when the scheduled job runs.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Nigel&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2020 12:11:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Reload-on-start/m-p/627161#M13537</guid>
      <dc:creator>Nigel_Pain</dc:creator>
      <dc:date>2020-02-25T12:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: Reload-on-start</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Reload-on-start/m-p/627175#M13539</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13516"&gt;@Nigel_Pain&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;The scheduled task that I created runs SAS code which I took from the Last Action Log for the LASR server in VA Administrator.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I assume you just invoking PROC LASR?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2020 13:18:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Reload-on-start/m-p/627175#M13539</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2020-02-25T13:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: Reload-on-start</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Reload-on-start/m-p/627178#M13540</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/41748"&gt;@alexal&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;No, the code does various things:&lt;/P&gt;
&lt;P&gt;1. creates a PID file&lt;/P&gt;
&lt;P&gt;2. Starts the LASR server process (host name and signer domain redacted):&lt;/P&gt;
&lt;PRE style="width: 778px; height: 172px;"&gt;&lt;CODE class=" language-sas"&gt;libname ml sasiola startserver=
 (&lt;BR /&gt; PATH="E:\SAS\config\Lev1\AppData\SASVisualAnalytics\VisualAnalyticsAdministrator\sigfiles"
 )&lt;BR /&gt;host="xxxxxxxx" port=10031
signer="https://xxxxxxxxx:443/SASLASRAuthorization"
;&lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;
&lt;P&gt;3. Runs PROC VASMP:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc vasmp;
   serverwait port=10031;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This is the basis of it, although it's all wrapped in macro code. As I say it comes from the Last Action Log for the LASR server in VA Administrator.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2020 13:39:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Reload-on-start/m-p/627178#M13540</guid>
      <dc:creator>Nigel_Pain</dc:creator>
      <dc:date>2020-02-25T13:39:33Z</dc:date>
    </item>
    <item>
      <title>Re: Reload-on-start</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Reload-on-start/m-p/627180#M13541</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13516"&gt;@Nigel_Pain&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks, that code will neven trigger reload-on-start. Do not use reload-on-start as a general-purpose way of keeping data available. &lt;A href="https://go.documentation.sas.com/?cdcId=bicdc&amp;amp;cdcVersion=9.4&amp;amp;docsetId=vaag&amp;amp;docsetTarget=n0nm6qjzfz4eban1237qqrcmxz0j.htm&amp;amp;locale=en" target="_blank" rel="noopener"&gt;Autoload&lt;/A&gt; is the recommended general-purpose way of keeping data available.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2020 13:51:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Reload-on-start/m-p/627180#M13541</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2020-02-25T13:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: Reload-on-start</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Reload-on-start/m-p/627183#M13542</link>
      <description>&lt;P&gt;Thanks. Why won't it trigger reload-on-start? I thought that was the point of it? These are static tables (they are actually the sample ones) so I didn't think Autoload would be necessary. We use Autoload for users' live data, and that works well for data which is potentially changing.&lt;/P&gt;
&lt;P&gt;TBH, I'm inclined just to stick with the manual start of the Public LASR server. It only hosts the sample data and reports so isn't business-critical.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2020 14:06:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Reload-on-start/m-p/627183#M13542</guid>
      <dc:creator>Nigel_Pain</dc:creator>
      <dc:date>2020-02-25T14:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: Reload-on-start</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Reload-on-start/m-p/627184#M13543</link>
      <description>I have faced this similar scenario and what &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/41748"&gt;@alexal&lt;/a&gt; has mentioned its correct. It won't trigger cause the non distributed server process goes on wait until it receives a kill signal.&lt;BR /&gt;&lt;BR /&gt;You can either write a SAS Code to spawn independently based on LASR port validation to perform the reload on start.&lt;BR /&gt;&lt;BR /&gt;Usually what I have observed is when you start the LASR from VAAdmin page, it spawns another SAS Session to reload these tables. You will have to replicate that to achieve it in automated way. &lt;BR /&gt;&lt;BR /&gt;Hope this helps!</description>
      <pubDate>Tue, 25 Feb 2020 14:13:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Reload-on-start/m-p/627184#M13543</guid>
      <dc:creator>AnandVyas</dc:creator>
      <dc:date>2020-02-25T14:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: Reload-on-start</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Reload-on-start/m-p/627185#M13544</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/52993"&gt;@AnandVyas&lt;/a&gt;. It's a pity but, hey ho!&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2020 14:18:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Reload-on-start/m-p/627185#M13544</guid>
      <dc:creator>Nigel_Pain</dc:creator>
      <dc:date>2020-02-25T14:18:40Z</dc:date>
    </item>
  </channel>
</rss>

