Open SAS/config/LevN/documents/Instructions.html,
and follow the steps found in the topic on validation.
Note: Steps 1 and 2 are needed
only if you are configuring the middle-tier on an AIX machine.
-
Create the following
symbolic links for every middle-tier machine where SAS Micro Analytic
Service REST API has been deployed:
-
libdflic-1.4.so to libdflic-1.4.a
-
libdfssys-1.3.so to libdfssys-1.3.a
Here is an example:
cd <LevConfig>/Web/WebAppServer/SASServer13_#/sas_webapps/
sas.microanalyticserver.war/WEB-INF/lib/loadlib
In -s libdflic-1.4.a libdflic-1.4.so
In -s libdfssys-1.3.a libdfssys-1.3.so
-
Restart the SASServer13
nodes on every middle-tier machine where SAS Micro Analytic Service
REST API is deployed.
-
Validate the web service
URL for the SAS Micro Analytic Service REST API. If the service is
deployed correctly, the following JSON object is returned:
{"version":1,"links":[{"method":"GET","rel":"modules",
"href":"http://www.example.com/SASMicroAnalyticService/rest/modules","uri":"/modules"},
{"method":"POST","rel":"createModule","href":
"http://www.example.com/SASMicroAnalyticService/rest/modules","uri":"/modules"}]}
-
When you have completed
the validation steps found in instructions.html, grant access to the
service to a user, and add that user as a member of the Decision Manager
Users group.
-
In SAS Management Console,
expand
Environment Manager.
-
Right-click
User
Manager and click
NewUser.
-
On the
General tab,
enter the name and any other optional information.
-
On the
Groups
and Roles tab, find the
Decision Manager
Users group from the
Available Groups and
Roles list and add it to the
Member of list.
-
On the
Accounts tab,
click
New.
-
In the
New
Login Properties dialog box, you must complete at least
the
User ID field. Click
OK.
-
Click
OK in
the
New User Properties dialog box.
Note: If connecting an administrative
console such as JConsole or JVisualVM causes the server to terminate,
add -Xrs to the JVM options and restart the server.
-
On UNIX platforms, -Xrs can be
added to the JVM_OPTS variable in the setenv.sh file located in SAS-configuration-directory/LevN/Web/WebAppServer/SASServer13_N/bin/
directory
.
-
On Windows platforms, -Xrs can
be added to setenv.bat, located in the directory mentioned above,
if you invoke your server using the tcruntime-ctl.bat script. If
you invoke the server as a service, then add it to the wrapper.conf
file located at SAS-configuration-dirctory/LevN/Web/WebAppServer/SASServer13_N/conf/wrapper.conf
.