![]() | ![]() | ![]() |
The SAS Environment Manager Service Architecture is an optional tool that extends the application’s auditing and user monitoring capabilities. To learn more about the Service Architecture and the nightly processes, review Understanding SAS Environment Manager Service Architecture
You can verify that the ETL processes are initialized and enabled by running the following script on the compute (or grid controller) machine:
If the Service Architecture is enabled, the output from the above script should look similar to this:
Here are the steps in the process in the order in which they automatically run:
Location: This script is located on each machine in the deployment:
Linux: SAS-configuration-directory/LevN/Web/SASEnvironmentManager/emi-client/bin/log_discovery.sh
Windows: SAS-configuration-directory\LevN\Web\SASEnvironmentManager\emi-client\bin\log_discovery.bat
Description: This script scans the paths and creates/updates the log_locations.json file with the locations of the discovered log directories.
Process: This script automatically runs every four hours (invoked by agent code that initiates metric collection).
Location: This script is located in the emi-client on each machine in the deployment:
Linux: SAS-configuration-directory/LevN/Web/SASEnvironmentManager/emi-client/bin/log_collect.sh
Windows: SAS-configuration-directory\LevN\Web\SASEnvironmentManager\emi-client\bin\log_collect.bat
Description: This script collects the logs that are located in the paths specified in the log_locations.json file and moves those logs to a local landing zone for each machine.
Process: This script runs nightly (by default at 12:00 AM).
*Note: Files that do not match the pattern in the logDiscovery.groovy script are not purged.
Location: This script is located in the emi-framework on the compute (or grid controller) machine:
Linux: SAS-configuration-directory/LevN/Web/SASEnvironmentManager/emi-framework/bin/log_centralize.sh
Windows: SAS-configuration-directory\LevN\Web\SASEnvironmentManager\emi-framework\bin\log_centralize.bat
Description: This script calls on the Deployment Agents to zip and move the logs from each machine's local landing zone (emi-client) to the central landing zone (emi-framework).
Process: This script runs nightly (by default at 1:00 AM).
Location: This script is located in the emi-framework on the compute (or grid controller) machine:
Linux: SAS-configuration-directory/LevN/Web/SASEnvironmentManager/emi-framework/bin/master_acm_etl.sh
Windows: SAS-configuration-directory\LevN\Web\SASEnvironmentManager\emi-framework\bin\master_acm_etl.bat
Description: This script extracts and stores metric data that is collected by SAS Environment Manager agents and standardized into data sets.
Process: This script runs nightly (by default at 2:00 AM).
Location: This script is located in the emi-framework on the compute (or grid controller) machine:
Linux: SAS-configuration-directory/LevN/Web/SASEnvironmentManager/emi-framework/bin/master_apm_etl.sh
Windows: SAS-configuration-directory\LevN\Web\SASEnvironmentManager\emi-frameworkbin\master_apm_etl.bat
Description: This script moves the logs from the central landing zone to a temporary staging area and then parses and analyzes the logs, puts the information into a standard format (data sets), and archives the original log files.
Process: This script runs nightly (by default at 3:00 AM).
Configure the Nightly Process:
To update the nightly process of the Data Mart Services (i.e., disable automatic execution of the process or change the hour that the process is run):
On the SAS Environment Manager Web Console, select Resources ► Browse ► Services ► select the resource {Log Collection, Log Centralization, APM ETL Processing, ACM ETL Processing} ► expand Tools Menu ► Configure Service.
Example: APM ETL Processing resource configuration:

Log locations: SAS-configuration-directory/LevN/Web/SASEnvironmentManager/emi-client/Conf/log_locations.json
Log Inventory: SAS-configuration-directory/LevN/Web/SASEnvironmentManager/emi-client/Inventory/log_inventory.json
Keeps track of positions within each given log file so that it can handle collecting data from partially-complete logs.
Local Landing Zone: SAS-configuration-directory/LevN/Web/SASEnvironmentManager/emi-client/LandingZone
Central Landing Zone: SAS-configuration-directory/LevN/Web/SASEnvironmentManager/emi-framework/LandingZone
Staging directory: SAS-configuration-directory/LevN/Web/SASEnvironmentManager/emi-framework/LandingZone/.staging
Datamart: SAS-configuration-directory/LevN/Web/SASEnvironmentManager/emi-framework/Datamart
Archive directory: SAS-configuration-directory/LevN/Web/SASEnvironmentManager/emi-framework/Archive
| Product Family | Product | System | Product Release | SAS Release | ||
| Reported | Fixed* | Reported | Fixed* | |||
| SAS System | SAS Environment Manager | Microsoft® Windows® for x64 | 2.4 | 9.4 TS1M2 | ||
| 64-bit Enabled AIX | 2.4 | 9.4 TS1M2 | ||||
| 64-bit Enabled Solaris | 2.4 | 9.4 TS1M2 | ||||
| HP-UX IPF | 2.4 | 9.4 TS1M2 | ||||
| Linux for x64 | 2.4 | 9.4 TS1M2 | ||||
| Solaris for x64 | 2.4 | 9.4 TS1M2 | ||||
| Type: | Usage Note |
| Priority: |
| Date Modified: | 2023-01-18 05:22:37 |
| Date Created: | 2021-12-17 10:57:13 |


