SAS 9.4M5/VA 7.4 non-distributed on Windows 2012 R2.
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 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 task to start the LASR server, but when it runs, Reload-On-Start doesn't work.
The LASR library's data provide library is set to the correct data provider library and the following extended attributes are set:
VA.ReloadOnStart.Enabled Yes
VA.ReloadOnStart.Method All
VA.ReloadOnStart.TableDefault Yes
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.
Hi Juan, thanks for replying.
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.
Regards,
Nigel
The scheduled task that I created runs SAS code which I took from the Last Action Log for the LASR server in VA Administrator.
I assume you just invoking PROC LASR?
No, the code does various things:
1. creates a PID file
2. Starts the LASR server process (host name and signer domain redacted):
libname ml sasiola startserver= (
PATH="E:\SAS\config\Lev1\AppData\SASVisualAnalytics\VisualAnalyticsAdministrator\sigfiles" )
host="xxxxxxxx" port=10031 signer="https://xxxxxxxxx:443/SASLASRAuthorization" ;
3. Runs PROC VASMP:
proc vasmp;
serverwait port=10031;
quit;
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.
Thanks, that code will neven trigger reload-on-start. Do not use reload-on-start as a general-purpose way of keeping data available. Autoload is the recommended general-purpose way of keeping data available.
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.
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.
Thanks @AnandVyas. It's a pity but, hey ho!
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.