Sas064 2014
Sas064 2014
Sas064 2014
ABSTRACT
SAS Environment Manager is included within the release of SAS 9.4. This exciting new product allows administrators
to monitor the performance and operation of their SAS deployments. What very few people are aware of is that the
data collected by SAS Environment Manager is stored in a centralized data mart that is designed to help
administrators to better understand the behavior and performance of the components of their SAS solution stack.
This data mart can also be used to help organizations meet their IT Infrastructure Library (ITIL) reporting and
measurement requirements. In addition to the information about alerts, events and performance metrics collected by
the SAS Environment Manager agent technology, this data mart includes the metadata audit and content usage data
previously only available from the SAS® Audit and Performance Measurement (APM) package.
INTRODUCTION
Introduced with the SAS 9.4 Intelligence Platform release, SAS Environment Manager provides a framework for SAS
administrators and IT operations staff to monitor the performance, health, and operation of their SAS deployment.
Designed by SAS for SAS, SAS Environment Manager provides an integrated set of agent and server-based
capabilities that are aware of SAS processes and are designed to monitor the status of a SAS deployment’s servers,
services, and web applications. These capabilities can help IT organizations in establishing the deployment’s
operational norms and service levels. As a documented part of the ITIL best practices, the establishment of customer
service levels and resource consumption baselines are critical to maintaining the operationally health and stability of
a software deployment. By providing essential information about the usage of their IT resources, SAS Environment
Manager can assist IT departments in providing a stable, yet scalable SAS deployment for both the current and future
needs of their organization.
The SAS Environment Manager framework and kit enablement package is a valuable enhancement to the SAS
Environment Manager. It extends the capabilities of SAS Environment Manager beyond the near real-time
monitoring capabilities surfaced in the SAS Environment Manager web application user interface. At the center of
these expanded capabilities is the SAS Environment Manager Data Mart. This is a specialized data store designed
specifically to drive the reporting and analysis of the data that SAS Environment Manager collects. To facilitate this
work, the data mart stores detailed data for a longer period of time than the SAS Environment Manager web
application. It addition, it provides a fuller context by combining the standard SAS Environment Manager agent-
collected metric information with information extracted from the log files generated by the various servers, solutions
and web applications of a SAS deployment. This data is made available in a set of out-of-the-box reports and a set of
reporting tools. However, organizations are not limited to this set of tools. The data mart enables the full range of
analysis capabilities provided by the SAS Intelligence Platform to be applied to the collected data.
1
THE BENEFITS OF USING THE DATA MART
SAS Environment Manager, including the framework enhancements, can be used to address a variety of systems
management challenges within an organization. It provides functionality that does the following:
Creates a performance data mart (the SAS Environment Manager Data Mart), containing resource consumption
and log records associated with the SAS deployment for an extended period of time.
Collects data that is specific to a site's SAS deployment health and reporting requirements.
Enforces consistent references to common measurements across disparate data sources.
Leverages the domain knowledge of the SAS Research and Development staff directly through the bundling of
key performance reports, system health measures, and automated alerting when the deployments health has
been impacted.
Provides a variety of out-of-the-box reports to accommodate the needs of the data administrators, performance
analysts, and high-level information consumers focused on ensuring the operational integrity of the SAS
Intelligence Platform.
2
These events are surfaced through the SAS Environment Manager Event Center and Alert Center areas in the web
application interface. There are four types of events that can be recorded:
messages written to a monitored log file
changes made to a monitored configuration file
control actions initiated by administrators through the SAS Environment Manager web application
alerts that have been triggered
The SAS Environment Manager framework and kit enablement package provides out-of-the-box definitions for many
essential event alerts for excessive resource usage or errors. Furthermore, additional alerts can be defined to meet
specific site requirements. Alerts can be triggered based on a specific measurement falling outside of some
expected boundary or a specific message being detected in a monitored log file. The data mart includes tables with
information about the events that were recorded and the alerts that have been triggered. These events allow
administrators to look for unusual activity and correlate the events with the other resource usage metrics or log
messages.
3
For many resources, the application also provides views that surface additional resource-specific capabilities such as
access to related reports or collecting additional information for SAS Technical Support.
4
copies this new log information to a central repository. Batch jobs execute each night and use the Log Distributor,
which is a REST-based web service, to pull the new log information from this central repository for further processing.
LOG PARSERS
The package’s log parser technologies enable the SAS Environment Manager to leverage the log files generated by
many of the components of a SAS deployment. Similar to the approach taken with SAS Environment Manager
plugins, the SAS Environment Manager log parsing architecture is designed to be extensible and modular. Rather
than one massive program that needs to handle every possible type of log file, individual parsers are designed to
handle specific types of log files. For example, one parser might be responsible for parsing the log files generated by
the SAS stored process server logs, while another handles web server logs or the log files associated with a specific
SAS solution. The parsers allow SAS Environment Manager to understand the log file format and to extract the
valuable bits of information from the log file. Regardless of which parser module processed the log file, the extracted
important information is always standardized in the same way before being added to the SAS Environment Manager
Data Mart.
This technology is derived from the SAS APM package, which has been available as an experimental download from
the SAS support website for many years. Like its predecessor technology, the current technology extracts two types
of information:
metadata audit information, which is information about changes made to the objects within the SAS Metadata
Server repository
performance measurement information that captures information about how various SAS artifacts (such as
content and servers) are being used and measurements of the resulting resource consumption.
REPORT CENTER
The Report Center includes tools to allow administrators to leverage the data in the SAS Environment Manager Data
Mart. In addition, the package includes a set of pre-built out-of-the-box reports that use the data captured in the core
default set of reporting data sets. The reports are useful both as reports that administrators can use to do their job,
and as models of how the reporting tools can be used. These samples enable administrators to develop their own
reports to meet their unique needs.
5
EVENT CAPABILITIES INTEGRATION
The SAS Environment Manager framework package provides components to facilitate integration of its event
capabilities with other solutions. These components can be leveraged by the solution kits to support other SAS
solutions. They can even be leveraged by organizations to surface events from their own, in-house, developed SAS
solutions. In addition, the package provides the ability to surface SAS Environment Manager events to an
organization’s third-party monitoring solutions.
6
THE SAS ENVIRONMENT MANAGER DATA MART
Moving data from its raw form to the more usable and report- and analytics-friendly format of the data mart involves
several types of transformations. These transformations include:
standardization of key fields and table structures
consistent handling of events and alerts
maintaining consolidated inventories of resources and measurements containing both current and historical
information
retaining data for a fixed (but configurable) time-frame
Figure 3: The SAS Environment Manager Data Mart Maintains a "Rolling" Window of Data
STANDARDIZATION
Regardless of the original source of the data, the process of loading the data into the data mart enforces
standardization. This standardization is designed to make it easier for administrators and analysts to work with data.
Specific attributes that are standardized include:
7
label for every measurement field provides additional information about the measurement, including the
units used and how the measurement is expected to change over time. Information about how the
measurement can change could include whether the measurement trends upward over time, as a
measurement like system uptime might, or if the measurement is dynamic, meaning it will bounce up and
down, such as the measurement of CPU load might.
8
METADATASVRS SAS Metadata Servers configured in the NUMBER OF CLIENTS
environment
MEMORY USAGE
(CURRENT, HIGHEST)
JOURNAL TRANSACTIONS
IOMSERVERS SAS IOM servers that are spawned via CURRENT CONNECTED
the SAS Object Spawner, including
Workspace Server and stored process
CLIENTS
server sessions MEMORY SIZE
NUMBER OF PROCESSES
WEBAPPSERVERERS SAS web application server instances MEMORY USAGE
configured in the environment
(HEAP, PERMGEN)
GARBAGE COLLECTION
9
The SAS Environment Manager Report Center offers a collection of out-of-the-box resource consumption and error
reports that provide both a health check and a historical record of usage. The Report Center leverages the SAS
platform’s stored process and stored process report technologies. The Report Center offers a single source of
performance and troubleshooting forensics and resource usage of the SAS deployment’s infrastructure. SAS
Environment Manager Report Center offers a unique assessment of the resource usage and operational health of a
deployment from the perspective of those who build the software.
Figure 4: A Sample Report from the SAS Environment Manager Report Center
CONCLUSION
SAS Environment Manager provides IT staff with a valuable tool for understanding the health and performance of
their SAS deployments. The components of the SAS Environment Manager framework package build upon this
foundation to provide a more comprehensive view of a SAS deployment. By combining the performance data
collected by the SAS Environment Manager agent technology with the information extracted from a deployment’s
various log files, the SAS Environment Manager Data Mart gives IT staff an unprecedented view into behavior of their
SAS deployment. This allows IT staff to diagnose complex resource interactions, discern long term usage trends,
and perform exception analysis across several layers of the software stack. These capabilities allow IT staff to
reduce downtime and increase reliability of their deployment. The SAS Environment Manager technologies matrix
also provides a framework for SAS Research and Development domain experts to share their knowledge with
customers. By identifying key metrics and providing definitions for event and alert conditions, these experts enable
organizations to benefit from their experience. The solution kit framework allows SAS Environment Manager to
monitor SAS solutions as organizations expand their use of SAS. At the same time, the components of the package
also allow SAS to fit into an organization’s IT ecosystem by allowing the specialized knowledge of SAS Environment
Manager to be integrated into the organization’s third-party monitoring environment. Regardless of whether an
organization has adopted the ITIL approach, SAS Environment Manager provides them with a mechanism to
effectively measure performance, establish baselines, and monitor the health of their SAS deployment.
10
CONTACT INFORMATION
Your comments and questions are valued and encouraged. Contact the author:
Robert Bonham, Gregory Smith
100 SAS Campus Drive
Cary, NC 27513
SAS Institute Inc.
Bob.Bonham@sas.com, Greg.Smith@sas.com
http://www.sas.com
SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS
Institute Inc. in the USA and other countries. ® indicates USA registration.
Other brand and product names are trademarks of their respective companies.
11