SAP Housekeeping - The Computer
Center Management System (CCMS)
Objectives
Introduction to CCMS
Basic concepts behind CCMS
Profiles
Operation Modes
The R/3 Control Panel
Monitoring Architecture
Performance Monitoring
Alert Monitoring
CCMS Agent Technology
E-mail notification in case of errors
CCMS
The Computer Center Management System (CCMS) is a
collection of tools and utilities which allows you to monitor,
manage, and configure the R/3 system.
The CCMS toolset supports most of the system management
functions.
The CCMS provides a series of graphical monitors and
management utilities.
The CCMS manages a very large amount of highly technical
information, which can only be understood with a deep
knowledge of the operating system, underlying database
architecture, network, and the R/3 internals.
Various Functions
The various functions are:
Starting and stopping SAP instances
Monitoring and analyzing the workload of the
underlying operating systems, the network, the
database engine, and the SAP system itself
Automatic problem detection with the use and
configuration of alert thresholds
Definition of operation modes with 24 hours unattended
work process automatic reconfiguration
Instance profile checking and maintenance
Centralized management of usual activities of the
printing system, database, and background system
Data archiving functions
Main Concepts
The main concepts with which to get familiar when operating the
CCMS:
R / 3 instances
Defines resources needed by a SAP Application Server, such as
memory configuration, number and type of services provided
(work processes), and so on.
Syntax <hostname>_<SID>_<system number>
Instances profiles
Include the group of parameters which sets the values for the
resources needed by the R/3 instances.
Initially generated when installing the SAP system.
Operation modes
Main use is to automatically switch work process types to better
distribute the available resources.
Main Concepts
Control panel
Central monitor - an overview of the whole SAP system status
Performing management functions like changing operation modes, starting and
stopping instances
Monitors
Displays the alerts defined in the system
List-oriented and Graphical monitoring
Alerts
Predefined system events which are constantly monitored
Includes alerts for the database, the Operating system, the network and R/3
components
Can be Simple warnings or Critical Errors
Performance and workload statistics collectors
Collector programs and Background jobs
Administrator Duties with the CCMS
Configure the CCMS:
Configure the instances and operation modes
Configure the alert thresholds
Configure and submit the performance collectors
Use the CCMS for:
Online alert monitoring
Performance problems analysis
Importing and maintaining the SAP system profiles
Needed authorization S_RZL_ADM
Maintaining Profile
SAP System Profiles:
Default profile
Instance profile
Startup profile
OS Path: /usr/sap/<SID>/SYS/profile
Importing the Profiles:
Firsttime Maintenance
Editing the profile
Profile Reference Server &
Versions
Profile Maintenance
Options
Editing Profiles
Administration data
Name and location of the OS file, date and time of modification and generation
user name who changed it, and the reference server for parameter checking
Basic maintenance
Displays the default profile values
Extended maintenance
Displays the active profile parameters
Note: Only in those cases where the system cannot be started because of
profile value problems should these files be edited at the operating system
level.
Profile Maintenance Options
Checking Profiles
Profile Maintenance
Options
Deleting Profiles
Two options to delete profiles from the database
Delete Individual profile
Delete All versions of a profile
Reports RSPARAM and RSPFPAR
To look at the current active parameter of an instance
Does not show global parameters
Advantage:
System checks the consistency of all the parameter values
and displays any problems or errors it detects.
Working with Operation
Modes
Define how many work process types will be available and
can automatically switch to other types at certain hours
No need to restart the instances
Operation modes are defined at the instance level.
An instance is assigned to one or several operation modes.
The operation mode definition includes
The number and type of work processes for an instance
The total number of work processes cannot be modified
The time and schedule when the services will be available
Working with Operation
Modes
Two operation modes for every instance
Normal working hours
Night time
Configuring Operation Modes
There are four required steps for the configuration:
1. Define an operation mode.
2. Define the instance.
3. Assign the instances and the work process
aadistribution to the operation mode.
4. Maintain the operation mode timetable.
Working with Operation
Modes
-Defining Operation Modes
Working with Operation Modes
-Define/Configure CCMS
Instances
Working with Operation Modes
-Assigning Operation Modes to Instances
Working with Operation Modes
-Dialog box for work process
distribution
Working with Operation Modes
- Configuring the Timetable for Operation Mode
Switches
Working with Operation Modes
- Configuring the Timetable for Operation Mode
Switches
The R/3 Control Panel
Start
or stop instances
Maintain operation modes and instances
Log on to a host system or instance
Display the R/3 system log and process
traces
Stop the R/3 system
Display and maintain the alert
thresholds of the system
Monitoring Architecture
Monitors
The monitoring utilities
System monitors. In charge of displaying an overview of the
SAP instances status and alerts
Alert monitors. Online monitors capable of automatic problem
detection and display.
Performance monitors. Specialized monitors which analyze and
help to tune the different components of the SAP system such as
the database, the operating system, the buffers, or the network
Monitors
Performance Monitors
Statistical information is collected using the RSCOLL00 program
Information is archived in the database table MONI and also in the PAHI
This job is usually called SAP_COLLECTOR_FOR_PERFMONITOR or
SAP_COLLECTOR
The RSCOLL00 program uses the special table TCOLL
Workload Monitor
Workload monitor uses the information that has been collected by the data
collector
The statistical information is the key for analyzing whether the current
system configuration
Transaction Code: ST03
Database Performance
Monitor for the Oracle
Database
Administrators should use this performance monitor
for the following tasks:
Checking the current database component sizes
and the space critical objects
Looking for lost indexes either in the ABAP
dictionary or the database
Analyzing performance problems in the database
Getting data for tuning programs with database
access
Alert Monitors
The global alert monitor
The SAP system monitor
The database monitor
The network monitor
The local alert monitors
Operating system monitor
File system monitor
Current workload
Monitoring Tree
Monitoring Trees (mts)
The alert monitor displays information
about monitoring objects using
hierarchical trees Known as Monitoring
trees
Each node of the tree corresponds to a
monitoring tree element (MTE)
Monitoring Tree
Navigating Across Monitors
(Monitoring Tree)
Each monitor or MT has two possible views
Current status. Shows an overview of current alert values.
Open alerts. Displays the non processed alerts in the
system.
There are color codes for the MTE nodes that have the
following meanings:
Green. The component works correctly.
Yellow. A warning alert has occurred.
Red. A problem has occurred in the system.
White. There is no information about this node that has
been provided by any data supplier.
CCMS Agent Technology
The runtime information for the
monitoring objects is stored in monitoring
segments
CCMS Agents are
SAPCCMSR, SAPCCM4X, SAPCM3X
SAPCCMSR
SAPCCM4X
Monitoring remote systems
Monitored System with J2EE
and ABAP Instances
Monitored System with Java
and ABAP Instances, and a
CEN
Steps for setting up central
monitoring
Special monitors for my SAP
components
Monitoring on Computers without SAP
Software
Monitoring Software Components
Without SAP Basis
SAP liveCache (as of APO 3.1, APO 3.0)
SAP Internet Transaction Server (as of ITS 4.6D)
SAP Business Connector (SAP BC)
Internet Pricer & Configurator (IPC) (mySAP CRM Internet
Sales)
Index Management Server (IMS) (mySAP CRM Internet Sales)
SAP Java Application Server
E-mail notification in case
of errors
Create SYSADMINCIS SAP user if it does not exist in client
000
Setup SMTP Node for sending alert Emails
Schedule Background job for sending Internet Email
Create Distribution List
Create Variant for MTE Configuration
Create Auto-Reaction Method, Copy from standard Method
Copy MTE Class General properties, Attributes and Method
Assignment to Variant ZCCMS_CONFIG_VARIANT
Create Monitor Set and Monitor
THANK YOU