retrieval system, or transmitted, in any form or by any means, electronic, mechanical,
photocopying, or otherwise, without the prior written permission of the publisher, SAS
Institute Inc.
For a Web download or e-book: Your use of this publication shall be governed by the
terms established by the vendor at the time you acquire this publication.
U.S. Government Restricted Rights Notice. Use, duplication, or disclosure of this
software and related documentation by the U.S. government is subject to the Agreement
with SAS Institute and the restrictions set forth in FAR 52.227–19 Commercial Computer
Software-Restricted Rights (June 1987).
SAS Institute Inc., SAS Campus Drive, Cary, North Carolina 27513.
1st electronic book, November 2010
SAS Publishing provides a complete selection of books and electronic products to help
customers use SAS software to its fullest potential. For more information about our
e-books, e-learning products, CDs, and hard-copy books, visit the SAS Publishing Web site
at support.sas.com/publishing or call 1-800-727-3228.
®
and all other SAS Institute Inc. product or service names are registered trademarks
SAS
or trademarks of SAS Institute Inc. in the USA and other countries.
®
indicates USA
registration.
Other brand and product names are registered trademarks or trademarks of their
respective companies.
Contents
What’s Newix
Overviewix
New Logging Facility for SAS Servers
New Server Management and Monitoring Features
New SAS Server Components
Enhancements and Changes Pertaining to Metadata Server Administration
Enhancements and Changes Pertaining to Metadata Administration
New Configuration Management Tool
New Documentation for Administrators
PART1Getting Started1
ix
x
x
xi
xi
xii
xiii
Chapter 1
4
Introduction to the SAS Intelligence Platform: System Administration
Guide3
About the SAS Intelligence Platform: System Administration Guide
Prerequisites for Using the SAS Intelligence Platform: System Administration
Guide
4
Accessibility Features in the SAS Intelligence Platform Products
Chapter 2
Overview of the State of Your System
Overview of SAS Management Console
4
Understanding the State of Your System5
6
7
Overview of SAS Deployment Manager and SAS Web Administration Console
Overview of the SAS Metadata Server and Its Initial Configuration
Overview of SAS Application Server Components and Their Initial Configuration
Overview of Other SAS Servers and Spawners
Overview of Ports
19
Overview of the Configuration Directory Structure
Overview of Configuration Files
22
Overview of Initial Roles, Groups, and Users
Chapter 3
4
Who Can Do What: Credential Requirements for SAS Management Console
17
19
24
3
4
11
Tasks33
About Security for System Administration Tasks
Who Can Do What in the Metadata Manager Plug-in
Who Can Do What in the Server Manager Plug-in
About Adding Users to the SAS Administrators Group
Requirements for Accessing a Standard Workspace Server37
Clearing the Credentials Cache37
33
34
35
36
10
15
Chapter 4
4
What to Do Next: Administration Tasks39
Overview of Administration Tasks39
First-Priority Setup Tasks40
iv
Standard Setup Tasks43
Optional Setup Tasks
Ongoing System Administration Tasks
Best Practices for Ensuring the Integrity of Your System
44
46
47
PART2Starting, Stopping, and Checking the Status of Servers49
PART
Chapter 5
Overview of Server Operation
Running Servers as Windows Services
Starting and Stopping SAS Servers on z/OS
4
Operating Your Servers51
52
55
57
Using the sas.servers Script on UNIX or z/OS to Start or Stop All Servers
Running Servers as UNIX Daemons
Using Scripts to Operate SAS Servers Individually
Using SAS Management Console to Operate SAS Servers
Starting and Stopping Web Application Servers
Chapter 6
4
Checking the Status of Servers75
About Checking the Status of Servers
Use a Server Script to Display the Status of a Server or Spawner
Checking the Access State of the SAS Metadata Server
61
61
65
69
75
76
76
Checking the Access State of Metadata Repositories and the Repository Manager
Check the Status of the Object Spawner
82
Validate the SAS Metadata Server, SAS Workspace Servers, SAS Pooled Workspace
Servers, SAS Stored Process Servers, and SAS OLAP Servers
Validate the SAS Content Server
3
System Monitoring and Logging85
83
82
58
77
Chapter 7
About SAS Server Monitoring
Using SAS Management Console to Monitor SAS Servers
Using the Server Performance Counters and Information Fields
Using the SAS OLAP Server Monitor
Using Third-Party Products to Monitor SAS Servers
Chapter 8
About Server Logging
About Metadata Server Loggers
4
Monitoring the Activity of SAS Servers87
87
100
4
Administering Logging for SAS Servers103
103
104
88
96
101
Enabling Server Logging106
Initial Logging Configuration for SAS Servers
107
Modifying Your Server Logging Configurations110
Enable More Detailed Logging for Server Troubleshooting111
Create a Log File for Workspace Server Troubleshooting112
Enable More Detailed Logging for SAS Object Spawner Troubleshooting113
Collecting ARM Log Information for SAS Data Integration Studio Jobs113
Collecting ARM Log Information in SAS OLAP Servers115
Audit Server Logging Level Changes That Originate in Client Applications
Capture Metadata Server Management Events in the System Facility Appender
Capture XML Information in the SAS Metadata Server Log
PART4Backing Up and Restoring Your System121
v
116
117
117
Chapter 9
About Backups and Restores
About the Metadata Server Backup and Restore Utilities
Using Operating System Commands to Back Up the Metadata Server
About Using the Export SAS Package Wizard to Back Up Specific SAS Folders
Best Practices for Backing Up Your SAS System
Best Practices for Restoring Your System
Chapter 10
About the Backup Wizard
Summary of Procedures for Using the Backup Wizard
Ensure Appropriate User Credentials
Use the Backup Wizard to Define a Backup Job and a Corresponding Restore Job
Manage Backup and Restore Jobs That Were Created by the Wizard
Run a Backup or a Restore Job That Was Created by the Wizard
Troubleshooting the Backup Wizard
Use Schedule Manager to Schedule a Backup Job That Was Created by the Backup
Wizard
Chapter 11
About %OMABAKUP
What %OMABAKUP Does
Ensuring Appropriate User Credentials
Running the backupServer.sas and restoreServer.sas Programs
Error Logging151
Writing Custom Programs Using %OMABAKUP
Warning Messages
%OMABAKUP Macro: Reference156
4
Best Practices for Backing Up and Restoring Your System123
123
124
126
127
134
4
Using the Backup Wizard in SAS Management Console137
137
138
139
142
143
144
145
4
Using the %OMABAKUP Macro to Perform Backups and Restores147
147
148
149
150
151
155
126
140
PART
Chapter 12
Manually Restoring an Unresponsive SAS Metadata Server
4
Manually Restoring an Unresponsive SAS Metadata Server161
161
5Optimizing the Performance of the SAS Metadata Server165
Chapter 13
Performance167
Overview of Performance-Related Configuration Settings167
Configuring the Number of Threads Used by the Metadata Server167
Configuring Metadata Server Journaling170
4
Using Configuration Settings to Optimize Metadata Server
vi
Chapter 14
4
Managing Metadata Server Performance173
Setting the Server’s MEMSIZE Parameter173
Input/Output Balancing
Configuring Concurrent Queries/Clients
Note to Users of 32–bit Windows Systems
173
174
174
Using %OMARUNAN (or the RUNANALYSIS Option of %OMABAKUP) to Optimize
Memory Usage
%OMARUNAN Autocall Macro: Reference
Recovering Memory on the SAS Metadata Server
175
177
177
PART6Managing SAS Metadata Repositories179
Chapter 15
4
Creating, Registering, Moving, Copying, Renaming, and Deleting SAS
Metadata Repositories181
About SAS Metadata Repositories
About SAS Metadata Repository Access Modes
Create a Custom Repository
Change the Properties of a Metadata Repository
Copying, Promoting, Importing, and Exporting Your Metadata
Moving a Metadata Repository to a New Location on the Same Metadata Server
Porting a Metadata Repository to a Different Host Environment
Registering a Metadata Repository
Unregistering a Metadata Repository
Deleting a Metadata Repository
181
182
183
184
191
192
193
185
188
189
PART
7Managing Metadata Content195
Chapter 16
4
Working with SAS Folders197
About the SAS Folder Structure
Best Practices for Managing SAS Folders
Best Practices for Maintaining Associations Among Objects in SAS Folders
Using the BI Lineage Plug-in
Customizing Your Folder Structure
Chapter 17
4
Using the Promotion Tools213
Overview of Promotion Tools
Special Considerations for Promoting Metadata
Special Considerations for Promoting Metadata From SAS 9.1.3 to SAS 9.2
Preparing to Use the Promotion Tools
How to Access the Promotion Tools
Using the Export SAS Package and Import SAS Package Wizards: Example Usage
Scenario
229
Using the Batch Export and Import Tools238
Troubleshooting the Promotion Tools253
PART8Appendixes257
197
201
202
203
208
214
221
223
226
229
vii
Appendix 1
Overview259
Default Port Numbers for SAS Servers and Spawners
Default Port Numbers for Third-Party Software
Port Numbering in a Multiple-Level Environment
Appendix 2
Introduction to the Configuration Directory Reference
Contents of the Levn Subdirectory
Contents of the Metadata Server Subdirectory (SASMeta)
Contents of the Application Server Subdirectory (SASApp or SASMain)
Contents of the Web Subdirectory
Appendix 3
Default Locations for Server Logs
Appendix 4
Reference: Configuration Files for SAS Servers
Reference Information for omaconfig.xml
Appendix 5
Modifying the Metadata Server Invocation Options
Recommended Parameters289
Optional Parameters292
4
Default SAS Ports259
259
260
261
4
Reference: Configuration Directories263
263
263
265
267
4
Default Locations for Server Logs269
269
4
Configuration Files271
271
280
4
Options for the Metadata Server Invocation Command289
289
266
Appendix 6
4
Using the SAS Deployment Manager to Update Host Name
References295
Overview of Updating Host Name References
Process for Updating Host Name References
Troubleshooting the Update Host Name References Tool
Example Scenarios for Updating Host Name References
Appendix 7
Recommended Reading
4
Recommended Reading319
319
296
304
Glossary321
Index333
312
312
viii
What’s New
Overview
The SAS Intelligence Platform includes new and enhanced system administration
tools, new features for server logging and management, new server components,
changes to metadata repositories, and new documentation for administrators. The
enhancements and changes include the following:
3
a new logging facility for SAS servers
3
new server management and monitoring features
3
new SAS server components
3
enhancements and changes pertaining to metadata server administration
3
enhancements and changes pertaining to metadata administration
3
a new configuration management tool
3
new documentation for administrators
ix
New Logging Facility for SAS Servers
A new standard logging facility is provided for SAS servers. The facility supports
problem diagnosis and resolution, performance and capacity management, and auditing
and regulatory compliance. The logging facility provides the following capabilities for
servers:
3
Log events can be directed to multiple destinations, including files, operating
system facilities, and client applications.
3
For each log destination, you can configure the message layout, including the
contents, the format, the order of information, and literal text.
3
For each log destination, you can configure a filter to include or exclude events
based on levels and message contents.
3
For the metadata server, security-related events are captured, including
authentication events, client connections, changes to user and group information,
and permission changes.
3
You can generate performance-related log events in a format that can be processed
by an Application Response Measurement (ARM) 4.0 server.
x What’s New
3
You can adjust logging levels dynamically by using the Server Management
features of SAS Management Console.
3
You can use SAS Management Console and third—party monitoring tools to view
the contents of logs.
New Server Management and Monitoring Features
The following new features are provided to help you manage and monitor your SAS
server components, including the SAS Metadata Server, SAS OLAP Server, SAS Stored
Process Server, SAS Workspace Server, SAS Pooled Workspace Server, SAS object
spawner, and SAS Table Server:
3
You can use the new Server Manager features of SAS Management Console to
perform the following tasks:
3
quiesce, stop, pause, resume, and validate servers
3
test connections to servers
3
view information about current connections and processes
3
view performance counters that provide statistics about activity that has
occurred since a server was last started
3
view server logs
3
change logging levels dynamically
3
refresh servers, so that metadata changes take effect without the need to
restart
Server monitoring can also be performed using third-party enterprise systems
management products.
3
On UNIX and z/OS systems, you can use the new sas.servers script to start, stop,
or restart all of your SAS servers in the correct order with a single command. You
can also use the script to display the status of servers and to create a UNIX boot
script that is tailored to your platform.
New SAS Server Components
The initial configuration of your system includes these new server components:
3
a server context for the metadata server called SASMeta. In multiple-machine
installations, this server context includes a workspace server and other servers
that are needed to run metadata utilities such as the Backup and Restore Wizard.
3
a SAS Pooled Workspace Server, which is configured to use
this new configuration,the SAS object spawner maintains a collection of workspace
server processes that are available for clients. This server configuration is
intended for use by query and reporting tools such as SAS Information Map
Studio, SAS Web Report Studio, and the SAS Information Delivery Portal.
3
a SAS Deployment Tester Server, which processes validation tasks that are
requested either by the SAS Deployment Tester plug-in or by a SAS Deployment
Tester batch client.
Depending on which SAS offerings you have installed, your configuration might also
include the following new server components:
3
a SAS Content Server, which is included with some offerings. This server stores
digital content (such as documents, reports, and images) that is created and used
by SAS Web applications. For example, the SAS Content Server stores report
server-side pooling.In
What’s New xi
definitions that are created by users of SAS Web Report Studio, as well as images
and other elements that are used in reports. In addition, the SAS Content Server
stores documents and other files that are to be displayed in the SAS Information
Delivery Portal or in SAS solutions.
To interact with the SAS Content Server, client applications use WebDAV-based
protocols for access, versioning, collaboration, security, and searching.
Administrative users can use the browser-based SAS Web Management Console to
create, delete, and manage permissions for folders on the SAS Content Server.
3
a SAS Table Server, which is used by the SAS Shared Services component of the
middle tier.
3
a DataFlux Integration Server, which executes DataFlux jobs and real-time
services that cleanse data or analyze data quality. The jobs and services are
created using DataFlux applications (dfPower Architect and dfPower Profile) and
are executed on the server through job flows that are created in SAS Data
Integration Studio.
3
a SAS In-Process Server, which provides the ability to schedule jobs from certain
Web-based SAS applications without using a separate scheduling server. The
scheduling functions run as a process within the application.
Enhancements and Changes Pertaining to Metadata Server
Administration
The following enhancements and changes pertain to administration of the SAS
Metadata Server:
3
Users can be assigned to administrator roles that enable them to have
unrestricted access to metadata, act as metadata server operators, or perform user
administration tasks.
3
The metadata server can be paused to an Administration state, enabling
unrestricted users (but not other users) to continue to perform tasks that require
access to the server.
3
The Backup and Restore Wizard in SAS Management Console enables you to
create backup and restore jobs and execute them or deploy them for scheduling. In
addition, SAS now provides customized backup and restore programs that you can
launch from the command line. Metadata server configuration files are included in
backups.
3
Metadata server journaling is turned on by default.
3
New options for internal user authentication have been added to the metadata
server configuration file omaconfig.xml.
Enhancements and Changes Pertaining to Metadata Administration
The following enhancements pertain to the administration of metadata and metadata
repositories:
3
Content is stored in a hierarchy of SAS folders that are visible in the
Folders tab
of SAS Management Console and in other client applications, as applicable. The
folders segregate system information from business information, provide personal
folders for individual users, and provide an area for shared data.
3
BI Manager import and export wizards have been replaced with the Export SAS
Package and Import SAS Package wizards. The wizards have been expanded to
handle a larger number of object types. In addition, new batch tools enable you to
xii What’s New
export and import folders, objects, or groups of folders and objects from an
operating system command line or from a batch script.
3
In the second maintenance release for SAS 9.2, the ExportCubes and ImportCubes
batch tools are new. These tools provide a simplified method of promoting OLAP
cubes from SAS 9.1.3 to SAS 9.2.
3
Custom repositories are supported by all applications.
3
It is not necessary to define dependencies between repositories. If a repository
dependency was defined in SAS 9.1.3, then the dependency relationship is
eliminated during the SAS 9.1.3 to SAS 9.2 migration process. However, the
existing associations between metadata objects still remain in effect.
3
The November 2010 release includes these features:
3
The new BI Lineage plug-in for SAS Management Console identifies
connections between BI objects in the SAS Folders tree. The lineage
information is stored in a repository called the BILineage repository. For
details, see “Using the BI Lineage Plug-in” on page 203.
3
The Export SAS Package and Import SAS Package wizards can be used to
ranges, indicator configurations, and dashboard components). For important
details, see “Promoting SAS BI Dashboard 4.3 Content” in the
SAS
Intelligence Platform: Web Application Administration Guide.
3
The new content promotion tool for the SAS Information Delivery Portal 4.3
can be used to promote portal pages, page templates, portlet instances, and
the portal’s application and user permissions trees. See “Promoting Portal
Content” in the SAS Intelligence Platform: Web Application Administration
Guide.
3
The following features have been removed:
3
The Replication Wizard in SAS Management Console has been deprecated.
This wizard includes the functions of the Replication Wizard and the
Promotion Wizard that were available in SAS 9.1.3. The documentation for
this feature was removed effective with the November 2010 edition of the
SAS Intelligence Platform: System Administration Guide. For more
information, see SAS Note 40834 or contact SAS Technical Support.
3
The use of third-party database management systems to store the repository
manager and metadata repositories is no longer supported.
3
The repository auditing feature provided in previous releases has been
removed.
New Configuration Management Tool
The new SAS Software Deployment Manager enables you to remove configuration
information (including metadata definitions, configuration files, and Windows services)
for one or more components of your installation. You can use this feature to remove a
component that you will no longer be using, or to move a component from one machine
to another. You can also use the SAS Software Deployment Manager to rebuild SAS Web
applications and to update a service account password that is included only in metadata.
In the October 2009 release, the SAS Deployment Manager includes a new option to
renew software licenses for some SAS solutions that depend on a SAS middle tier.
In the third maintenance release for SAS 9.2, the SAS Deployment Manager includes
a new option to change the host names (including the network domains to which they
belong) of server machines in your deployment.
New Documentation for Administrators
SAS 9.2 includes these changes to system administration documentation:
3
All information about scheduling has been moved to Scheduling in SAS.
3
Detailed information about configuring logging for SAS servers is now available in
the SAS Logging: Configuration and Programming Reference.
What’s New xiii
xiv What’s New
PART
1
Getting Started
1
Chapter 1..........
Chapter 2..........
Chapter 3..........
Chapter 4..........
Introduction to the SAS Intelligence Platform: System
Administration Guide
Understanding the State of Your System
Who Can Do What: Credential Requirements for SAS
Management Console Tasks
What to Do Next: Administration Tasks 39
3
5
33
2
CHAPTER
1
3
Introduction to the SAS
Intelligence Platform: System
Administration Guide
About the SAS Intelligence Platform: System Administration Guide
Prerequisites for Using the SAS Intelligence Platform: System Administration Guide
Accessibility Features in the SAS Intelligence Platform Products
3
4
4
About the SAS Intelligence Platform: System Administration Guide
The SAS Intelligence Platform is a comprehensive, end-to-end infrastructure for
creating, managing, and distributing enterprise intelligence. The SAS Intelligence
Platform comprises four software offerings:
3
SAS BI Server
3
SAS Enterprise BI Server
3
SAS Data Integration Server
3
SAS Enterprise Data Integration Server
Solutions for enterprise intelligence, customer intelligence, and financial intelligence
are built on the SAS Intelligence Platform, as well as turnkey solutions for specialized
markets in life sciences, health care, retail, manufacturing, and others. Therefore, if
your SAS deployment plan includes a SAS solution, then the SAS Intelligence Platform
documentation also pertains to you.
This guide covers administrative tasks that you will need to perform on an ongoing
basis after the initial installation and configuration of the SAS Intelligence Platform.
The guide covers tasks that apply to the SAS Intelligence Platform as a whole,
including the following:
3
starting and stopping servers
3
checking the status of servers
3
monitoring server activity
3
administering server logging
3
administering the SAS Metadata Server, including the following tasks:
3
performing backups and restores
3
monitoring the server
3
optimizing the server’s performance
3
administering SAS Metadata Repositories and metadata content, including the
following tasks:
3
creating repositories
3
working with SAS Folders
3
importing, exporting, and copying metadata
4Prerequisites for Using the SAS Intelligence Platform: System Administration Guide
3
promoting metadata and related content
3
modifying your configuration
The appendixes of this guide provide reference information about log files,
configuration files, and default ports.
This guide is one of several documents that SAS publishes to support administration
of the SAS Intelligence Platform. Additional guides are available to cover the following
administration topics:
3
SAS Application Server administration
3
data administration
3
security administration
3
Web application administration
3
desktop application administration
3
scheduling
3
logging
4
Chapter 1
To access these documents, go to
http://support.sas.com/92administration.
Additional information for specific operating systems is available in the SAS
companion guides.
Prerequisites for Using the SAS Intelligence Platform: System
Administration Guide
Before using this guide, you should be familiar with the concepts and terminology
that are introduced in the SAS Intelligence Platform: Overview.
In addition, you should have completed all of the tasks that are described in the SAS
Intelligence Platform: Installation and Configuration Guide.
To access these documents, go to
http://support.sas.com/92administration.
Accessibility Features in the SAS Intelligence Platform Products
For information about accessibility for any of the products mentioned in this book,
see the documentation for that product.
For Windows-based assistive technologies to interoperate with SAS Java-based
desktop applications, you need to download and install the Java Access Bridge (JAB)
from Sun Microsystems. For instructions, see “Accessibility Features in the SAS
Desktop Clients” in the SAS Intelligence Platform: Desktop Application AdministrationGuide.
If you have questions or concerns about the accessibility of SAS products, send e-mail
to accessibility@sas.com.
CHAPTER
2
5
Understanding the State of Your
System
Overview of the State of Your System
Overview of SAS Management Console
About SAS Management Console
About SAS Management Console Plug-ins
Using the SAS Management Console Plug-ins
About the SAS Management Console Folders Tab 9
Overview of SAS Deployment Manager and SAS Web Administration Console
Overview of the SAS Metadata Server and Its Initial Configuration
What Is the SAS Metadata Server?
About the Metadata Manager Plug-in
About the SASMeta Server Context
About the SAS Metadata Repositories and the Repository Manager
How the SAS Metadata Server Works 13
The Initial Configuration of the SAS Metadata Server14
Overview of SAS Application Server Components and Their Initial Configuration 15
About the SAS Application Server Hierarchy 15
About the SAS Application Server Components 16
Overview of Other SAS Servers and Spawners 17
Overview of Ports 19
Overview of the Configuration Directory Structure 19
About the Configuration Directory 19
About the Levn Subdirectory 20
About the Application Server Subdirectory21
About the SASMeta Subdirectory 21
About the Web Subdirectory 22
Overview of Configuration Files 22
About the SAS Metadata Server Configuration File (omaconfig.xml)22
About Other SAS Server Configuration Files 23
About the Security-Related Configuration Files23
About Configuration Files for Client Applications 24
Overview of Initial Roles, Groups, and Users 24
About User Roles for System Administration 24
Overview of System Administration User Roles 24
Metadata Server: Unrestricted Role 24
Metadata Server: User Administration Role 25
Metadata Server: Operation Role 25
Management Console: Advanced Role 26
Management Console: Content Management Role26
About the Initial User Groups26
User Groups Initially Defined in the Operating System26
User Groups Initially Defined in Metadata 26
6
7
7
7
9
10
11
11
11
12
12
6Overview of the State of Your System
4
Chapter 2
About the Initial User Accounts
Overview of the Initial User Accounts
SAS Administrator
SAS Trusted User
SAS Installer
SAS Spawned Servers Account
SAS First User
SAS Anonymous Web User
LSF Administrator
lsfuser 32
29
30
27
28
29
31
31
Overview of the State of Your System
Before you begin administering the SAS Intelligence Platform, you should be aware
of the following components that have been put in place during the installation and
deployment process:
3
SAS Management Console, which is a Java application that provides a single point
of control for administering the SAS Intelligence Platform.
3
SAS Deployment Manager and SAS Web Administration Console, which are also
used to administer the SAS Intelligence Platform.
3
the SAS Metadata Server, which serves metadata from one or more SAS Metadata
Repositories to all SAS Intelligence Platform client applications.
3
the SAS Application Server components that have been installed and configured in
your environment to run SAS processes. These components can include SAS
Workspace Servers, SAS Pooled Workspace Servers, SAS Stored Process Servers,
SAS OLAP Servers, SAS/CONNECT servers, SAS Grid Servers, and SAS batch
servers.
27
30
Note: In the SAS Intelligence Platform, the term server refers to a program or
programs that wait for and fulfill requests from client programs for data or
services. The term server does not necessarily refer to a specific computer, since a
single computer can host one or more servers of various types.
other SAS servers that might have been installed in your environment, including a
3
4
SAS/SHARE server, a SAS Content Server, a SAS Table Server, and a DataFlux
Integration Server.
3
the ports that are used by each server to listen for incoming requests.
3
the configuration directory that stores configuration files, logs, scripts, and
special-purpose SAS data sets on each SAS server machine and each middle-tier
machine.
3
the main configuration files that control the operation of the system.
3
the initial SAS users, groups, and roles that have been defined, both on your host
operating systems and in the SAS Metadata Repository.
Read the following topics to learn about these components and their initial
configuration.
Understanding the State of Your System
Overview of SAS Management Console
About SAS Management Console
As you administer the SAS Intelligence Platform, your primary tool will be SAS
Management Console. SAS Management Console is a Java application that provides a
single point of control for administering your SAS servers and for managing metadata
objects that are used throughout the SAS Intelligence Platform.
Whenever the SAS Metadata Server is running, you can use SAS Management
Console to connect to the SAS Metadata Server and view and manage the metadata
objects that are stored in the server’s metadata repositories. The SAS Management
Console user interface includes a
access metadata, as described in the following topics.
About SAS Management Console Plug-ins
SAS Management Console is a framework in which a variety of plug-ins are
installed. A plug-in is an application module that is designed to create and maintain
metadata for a specific type of resource. For example, the Server Manager plug-in is
used to create and update metadata to define SAS servers. Some plug-ins include
additional functionality. For example, the Server Manager plug-in enables you to stop,
pause, and resume servers and to monitor server activity.
Only certain users can view and use plug-ins. A user’s access to plug-ins depends on
which roles the user is assigned to and which capabilities are assigned to those roles
(see “Overview of Initial Roles, Groups, and Users” on page 24).
If you are authorized to use plug-ins, then the
when you open SAS Management Console and connect to a metadata server, as shown
in this example:
Plug-ins tab and a
4
About SAS Management Console Plug-ins7
Folders tab that you can use to
Plug-ins tab appears in the left pane
The following table provides the name and purpose of each of the most frequently
used SAS Management Console plug-ins. References to related documentation are also
provided.
8About SAS Management Console Plug-ins
Table 2.1 SAS Management Console Plug-ins
Plug-in NamePlug-in Description
4
Chapter 2
Authorization
Manager
Define and maintain access rules to control how users and groups can
access metadata definitions. For details, see the SAS Intelligence Platform:Security Administration Guide.
BI LineageIdentify connections between BI objects in the SAS Folders tree. For
details, see “Using the BI Lineage Plug-in” on page 203 and the SAS
Management Console Help. This plug-in is new with the November 2010
release of SAS Management Console.
Configuration
Manager
View and modify configuration attributes for SAS applications including
SAS Information Delivery Portal, SAS Web Report Studio, SAS Financial
Management, and SAS Strategic Performance Management. For details,
see the SAS Intelligence Platform: Web Application Administration Guide.
Data Library
Manager
Foundation Services
Manager
Create and maintain definitions for SAS libraries and database schemas.
For details, see the SAS Intelligence Platform: Data Administration Guide.
View and modify deployment configurations for infrastructure and
extension services that are used by applications such as SAS Information
Delivery Portal, SAS Web Report Studio, and SAS Web OLAP Viewer for
Java. For details, see the SAS Intelligence Platform: Web ApplicationAdministration Guide.
Map Service ManagerCreate and maintain map service definitions that link cubes to ESRI
ArcGIS map services so that ESRI Geographic Information System (GIS)
spatial map information can be accessed and returned by an OLAP server
when the cubes are queried. For details, see the SAS Intelligence Platform:Web Application Administration Guide.
Metadata ManagerPerform administration tasks related to the SAS Metadata Server,
including the following:
3
stop, pause, resume, or reset the metadata server
3
check the status of the metadata server and the metadata
repositories
3
create and manage metadata repositories
3
create and execute jobs to back up or restore your metadata
repositories
Publishing
Framework
Create and maintain definitions for channels, package subscribers, group
subscribers, and event subscribers. For details, see the SAS IntelligencePlatform: Web Application Administration Guide.
Schedule ManagerCreate and maintain schedules for running jobs that are created in SAS
Data Integration Studio and SAS Web Report Studio. For details, see
Scheduling in SAS.
Understanding the State of Your System
Plug-in NamePlug-in Description
Server ManagerPerform administration tasks related to SAS servers, including the
following:
3
check the status of servers and validate them to ensure that they are
configured correctly
3
stop, pause, quiesce, resume, or refresh the SAS object spawner or
the SAS Table Server; and stop, pause, resume, or quiesce a process
on a SAS OLAP Server, SAS Workspace Server, or SAS Stored
Process Server
3
connect to the metadata server, to components of SAS Application
Servers, to the SAS object spawner, or to a SAS Table Server to
perform monitoring activities
Details about the preceding tasks are provided in this guide.
You can also use the Server Manager plug-in to create and maintain
definitions for servers. For details, see the
Application Server Administration Guide.
User ManagerCreate and maintain definitions for users, groups, and roles. For details,
see the SAS Intelligence Platform: Security Administration Guide.
4
About the SAS Management Console Folders Tab9
SAS Intelligence Platform:
Using the SAS Management Console Plug-ins
To use the plug-ins, follow these general steps:
3
To display the metadata objects and folders that are associated with a plug-in,
click the plus sign next to the plug-in icon. The objects and folders are displayed
in a navigation tree.
3
To expand a folder or object in the navigation tree, click the plus sign next to it.
3
To determine the actions that you can take with an item in the navigation tree (for
example, a plug-in, a folder, or an object), right-click the item and select an action
from the menu that appears.
3
To view the metadata definition for an object in the navigation tree, right-click the
object and select
3
To obtain help for a plug-in, select the plug-in (or any object associated with the
plug-in) in the navigation tree, and select
Properties.
HelpIHelp on <plug-in name>.
Some of the plug-ins have wizards that assist you in creating new metadata objects.
For example, Data Library Manager has a New Library Wizard that helps you create a
new SAS library. To access the wizard, you expand the Data Library Manager node,
right-click the
SAS Libraries folder, and select New Library.
For detailed information about using SAS Management Console and its plug-ins, see
the product Help and the applicable administration guides.
About the SAS Management Console Folders Tab
The Folders tab in SAS Management Console displays the hierarchy of SAS folders.
These folders are used to store metadata for business intelligence content such as
libraries, tables, jobs, cubes, information maps, and reports. The folders also store SAS
system content that is not directly accessed by business users.
As a system administrator, you will use this view for tasks such as the following:
3
setting up a folder structure for your users
10Overview of SAS Deployment Manager and SAS Web Administration Console
3
setting permissions on folders and objects
3
importing and exporting metadata and associated files (for example, when
promoting content to production)
For a newly installed system, the folder organization is similar to the following:
4
Chapter 2
For details, see “About the SAS Folder Structure” on page 197.
Overview of SAS Deployment Manager and SAS Web Administration
Console
In addition to SAS Management Console, the following interfaces are provided to
help you administer the SAS Intelligence Platform:
3
SAS Deployment Manager, which is a graphical user interface that enables you to
do the following:
3
remove one or more components of a SAS Intelligence Platform configuration
from your environment. For details, see “Removing a SAS Configuration ”in
the SAS Intelligence Platform: Installation and Configuration Guide.
3
update passwords for the service accounts that were configured when you ran
the SAS Deployment Wizard. For details, see “Manage Passwords” in the
SAS Intelligence Platform: Security Administration Guide.
3
rebuild Web applications. For details, see “Rebuilding the SAS Web
Applications” in the SAS Intelligence Platform: Web ApplicationAdministration Guide.
3
renew your software license for some SAS solutions that depend on a SAS
middle tier. For details, see “Updating the SID File in Metadata for SAS
Solutions” in the SAS Intelligence Platform: Installation and ConfigurationGuide.
3
change the host names (including the network domains to which they belong)
of server machines in your deployment. For details, see Appendix 6, “Using
the SAS Deployment Manager to Update Host Name References,” on page
295.
3
configure a product after you have applied maintenance or after you have
upgraded the product to a new release. For details, see “Configuring SAS
Understanding the State of Your System
4
About the Metadata Manager Plug-in11
Products” in the SAS Intelligence Platform: Installation and Configuration
Guide.
3
SAS Web Administration Console, which is a Web-based interface that enables you
to monitor which users are logged on to SAS Web applications; manage folders and
permissions for content in the SAS Content Server; and view the current
configuration of Web applications. For details, see “Using the SAS Web
Administration Console” in the SAS Intelligence Platform: Web ApplicationAdministration Guide.
Overview of the SAS Metadata Server and Its Initial Configuration
What Is the SAS Metadata Server?
The SAS Metadata Server is the most critical software component in the SAS
Intelligence Platform. All of the client applications and the other SAS servers that are
part of the platform depend on the SAS Metadata Server and cannot operate without it.
The SAS Metadata Server is a multi-user server that serves metadata from one or
more SAS Metadata Repositories to all of the SAS Intelligence Platform client
applications in your environment. The SAS Metadata Server enables centralized control
so that all users access consistent and accurate data.
The functionality of the SAS Metadata Server is provided through the SAS Open
Metadata Architecture, which is a metadata management facility that provides common
metadata services to applications. One metadata server supports all of the applications
in your environment and can support hundreds of concurrent users. This architecture
enables the following:
3
the exchange of metadata between applications, so that applications can work
together more easily.
3
centralized management of metadata resources. Because there is a common
framework for creating, accessing, and updating metadata, it is easier to manage
the applications that rely on this metadata.
The SAS Metadata Server stores information about the following:
3
the enterprise data sources and data structures that are accessed by SAS
applications
3
resources that are created and used by SAS applications, including information
maps, OLAP cubes, report definitions, stored process definitions, and scheduled
jobs
3
the servers that run SAS processes
3
the users and groups of users that use the system, and the levels of access that
users and groups have to resources
About the Metadata Manager Plug-in
In SAS Management Console, the SAS Metadata Server appears in the Metadata
Manager plug-in, as shown here:
12About the SASMeta Server Context
You can use this plug-in to stop, pause, resume, or reset the metadata server; to
check the status of the metadata server and the metadata repositories; and to create
and manage metadata repositories. You can also access metadata utilities such as the
Backup and Restore Wizard.
4
Chapter 2
Note: In the Plug-ins view, the
metadata definition. However, when you select
Properties action generally displays an object’s
Properties on the
Active Server
node of the Metadata Manager plug-in, the information that is displayed is supplied
directly by the metadata server.
4
About the SASMeta Server Context
So that you can make use of SAS Management Console’s server monitoring features,
the metadata server also appears in the SASMeta application server tree (also referred
to as the SASMeta server context) in the Server Manager plug-in, as shown here:
As shown in the preceding display, the SASMeta server context also includes a
workspace server and a DATA step batch server. This workspace server is only visible
to and accessible by users who are in the SAS Administrators group. This server is
used to execute metadata utilities including the Backup and Restore Wizard and the
Import SAS Package and Export SAS Package wizards.
CAUTION:
Use the SASMeta workspace server only for running the metadata utilities. Do not use it
for other SAS processing.
4
The DATA step batch server in the SASMeta context is provided for scheduling backup
jobs that are created by using the Backup Wizard.
About the SAS Metadata Repositories and the Repository Manager
The SAS Metadata Server is a SAS process that enables clients to read metadata
from and write metadata to one or more SAS Metadata Repositories. A repository is a
physical location in which a collection of related metadata objects is stored.
Metadata repositories are managed by a repository manager, which is a library of
tables that define the set of repositories that can be accessed by a SAS Metadata
Understanding the State of Your System
4
How the SAS Metadata Server Works13
Server. A metadata server cannot be started without a repository manager. Each
metadata server can have only one repository manager.
The SAS Metadata Server supports three types of metadata repositories:
foundation repository
the required metadata store for a SAS Metadata Server. Each metadata server
has one foundation repository. As a default, the name of the foundation repository
is Foundation. (If you performed a custom installation, then you might have
assigned a different name.)
project repository
a metadata repository that serves as an isolated work area or playpen. Project
repositories are available for SAS Data Integration Studio only. In general, each
user who participates in change management has his or her own project repository.
A project repository enables a user to check out and lock metadata from a
foundation repository or a custom repository so that the metadata can be modified
and tested in a separate area. When the metadata is ready, it is checked in and
unlocked so that it is available to other users.
custom repository
an optional metadata store for a SAS Metadata Server, in addition to the
foundation repository. Custom repositories are useful for physically segregating
metadata for storage or security purposes.
Custom repositories appear as separate root folders in the
Folders tab of SAS
Management Console.
In SAS Management Console, the repositories are displayed in the Metadata Manager
plug-in, as shown in this example:
In SAS 9.2, it is not necessary to define dependencies between repositories. If a
repository dependency was defined in SAS 9.1.3, then the dependency relationship is
eliminated during the SAS 9.1.3 to SAS 9.2 migration process. However, the existing
associations between metadata objects still remain in effect.
How the SAS Metadata Server Works
SAS Intelligence Platform applications connect to the SAS Metadata Server and
issue SAS Open Metadata Interface method calls that access SAS Metadata
Repositories.
To enable high-speed access by clients, the SAS Metadata Server is an “in-memory”
server. As clients submit queries and updates, the data sets that contain the requested
records are read from repository data sets on disk into the server’s memory, where they
remain until the server is paused and resumed or until the server is stopped.
In the default configuration, metadata updates that are requested by client
applications are recorded immediately in memory and in a journal file so that client
access can be resumed. The more time-consuming updates to the repository data sets
on disk are performed later in the background.
14The Initial Configuration of the SAS Metadata Server
The Initial Configuration of the SAS Metadata Server
The SAS Deployment Wizard provides the following initial configuration for your
metadata server:
3
Your metadata server contains a foundation metadata repository called
Foundation. (If you performed a custom installation, then you might have
assigned a different name.) This repository contains the following items:
3
metadata definitions for initial users, groups, and roles
3
default authorization settings that give the initial users, groups, and roles
access to different levels of functionality
3
metadata definitions for your servers
3
a full set of resource templates that can be used to create additional
metadata objects
The data sets that make up the foundation repository are typically located in
the following path:
SAS-configuration-directory
MetadataServer\MetadataRepositories\Foundation
In this path, SAS-configuration-directory refers to the SAS configuration
directory (see “About the Configuration Directory” on page 19).
3
Journaling has been enabled.
When journaling is not enabled, clients that request metadata updates must
wait for updates to be written to the repository data sets on the file system before
client access is resumed. When journaling is enabled, access is returned to clients
as soon as the metadata updates are written to the in-memory database and the
journal file. The more time-consuming updates to the repository data sets are
performed later in the background.
The default settings for journaling are as follows:
3
The name of the journal file is
3
The journal file is written to the following path:
SAS-configuration-directory
3
On 32–bit machines and z/OS systems, 200 megabytes of storage on the
metadata server are reserved for the journal file and cannot be used for other
processes. On 64–bit machines, the default setting is 500 megabytes. To
modify these settings, see “Configuring Metadata Server Journaling” on page
170.
4
Chapter 2
\Lev1\SASMeta\
MetadataJournal.dat.
\Lev1\SASMeta\MetadataServer\Journal
3
Two special users of the metadata server have been set up: the SAS Administrator
and the SAS Trusted User.
3
The metadata server has been configured to write daily logs. The default location
for logs is as follows:
SAS-configuration-directory
\Lev1\SASMeta\MetadataServer\Logs
For details about the default logging configuration, see “Initial Logging
Configuration for SAS Servers” on page 107.
Understanding the State of Your System
4
About the SAS Application Server Hierarchy15
Overview of SAS Application Server Components and Their Initial
Configuration
About the SAS Application Server Hierarchy
The SAS Deployment Wizard creates metadata definitions and configuration files for
a set of SAS servers that are referred to collectively as a SAS Application Server. The
server hierarchy includes the following levels:
SAS Application Server
a logical framework (or
framework enables you to specify metadata that applies to all of the logical servers
and servers that the SAS Application Server contains. You can also attach
libraries, schemas, directories, and other resources that are available to SAS
servers, regardless of the type of server. As a result, you can deploy applications in
several modes while ensuring that applications will execute properly in each mode.
The default name of the initial SAS Application Server is
SAS Deployment Wizard enables you to provide a different name during
installation. (In single-machine installations that are migrated from SAS 9.1.3,
the SAS Application Server is typically called
Your installation also includes a SAS Application Server called SASMeta, which
is used to execute metadata utilities (see “About the SASMeta Server Context” on
page 12).
server context) under which SAS applications execute. This
SASApp. However, the
SASMain).
logical servers
a logical framework within SAS Application Server metadata that contains
definitions for one or more similar servers. A logical server is referenced when an
application requests a specific launch mode, such as interactive or batch.
servers
specific process instances that perform the requested work. A server definition
contains the server metadata that is required to connect to a SAS server on a
particular machine. The definition includes details about where the process is
executing and how a client should contact the server, as well as options that
describe how the server should behave.
Note: In the SAS Intelligence Platform, the term server refers to a program or
programs that wait for and fulfill requests from client programs for data or services.
The term server does not necessarily refer to a specific computer, since a single
computer can host one or more servers of various types.
The SAS Application Server hierarchy appears in SAS Management Console in the
Server Manager plug-in, as in the following example:
4
16About the SAS Application Server Components
About the SAS Application Server Components
The most common components of a SAS Application Server are SAS Workspace
Servers, SAS Pooled Workspace Servers, and SAS Stored Process Servers. An
application server can also contain SAS/CONNECT servers, SAS OLAP Servers, SAS
DATA step batch servers, and SAS Grid Servers. The purpose of each server component
is described in the following table.
4
Chapter 2
Table 2.2 SAS Application Server Components
Server NameServer Description
SAS Workspace
Server
SAS Pooled
Workspace Server
SAS Stored Process
Servers
SAS Workspace Servers fulfill client requests for SAS sessions. When
these servers are configured as standard workspace servers (without
workspace pooling), each client establishes a connection to a single-user
server process, uses the server, and then disconnects. For details, see the
SAS Intelligence Platform: Application Server Administration Guide.
SAS Pooled Workspace Servers are workspace servers that use server-sidepooling, which is new with SAS 9.2. The SAS object spawner maintains a
pool of reusable workspace server processes called a pool, thus avoiding the
overhead that is associated with creating a new process for each connection.
Workspace server load balancing is built in to server-side pooling.
Pooled workspace servers are intended for use by query and reporting tools
such as SAS Web Report Studio and SAS Information Delivery Portal
when accessing relational information maps.
For details, see the SAS Intelligence Platform: Application ServerAdministration Guide.
SAS Stored Process Servers fulfill client requests to execute SAS stored
processes. A stored process is a SAS program that is stored on a server
and can be executed as required by requesting applications.
Stored process servers are configured to be load balanced. By default, the
object spawner balances workloads across three stored process server
processes.
For details, see the SAS Intelligence Platform: Application ServerAdministration Guide.
SAS/CONNECT
server
SAS/CONNECT servers enable clients to execute code on a remote host, or
to move data between client and server machines. For details, see
SAS/CONNECT User’s Guide.
Understanding the State of Your System
Server NameServer Description
SAS OLAP ServerSAS OLAP Servers provide access to multidimensional data. For details,
see the SAS Intelligence Platform: Application Server AdministrationGuide.
SAS batch serverSAS batch servers are part of the configuration for SAS scheduling. They
are metadata objects that store information about an executable that the
scheduling server can use to run scheduled tasks. For details, see
Scheduling in SAS.
SAS Grid ServerA SAS Grid Server is configured if you have the SAS Grid Manager
software package. SAS Grid Servers are metadata objects that store
information about an executable that the scheduling server can use to start
SAS/CONNECT on grid nodes. For details, see Grid Computing in SAS.
4
For additional details, see:
3
“Initial Logging Configuration for SAS Servers” on page 107
3
“Reference: Configuration Files for SAS Servers” on page 271
Overview of Other SAS Servers and Spawners
Overview of Other SAS Servers and Spawners17
The SAS Intelligence Platform includes additional servers and spawners that might
appear in the Server Manager tree in SAS Management Console, as shown here:
The servers and spawners include the following:
18Overview of Other SAS Servers and Spawners
Table 2.3 Other SAS Servers and Spawners
4
Chapter 2
Server or Spawner
Name
SAS Content Serverstores digital content (such as documents, reports, and images) that are
DataFlux Integration
Server
SAS In-Process
Services
Server or Spawner Description
created and used by SAS client applications. To interact with the server,
clients use WebDAV-based protocols for access, versioning, collaboration,
security, and searching.
The SAS Content Server is used by SAS Information Delivery Portal and
SAS Web Report Studio, as well as other SAS products and solutions.
The server’s repositories are stored in the
configuration directory. For more information, see the SAS IntelligencePlatform: Web Application Administration Guide.
executes DataFlux jobs and real-time services that cleanse data or analyze
data quality. The jobs and services are created using DataFlux applications
(dfPower Architect and dfPower Profile) and are executed on the server
through job flows that are created in SAS Data Integration Studio.
For information about configuring this server, see “Administering SAS
Data Integration Studio” in the SAS Intelligence Platform: DesktopApplication Administration Guide.
provides the ability to schedule jobs from certain Web-based SAS
applications without using a separate scheduling server. The scheduling
functions run as a process within the application. For details, see
Scheduling in SAS.
AppData subdirectory of your
SAS object spawnerruns on the same machine as the SAS Application Server components. The
spawner listens for incoming client requests for workspace servers, pooled
workspace servers, and stored process servers, and it launches instances of
these servers as needed.
Although the object spawner is not part of the SAS Application Server
hierarchy, it is essential to the operation of workspace servers, stored
process servers, and pooled workspace servers.
For details, see the SAS Intelligence Platform: Application ServerAdministration Guide.
SAS Table Serveris included in some SAS Intelligence Platform software offerings. It is used
by the SAS Shared Services component of the middle tier.
SAS/CONNECT
spawner
SAS/SHARE serverSAS/SHARE enables multiple users to update a SAS file (or several files)
listens for SAS/CONNECT client requests and invokes SAS sessions on the
remote computer. For details, see Communications Access Methods forSAS/CONNECT and SAS/SHARE.
at the same time. It also enables users to access SAS files on a server
without requiring a separate SAS/CONNECT report login for each user.
For details, see the SAS/SHARE User’s Guide.
In addition, the following server appears under the Deployment Tester plug-in under
Application Management:
SAS Deployment Tester Server
processes validation tasks that are requested either by the SAS Deployment Tester
plug-in or by a SAS Deployment Tester batch client. For usage instructions, see
the SAS Management Console Help.
Understanding the State of Your System
For additional details, see:
3
“Initial Logging Configuration for SAS Servers” on page 107
3
“Reference: Configuration Files for SAS Servers” on page 271
Overview of Ports
The servers in the SAS Intelligence Platform communicate with clients and other
servers using TCP/IP. Thus, each server listens on a particular port or ports for
incoming requests. For information about the default ports, see Appendix 1, “Default
SAS Ports,” on page 259. During installation, the SAS Deployment Wizard enables you
to override the default port numbers with different values.
Overview of the Configuration Directory Structure
4
About the Configuration Directory19
About the Configuration Directory
Every server-tier and middle-tier host has a configuration directory which is the root
of the SAS Intelligence Platform environment. The structure and contents of the
directory vary depending on the host operating system, which products are installed,
and whether the host machine is a server-tier host or a middle-tier host.
Throughout the SAS Intelligence Platform administration documentation, the
variable
path. The default paths are as follows:
SAS-configuration-directory is used to designate your configuration directory
3
on Windows systems:
:\SAS\deployment-plan-name
drive
3
on UNIX systems:
usr/local/deployment-plan-name or
usr/local/sas
Note:
3
In these paths, deployment-plan-name is the name that was specified when
the deployment plan was created. If no name was specified, then the default
name
Config is used.
3
You can specify a different path when you run the SAS Deployment Wizard.
In UNIX environments, the installer generally overrides the path with the
site’s preferred location (for example,
opt/sas/Config). The installer must
have write permission to this path.
4
3
on z/OS systems, the directory that is specified in the CONFIG_DIR environment
variable
In the configuration directory, the SAS Deployment Wizard builds a directory
structure that contains important files for managing your system. Here is an example
of the configuration directory structure for a single-machine Windows implementation:
20About the Levn Subdirectory
Note: Depending on your operating system and which products you have installed,
your site might have different subdirectories.
4
Chapter 2
4
About the Levn Subdirectory
The Levn subdirectory contains configuration information and other files for a
particular installation instance.
Additional levels, such as
Lev2 and Lev3, can be used for environments that you install
for purposes such as development and testing. During installation, the SAS
Deployment Wizard enables you to specify the level number.
The contents of the
Levn directory depend on which components are installed on the
machine. Its contents might include the following:
3
on UNIX and z/OS machines, a script called sas.servers that you can use to start,
stop, or restart all of the SAS servers and spawners on the machine in the correct
order by using a single command.
3
an AppData subdirectory, which contains data sets for the SAS Content Server
repository. It also contains data that is installed for the use of specific applications
(for example, SAS BI Dashboard).
3
a subdirectory for the application server (see “About the Application Server
Subdirectory” on page 21).
3
a subdirectory for the metadata server (see “About the SASMeta Subdirectory” on
page 21).
3
subdirectories for other SAS servers and spawners, including the SAS object
spawner, the SAS Deployment Tester Server, the SAS Table Server, the SAS/
CONNECT spawner, and the SAS/SHARE server.
Lev1 is generally used for production environments.
3
a Web subdirectory for files related to Web applications (see “About the Web
Subdirectory” on page 22) .
3
logs and documents that were created during the installation and configuration
process
For more details about the
Levn directory, see “Contents of the Levn Subdirectory” on
page 263.
Understanding the State of Your System
4
About the SASMeta Subdirectory21
About the Application Server Subdirectory
On machines where components of a SAS Application Server are installed, the Levn
directory contains an application server subdirectory. A SAS Application Server is a
logical entity that contains specific servers (for example, a SAS Workspace Server and a
SAS Stored Process Server) that execute SAS code. Application server subdirectories
are named as follows:
3
SASApp is the default name that the SAS Deployment Wizard assigns to directory
for the first application server. If you assigned a different name when you ran the
SAS Deployment Wizard, then the subdirectory is named accordingly.
3
If you configure more than one application server, then additional directories are
created that correspond to each of the application server names.
3
If you have a single-machine installation that was migrated from SAS 9.1.3, then
the application server subdirectory is typically called
The application server subdirectory contains the following items:
3
a subdirectory for each component of the application server, including the
workspace server, the pooled workspace server, the OLAP server, the stored process
server, the SAS/CONNECT server, batch servers, and grid servers (if applicable).
Each of these subdirectories contains the server’s start-up scripts, configuration
files, logconfig.xml files to configure logging, and
3
a subdirectory for data that is used by the application server.
3
a SASEnvironment
subdirectory to store deployed jobs, job steps, SAS format and
informat catalogs, and user-created SAS autocall macros that are needed to
perform processing on the application server
3
configuration files that apply to all components of the application server
SASMain.
Logs directories to store log files.
For more details about this subdirectory, see “Contents of the Application Server
Subdirectory (SASApp or SASMain)” on page 266. For information about the server
configuration files that are contained in this subdirectory, see “Configuration Files for
Components of SAS Application Servers” on page 274.
About the SASMeta Subdirectory
On the machines where the metadata server is installed, the
a subdirectory for the metadata server’s files.
SASMeta
is the name that the SAS
Deployment Wizard assigns to the metadata server context and, in turn, to this
directory.
The
SASMeta directory contains the following items:
3
configuration files that apply to the SASMeta application server components,
which include a workspace server and a DATA step batch server.
3
a WorkspaceServer subdirectory, which contains files for the SASMeta workspace
server. This server is used to execute metadata utilities. The subdirectory contains
start-up scripts, configuration files, a logconfig.xml file, and a Logs directory for
this server.
3
a BatchServer subdirectory, which contains files for the SASMeta DATA step
batch server. This server is used to schedule backup jobs that are created by the
Backup Wizard. The subdirectory contains start-up scripts, configuration files, a
logconfig.xml file, and a
3
SASEnvironment and Data subdirectories that can be used by the workspace
Logs directory for this server.
server.
Levn directory includes
22About the Web Subdirectory
3
a MetadataServer
3
3
3
3
4
Chapter 2
subdirectory, which contains the following:
the metadata server’s start-up and management scripts, configuration files,
logconfig.xml files to configure logging, and
Logs
directories to store log files.
programs to back up and restore the metadata server (for details, see “About
the Metadata Server Backup and Restore Utilities” on page 124).
a subdirectory called
MetadataRepositories, which contains a subdirectory
for each metadata repository. These subdirectories contain the SAS data sets
that store your metadata.
a subdirectory call
rposmgr, which contains data sets for the repository
manager.
CAUTION:
The MetadataRepositories and rposmgr directories contain data sets that are
critical to the operation of your system.
To safeguard the integrity of your
system:
3
Never move, delete, modify, or directly read the data sets in these
directories. These data sets should be accessed only by metadata
server processes.
3
Do not place other files in these directories.
3
Back up the contents of these directories regularly, as described in
Chapter 9, “Best Practices for Backing Up and Restoring Your
System,” on page 123.
4
3
a directory for the metadata server journal.
3
a SASBackup directory that can be used as a destination for backing up the
metadata server.
For more information about the metadata server configuration files, see “Configuration
Files for the Metadata Server” on page 272. For a complete list of the contents of the
MetadataServer subdirectory, see “Contents of the Metadata Server Subdirectory
(SASMeta)” on page 265.
About the Web Subdirector y
On middle-tier machines (that is, machines with installed Web components), the
Lev1 directory contains a subdirectory called
Subdirectory” on page 267. For information about administering middle-tier
applications and components, see the
Administration Guide.
Overview of Configuration Files
Web. For details, see “Contents of the Web
SAS Intelligence Platform: Web Application
About the SAS Metadata Server Configuration File (omaconfig.xml)
On the machine that hosts the SAS Metadata Server, the SASMeta\MetadataServer
directory contains a file called omaconfig.xml. This file contains SAS Metadata Server
settings such as the following:
Understanding the State of Your System
3
values for the libref and path of the metadata server’s repository manager
3
the names and locations of the adminUsers.txt and trustedUsers.txt files, which
4
About the Security-Related Configuration Files23
contain information about special users of the metadata server
3
journaling options
For details about the omaconfig.xml file, see “Reference Information for
omaconfig.xml” on page 280.
About Other SAS Server Configuration Files
Server-tier machines contain configuration files for each SAS server. These files
specify the SAS system options that are in effect when the server is launched. The
following configuration files are present in each server’s configuration directory:
sasv9.cfg
is the primary configuration file for a server. You should not edit this configuration
file.
sasv9_usermods.cfg
enables user modifications to a server configuration. If you need to modify an
option or add a new option for a specific server, then edit this file.
logconfig.xml
specifies the logging configuration for the server. For details, see Chapter 8,
“Administering Logging for SAS Servers,” on page 103.
The files sasv9.cfg and sasv9_usermods.cfg are also present in the configuration
directory for the SAS Application Server (for example, the
SASApp directory) and in the
SAS–home directory where SAS Foundation installed. Configuration files are set up to
inherit options from one another.
For details about the server configuration files, see “Reference: Configuration Files
for SAS Servers” on page 271.
About the Security-Related Configuration Files
On the machine that hosts the SAS Metadata Server, three configuration files that
affect security are located in the
Note: Be sure to limit access to these files to only those users who require access in
order to perform their job functions.
adminUsers.txt
defines your system’s initial unrestricted user. The SAS Deployment Wizard
creates this user, which is usually called the SAS Administrator. In the file, the
unrestricted user name is preceded by an asterisk. For information about
unrestricted users, see “About User Roles for System Administration” on page 24.
SASMeta\MetadataServer directory:
4
Note: If you migrated your system from SAS 9.1.3, then you might have
additional users in this file. In SAS 9.2, role memberships are the preferred
method for assigning unrestricted user status.
4
trustedUsers.txt
conveys privileged status to a service account to enable that account to act on
behalf of other users. For more information, see “About the Initial User Accounts”
on page 27.
trustedPeers.xml
24About Configuration Files for Client Applications
4
Chapter 2
can be used to limit the scope of trust for connections from SAS sessions to the
metadata server. Initially, the scope is not limited. For details, see the “Trusted
Peer” topic in the “Authentication Mechanisms” chapter of the
Platform: Security Administration Guide.
About Configuration Files for Client Applications
Configuration files for client applications are described in the following documents:
3
SAS Intelligence Platform: Web Application Administration Guide
3
SAS Intelligence Platform: Desktop Application Administration Guide
Overview of Initial Roles, Groups, and Users
About User Roles for System Administration
SAS Intelligence
Overview of System Administration User Roles
A user role is a set of capabilities. Some SAS applications make certain actions
available only to users or groups that have a particular role. To enable a user or group
to perform those actions, you add the user or group to the appropriate role.
During installation, the SAS Deployment Wizard creates metadata definitions for
several user roles. The following initial roles are created for performing system
administration tasks:
3
Metadata Server: Unrestricted
3
Metadata Server: User Administration
3
Metadata Server: Operation
3
Management Console: Advanced
3
Management Console: Content Management
The SAS Deployment Wizard also creates some additional roles for users of specific
client applications, including SAS Enterprise Guide, SAS Web Report Studio, and SAS
Add-In for Microsoft Office.
Note:
3
To understand how role assignments affect a user’s ability to perform the system
administration tasks that are documented in this guide, see Chapter 3, “Who Can
Do What: Credential Requirements for SAS Management Console Tasks,” on page
33.
3
For information about how to add users to roles or to define additional roles, see
“Managing Users, Groups, and Roles” in the SAS Intelligence Platform: SecurityAdministration Guide.
4
Metadata Server: Unrestricted Role
Note: The initial name of this role is META: Unrestricted Users Role, and the
initial display name for this role is
Metadata Server:Unrestricted.
4
Understanding the State of Your System
4
About User Roles for System Administration25
The Metadata Server:Unrestricted
role has access to all metadata regardless
of SAS permissions settings. Users in this role, which are referred to as unrestrictedusers, can do the following:
3
perform all of the functions that users in the
Administration
3
access all metadata except user passwords
3
continue to access metadata repositories and use features of SAS Management
and
Metadata Server:Operation
Metadata Server:User
roles can perform
Console when the metadata server is paused to the Administration state
Follow these important guidelines when using an account that is in the
Server:Unrestricted
3
This role is intended only for tasks that require unrestricted access to metadata
(for example, adding other users to the
role:
Metadata Server:Unrestricted
Metadata
role,
performing tasks when the metadata server is paused to the Administration state,
and creating, deleting, formatting, and unregistering foundation repositories).
3
Use the accounts in this role only to log on to SAS Management Console. You
should not use these accounts to log on to other client applications.
The SAS Deployment Wizard places one user in this role. This user, which is generally
called the SAS Administrator, is specified in the file adminUsers.txt. For details, see
“About the Initial User Accounts” on page 27.
Note: The
Metadata Server:Unrestricted
role provides access to the metadata
server, not to other SAS servers. Some administration tasks require access to a SAS
Application Server, which might require additional credentials. For details, see Chapter
3, “Who Can Do What: Credential Requirements for SAS Management Console Tasks,”
on page 33.
4
Metadata Server: User Administration Role
Note: The initial name of this role is
Role
, and the initial display name for this role is
Administration
to this role.
Users who are assigned to the
. The SAS Deployment Wizard assigns the SAS Administrators group
4
Metadata Server:User Administration
create and modify users, groups, and roles. Users in this role are authorized to update
user passwords. They cannot read existing passwords, except the passwords for their
own logins.
For details about the user administration tasks, see the SAS Intelligence Platform:
Security Administration Guide.
META: User and Group Administrators
Metadata Server:User
role can
Metadata Server: Operation Role
Note: The initial name of this role is
display name for this role is
Metadata Server:Operation. The SAS Deployment
Wizard assigns the SAS Administrators group to this role.
Users who are assigned to the
Metadata Server:Operation role can perform the
following tasks:
3
stop, pause, resume, and reset (or refresh) the metadata server
3
add, delete, format, and unregister metadata repositories (except the foundation
repository)
META: Operators Role, and the initial
4
Users who perform these tasks must also be assigned to the SAS Management Console
Advanced Role, which provides access to the Metadata Manager plug-in.
26About the Initial User Groups
Management Console: Advanced Role
4
Chapter 2
The Management Console:Advanced
role is initially configured to allow access to
all of the plug-ins in SAS Management Console. The SAS Deployment Wizard assigns
the SAS Administrators group to this role.
You must make the following additional role assignments to enable certain functions:
3
the
Metadata Server:User Administration
Unrestricted
3
the Metadata Server:Operation
Unrestricted
role, to access functionality within the User Manager plug-in
role, to access some functions within the Metadata Manager plug-in
role or the
role or the
Metadata Server:
Metadata Server:
Management Console: Content Management Role
The Management Console:Content Management
enable access to the following features of SAS Management Console:
3
the User Manager, Authorization Manager, and Library Manager plug-ins
3
the Folders
tab
To have access to certain functionality within User Manager plug-in, the user must
also be assigned to the
Metadata Server:Unrestricted role.
Metadata Server:User Administration
role is initially configured to
” role or the
About the Initial User Groups
User Groups Initially Defined in the Operating System
On some of the machines in your configuration, the following operating system user
groups might have been defined during installation:
sas (UNIX only)
This group is used to control access to the configuration directories on UNIX
machines. The group includes the installer (the sas user). Typically, you will not
add any other users to this group.
SAS Server Users (Windows only)
This group might have been created on Windows machines that have stored
process servers, pooled workspace servers, or standard workspace servers
installed. During the installation process, you should have assigned this group the
right to
Log on as a batch job
, which is required in order to start processes for
those servers.
If you are not using Integrated Windows authentication, then you can add users
to this group to enable them to start workspace server processes.
SASGRP (z/OS only)
On z/OS systems, this RACF group is used to control access to the configuration
directory. The group is defined with an OMVS segment and is set as the default
group for the SAS Installer and SAS Spawned Servers accounts.
User Groups Initially Defined in Metadata
The SAS Deployment Wizard creates the following user groups in metadata. These
groups are part of the SAS Intelligence Platform security infrastructure. For
information about how they are used to implement security, see the SAS Intelligence
Platform: Security Administration Guide.
Understanding the State of Your System
4
About the Initial User Accounts27
PUBLIC
a standard group with implicit membership. This group includes everyone who
can access the metadata server, either directly or through a trust relationship. A
user who does not have an individual identity uses the PUBLIC group identity.
SASUSERS
a standard group with implicit membership. This group includes all users who
have individual identities.
SAS Administrators
a standard group for metadata administrators. By default, this group is granted
broad access to the metadata and has all roles other than the
Unrestricted
role.
Metadata Server:
SAS System Services
a standard group for service identities that need to read server definitions or other
system resources.
SAS General Servers
a standard group whose members can be used for launching stored process servers
and pooled workspace servers.
Table Server Administrators
a standard group that has permission to administer SAS Table Servers.
LSF Services
a group whose members can schedule jobs in the LSF component of Platform Suite
for SAS. Beginning with the second maintenance release for SAS 9.2, this group is
part of the standard configuration for sites that use Platform Suite for SAS to
schedule SAS Web Report Studio reports.
The LSF Services group is not needed if you use SAS In-Process Services to
schedule reports.
See also: “lsfuser” on page 32
About the Initial User Accounts
Overview of the Initial User Accounts
During installation, the SAS Deployment Wizard creates several initial user
accounts. Some of these user accounts are created for all installations, some of the
accounts are optional, and some of the accounts are created only if certain software
components are installed.
3
SAS Administrator
3
SAS Trusted User
3
SAS Installer
3
SAS Spawned Servers
3
SAS First User
3
SAS Anonymous Web User
3
LSF Administrator
3
lsfuser
These user accounts might have been assigned different names at your site. For each
account, the following topics provide the default name and user ID, information about
28About the Initial User Accounts
whether or when the account is required, the account’s purpose and use, and the
locations where the account is set up.
SAS Administrator
4
Chapter 2
Type of
Installation
New with default
settings
New with
external
authentication
selected
Migrated from
9.1.3
Default User
NameDefault User IDRequired?
SAS
Administrator
SAS
Administrator
SAS
Administrator
sasadm@saspwYesMetadata
sasadmYesMetadata and OS
sasadmYesMetadata and OS
Location of
Account
The SAS Administrator user account has privileges that are associated with the
Metadata Server:Unrestricted
role (see “Metadata Server: Unrestricted Role” on
page 24). In addition, the SAS Administrator account is initially a member of the SAS
Administrators group (see “User Groups Initially Defined in Metadata” on page 26) .
This user is defined in the following locations:
3
in the file adminUsers.txt, which is typically located in the following path:
SAS-configuration-directory
\Lev1\SASMeta\MetadataServer
This file ensures that your site will always have at least one user with the
privileges of an unrestricted user, regardless of what is specified in metadata. You
cannot override this user’s privileges by modifying the user definition in SAS
Management Console.
3
in metadata.
3
in the operating system of the metadata server machine, only in the following
situations:
3
You selected the External authentication option for this user during a custom
installation.
3
You migrated your system from SAS 9.1.3 to SAS 9.2.
In new, default installations of SAS 9.2, the SAS Administrator is an internal useraccount that is known only to SAS and that is authenticated internally in metadata.
When internal authentication is used, it is not necessary for this user to have a local or
network account.
Note: We recommend that you establish individual metadata administrators rather
than sharing the SAS Administrator account. See “Security Tasks” in the SASIntelligence Platform: Security Administration Guide.
4
SAS Trusted User
Understanding the State of Your System
4
About the Initial User Accounts29
Type of
Installation
New with default
settings
New with
external
authentication
selected
Migrated from
9.1.3
Default User
NameDefault User IDRequired?
SAS Trusted
User
SAS Trusted
User
SAS Trusted
User
sastrust@saspwYesMetadata
sastrustYesMetadata and OS
sastrustYesMetadata and OS
Location of
Account
The SAS Trusted User is a privileged service account that can act on behalf of other
users on a connection to the metadata server. No user should log on directly as a
trusted user, except to perform certain administrative tasks associated with the SAS
Information Delivery Portal. For details about those tasks, see the SAS Intelligence
Platform: Web Application Administration Guide.
The SAS Trusted User is defined in the following locations:
3
in metadata.
3
in the file trustedUsers.txt, which is typically located in the following path:
SAS-configuration-directory
\Lev1\SASMeta\MetadataServer
A user is granted privileges as a trusted user only if the user is specified in this
file.
Note: Typically, there is no reason to add more IDs to this file. In particular, do
not add regular users to this file.
3
in the operating system of the metadata server machine, only in the following
4
situations:
3
You selected the External authentication option for this user during a custom
installation.
3
You migrated your system from SAS 9.1.3 to SAS 9.2.
In new, default installations of SAS 9.2, the SAS Trusted User is an internal user
account that is known only to SAS and that is authenticated internally in metadata.
When internal authentication is used, it is not necessary for this user to have a local or
network account.
For detailed information about this user, see the SAS Intelligence Platform: Security
Administration Guide.
SAS Installer
Default User NameDefault User IDRequired?Location of Account
SAS InstallersasYesOS
30About the Initial User Accounts
The SAS Installer is a user account that is used to install and configure SAS
software. On UNIX and z/OS systems, this account is the owner of configuration
directories and their contents and is the process owner for items such as the metadata
server, the OLAP server, and the object spawner. The account should continue to be
available after installation so that it can be used to apply maintenance.
The SAS Installer account must be defined in the operating systems of the following
machines:
3
the metadata server machine
3
machines that host an OLAP server
3
machines where the object spawner is installed
This user is not defined in metadata.
SAS Spawned Servers Account
Default User NameDefault User IDRequired?Location of Account
SAS Spawned ServerssassrvYesOS and metadata (as
4
Chapter 2
a login for the SAS
General Servers
group)
The SAS Spawned Servers account is the initially configured process owner for
pooled workspace servers and stored process servers. An account for this user must be
defined in the operating system of the following machines:
3
machines that host a stored process server
3
machines that host a pooled workspace server
During the installation process on Windows machines, this user should have been
assigned the right to
Log on as a batch job
. This right can also be assigned by
adding the user to the SAS Server Users group (see “User Groups Initially Defined in
the Operating System” on page 26) .
This user does not have an individual metadata identity. However, a login for this
user is defined for the SAS General Servers group.
SAS First User
Default User NameDefault User IDRequired?Location of Account
SAS Demo UsersasdemoNoMetadata and OS
The SAS First User is an optional account that can serve as a generic end user when
you are testing any of the SAS client applications. During installation, the Software
Deployment Wizard enables you to specify whether to create this user.
If you selected the option to create this user, then the user’s account is defined in the
following locations:
3
in metadata
Understanding the State of Your System
3
in the operating system of the metadata server machine and workspace server
4
About the Initial User Accounts31
machine
During the installation process on Windows machines, this user should have been
assigned the right to
Log on as a batch job
. This right can also be assigned by
adding the user to the SAS Server Users group (see “User Groups Initially Defined in
the Operating System” on page 26) .
SAS Anonymous Web User
Type of
Installation
New with default
settings
New with
external
authentication
selected
Default User
NameDefault User IDRequired?
SAS Anonymous
Web User
SAS Anonymous
Web User
webanon@saspwNoMetadata
webanonNoMetadata and OS
Location of
Account
The SAS Anonymous Web User is an optional account that is used to grant clients
access to applicable SAS Web Infrastructure Platform components. When Web clients
request access to Web services, they are not prompted for credentials but instead are
granted access under this user account.
This user is defined in the following locations:
3
in metadata. In default installations of SAS 9.2, the SAS Anonymous Web User is
an internal user account that is known only to SAS and that is authenticated
internally in metadata. When internal authentication is used, it is not necessary
for this user to have a local or network account.
3
in the operating system of the metadata server machine, only if you selected the
External authentication option for this user during a custom installation.
LSF Administrator
Default User IDRequired?Location of Account
noneYes, if Platform Suite for SAS is installedOS
The LSF administrator is the primary administrator for the Platform scheduling
server and the owner of the Process Manager server. This user is required only if you
have installed Platform Suite for SAS in support of either scheduling or grid computing.
The LSF administrator account must be defined in the operating system of the
machine where Platform Suite for SAS is installed. This user must have full control of
the LSF and Process Manager directories. On Windows systems, this user must belong
to the Administrators Group and must have rights to
system
and Log on as a batch job.
Act as part of the operating
32About the Initial User Accounts
This user is not defined in metadata.
lsfuser
Default User IDRequired?Location of Account
4
Chapter 2
lsfuserYes, if Platform Suite for SAS is
installed and is used to schedule WRS
reports
OS, metadata (as a login for the LSF
Services group), and password file in
LSF
The lsfuser account is used by default when you schedule SAS Web Report Studio
reports using the LSF component of Platform Suite for SAS. The lsfuser account must
be defined in the operating system of the machine where Platform Suite for SAS is
installed. On Windows machines, the account must also be added to the password file
in the LSF software. For details, see “Enabling Report Scheduling With Platform Suite
for SAS” in
Scheduling in SAS.
This user does not have an individual metadata identity. However, a login for this
user is defined for the LSF Services group, effective with the second maintenance
release for SAS 9.2.
Note:
3
If you have not yet installed the second maintenance release for SAS 9.2, follow
the instructions in SAS Installation Note 35283 to set up credentials for
scheduling reports in LSF.
3
The lsfuser account is not needed if you use SAS In-process Services to schedule
reports.
4
CHAPTER
3
33
Who Can Do What: Credential
Requirements for SAS
Management Console Tasks
About Security for System Administration Tasks
Who Can Do What in the Metadata Manager Plug-in
Who Can Do What in the Server Manager Plug-in
About Adding Users to the SAS Administrators Group
Requirements for Accessing a Standard Workspace Server
Clearing the Credentials Cache 37
33
34
35
36
37
About Security for System Administration Tasks
The system administration tasks that can be performed using SAS Management
Console affect the stability of your servers, the integrity of your data and metadata, and
the performance of client applications. Therefore, it is important to limit access to
system administration tasks to only those users who:
3
have the necessary skills, background, and knowledge
3
need to perform system administration tasks in order to fulfill their job functions
The security model for the SAS Intelligence Platform model enables you to control
access to system administration tasks by adding users to administrative roles, adding
users to groups, and granting permissions on metadata. If necessary, you can change
the capabilities that are assigned to a role. You can also create new roles.
This chapter describes the group memberships, role memberships, and other criteria
that are required for users to perform the system administration tasks that are
documented in this guide. Requirements are provided for two different approaches to
system administration:
3
centralized administration, which means that a single administrative user (or a
small group of users) performs all administrative functions for your SAS
deployment, with no division of responsibility
3
delegated administration, which means that various types of administrative
functions for your SAS deployment are divided among different administrative
users or groups of users
For some functions, the requirements are the same regardless of whether you are using
centralized or delegated administration.
The requirements in this chapter reflect initial settings in a default installation. Role
definitions and group membership might be configured differently at your site. For an
in-depth description of the security model, or for information about modifying the
security structure, see the SAS Intelligence Platform: Security Administration Guide.
34Who Can Do What in the Metadata Manager Plug-in
4
Chapter 3
Who Can Do What in the Metadata Manager Plug-in
Use the following table to determine the group memberships, role memberships, and
other criteria that enable users to perform tasks in the Metadata Manager plug-in in
SAS Management Console:
Table 3.1 Who Can Do What in the Metadata Manager Plug-in
Actions
Check the access state of the
metadata server, metadata
repositories, and repository manager
Create, register, and delete custom
repositories
Change a repository’s properties,
including the access mode, the
location of users’ folders, and mapping
for notes and documents
Stop, pause, or resume the metadata
server
Continue to use all functions of SAS
Management Console when the
metadata server is paused to the
Administration state
Requirements
Centralized
Administration
Approach
Membership in the SAS
Administrators group
Membership in the SAS
Administrators group
Membership in the SAS
Administrators group
Membership in the
Unrestricted
Metadata Server:
role
1
Delegated
Administration
Approach
Membership in the
Management Console:
Advanced
Membership in the
role.
Management Console:
Advanced
and Metadata
Server:Operation
roles, and WriteMetadata
permission on the Root
folder of the SAS Folders
tree.
Membership in the
Management Console:
Advanced
and Metadata
Server:Operation
roles.
Analyze, repair, or upgrade metadata
Initialize or unregister a custom
repository
Add, initialize, register, unregister,
and delete a foundation repository.
Use the Backup WizardMembership in the SAS Administrators group and
Membership in the SAS Administrators group,
2
specification as an unrestricted user in adminUsers.txt,
and an external user ID that can be authenticated on the
metadata server host machine
credentials to start a workspace server (see “Requirements
for Accessing a Standard Workspace Server” on page 37).
For additional requirements, see Chapter 10, “Using the
Backup Wizard in SAS Management Console,” on page 137.
1 These columns list minimum requirements. The Metadata Server:Unrestricted role
can be substituted for any of the roles and groups that are specified here.
2 Deleting or unregistering the foundation repository makes the metadata server unusable. These
actions should be taken only in special situations.
Who Can Do What
4
Who Can Do What in the Server Manager Plug-in35
As a best practice, users who are members of the SAS Administrators group should be
defined as internal users (rather than external users) in metadata. For more
information, and to understand what role memberships and permissions are derived
from membership in this group, see “About Adding Users to the SAS Administrators
Group” on page 36.
Who Can Do What in the Server Manager Plug-in
Use the following table to determine the group memberships, role memberships, and
other criteria that enable users to perform tasks in the Server Manager plug-in in SAS
Management Console:
Table 3.2 Who Can Do What in the Server Manager Plug-in
Actions
Create or update server metadata (except the
SASMeta workspace server and the SASMeta
DATA step batch server)
Validate servers (except the SASMeta workspace
server)
Connect to servers and spawners and view the
following tabs
3
Metadata server Connections and
2
:
Options tabs
3
Object spawner
3
OLAP server Connections,
and
Options
Connect to servers and spawners (except the
metadata server and the SASMeta workspace
server) and view all tabs
Adjust the logging level for a server, spawner, or
server process (except the metadata server)
Stop, pause, resume, or quiesce a server,
spawner, or server process (except the metadata
server and the SASMeta workspace server)
Refresh the object spawner
Options tab
Sessions,
tabs
2
Requirements
Centralized
Administration
Approach
Membership in the
SAS Administrators
group
Validation of a
standard (non-pooled)
workspace server also
requires credentials
to start a workspace
server (see
“Requirements for
Accessing a Standard
Workspace Server” on
page 37).
Membership in the
SAS Administrators
group
1
Delegated
Administration
Approach
Membership in the
Management
Console:
Advanced
Validation of a
standard (nonpooled)
workspace server also
requires credentials to
start a workspace
server (see
“Requirements for
Accessing a Standard
Workspace Server” on
page 37).
Membership in the
role
Management
Console:
Advanced
Administer permission
on server metadata
role, and
36About Adding Users to the SAS Administrators Group
4
Chapter 3
Actions
Centralized
Administration
Approach
Connect to the metadata server and view the
Clients,
Adjust the metadata server’s logging levels
Stop, pause, or resume the metadata server
Validate the SASMeta workspace server
Connect to the SASMeta workspace server and
view tabs
Stop, pause, resume, or quiesce a process on the
SASMeta workspace server
Loggers, and
2
Logs tabs
2
Membership in the
SAS Administrators
group
Membership in the
SAS Administrators
group
1 These columns list minimum requirements. The
Metadata Server:Unrestricted
Requirements
can be substituted for any of the roles and groups that are specified here.
2 To view tabs, you must right-click on the server or spawner and click
1
Delegated
Administration
Approach
Membership in the
Management
Console:
Advanced
and
Metadata Server:
Operation
Membership in the
roles
Management
Console:
Advanced
ReadMetadata and
Administer permission
on the SASMeta
workspace server
role; and
Connect.
role
As a best practice, users who are members of the SAS Administrators group should
be defined as internal users (rather than external users) in metadata.
For more information, and to understand what role memberships and permissions
are derived from membership in this group, see the next topic.
About Adding Users to the SAS Administrators Group
When you add a user to the SAS Administrators group, the user derives the following
memberships and permissions (if the group’s initial settings have not been changed):
3
membership in the
3
membership in the Metadata Server:Operation
3
membership in the
required in order to perform most actions in the User Manager plug-in.
3
WriteMetadata permission on the Root folder of the SAS Folders tree
3
Administer permission on server metadata
3
ReadMetadata on server metadata in the SASMeta context
If you use a centralized (rather than delegated) approach to system administration,
then the SAS Administrators group provides a convenient mechanism for enabling
users to perform administrative tasks. Centralized administration means that a single
administrative user (or a small group of users) performs all administrative functions for
your SAS deployment, with no division of responsibility.
As a best practice, users who are members of the SAS Administrators group should
be defined as internal users (rather than external users) in metadata whenever
possible. For details about creating administrative users, see “Add Administrators” in
the SAS Intelligence Platform: Security Administration Guide.
Metadata Server:Advanced
role
role
Metadata Server:User Administration
role. This role is
Who Can Do What
4
Clearing the Credentials Cache37
Requirements for Accessing a Standard Workspace Server
Special rights are required for tasks that involve running processes on a standard
(non-pooled) workspace server. In SAS Management Console, these tasks include the
following:
3
validating a workspace server
3
using the Backup Wizard
3
using the Import SAS Package and Export SAS Package wizards or the batch
promotion tools to import or export physical content that is associated with stored
processes, tables, jobs, libraries, or external files
The requirements for performing these tasks depend on which authentication method
is used and which server is being accessed:
3
If you use host (credential-based) authentication, the following requirements must
be met:
3
The user’s account must be known to the workspace server host. On
Windows, the account must have rights to
host machine. Typically, you would add the user to an operating system
group that has this right (for example, the SAS Server Users group).
3
The user’s account must correspond to a metadata identity that has the
ReadMetadata permission for the server definition.
Log on as a batch job
on the
3
If you use Integrated Windows authentication (IWA), the following requirements
must be met:
3
The user’s account must be known to the workspace server host. It is not
necessary to have rights to
3
The user’s account must correspond to a metadata identity that has the
Log on as a batch job
.
ReadMetadata permission for the server definition.
3
Integrated Windows authentication must be selected in the connection profile
that the user uses to log on to SAS Management Console. In addition,
Integrated Windows authentication must be fully configured on the
workspace server.
3
If the workspace server is configured to use SAS token authentication, then no
credentials on the workspace server host are necessary. The user can log on to
SAS Management Console with either an internal account or an external account.
The account must correspond to a metadata identity that has the ReadMetadata
permission for the server definition.
3
If you are using a workspace server that is part of the metadata server context (for
example, SASMeta), then the user must also be a member of the SAS
Administrators group. The use of this server is limited to metadata server
administration tasks such as using the Backup and Restore Wizard and using the
Import SAS Package and Export SAS Package wizards.
For detailed information about configuring and using the authentication methods for
SAS servers, see the SAS Intelligence Platform: Security Administration Guide.
Clearing the Credentials Cache
If a user is denied access when trying to connect to or validate a server or spawner,
and the user’s credentials are then updated to allow access, the credentials cache must
38Clearing the Credentials Cache
be cleared before the user tries to connect again. To clear the credentials cache, click
File
I
Clear Credentials Cache
If the object spawner denies access to a server because of the lack of ReadMetadata
permissions, and the user is then granted the needed permission, you must reset the
object spawner’s authorization cache before the user tries to connect again. To do so,
expand the Server Manager tree in SAS Management Console. Next, expand the object
spawner, right-click the host node, and click
right-click the host node again, and click
4
Chapter 3
in SAS Management Console.
Connect. After you have connected,
Refresh Spawner
.
CHAPTER
4
39
What to Do Next: Administration
Tasks
Overview of Administration Tasks
First-Priority Setup Tasks
Summary of First-Priority Setup Tasks
Recommended Operating System Protections for Windows Machines
Default Operating System Protections for UNIX and z/OS Machines
Standard Setup Tasks43
Optional Setup Tasks
Ongoing System Administration Tasks
Best Practices for Ensuring the Integrity of Your System
Allow Only the Metadata Server to Access Your Metadata Repositories
Use Best Practices for Working with SAS Folders
40
44
39
Overview of Administration Tasks
Before you perform the administration tasks that are outlined in this chapter, you
should have successfully completed the following tasks:
3
Use the SAS Deployment Wizard to install and configure your software on each
machine in your environment.
3
Complete the post-installation tasks that are described in your
Instructions.html file, which is located in the Documents subdirectory of your
configuration directory. These tasks include performing manual configuration
steps (if applicable), validating your SAS servers, validating your Web
applications, and backing up your system.
40
40
42
46
47
47
47
After the SAS Intelligence Platform has been installed, configured, and validated, you
will have a functional system. You can now begin performing administration tasks that
are necessary to fully implement the SAS Intelligence Platform in your environment.
These include the following categories of tasks:
3
first-priority setup tasks that are necessary to protect the integrity of your system.
You should perform these tasks first, as soon as possible after you have completed
your installation.
3
standard setup tasks that enable the users in your organization to begin using
SAS Intelligence Platform client applications to access and analyze your data.
3
optional setup tasks that you might want to perform to address specific
requirements in your environment.
3
ongoing tasks to keep the SAS Intelligence Platform operational.
40First-Priority Setup Tasks
4
Chapter 4
First-Priority Setup Tasks
Summary of First-Priority Setup Tasks
The following tasks are necessary to protect the integrity of your system. Complete
these steps as soon as possible after installation, before you complete any of the other
tasks that are outlined in this chapter.
Table 4.1 First-Priority Setup Tasks
TaskDescription
Secure the SAS
configuration on each
server machine.
Establish a formal,
regularly scheduled
backup process.
For a secure deployment, the configuration directory on each server
machine must be protected by operating system controls. These controls
will prevent inappropriate access to repository data sets, server scripts,
server logs, and configuration files.
On Windows systems, all configuration directories, files, and scripts are
owned by the user who performs the installation. You must update the
permissions as shown in “Recommended Operating System Protections for
Windows Machines” on page 40. These recommendations assume that your
SAS servers and spawners run as services under the Local System account.
On UNIX and z/OS systems, the SAS Deployment Wizard automatically
applies the appropriate permissions. The default permissions are shown in
“Default Operating System Protections for UNIX and z/OS Machines” on
page 42.
Establish a formal, regularly scheduled backup process that includes your
metadata repositories as well as the associated physical files.
SAS provides backup and restore utilities that enable you to perform
correct backups and restores of your metadata repositories, the repository
manager, the metadata journal file, and the metadata server configuration
files while minimizing disruptions in service. It is important to also back
up the physical data that is associated with the metadata so that related
information will be synchronized if a restore becomes necessary.
Before you back up your SAS Intelligence Platform, read Chapter 9, “Best
Practices for Backing Up and Restoring Your System,” on page 123.
Recommended Operating System Protections for Windows Machines
On Windows server machines, we recommend that you apply the following operating
system protections to your configuration directory. All of these directories are located in
SAS-configuration-directory\Lev1.
What to Do Next: Administration Tasks
4
Recommended Operating System Protections for Windows Machines41
Table 4.2 Recommended Operating System Protections on Windows
DirectoriesUsersRecommended
Permissions
SYSTEM and
SAS-configuration-directory\Lev1
Lev1 subdirectories: Documents, ReportBatch,
SASApp, SASMeta, Utilities, Web
Data/wrsdist, Data/wrstemp,
PooledWorkspaceServer/Logs,
PooledWorkspaceServer/sasuser,
StoredProcessServer/Logs ,
StoredProcessServer/sasuser, and
WorkspaceServer/Logs
SAS-configuration-directory
4
Chapter 4
/Lev1.
SAS InstallerRead, Write, and Execute
All other usersRead and Execute
SAS InstallerRead, Write, and Execute
All other usersNo access
SAS InstallerRead, Write, and ExecuteSASApp subdirectories :
sas groupRead and Execute
SAS InstallerRead, Write, and ExecuteSASApp subdirectories : ConnectServer/Logs,
sas groupRead, Write, and Execute
SASMeta/WorkspaceServer/Logs
SAS InstallerRead and Writesasv9_meta.cfg file
All other usersno access
Note:
3
Make sure that the SAS Spawned Servers account (sassrv) is a member of the sas
group, which has the necessary permissions to server configuration files and log
directories.
3
You might have selected the custom installation option to place all of your log files
in a single directory. If you selected this option, then you will need to grant either
the sas group or the SAS Spawned Servers (sassrv) user Read, Write, and Execute
permission on the central log destination (for example,
SAS-configuration-directory
/Lev1/Logs).
What to Do Next: Administration Tasks
3
If users will be using SAS Enterprise Guide to create stored processes, then the
4
Standard Setup Tasks43
SAS Spawned Servers (sassrv) account must have Write access to the directory in
which stored processes will be stored.
3
If you enable logging for a workspace server, then you will need to grant all users
of the workspace server Read, Write, and Execute permission on the log directory.
(See “Create a Log File for Workspace Server Troubleshooting” on page 112).
3
The user who backs up the metadata server must have full access to
SAS-configuration-directory
rposmgr
and
MetadataRepositories/Foundation, and to the backup destination
(for example, SAS-configuration-directory
SASBackup
). The SAS Installer user has the required access.
/Lev1/SASMeta/MetadataServer, to its subdirectories
/Lev1/SASMeta/MetadataServer/
CAUTION:
Do not run a backup or a restore as the Root user. Doing so will change ownership of
the metadata server files.
4
For more information, see Chapter 10, “Using the Backup Wizard in SAS
Management Console,” on page 137 and Chapter 11, “Using the %OMABAKUP
Macro to Perform Backups and Restores,” on page 147.
3
For details about the configuration directory structure, see “Overview of the
Configuration Directory Structure” on page 19.
4
Standard Setup Tasks
The following administration tasks are essential to enable the users in your
organization to begin using SAS Intelligence Platform client applications to access and
analyze your data.
44Optional Setup Tasks
Table 4.4 Standard Setup Tasks
TaskDescription
4
Chapter 4
Add users and
manage access.
Establish connectivity
to your data sources.
Set up your metadata
folder structure.
Standard security setup activities include the following:
3
creating SAS administrators and regular SAS users
3
managing access to metadata, data, and application functionality
For details, see “Security Tasks” in the SAS Intelligence Platform: SecurityAdministration Guide.
To enable the client applications in the SAS Intelligence Platform to access
your data sources (including SAS data sets, third-party relational
databases, and data from Enterprise Resource Planning systems), you
must create metadata objects that represent your data. For example, to
enable users to access data in a library of SAS data sets, you must define
metadata objects that represent the SAS library and each of the tables in
the library. For details, see “Connecting to Common Data Sources” in the
SAS Intelligence Platform: Data Administration Guide.
SAS Intelligence Platform clients use a hierarchy of SAS folders to store
metadata for content such as libraries, tables, OLAP schemas, jobs,
information maps, and reports. The initial structure provides private
folders for individual users and provides a separate area for shared data.
Within these folders, you should create a customized folder structure that
meets your specific needs. For details, see Chapter 16, “Working with SAS
Folders,” on page 197.
Note: Be sure to secure access to the folders as described in
the SAS Intelligence Platform: Security AdministrationGuide.
4
Optional Setup Tasks
It might be necessary for you to modify your initial configuration to meet specific
requirements in your environment. Optional administration and configuration tasks
include the following.
Table 4.5 Optional Setup Tasks
TaskDescription
Optimize the
performance and
reliability of the
metadata server.
The following are some steps that you might need to take to optimize the
performance and reliability of the metadata server:
3
Move the metadata server journal file to another file system (see
“Move the Journal File to Another File System” on page 171).
3
Adjust the maximum number of threads used by the metadata
server (see “Configuring the Number of Threads Used by the
Metadata Server” on page 167).
For other performance-related tasks, see Chapter 14, “Managing Metadata
Server Performance,” on page 173.
What to Do Next: Administration Tasks
4
Optional Setup Tasks45
Modify the
configuration of your
processing servers.
The following are some server configuration changes that you might want
to make for performance optimization or other reasons:
3
Define a cluster of load-balanced workspace servers in order to
balance a load across workspace servers that you have installed on
multiple hosts. This type of configuration is most useful when you
have a large number of users (such as data integration specialists)
using a workspace server for relatively long-running jobs. For
details, see “Understanding Server Load Balancing” in the
SAS
Intelligence Platform: Application Server Administration Guide.
3
Modify load balancing or algorithms for stored process servers and
pooled workspace servers. For details, see “Modify Logical Pooled
Workspace or Logical Stored Process Server Load-Balancing
Properties” in the SAS Intelligence Platform: Application ServerAdministration Guide.
3
If your SAS server metadata contains characters other than those
typically found in the English language, then you must start your
SAS server with an ENCODING= or LOCALE= system option that
accommodates those characters. For details, see “Encoding and
Locale Information” in the SAS Intelligence Platform: ApplicationServer Administration Guide.
3
If you will be submitting large jobs (for example, JAVA GRAPH jobs)
on z/OS servers, then you might need to specify a larger region size.
For details, see “Managing Memory” in the SAS Companion for z/OS.
Optimize Web
application
performance.
For information about configuring middle-tier components for better
efficiency and performance, see “Best Practices for Configuring Your
Middle Tier” in the SAS Intelligence Platform: Web ApplicationAdministration Guide.
Adjust server logging.You can change your server configurations to obtain additional logging
information for troubleshooting, performance management, or other
purposes. For details, see Chapter 8, “Administering Logging for SAS
Servers,” on page 103 and SAS Logging: Configuration and ProgrammingReference.
Enable job and report
scheduling.
To enable SAS scheduling features, you can install and configure
scheduling software, configure operating system scheduling, or configure
in-process scheduling. For details, see Scheduling in SAS.
46Ongoing System Administration Tasks
TaskDescription
Increase Java heap
memory allocation for
desktop applications.
4
Chapter 4
To process large amounts of data, you might need to modify the Java heap
memory allocation that is configured for SAS Management Console, SAS
Data Integration Studio, SAS OLAP Cube Studio, and SAS Information
Map Studio. For details, see “Managing the Java Heap Used By Desktop
Applications” in the
Administration Guide.
SAS Intelligence Platform: Desktop Application
Set up change
management for SAS
Data Integration
Studio users.
Collect ARM log
information for SAS
Data Integration
Studio batch jobs.
If you want to implement change management for SAS Data Integration
Studio, then you must set up project repositories and at least one
change-managed folder. For details, see “Administering Data Integration
Studio” in the SAS Intelligence Platform: Desktop ApplicationAdministration Guide.
If you want to collect ARM log information for SAS Data Integration
Studio jobs that are run on a batch basis, then you must enable logging for
the batch server that executes the jobs. For details, see .
Ongoing System Administration Tasks
The following table lists important system administration tasks that you need to
perform on an ongoing basis to keep the SAS Intelligence Platform operational.
Table 4.6 Ongoing System Administration Tasks
TaskDocumentation Reference
Start, stop, pause,
resume, and refresh
the servers that are
used in the system.
Chapter 5, “Operating Your Servers,” on page 51
Check the status of a
server of or of a
metadata repository.
Monitor the activity
of servers.
Perform regular full
backups of the
metadata server.
Use server logs and
configure logging
options.
Create a new
metadata repository.
Promote individual
metadata objects or
groups of objects.
Chapter 6, “Checking the Status of Servers,” on page 75
Chapter 7, “Monitoring the Activity of SAS Servers,” on page 87
Chapter 9, “Best Practices for Backing Up and Restoring Your System,” on
page 123
Chapter 8, “Administering Logging for SAS Servers,” on page 103 and SAS
Logging: Configuration and Programming Reference
Chapter 15, “Creating, Registering, Moving, Copying, Renaming, and
Deleting SAS Metadata Repositories,” on page 181
Chapter 17, “Using the Promotion Tools,” on page 213
Note: The preceding table includes only the tasks that are documented in this
guide. Other important administration tasks are described in the following documents:
What to Do Next: Administration Tasks
3
SAS Intelligence Platform: Security Administration Guide. In this guide, you can
4
Use Best Practices for Working with SAS Folders47
use the “Checklists for a More Secure Deployment” to ensure that your
environment remains secure on an ongoing basis.
3
SAS Intelligence Platform: Data Administration Guide.
3
SAS Intelligence Platform: Application Server Administration Guide.
3
SAS Intelligence Platform: Desktop Application Administration Guide.
3
SAS Intelligence Platform: Web Application Administration Guide.
3
Scheduling in SAS.
3
SAS/SHARE User’s Guide.
3
SAS/CONNECT User’s Guide.
To access these documents, go to
http://support.sas.com/92administration.
Best Practices for Ensuring the Integrity of Your System
Allow Only the Metadata Server to Access Your Metadata Repositories
The MetadataRepositories and
SAS configuration directory, are critical to the operation of your system. These data
sets contain metadata that defines your servers, users, access levels, enterprise data
sources, and data structures. They also contain metadata for resources that are created
and used by SAS applications, including information maps, OLAP cubes, report
definitions, stored process definitions, and jobs.
To safeguard the integrity of your system:
3
Never move, delete, modify, or directly read the data sets in the
MetadataRepositories and rpsomgr
accessed only by metadata server processes.
3
Do not place other files in these directories.
3
Back up the contents of these directories regularly, as described in Chapter 9,
“Best Practices for Backing Up and Restoring Your System,” on page 123.
rpsomgr subdirectories, which are located in the
directories. These data sets should be
4
Use Best Practices for Working with SAS Folders
The folders that appear in the
client applications to store business intelligence content and system information.
Inappropriate renaming, deleting, or moving of these folders or their contents could
cause client applications to malfunction.
When interacting with folders in SAS Management Console, be sure to follow the
best practices that are provided in Chapter 16, “Working with SAS Folders,” on page
197. If you need to move or copy the contents of these folders, use the procedures that
are provided in Chapter 17, “Using the Promotion Tools,” on page 213.
Folders tab of SAS Management console are used by
48
PART
2
Starting, Stopping, and Checking the Status
of Servers
49
Chapter 5..........
Chapter 6..........
Operating Your Servers
Checking the Status of Servers
51
75
50
CHAPTER
5
51
Operating Your Servers
Overview of Server Operation
About Required Servers
Starting Servers in the Correct Order
About Server Start-up Parameters
About SAS Metadata Server States
Summary of Procedures for Server Operation 54
Running Servers as Windows Services
Starting and Stopping SAS Servers on z/OS
Using the sas.servers Script on UNIX or z/OS to Start or Stop All Servers
About the sas.servers Script
Use the sas.servers Script to Start, Stop, or Restart All Servers or to Display the Status of
Servers
Using generate_boot_scripts.sh to Regenerate the sas.servers Script 59
Install sas.servers as a Boot Script 60
Running Servers as UNIX Daemons61
Using Scripts to Operate SAS Servers Individually 61
About Using Scripts to Operate Servers 61
Use Individual Scripts to Operate the SAS Metadata Server, SAS Object Spawner, SAS OLAP
Server, and SAS Table Server
Use Individual Scripts to Operate Servers and Spawners 63
Starting or Stopping the SAS Services Application 64
Using SAS Management Console to Operate SAS Servers 65
Obtain the Appropriate User Credentials, and Clear Cached Credentials (If Necessary)65
Use SAS Management Console to Stop, Pause, Resume, or Reset the SAS Metadata Server 65
Use SAS Management Console to Stop, Pause, Resume, Quiesce, or Refresh the SAS Object
Spawner
Use SAS Management Console to Stop, Pause, Resume, Quiesce, or Refresh the SAS OLAP
Server
Use SAS Management Console to Control Processes on Servers 68
Starting and Stopping Web Application Servers 69
Starting or Stopping a JBoss Application Server 69
Starting or Stopping an IBM WebSphere Application Server or an IBM WebSphere Application
Server Network Deployment (ND)
Starting or Stopping an Oracle WebLogic Server72
58
About generate_boot_scripts.sh59
About the server-name.srv Files 60
Regenerate the sas.servers Script 60
66
67
Starting or Stopping an IBM WebSphere Application Server or an IBM WebSphere
Application Server Network Deployment (ND) on Windows or UNIX
Starting or Stopping an IBM WebSphere Application Server Network Deployment (ND) on
z/OS
71
52
52
52
53
53
55
57
58
58
61
70
70
52Overview of Server Operation
4
Chapter 5
Overview of Server Operation
About Required Servers
In order for clients to access the SAS Intelligence Platform, the following components
must be running on network-accessible machines:
3
a SAS Metadata Server
3
the SAS object spawner, which acts as a listener for SAS Workspace Servers, SAS
Pooled Workspace Servers, and SAS Stored Process Servers
Depending on which SAS products you have installed, one or more instances of the
following additional components might also be required to be running on
network-accessible machines: SAS OLAP Server, SAS Table Server, SAS Services
Application (also referred to as Remote Services), SAS/CONNECT spawner, SAS/
SHARE server, SAS Content Server, and a Web application server.
If you want to use the SAS Deployment Tester utility, then the SAS Deployment
Tester server must also be running.
Starting Servers in the Correct Order
Because of dependencies, it is important to start the servers in the correct order.
Server dependencies are shown in the following table:
ServerServer Dependencies
SAS Metadata ServerNone
SAS OLAP ServerSAS Metadata Server
SAS object spawnerSAS Metadata Server
SAS Table ServerSAS Metadata Server
SAS Services Application (Remote Services)SAS Metadata Server
Web application serverSAS Services Application (Remote Services)
SAS/CONNECT spawnerSAS Metadata server
SAS/SHARE serverSAS Metadata server
SAS Deployment Tester serverNone
The following start-up order meets the dependency requirements:
1 Start the SAS Metadata Server.
2 Start the SAS OLAP Server.
3 Start the SAS object spawner.
4 Start the SAS/SHARE server
5 Start the SAS/CONNECT spawner.
6 Start the SAS Table Server.
7 Start the SAS Services Application (Remote Services).
Operating Your Servers
8 Start the SAS Deployment Tester server.
9
Start the Web application server. (The SAS Content Server starts automatically
4
About SAS Metadata Server States53
when the application server is started.)
Servers should be stopped in the inverse order, with the metadata server stopped last.
About Server Start-up Parameters
The start-up parameters for SAS servers are stored in configuration files. For a list
of these configuration files and their locations, see “Reference: Configuration Files for
SAS Servers” on page 271.
For detailed information about start-up parameters for each server, see the
documentation references in the table in “Summary of Procedures for Server Operation”
on page 54.
About SAS Metadata Server States
A SAS Metadata Server can exist in any of the following states:
Online
The metadata server is available to accept client requests from authenticated
users.
External systems such as Windows Services Manager report the Online state as
running or started.
Offline
The metadata server is paused and is not available to accept client requests. When
the metadata server is paused to Offline status, the server does the following:
3
retains all active client connections.
3
temporarily changes the access state of all repositories to Offline.
3
temporarily stops receiving client requests to read or write metadata. If a
client application submits a new request, the client displays a message
indicating that the server is paused.
3
flushes updated metadata from the server’s memory and writes the updated
metadata to the metadata repository.
3
closes the SAS data sets that serve as repository containers.
Utilities such as the Backup Wizard automatically pause the metadata server to
the Offline state because they require repository containers to be closed. The
Offline state is also useful if you need to disable users’ access while you perform
maintenance on the metadata server machine.
External systems such as Windows Services Manager report the Offline state as
paused.
Administration
The metadata server is paused and will accept requests only from an unrestricted
administrative user. When the metadata server is paused to Administration
status, the server does the following:
3
retains all active client connections.
3
temporarily stops receiving client requests to read or write metadata, except
for requests from users in the
Metadata Server:Unrestricted role. (For
information about this role, see “About User Roles for System
54Summary of Procedures for Server Operation
Administration” on page 24). If the user is not unrestricted, then the client
displays a message indicating that the server is paused.
The Administration state is useful when you need to disable users’ access while
you connect to the metadata server to perform administrative tasks such as the
following:
3
run diagnostic and repair tools
3
upgrade metadata to a new version
3
promote metadata and related content
3
modify metadata for components of a SAS Application Server
External systems such as Windows Services Manager report the Administration
state as
paused.
Stopped
The Stopped state terminates the SAS Metadata Server process and breaks all
client connections. The metadata server, and all SAS servers that depend on it,
must be started before clients can connect again.
4
Chapter 5
Summary of Procedures for Server Operation
To operate servers in SAS Management Console, you must have the appropriate user
credentials. To determine what credentials are required for each task, see Chapter 3,
“Who Can Do What: Credential Requirements for SAS Management Console Tasks,” on
page 33.
The following table summarizes the server operation methods for each server. For
detailed information about startup parameters for each server, see the documentation
references that are provided in the last column.
Server Type
SAS Metadata
Server, SAS
OLAP Server,
and SAS object
spawner
Available Methods for Server
Operation
3
Windows service
3
z/OS started task
3
sas.servers script3(UNIX or
z/OS)
3
Individual server script (or
Windows shortcut)
3
SAS Management Console
(except startup)
1
2
Documentation Location for
Startup Parameters
Appendix 5, “Options for the
Metadata Server Invocation
Command,” on page 289
“System Options for Application
Server Components” in the SAS
Intelligence Platform: Application
Server Administration Guide
“Spawner Invocation Options” in the
SAS Intelligence Platform:
Application Server Administration
Guide
SAS Workspace
Server, SAS
Pooled
Workspace
Server, and SAS
Stored Process
Server
3
Started by the object spawner
3
SAS Management Console
(except startup)
“System Options for Application
Server Components” in the SAS
Intelligence Platform: Application
Server Administration Guide
Operating Your Servers
4
Running Servers as Windows Services55
Server Type
SAS Table Server
SAS Services
Application
(Remote
Services)
Web application
server
SAS Content
Server
SAS/CONNECT
spawner, SAS/
SHARE server,
and SAS
Deployment
Tester server
Available Methods for Server
Operation
3
Windows service
3
z/OS started task
3
sas.servers script
1
2
3
(UNIX or
z/OS)
3
Individual server script (or
Windows shortcut)
3
SAS Management Console
3
Windows service
3
z/OS started task
3
sas.servers script
1
2
3
(UNIX or
z/OS)
3
Remote Services script (or
Windows shortcut)
3
Server console or script
3
Windows service (JBoss and
Oracle WebLogic only)
1
Starts automatically when the Web
application server is started
3
Windows service
3
z/OS started task
3
sas.servers script3(UNIX or
1
2
z/OS)
3
Script (or Windows shortcut)
Documentation Location for
Startup Parameters
SAS Intelligence Platform: Web
Application Administration Guide
SAS Intelligence Platform: Web
Application Administration Guide
SAS Intelligence Platform: Web
Application Administration Guide
Communications Access Methods for
SAS/CONNECT and SAS/SHARE
SAS/SHARE User’s Guide
1 On Windows systems, this is the recommended method.
2 On z/OS systems, this is the recommended method.
3 On UNIX systems, this is the recommended method.
For details about the server operation procedures that are summarized in this table,
see the remaining topics in this chapter.
Running Servers as Windows Services
On Windows systems, depending on the options that were selected during the
installation process, the following might be installed as services: the SAS/CONNECT
spawner, the SAS Metadata Server, the SAS object spawner, the SAS OLAP Server, the
SAS Services Application (Remote Services), the SAS Table Server, the SAS/SHARE
server, and the SAS Deployment Tester server. This installation option is highly
recommended. If these servers have been installed as services, then they start
automatically when you restart the machines. To ensure that services are always
started in the correct order, the required dependencies are built into the services.
The JBoss Application Server also might be installed as a service. This service is set
up to be started manually.
56Running Servers as Windows Services
The third maintenance release for SAS 9.2 includes scripts for installing the Oracle
WebLogic Managed Server and WebLogic Administration Server as Windows services.
You can install these services by following instructions that are provided in the
Instructions.html file, which is located in
Documents
. After you install the services, they will start up automatically when you
restart the machine.
For each service, the following table shows the built-in dependencies and the actions
that you can take from within Windows Services Manager:
ServerDependenciesAvailable Net Commands
SAS Metadata ServerNoneStart, stop, pause, and continue
SAS OLAP ServerMetadata serverStart, stop, pause, and continue
SAS object spawnerMetadata serverStart, stop, pause, and continue
4
Chapter 5
SAS-configuration-directory
/Levn/
SAS Services Application
(Remote Services)
SAS Table ServerMetadata serverStart, stop, pause, and continue
SAS/CONNECT spawnerMetadata serverStart and stop
SAS/SHARE serverMetadata serverStart and stop
SAS Deployment Tester serverNoneStart and stop
JBoss Application ServerSAS Services Application
Oracle WebLogic
Administration Server
Oracle WebLogic Managed
Server
Metadata serverStart and stop
Start and stop
(Remote Services)
NoneStart and stop
Oracle WebLogic
Administration Server
Start and stop
The service names have the following format:
SAS [deployment-name-and-level] <server-context -> server-name
For example, your services might be displayed in Windows Services Manager as
follows:
SAS [Config-Lev1] Deployment Tester Server
SAS [Config-Lev1] Object Spawner
SAS [Config-Lev1] Remote Services
SAS [Config-Lev1] SASApp - OLAP Server
SAS [Config-Lev1] SASMeta - Metadata Server
SAS [Config-Lev1] SASTS - Table Server
If you installed the JBoss Application Server as a service, the service is displayed as
JBoss - SASServer1. If you installed the WebLogic Administration Server and
WebLogic Managed Server as services, the service names consist of the domain name,
the server name, and the configuration directory path, as in the following examples:
SASDomain AdminServer (sas.Config.Lev1) and SASDomain SASServer1
(sas.Config.Lev1)
.
SAS provides batch scripts that you can use to manage these services from the
command line (see “Using Scripts to Operate SAS Servers Individually” on page 61).
You can also use the Windows Net command, which has the following syntax:
net start|stop|pause|continue "service-name"
Operating Your Servers
For example, if the service name for the object spawner is SAS [Config-Lev1]
Object Spawner
3
You would use the following command to stop the service:
:
net stop "SAS [Config-Lev1] Object Spawner"
3
You would use the following command to start the service:
net start "SAS [Config-Lev1] Object Spawner"
Starting and Stopping SAS Servers on z/OS
On z/OS systems, the SAS Deployment Wizard initially starts the SAS servers under
UNIX System Services (USS) by using scripts that are provided for each server. After
the initial installation and configuration has been completed and validated, SAS
recommends that you stop the servers and restart them as started tasks.
The SAS Deployment Wizard creates started task definitions for each server. The
definitions are stored in
tasks, see the instructions.html document that is created by the SAS Deployment
Wizard.
After the started tasks are deployed, you can operate your servers as follows:
1 Log on as the SAS Installer user (for example, sas).
2
To start a server, use the following console command:
SAS-installation-location.W0.SRVPROC. To deploy the started
4
Starting and Stopping SAS Servers on z/OS57
START started-task-name
To stop a server, use the following console command.
STOP started-task-name
Note:
3
You can perform the equivalent of a restart by stopping and then starting a
server.
3
Stopping the metadata server stops other components, including object
spawners, OLAP servers, table servers, SAS/CONNECT spawners, and SAS/
SHARE servers.
4
3
Messages are written to the system log when the SAS Metadata Server, the SAS
OLAP Server, or the SAS/SHARE server is started or stopped. Automated tools
can scan the system log to determine the current operational state of these
servers. The log messages are displayed with the prefix
SAH, as shown in the
following examples:
SAH011001I SAS (9.2) Metadata Server <(port-number)>, State, starting
SAH011999I SAS (9.2) Metadata Server <(port-number)>, State, running
SAH019001I SAS (9.2) Metadata Server <(port-number)>, State, stopping
SAH019999I SAS (9.2) Metadata Server <(port-number)>, State, stopped
When servers are running under USS, you can start and stop the servers as follows:
3
by using individual scripts that are provided for each server. See “Using Scripts to
Operate SAS Servers Individually” on page 61.
3
by using the sas.servers script. See “Using the sas.servers Script on UNIX or z/OS
to Start or Stop All Servers” on page 58.
These methods are not recommended for production environments.
For more information about using SAS on z/OS, see the SAS Companion for z/OS.
58Using the sas.servers Script on UNIX or z/OS to Start or Stop All Servers
4
Chapter 5
Using the sas.servers Script on UNIX or z/OS to Start or Stop All Servers
About the sas.servers Script
During installation, the SAS Deployment Wizard creates a sas.servers script on each
UNIX and z/OS server tier machine. You can perform the following tasks with this
script:
3
start, stop, or restart all of the SAS servers and spawners on the machine in the
correct order by using a single command
3
display the status of all the SAS servers and spawners on the machine by using a
single command
Note: To use the script on z/OS systems, you must run the servers under UNIX
System Services (USS). On z/OS systems, SAS recommends operating servers as started
tasks. See “Starting and Stopping SAS Servers on z/OS” on page 57.
The script performs the preceding tasks for all instances of the following servers,
spawners, and services that are installed on the machine:
3
SAS Metadata Server
3
SAS object spawner
3
SAS OLAP Server
3
SAS/CONNECT spawner
3
SAS/SHARE server
3
SAS Table Server
3
SAS Services Application (Remote Services)
3
SAS Deployment Tester server
4
The sas.servers script is located in the top level of your configuration directory. For
example, in a Level 1 deployment, the script is located in the following path:
SAS-configuration-directory
/Lev1/.
CAUTION:
You should not directly update the sas.servers script.
If the script needs to be updated
(for example, to add new servers or remove servers), then regenerate the script by
using generate_boot_scripts.sh.
4
Use the sas.servers Script to Start, Stop, or Restart All Servers or to
Display the Status of Servers
To use the sas.servers script to start, stop, or restart all servers on a UNIX or z/OS
machine or to display the status of all servers on the machine, follow these steps:
1 Log on as the SAS Installer user (for example, sas).
2 Go to the directory SAS-configuration-directory/Lev1/.
3 Type ./sas.servers followed by one of the following arguments:
start
starts the servers and spawners in the following order: SAS Metadata Server, SAS
OLAP Server, SAS object spawner, SAS/SHARE server, SAS/CONNECT spawner,
SAS Table Server, SAS Remote Services, SAS Deployment Tester server.
Operating Your Servers
4
Using generate_boot_scripts.sh to Regenerate the sas.servers Script59
Note: The OLAP server, object spawner, SAS/SHARE server, SAS/CONNECT
spawner, and table server require that the metadata server be running. If the
metadata server is configured on a different host machine, make sure that the
server is running before you use this script.
stop
4
stops the servers and spawners in the following order: SAS Deployment Tester
server, SAS Remote Services, SAS Table Server, SAS/CONNECT spawner, SAS/
SHARE server, SAS object spawner, SAS OLAP Server, SAS Metadata Server.
Note:
3
When you stop the metadata server, any dependent servers and spawners
(whether they are on the same host machine or a different machine) will stop
running.
3
Before you stop an OLAP server, you should first stop the active sessions, as
follows:
1
In SAS Management Console, expand the
OLAP Server Monitor
2 Right-click the name of the logical SAS OLAP Server, and select
Connect.
3 In the dialog box that appears, enter your user name and password and
click
OK.
4
Right-click the name of each session that you want to close, and select
Close Session.
node.
Monitoring
node and the
SAS
4
restart
stops and then starts the servers and spawners in the following order: SAS
Metadata Server, SAS OLAP Server, SAS object spawner, SAS/SHARE server,
SAS/CONNECT spawner, SAS Table Server, SAS Remote Services.
status
displays the current status of the servers and spawners in the following format:
server-name server-instance
(process-ID) is running|is stopped
.
For example, the following messages mean that two instances of the SAS OLAP
Server are configured on the machine. The first instance is running, and the
second instance is stopped:
SAS OLAP Server 1 (pid 29529) is running
SAS OLAP Server 2 (pid 29530) is stopped
Note: To use the script on z/OS systems, you must run the servers under UNIX
System Services (USS). On z/OS systems, SAS recommends operating servers as started
tasks. See “Starting and Stopping SAS Servers on z/OS” on page 57.
4
Using generate_boot_scripts.sh to Regenerate the sas.servers Script
About generate_boot_scripts.sh
The generate_boot_scripts.sh script enables you to automatically regenerate the
sas.servers script for a particular UNIX or z/OS host machine. This feature is useful in
the following types of situations:
60Install sas.servers as a Boot Script
3
You have configured a new server or spawner on the machine. In this situation,
the script generation process detects the new server or spawner and adds it to the
sas.servers script.
3
You have removed a server or spawner configuration from the machine. In this
situation, the script generation process detects the absence of the server or
spawner and removes it from the sas.servers script.
3
You want to remove a server or spawner from the script so that you can operate it
separately, or you want to add a server or spawner that you previously removed.
3
You have changed the location of the server’s log.
About the server-name.srv Files
On UNIX and z/OS systems, each server’s configuration directory contains a file
called server-name.srv. For example, the metadata server’s configuration directory
contains a file called MetadataServer.srv, and the workspace server’s configuration
directory contains a file called WorkspaceServer.srv.
The generate_boot_scripts.sh script accesses each of the server-name.srv files to
determine which servers and spawners are to be included in the sas.servers script. If a
server’s server-name.srv file contains the keyword ENABLE, then the server is included
in the script. If the file contains the keyword DISABLE, then the server is excluded
from the script.
In the initial configuration, all server-name.srv files contain the keyword ENABLE.
The server-name.srv files also contain the path to the server’s startup script and the
path to the server’s log files.
4
Chapter 5
Regenerate the sas.servers Script
To regenerate the sas.servers script, follow these steps:
1 Log on as the SAS Installer user (for example, sas).
2
If you want to remove a server or spawner from the script, or if you want to add a
server or spawner that you previously removed, follow these steps:
a Navigate to the server’s configuration directory and open the file
server-name.srv in an editor.
For example, if you want to remove the SAS/SHARE server from the
script, you would go to SAS-configuration-directory
open the file ShareServer.srv.
b Locate the line that contains the keyword ENABLE or DISABLE. If you want
to exclude the server from the sas.servers script, change the keyword to
ENABLE. If you want to include the server in the sas.servers script, change
the keyword to DISABLE. Save the file.
3
Go to the directory SAS-configuration-directory/Lev1/.
4 Enter the following command:
./generate_boot_scripts.sh
A new sas.servers script is created to reflect the servers that are currently
configured on the machine. If any of the server-name.srv files contain the keyword
DISABLE, the following message appears:
<number-of-disabled-servers>
their .srv files
SAS servers were explicitly disabled in
/Lev1/ShareServer and
Install sas.servers as a Boot Script
On UNIX machines, you can choose to install the sas.servers script as a boot script so
that the servers will start automatically when you start the machine. The comments in
Operating Your Servers
the sas.servers script contain installation instructions that are tailored to your
operating environment.
4
Use Individual Scripts to Operate Servers61
Running Servers as UNIX Daemons
On UNIX systems, as an alternative to using the sas.servers script, you can configure
your system so that certain servers or spawners run as daemons. For example, to make
the metadata server run as a daemon, you can copy the MetadataServer.sh script to the
boot directory of your machine. Then add the needed information and links to the host’s
start and stop commands so that the metadata server is started at boot time and
stopped at shutdown time. For more information, see your UNIX system administrator
or the system administration guide for your platform.
Using Scripts to Operate SAS Servers Individually
About Using Scripts to Operate Servers
The configuration directory for each SAS server and spawner contains a script that
enables you to operate the server or spawner individually from a command line.
On Windows machines, depending on the options that were selected during
installation, the SAS Deployment Wizard might have also added shortcuts to your
Start menu to enable you to start, stop, pause and resume servers and spawners.
On UNIX and z/OS systems, you can use the sas.servers script to start and stop
servers with a single command (see “Using the sas.servers Script on UNIX or z/OS to
Start or Stop All Servers” on page 58). On z/OS systems, SAS recommends operating
servers as started tasks (see “Starting and Stopping SAS Servers on z/OS” on page 57).
For information about the startup parameters for each server, see the documentation
references that are provided in “Summary of Procedures for Server Operation” on page
54.
Use Individual Scripts to Operate the SAS Metadata Server, SAS
Object Spawner, SAS OLAP Server, and SAS Table Server
You can use scripts to start, stop, pause, or resume the metadata server, an object
spawner, an OLAP server, or a table server from the DOS command line, the UNIX
console, or the z/OS console. The scripts also enable you to install or remove a server or
spawner as a Windows service and to display the server or spawner’s current status.
Note:
3
The metadata server must be running before you can start an object spawner, an
OLAP server, or a table server.
3
Before using scripts to operate the metadata server, see “About SAS Metadata
Server States” on page 53.
4
Follow these steps:
62Use Individual Scripts to Operate Servers
1 On Windows, log on as a user who is a member of the host operating system’s
Administrators group. On UNIX or z/OS, log on as the SAS Installer user (for
example, sas).
2 Use one of the following scripts, which are located in the path
SAS-configuration-directory
Table 5.1 Scripts for Operating Servers and Spawners
4
Chapter 5
/Lev1:
Server or
Spawner
SAS Metadata
Server
SAS object spawnerWindows: ObjectSpawner\ObjectSpawner.bat
SAS OLAP ServerWindows: SASApp\OLAPServer\OLAPServer.bat
SAS Table ServerWindows: SASTS\TableServer\TableServer.bat
1 Your installation might have different names for the
UNIX and z/OS: SASMeta/MetadataServer/MetadataServer.sh
UNIX and z/OS: ObjectSpawner/ObjectSpawner.sh
1,2
UNIX and z/OS: SASApp/OLAPServer/OLAPServer.sh
1,2
UNIX and z/OS: SASTS/TableServer/TableServer.sh
1,2
1,2
1,2
SASApp directory.
2 In single-machine installations that were migrated from SAS 9.1.3, the default location
for the OLAP server script is
OLAPServer
on UNIX or z/OS.
SASMain\OLAPServer
on Windows and
SASMain/
You can use any of the following arguments with these scripts:
Note: The hyphen in front of each argument is optional.
4
-install
installs the server or spawner as a Windows service.
-remove
removes the server or spawner service from Windows.
-start
starts the server or spawner.
Note: Before you start the object spawner, the OLAP server, or the table
server, make sure that the metadata server is running.
4
-stop
completely stops the server or spawner.
Note:
3
Stopping the metadata server stops other components, including object
spawners, OLAP servers, table servers, SAS/CONNECT spawners, and
SAS/SHARE servers.
3
Before you stop an OLAP server, you should first stop the active
sessions, as follows:
a In SAS Management Console, expand the Monitoring node and
the
SAS OLAP Server Monitor node.
b Right-click the name of the logical SAS OLAP Server, and select
Connect.
c In the dialog box that appears, enter your user name and password
and click
OK.
4
-restart
Operating Your Servers
d Right-click the name of each session that you want to close, and
Close Session
select
4
Use Individual Scripts to Operate Servers and Spawners63
.
stops and then starts a running server or spawner.
-pause
causes the server or spawner to finish processing all active client sessions
and to stop accepting new requests.
When this option is used with the metadata server, the server is placed in
the Offline state.
-resume
resumes the server or spawner process when it is in the paused state.
When this option is used with the metadata server, the server is returned
to the Online state if the current state is Offline or Administration.
-status
displays the current status of the server or spawner.
The metadata server script has two additional options:
-backup
executes the program backupServer.sas, which is located in your metadata server
startup directory. This program pauses the metadata server and copies your
metadata repositories, the repository manager, the metadata journal file, and the
metadata server’s configuration files to a subdirectory called
SASBackup in the
metadata server’s configuration directory. For details about this and other
methods of performing backups, see “About the Metadata Server Backup and
Restore Utilities” on page 124.
CAUTION:
For production backups and restores, it is highly recommended that you follow the
best practices that are provided in Chapter 9, “Best Practices for Backing Up and
Restoring Your System,” on page 123.
-restore
4
executes the program restoreServer.sas, which is located in your metadata server
startup directory. This program pauses the metadata server and copies your
metadata repositories, the repository manager, the metadata journal file, and the
metadata server’s configuration files from the backup directory to the metadata
server configuration directory. For details about this and other methods of
performing restores, see “About the Metadata Server Backup and Restore
Utilities” on page 124.
Use Individual Scripts to Operate Servers and Spawners
To use an individual script to operate the SAS/CONNECT spawner, SAS/SHARE
server, and SAS Deployment Tester server, follow these steps:
1 On Windows, log on as a user who is a member of the host operating system’s
Administrators group. On UNIX and z/OS, log on as the SAS Installer user (for
example, sas).
2 Use one of the following scripts, which are located in the path
SAS-configuration-directory
for
SASApp subdirectory):
/Lev1 (your installation might have a different name
64Starting or Stopping the SAS Services Application
Table 5.2 Scripts for Operating Servers and Spawners
4
Chapter 5
Server or
Spawner
SAS/CONNECT
spawner
SAS/SHARE serverWindows: SASApp\ShareServer.bat
SAS Deployment
Tester server
Script Name and Location
Windows: SASApp\ConnectServer.bat
UNIX and z/OS: SASApp/ConnectServer.sh
UNIX and z/OS: SASApp/ShareServer.sh
Windows:
DeploymentTesterServer\DeploymentTesterServer.bat
UNIX and z/OS:
DeploymentTesterServerDeploymentTesterServer.sh
You can use any of the following arguments with these scripts:
Note: The hyphen in front of each argument is optional.
-install
installs the server or spawner as a Windows service.
-remove
removes the server or spawner service from Windows.
-start
starts the server or spawner.
-stop
stops the server or spawner.
4
-restart
restarts the server or spawner.
-status
displays the current status of the server or spawner.
For more information, see Communications Access Methods for SAS/CONNECT and
SAS/SHARE and SAS/SHARE User’s Guide.
Starting or Stopping the SAS Services Application
The SAS Services Application deploys a set of services called Remote Services that
are used by the SAS Information Delivery Portal, the SAS Stored Process Web
application, and other Web applications. This application must be started before you
start your Web application server. To start the SAS Services Application:
1 Make sure that the metadata server is running.
2
On Windows, log on as a user who is a member of the host operating system’s
Administrators group. On UNIX and z/OS, Log on as the SAS Installer user (for
example, sas).
3 Use one of the following scripts:
3
On Windows: SAS-configuration-directory\Lev1\Web\
Applications\RemoteServices\RemoteServices.bat
3
On UNIX or z/OS: SAS-configuration-directory/Lev1/Web/
Applications/RemoteServices/RemoteServices.sh
You can use any of the following arguments with these scripts:
Operating Your Servers
4
Use SAS Management Console to Stop, Pause, Resume, or Reset the SAS Metadata Server65
Note: The hyphen in front of each argument is optional.
-install
installs the SAS Services Application as a Windows service.
-remove
removes the SAS Services Application service from Windows.
-start
starts the SAS Services Application.
-stop
stops the SAS Services Application.
-restart
restarts the SAS Services Application.
-status
displays the current status of the SAS Services Application.
Using SAS Management Console to Operate SAS Servers
4
Obtain the Appropriate User Credentials, and Clear Cached
Credentials (If Necessary)
To connect to a server or spawner in SAS Management Console, you must have the
appropriate user credentials. Membership in the SAS Administrators group typically
provides sufficient rights and permissions. For details, see “Who Can Do What in the
Server Manager Plug-in” on page 35.
If you attempt to connect to a server or spawner and you are denied access, make
sure you have the appropriate credentials. After your credentials are updated, be sure
to clear the credentials cache before you try to connect again. To clear the credentials
cache, click
FileIClear Credentials Cache
in SAS Management Console.
Use SAS Management Console to Stop, Pause, Resume, or Reset the
SAS Metadata Server
You can use SAS Management Console to stop, pause, or resume the SAS Metadata
Server. You can also use SAS Management Console to reset the metadata server in
order to recover memory on the host machine.
Note: Before using these features to operate the metadata server, see “About SAS
Metadata Server States” on page 53.
Follow these steps:
1 Log on to SAS Management Console as a user with the appropriate credentials.
2 On the Plug-ins tab, expand the Metadata Manager node, and right-click the
Active Server node.
3 Select one of the following actions:
4
Stop
66Use SAS Management Console to Stop, Pause, Resume, Quiesce, or Refresh the SAS Object Spawner
completely stops the metadata server.
Note:
3
Stopping the metadata server stops other components, including object
spawners, OLAP servers, table servers, SAS/CONNECT spawners, and
SAS/SHARE servers.
3
To start the metadata server after stopping it, you must use a script. If
you want to be able to resume processing without using a script, use
Pause
4
I
Offline instead.
4
Chapter 5
Pause
I
Offline
pauses the metadata server to the Offline state. In the Pause Comment
dialog box, you can enter a comment that provides information about the
pause action. When a client attempts to read or write metadata, the
comment is appended to the appropriate message and displayed as follows:
Error accessing metadata:The GetMetadataObjects request
failed because the server is paused for OFFLINE use.The
reason for the server pause is
Pause
I
Administration
comment.
pauses the metadata server to the Administration state. In the Pause
Comment dialog box, you can enter a comment that provides information
about the pause action. When a user who is not in the
Unrestricted
role attempts to read or write metadata, the comment is
appended to the appropriate message and displayed as follows:
accessing metadata:The GetMetadataObjects request failed
because the server is paused for ADMINISTRATION use.The
reason for the server pause is
Resume
comment.
Metadata Server:
Error
returns the metadata server to the Online state (if the current state is Offline
or Administration). The metadata server resumes accepting client requests to
read and write metadata and re-opens repository containers as clients
request metadata from them.
Reset
unloads from memory and closes the containers of all registered repositories
in order to recover memory on the metadata server host. The metadata
server then re-opens repository containers as clients request metadata from
them. This option is useful if the host computer experiences an
out-of-memory condition.
To start the metadata server, see “Running Servers as Windows Services” on page 55
and “Using Scripts to Operate SAS Servers Individually” on page 61. For information
about metadata server startup parameters, see Appendix 5, “Options for the Metadata
Server Invocation Command,” on page 289.
Use SAS Management Console to Stop, Pause, Resume, Quiesce, or
Refresh the SAS Object Spawner
You can use SAS Management Console to stop, pause, resume, quiesce, or refresh the
object spawner. Follow these steps:
1 Log on to SAS Management Console as a user with the appropriate credentials.
2 On the Plug-ins tab, expand the Server Manager node and the Object Spawner
node.
Operating Your Servers
3 Right-click the object spawner instance that you want to administer, and click
Connect.
4 After you are connected, you can select any of the following actions:
4
Use SAS Management Console to Stop, Pause, Resume, Quiesce, or Refresh the SAS OLAP Ser ver67
Refresh
updates the SAS Management Console display with current information
about the spawner.
Disconnect
discontinues your current connection to the spawner.
Stop
stops the spawner process, including any active client requests.
Note: If you want active requests to be completed first, use
Pause
Quiesce.
4
causes the spawner to finish processing all active client requests and to stop
accepting new requests.
Resume
resumes the spawner process when it is in the paused state.
Quiesce
stops the spawner process after the spawner has finished processing all
active client requests.
Refresh Spawner
re-initializes the spawner. During re-initialization, the spawner stops any
spawned servers that are currently running, rereads the metadata in the
spawner definition, and applies any new options that have been set.
Note: If the spawner is in a paused state when the Refresh Spawner
action occurs, the spawner remains paused after it is re-initialized.
4
To start the object spawner, see “Running Servers as Windows Services” on page 55
and “Using Scripts to Operate SAS Servers Individually” on page 61. For information
about startup options for the object spawner, see “Spawner Invocation Options” in the
SAS Intelligence Platform: Application Server Administration Guide.
Use SAS Management Console to Stop, Pause, Resume, Quiesce, or
Refresh the SAS OLAP Server
You can use SAS Management Console to stop, pause, resume, quiesce, or refresh the
SAS OLAP Server. Follow these steps:
1
Log on to SAS Management Console as a user with the appropriate credentials.
2
On the Plug-ins tab, expand the
node (for example,
3 Right-click the OLAP server instance that you want to administer, and click
Connect.
4 After you are connected, you can select any of the following actions:
Refresh
SASApp), and the node for the logical OLAP server.
updates the SAS Management Console display with current information
about the OLAP server.
Disconnect
Server Manager node, the application server
68Use SAS Management Console to Control Processes on Servers
discontinues your current connection to the OLAP server.
Stop
stops the OLAP server process, including any active client requests.
4
Chapter 5
Note: If you want active sessions to be completed first, use
Pause
Quiesce.
4
causes the OLAP server to finish processing all active sessions and to stop
accepting new client requests.
Resume
resumes the OLAP server process when it is in the paused state.
Quiesce
stops the OLAP server process after the server has finished processing all
active sessions.
Note: To start the OLAP server after quiescing it, you must use a script.
If you want to be able resume processing without using a script, use
instead.
4
Pause
To start the OLAP server, see “Running Servers as Windows Services” on page 55
and “Using Scripts to Operate SAS Servers Individually” on page 61. For information
about OLAP server startup parameters, see “System Options for Application Server
Components” in the SAS Intelligence Platform: Application Server AdministrationGuide.
Use SAS Management Console to Control Processes on Servers
You can use SAS Management Console to stop, pause, resume, or quiesce a process
on a workspace server, pooled workspace server, or stored process server. Follow these
steps:
1 Log on to SAS Management Console as a user with the appropriate credentials.
2 On the
server node (for example,
3
Expand the node for the logical server that is running the process, and then
expand the node for the server instance that is running the process. The server’s
available connections are displayed in the server tree and in the right pane.
4 Highlight the appropriate host machine name, as shown in this example.
Plug-ins tab, expand the
SASApp).
Server Manager
node and the application
Right-click the mouse, and click Connect. For each process that is active for
that connection, the right pane displays the process ID, the process owner, and the
port, as shown in this example:
Operating Your Servers
5 In the Server Manager tree, expand the node for the connection that you are
4
Starting or Stopping a JBoss Application Server69
working with. The active processes for the connection are displayed in the tree.
6
Highlight the process that you want to stop, pause, resume, or quiesce, as shown
in this example:
In the right pane, the following tabs become active: Clients, Options, and
Loggers. For pooled workspace servers and stored process servers, the
and Log
tabs also become active.
Sessions
Note: If some tabs are disabled, then you need additional user credentials. See
“Who Can Do What in the Server Manager Plug-in” on page 35. For details about
the tabs, see “Use the Server Manager Tabs to Obtain Monitoring Information and
to Adjust Logging Levels (If Needed)” on page 91.
4
.
7 Right-click the mouse and select one of the following actions:
Stop
stops the server process, including any active client requests.
Note:
3
If you want active requests to be completed first, use
4
Pause
causes the server process to finish processing all active client requests and to
stop accepting new requests.
Resume
resumes the server process when it is in the paused state.
Quiesce
stops the server process after the server has finished processing all active
client requests.
Starting and Stopping Web Application Servers
Quiesce.
Starting or Stopping a JBoss Application Server
On Windows systems, follow these steps to start a JBoss Application Server:
1 Make sure that the SAS Services Application (Remote Services) has been started
(see “Starting or Stopping the SAS Services Application” on page 64).
2 Use one of the following scripts:
3
On Windows:
70Starting or Stopping an IBM WebSphere Application Server or an IBM WebSphere Application Server Network Deployment
4
(ND)
Chapter 5
JBoss-home-directory\bin\SASServer1.bat
3
On UNIX:
JBoss-home-directory
/bin/SASServer1.sh
You can use any of the following arguments with these scripts:
Note: The hyphen in front of each argument is optional.
-install
4
installs the server as a Windows service.
-remove
removes the service from Windows.
-start
starts the server.
-stop
stops the server.
If you selected the option to install the JBoss Application Server as a service, see
“Running Servers as Windows Services” on page 55.
Starting or Stopping an IBM WebSphere Application Server or an IBM
WebSphere Application Server Network Deployment (ND)
Starting or Stopping an IBM WebSphere Application Server or an IBM
WebSphere Application Server Network Deployment (ND) on Windows or
UNIX
If you are using an IBM WebSphere Application Server or an IBM WebSphere
Application Server Network Deployment on Windows or UNIX, follow these steps to
start the server:
1 Make sure that the SAS Services Application (Remote Services) has been started.
2 If the WebSphere deployment manager is not already running, start it by using
one of the following methods:
3
If the deployment manager is installed as a Windows service, start the
appropriate service.
3
Use one of the following commands, where WAS_INSTALL_ROOT is the
home directory of the deployment manager:
3
On Windows:
WAS_INSTALL_ROOT
"SASDmgr01"
3
On UNIX:
WAS_INSTALL_ROOT
"SASDmgr01"
\bin\startManager.bat -profileName
/bin/startManager.sh -profileName
SASDmgr01 is the default profile name for the deployment manager. The
name in your installation might be different.
3 If the WebSphere node agent is not already running, start it by using one of the
following methods:
3
If the node agent is installed as a Windows service, start the appropriate
service.
Operating Your Servers
3
Use one of the following commands, where WAS_INSTALL_ROOT is the
4
Starting or Stopping an IBM WebSphere Application Server or Network Deployment71
home directory of the application node:
3
On Windows:
WAS_INSTALL_ROOT
"SAS
host-name01"
3
On UNIX:
WAS_INSTALL_ROOT
host-name01"
"SAS
\bin\startNode.bat -profileName
/bin/startNode.sh -profileName
SAShost-name01 is the default profile name for the managed node, which
contains the node agent and the application server that is used to run SAS.
The profile name for the managed node in your installation might be different.
4
Start the WebSphere Application Server by using one of the following methods:
3
Use the WebSphere administrative console to start the application server.
The default server name on Windows and UNIX is SASServer1. If additional
servers are installed, the default server names are SASServer2, SASServer3,
and so on.
3
Use one of the following commands, where WAS_INSTALL_ROOT is the
home directory of the application node:
3
On Windows:
WAS_INSTALL_ROOT
-profileName "SAS
3
On UNIX:
WAS_INSTALL_ROOT
-profileName "SAS
\bin\startServer.bat "server-name"
host-name01"
/bin/startServer.sh "server-name"
host-name01"
The default server name on Windows and UNIX is SASServer1. If
additional servers are installed, the default server names are SASServer2,
SASServer3, and so on.
SAShost-name01 is the default profile name on Windows and UNIX. If
multiple servers are installed, then the default names for the additional
profiles are SAShost-name02, SAShost-name03, and so on.
To stop the server, use the WebSphere administrative console or the appropriate
script (stopServer.bat or stopServer.sh). The scripts are located in the same directory as
the startup script.
Note: When you use the SAS Deployment Wizard to deploy or migrate a SAS
system that uses WebSphere, you must first stop all WebSphere application servers.
For instructions, see the IBM documentation for WebSphere Application Server.
4
Starting or Stopping an IBM WebSphere Application Server Network
Deployment (ND) on z/OS
If you are using an IBM WebSphere Application Server Network Deployment on z/OS,
follow these steps to start the application server:
1 Make sure that the SAS Services Application (Remote Services) has been started.
2 If the WebSphere deployment manager is not already running, start it by using
one of the following methods:
3
Run the following script, where WAS_INSTALL_ROOT is the home directory
of the deployment manager:
72Starting or Stopping an Oracle WebLogic Server
WAS_INSTALL_ROOT/bin/startManager.sh
3
Issue the MVS START command to start the deployment manager. Specify
the appropriate deployment manager procedure and related parameters.
3
If the WebSphere node agent is not already started, start it by using one of the
following methods:
3
Run the following script, where WAS_INSTALL_ROOT is the home directory
of the application node:
WAS_INSTALL_ROOT
3
Issue the MVS START command to start the node agent. Specify the the
appropriate node agent procedure and related parameters.
4
Start the WebSphere Application Server by using one of the following methods:
3
Use the WebSphere administrative console to start each application server.
3
Run the following script for each application server, where
WAS_INSTALL_ROOT is the home directory of the application node:
WAS_INSTALL_ROOT
3
Issue the MVS START command for each server. Specify the appropriate
application server procedure and related parameters.
To stop the application server, use one of the following methods:
3
Use the WebSphere administrative console to stop the application server.
3
Run the following script for the application server, where WAS_INSTALL_ROOT
is the home directory of the application node:
WAS_INSTALL_ROOT
3
Issue the MVS STOP command against the application server control region.
4
Chapter 5
/bin/startNode.sh
/bin/startServer.sh "
/bin/stopServer.sh "server-name"
server-name"
Note: When you use the SAS Deployment Wizard to deploy or migrate a SAS
system that uses WebSphere, you must first stop all WebSphere application servers.
For instructions, see the IBM documentation for WebSphere Application Server.
4
Starting or Stopping an Oracle WebLogic Server
By default, the SAS Deployment Wizard configures the WebLogic domain in the
following path: SAS-configuration-directory
have been configured in a different location.
If you are using an Oracle WebLogic Server on a Windows system, follow these steps
to start the server:
1
Make sure that the SAS Services Application (Remote Services) has been started.
2 If the WebLogic Administration Server is not running, start it by using the
Note: The third maintenance release for SAS 9.2 includes scripts that you can use
to install the WebLogic Managed Server and WebLogic Administration Server as
Windows services. If you used these scripts to install the services, see “Running Servers
as Windows Services” on page 55.
4
/Lev1/Web/SASDomain. Your domain might
startManagedWebLogic.cmd, which
\bin\. The syntax is as follows:
Operating Your Servers
4
Starting or Stopping an Oracle WebLogic Server73
If you are using a WebLogic Server on a UNIX system, follow these steps to start the
server:
1
Make sure that the SAS Services Application (Remote Services) has been started.
2 If the WebLogic Administration Server is not running, start it by using the
You can also use other methods, including the administrative console or the
WebLogic Scripting Tool (WLST), to start these servers. For details, see the WebLogic
documentation at
http://edocs.beasys.com.
To stop the server, use stopManagedWebLogic.cmd (on Windows); or
stopManagedWebLogic.sh (on UNIX). These scripts are located in the same directories
as the startup scripts.
74
CHAPTER
6
75
Checking the Status of Servers
About Checking the Status of Servers
Use a Server Script to Display the Status of a Server or Spawner
Checking the Access State of the SAS Metadata Server
Use SAS Management Console to Check the Access State of the SAS Metadata Server
Use PROC METAOPERATE to Check the Access State of the SAS Metadata Server
Checking the Access State of Metadata Repositories and the Repository Manager77
About Metadata Repository Access States and Access Modes
How the Access State of the Metadata Server Affects the Access States of Metadata Repositories
About Repository Manager Access States
Use SAS Management Console to Check the Access State of a SAS Metadata Repository
Use PROC METADATA to Check the Status of Metadata Repositories and the Repository
Manager
Create and Run a PROC METADATA Program 80
Example: PROC METADATA Output 81
Check the Status of the Object Spawner 82
Validate the SAS Metadata Server, SAS Workspace Servers, SAS Pooled Workspace Servers, SAS Stored
Process Servers, and SAS OLAP Servers
Validate the SAS Content Server 83
80
75
About Checking the Status of Servers
SAS provides a number of tools that you can use to determine the status of your SAS
server components. SAS Management Console includes features that enable you to do
the following:
3
use a server script to display the status of a server from the command line
3
check the access state of the SAS Metadata Server to determine whether it is
online, paused for administration, or paused to an Offline state
3
check a SAS Metadata Repository to determine whether it is in an Online,
Administration, Administration (ReadOnly), ReadOnly, or Offline access state
3
check an instance of the SAS object spawner to ensure that you can make a
connection
3
submit SAS code to validate that instances of a SAS Metadata Server, SAS
Workspace Server, SAS Pooled Workspace Server, SAS Stored Process Server, or
SAS OLAP Server are set up correctly
3
determine whether the SAS Content Server is listening on the specified host and
port, and that the first configured base path exists on the server
76
76
76
76
77
78
78
79
82
You can also use SAS programming features to check the status of the metadata server,
metadata repositories, and the repository manager.
76Use a Server Script to Display the Status of a Server or Spawner
Note: To check the status of a SAS/SHARE server, see the SAS/SHARE User’s
Guide.
4
4
Chapter 6
Use a Server Script to Display the Status of a Server or Spawner
To display the status of a server or spawner from a command line, you can use the
-status
to Operate SAS Servers Individually” on page 61.
On UNIX and z/OS, you can use the
display the status of all servers and spawners on a machine. For details, see “Use the
sas.servers Script to Start, Stop, or Restart All Servers or to Display the Status of
Servers” on page 58.
option of the script for that server or spawner. For details, see “Using Scripts
-status
option of the sas.servers script to
Checking the Access State of the SAS Metadata Server
Use SAS Management Console to Check the Access State of the SAS
Metadata Server
To use SAS Management Console to determine the access state of the SAS Metadata
Server:
1 In the SAS Management Console
node.
2 Right-click the
The current state is displayed in the
Active Server Properties dialog box. If the state is Administration or Offline, then
the
Comment field displays any comments that were entered by the administrator
who paused the server.
For a description of the Offline, Administration, and Online states, see “About SAS
Metadata Server States” on page 53. To change the state of the metadata server, see
“Use SAS Management Console to Stop, Pause, Resume, or Reset the SAS Metadata
Server” on page 65.
Active Server node and select
Plug-ins tab, expand the
Properties.
State
field on the
Metadata Manager
General tab of the
Use PROC METAOPERATE to Check the Access State of the SAS
Metadata Server
To check the access state of the SAS Metadata Server, you can use PROC
METAOPERATE to issue a STATUS action. The syntax is as follows:
About Metadata Repository Access States and Access Modes77
Any user who can log on to the SAS Metadata Server can issue a STATUS action.
If the SAS Metadata Server is running normally, information similar to the following
is written to the SAS Output window:
NOTE: Server dXXXX.us.company.com SAS Version is 9.02.02B0P082107
NOTE: Server dXXXX.us.company.com SAS Long Version is 9.02.02B0P08212007 .
NOTE: Server dXXXX.us.company.com Operating System is XP_PRO.
NOTE: Server dXXXX.us.company.com Operating System Family is WIN.
NOTE: Server dXXXX.us.company.com Client is userid@DOMAIN.
NOTE: Server dXXXX.us.company.com Metadata Model is Version 11,01.
NOTE: Server dXXXX.us.company.com is RUNNING on 10Sep07:14:47:57.
If the SAS Metadata Server is paused, information similar to the following is written
to the SAS Output window:
NOTE: Server dXXXX.us.company.com SAS Version is 9.02.02B0P082107
NOTE: Server dXXXX.us.company.com SAS Long Version is 9.02.02B0P08212007 .
NOTE: Server dXXXX.us.company.com Operating System is XP_PRO.
NOTE: Server dXXXX.us.company.com Operating System Family is WIN.
NOTE: Server dXXXX.us.company.com Client is userid@DOMAIN.
NOTE: Server dXXXX.us.company.com Metadata Model is Version 11,01.
NOTE: Server dXXXX.us.company.com is PAUSED on 10Sep07:14:47:57.
A SAS Metadata Server that is stopped will not respond to a PROC METAOPERATE
request.
For more information about PROC METAOPERATE, see
SAS Language Interfaces to
Metadata.
Checking the Access State of Metadata Repositories and the
Repository Manager
About Metadata Repository Access States and Access Modes
The access state of a metadata repository indicates its current state with regard to
client access. A metadata repository can exist in any of the following access states:
Online
Clients can read, write, and update metadata.
ReadOnly
Clients can read metadata but cannot write, update, or delete metadata.
Administration
Only users who are in the
write metadata. (For information about this role, see “Overview of Initial Roles,
Groups, and Users” on page 24.)
Metadata Server:Unrestricted role can read or
Administration (ReadOnly)
Only users who are in the
Metadata Server:Unrestricted role can read
metadata. Users cannot write, update, or delete metadata.
Offline
Clients can neither read nor write metadata to the repository.
78How the Access State of the Metadata Server Affects the Access States of Metadata Repositories
The access state of a repository depends on both the current state of the metadata
server and the repository’s registered access mode. The access mode of a SAS metadata
repository is the repository’s intended access state (see “About SAS Metadata
Repository Access Modes” on page 182). When the metadata server is Online, the access
state of a repository is equal to its access mode. When the metadata server is paused to
the Offline state or the Administration state, the access state of a repository can change
temporarily. When the metadata server is resumed, the repository’s access state
returns to its registered access mode.
How the Access State of the Metadata Server Affects the Access
States of Metadata Repositories
Generally, the access state of a repository is the same as the access mode that is
recorded in the repository’s metadata. However, a repository’s access state can change
temporarily when the metadata server is paused to an Offline state (for example, while
a backup process is executing) or when the metadata server is paused for
administration. When the metadata server is resumed, the repository’s access state
returns to its registered access mode.
The following table shows how the access state of the metadata server affects the
access state of a repository, based on the repository’s access mode:
4
Chapter 6
Table 6.1 The Effect of Metadata Server States on Metadata Repository Access
States
Metadata Server Access
State
OnlineOnlineOnline
OnlineAdministrationAdministration
OnlineReadOnlyReadOnly
OnlineOfflineOffline
AdministrationOnlineAdministration
AdministrationAdministrationAdministration
AdministrationReadOnlyAdministration (ReadOnly)
AdministrationOfflineOffline
OfflineOnlineOffline
OfflineAdministrationOffline
OfflineReadOnlyOffline
OfflineOfflineOffline
Metadata Repository
Registered Access Mode
Metadata Repository Access
State
About Repository Manager Access States
The repository manager is a library of tables that define the set of repositories that
can be accessed by a SAS Metadata Server. An access state of ReadOnly or Offline for
the repository manager is typically reflected in the following behavior:
ReadOnly
Checking the Status of Servers
Clients can read and write metadata in repositories, but they cannot create or
delete repositories or change their registrations.
Offline
The behavior can vary depending on whether a repository is available in memory.
Assume that repositories are unavailable for reading or writing to all users.
Use SAS Management Console to Check the Access State of a SAS
Metadata Repository
If the metadata server is online or is paused for administration, then you can use
SAS Management Console to determine the current access state of a metadata
repository, as follows:
1
In the SAS Management Console
node.
2
To view the access state of the foundation repository and any custom repositories
that you have created, select the
project repositories, expand the
Repositories
For each repository, the access mode and the current access state are displayed
in the table view, as shown in the following example:
4
Use SAS Management Console to Check the Access State of a SAS Metadata Repository79
Plug-ins
Active Server
Active Server
tab, expand the
Metadata Manager
node. To view the access state of
node and select the
Project
folder.
The table lists the following information for each registered repository:
Access
indicates the access mode of the repository as it is recorded in the Access
attribute of the repository’s metadata definition
State
indicates the current access state of the repository. Generally, the access
state of a repository is equal to its access mode. However, if the metadata
server is paused to an Offline state or is paused for administration, then the
repository’s access state might be changed temporarily (see “How the Access
State of the Metadata Server Affects the Access States of Metadata
Repositories” on page 78).
The
Access and State fields are also displayed in the metadata repository
properties. To see these properties, right-click the repository name in the Active
Server tree, select
Properties, and select the Registration tab.
80Use PROC METADATA to Check the Status of Metadata Repositories and the Repository Manager
Note:
3
If the metadata server is paused to the Administration state, then you must be in
Metadata Server:Unrestricted
the
role to view the server’s status in SAS
Management Console.
3
If the metadata server is paused to the Offline state, then the access state of
repositories cannot be displayed in SAS Management Console.
4
Use PROC METADATA to Check the Status of Metadata Repositories
and the Repository Manager
Create and Run a PROC METADATA Program
If the metadata server is online, then you can use PROC METADATA to check the
status of metadata repositories. To do so, use PROC METADATA to issue a
GetRepositories method call that sets the OMI_ALL flag to
method is part of the SAS Open Metadata Interface.
To run this program, you must have ReadMetadata permission to all repositories
on the SAS Metadata Server.
3
If the metadata server is paused to an Offline state, then you cannot use PROC
METADATA to issue a GetRepositories method call.
3
If the metadata server is paused to an Administration state, then special user
credentials are required to use PROC METADATA to issue a GetRepositories
method call. The user must either (1) be a member of the
Unrestricted
role or (2) be listed in adminUsers.txt, either with or without an
Metadata Server:
asterisk.
4
For each repository that is registered to the metadata server, the GetRepositories
method returns the values of the following attributes:
Id
specifies the repository’s unique object identifier.
Name
specifies the name assigned to the repository.
Desc
Checking the Status of Servers
contains a description of the repository.
Access
indicates the repository’s intended access mode, which is specified in the Access
attribute of the repository’s metadata definition. This field corresponds to the
repository’s
OMS_FULL
OMS_READONLY,
CurrentAccess
contains information that is used by metadata server processes. This field is
displayed because it is sometimes used by SAS Technical Support in the resolution
of metadata repository issues.
PauseState
indicates the current access state of the repository. This field corresponds to the
repository’s
both the current state of the metadata server and the repository’s registered
access mode (see “How the Access State of the Metadata Server Affects the Access
States of Metadata Repositories” on page 78). An empty string means that the
repository is online.
Path
indicates the path where the repository’s data sets are located.
4
Use PROC METADATA to Check the Status of Metadata Repositories and the Repository Manager81
Access field in SAS Management Console. The possible values are
(which is displayed as
OMS_ADMIN, and
State
field in SAS Management Console. The access state depends on
Online in SAS Management Console),
OMS_OFFLINE.
RepositoryFormat
contains the revision level of the metadata model that is used by the repository. A
RepositoryFormat level that is less than the level of the server can cause the
repository to have a
PauseState
(access state) of ReadOnly.
For more information about the METADATA procedure and the GetRepositories
method, see SAS Language Interfaces to Metadata.
Example: PROC METADATA Output
The following is an example of output from PROC METADATA when the metadata
server is online:
This output in this example provides the following information:
3
For the repository manager (
available.
3
For the Foundation repository:
mode of Online, and
Online.
3
For the Test Repository:
mode of ReadOnly, and
state is ReadOnly.
4
Chapter 6
REPOSMGR):
Access="OMS_FULL"
PauseState="" indicates that the current access state is
Access="OMS_READONLY"
PauseState="READONLY"
PauseState="" indicates that it is
indicates a registered access
indicates a registered access
indicates that the current access
Check the Status of the Object Spawner
The SAS object spawner is a program that listens for incoming client requests for
SAS Workspace Servers, SAS Pooled Workspace Servers, and SAS Stored Process
Servers and then launches instances of these servers to fulfill the request. The object
spawner needs to be running in order for these server instances to be launched.
To make sure that the spawner is working, follow these steps:
1 Log on to SAS Management Console as a user with the appropriate credentials
(see “Who Can Do What in the Server Manager Plug-in” on page 35).
2 On the
Plug-ins tab, expand the
Server Manager
node and the Object Spawner
node.
3
Right-click the object spawner instance that you want to check, and click
Connect.
Validate the SAS Metadata Server, SAS Workspace Servers, SAS Pooled
Workspace Servers, SAS Stored Process Servers, and SAS OLAP Servers
To determine whether your metadata server, workspace servers, pooled workspace
servers, stored process servers, and OLAP servers are set up correctly, you can use the
Validate feature. This feature submits a small SAS program to the server to determine
whether it can process the code. You can validate either a logical server or a particular
instance of a server.
Note: You cannot validate a workspace server that is configured to use client-side
(rather than server-side) pooling. To determine whether a workspace server uses
client-side pooling, right-click the server’s logical server node and click
the properties dialog box contains a
server uses client-side pooling.
Pooling tab that lists at least one puddle, then the
4
Properties.If
Checking the Status of Servers
4
Validate the SAS Content Server83
To validate a server, follow these steps:
1
Log on to SAS Management Console as a user with the appropriate credentials
(see “Who Can Do What in the Server Manager Plug-in” on page 35).
2
In SAS Management Console, expand the
the application server (for example,
3 To validate a logical server:
a
Right-click the logical workspace server, logical pooled workspace server,
Server Manager
SASApp).
node and the node for
logical stored process server, or logical OLAP server that you want to validate.
b Select
4
To validate a particular server instance:
a
Expand the appropriate logical server node.
b
In the tree that appears under the logical server definition, expand the server
Validate.
definition node.
c
In the tree that appears under the server definition, select the server
instance that you want to validate, as shown in this example:
d Right-click the server instance and select Validate.
5 SAS Management Console sends a small SAS program to the server for execution.
If the program executes correctly, the following message is displayed:
Validation Successful!
If the program does not execute correctly, an error message is displayed. For
assistance in resolving the problem, see “Troubleshooting the SAS Server Tier” in
the SAS Intelligence Platform: Installation and Configuration Guide.
If you are denied access, make sure you have the appropriate credentials. After
your credentials are updated, click
Management Console before you try to validate again.
Note: To run more extensive validation tests, you can use the SAS Deployment
Tester plug-in in SAS Management Console or the SAS Deployment Tester batch
clients. These tools enable you to validate components on both the middle tier and the
SAS server tier. For more information, see the SAS Management Console Help. The
SAS Deployment Tester Server must be installed on the same machine as the
components that you are validating.
Validate the SAS Content Server
If your installation includes a SAS Content Server, you can use the Validate feature
to determine whether the server is set up correctly, as follows:
FileIClear Credentials Cache in SAS
4
1 Log on to SAS Management Console, and expand the Server Manager node.
2 Right-click the SAS Content Server node.
84Validate the SAS Content Server
3 SAS Management Console attempts to make a WebDAV connection to the server.
If the connection is successful, the following message is displayed:
Validation Successful!
This message indicates that a WebDAV server is listening on the specified host
and port, and that the first configured base path exists on the server.
If the connection is not successful, an error message is displayed.
4
Chapter 6
PART
3
System Monitoring and Logging
85
Chapter 7..........
Chapter 8..........
Monitoring the Activity of SAS Servers
Administering Logging for SAS Servers
87
103
86
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.