Lev1/SASApp/WorkspaceServer/PerfLogs
directory
for each spawned SAS Workspace Server. You must be aware of the potential
for the large number of log files that can be created in this directory.
This situation can occur if you have a large number of SAS Enterprise
Guide or SAS Data Integration Studio users, because each session for
those applications generates a separate log file. You can create a
daily archive of the logs in a .zip or .tar file and then copy the
daily archive to another storage location. This process enables you
to manage the large number of log files while maintaining IT best
practices for retaining usage logs.
/SAS/Config/Lev1/SASApp/WorkspaceServer/Logs
and /SAS/Config/Lev1/SASApp/WorkspaceServer/PerfLogs
directories.
[levelroot]/Web/SASEnvironmentManager/emi-framework/bin
.
./apm_init.sh
(UNIX)
or apm_init.bat
(Windows). If you have a
host alias, you must add the option -–hostAlias hostAliasName
.
configureAPMlocal_<machine>.sh
(UNIX)
or configureAPMlocal_<machine>.bat
(Windows)
for each machine in your environment.
emi-framework/Logs
directory for
errors.
[levelroot]/Web/SASEnvironmentManager/emi-framework/apm
.
./configureAPMlocal_<localmachine>.sh
(UNIX)
or configureAPMlocal_<localmachine>.bat
(Windows),
where <localmachine>
corresponds to the machine that you are currently using.
[levelroot]/Web/SASEnvironmentManager/emi-framework/Conf/log_definitions.json
.
Locate the entries labeled “levRoot” :”DEFINE_THIS_MOUNT_POINT”
.
Above each of these entries is a description of the remote host’s
name and the definition for the levRoot path from the perspective
of the remote host. Change the DEFINE_THIS_MOUNT_POINT string to the
path of the levRoot directory from as seen from the APM ETL host.
“name”: “SAS – Logical Pooled Workspace Server”, “hostname”: “beta.example.com”, “hostLevRoot”: “/usr/local/SAS/config/Lev1”, “levRoot”: “DEFINE_THIS_MOUNT_POINT”, “contextName”: “SASApp”, “logLocation”: “PooledWorkspaceServer/PerfLogs”, “baseFilename”: “arm4_PooledWSServer”, “operation”: “Move”
hostLevRoot
value
specifies the path to the SAS configuration from the perspective of
the machine specified by the hostname
value
(beta.example.com
). If the beta.example.com
machine uses NFS to export the specified directory, it might be specified
differently on the alpha.example.com machine (such as /remote/beta/Lev1
).
In that case you would change the levRoot
value
to “levRoot”: “/remote/beta/Lev1”,
.
sas.servers
restart
command..
<levelroot>/SASMeta/MetadataServer.sh restart <levelroot>/ObjectSpawner/ObjectSpawner.sh restart <levelroot>/ConnectSpawner/ConnectSpawner.sh restart <levelroot>/SASApp/OLAPServer/OLAPServer.sh restart
/Logs
or /PerfLogs
directories.
Sign off from SAS Management Console after you validate the servers.
[levelroot]/Web/SASEnvironmentManager/emi-framework/bin
directory.
./emi_init.sh --enable APM
(UNIX)
or emi_init.bat --enable APM
(Windows).
[levelroot]/Web/SASEnvironmentManager/emi-framework/ConfigureFiles
,
edit the file logconfig.apm.xml.
<DEFINE_THIS_VALUE>
with
the path name for the OLAP server at your site. To determine the value
for this path, you can check the logconfig.apm.xml file in the [levelroot]/SASApp/OLAPServer
directory.
[levelroot]SASApp/OLAPServer
directory,
replacing the file that is already in that directory.
[levelroot]/SASApp/OLAPServer/OLAPServer.sh
restart
(UNIX) or OLAPServer.bat restart
(Windows).