Showing posts with label Microsoft Management Console: Windows. Show all posts
Showing posts with label Microsoft Management Console: Windows. Show all posts

Layout of SAP Systems Manager Snap-In

The SAP Systems Manager snap-in for the MMC provides essential information for monitoring the SAP system and offers functions to start, stop and restart the system. All the information and functions available for the SAP system can be accessed in the same way as the functions of other tools incorporated in the MMC. Therefore, before you begin working with the SAP snap-in, it is useful to gain a general overview of the MMC layout and standard methods of accessing information and functions.

The MMC presents information on two panes of a window. The pane on the left is the scope pane. It displays available information in a tree structure that can be expanded and compressed. The pane on the right is the result pane. It shows detailed information about any item selected in the scope pane.

Features

When the MMC has been started, you can display the SAP Systems Manager snap-in by expanding the Console Root. The snap-in consists of a root node, SAP Systems, under which various SAP systems are listed. Under each of these systems, you can display individual instances. Each of the listed instances allows you to navigate to sub-nodes that provide detailed information about the system. The sub-nodes Process List, Current State and Open Alerts are always displayed. The additional nodes, Syslog, Queue Statistic and WP Table, are only available in Expert user mode.


The system icons and the nodes for instances, processes and alerts are displayed in different colors, depending on their state. The colors mean the following:

Gray: Unknown state, only outdated values, system is offline

Green: Error-free

Yellow: Critical

Red: Error

The SAP snap-in periodically updates Process List information at a set time interval. Only the most critical state is passed on from the Process List to the parent instance node above it. The nodes at the SAP system level contain all the states of the instance nodes. For example, if two instances are green, one is red and three are gray, the system node displays all three colors and thus reflects the states of all the instances.

To access detailed information about your SAP system, you have to fully expand one of the SAP instances listed in the MMC scope pane and then select an available item, for example, Open Alerts. Once an item has been selected, the corresponding information is displayed on the result pane. Usually you can navigate from here to further levels of detail or other categories of system information. The following table summarizes the available options:

Selected Item

Information Displayed

SAP Management Domain,
for example,
Development

Node for SAP systems or sub Management Domains. The colors indicate states that are automatically refreshed and derived from the subnodes. The node is only available in Active Directory / LDAP mode.

SAP system,
for example,
BIN Node

The colors inidicate states that are derived from the SAP instance and ITS instance subnodes and are automatically refreshed. If all SAP instances are stopped (gray color), the color of the ITS instance sub-nodes is ignored.

Database of an SAP system,
for example,
us0036.wdf.sap-ag.de

Node for the database of an SAP system. Menu entries and subnodes depend on the database and are implemented in separate database extension snap-ins.

SAP Instance,
for example,
p18358.wdf.sap-ag.de.

Node for an SAP instance. The color indicates the state that is automatically refreshed and inherited from the Process List subnode

Process List

Displays the processes that were started by the start service and their state. The color is automatically refreshed and reflects the worst state of all started processes.

Current Status

Displays detailed information on the current state of the system like transaction RZ20. It allows you to navigate to different categories of system information and levels of detail. You can specify a filter to limit the view to certain subnodes. You have to refresh the information manually.

Open Alerts

Displays the most serious alerts in the system like transaction RZ20. You can specify a filter to limit the view to certain subnodes. You have to refresh the information manually.

Syslog

Displays the system log, even if the SAP system is not functioning properly or is offline. You have to refresh the information manually.It is only available in expert mode.

Queue Statistic

Displays the state of the SAP queues. You have to refresh the information manually. It is only available in expert mode.

WP Table

Displays information on work processes like transaction SM50. The SAP system has to be started, but does not have to be functioning properly as shared memory of the SAP system is accessed. You have to refresh the information manually. It is only available in expert mode.

Process Table

Displays information on J2EE processes. The J2EE engine has to be started, but does not have to be functioning properly as shared memory of the J2EE engine is accessed . You have to refresh the information manually. It is only available in expert mode.

ITS Instance,
for example: BIN_p18357.wdf.sap-ag.d)

Displays the internet addresses handled by the ITS instance and their states. The color is automatically refreshed and summarizes the internet addresses' states. If some internet addresses are available and some not, the ITS instance state color is yellow. If all internet addresses are available/fail the ITS instance color is green/red. The node is only available in Active Directory / LDAP mode.

You can choose to display the information you require in different ways using the View option. For example, the options Large icons, Small icons or List allow you to change the size and format of the display. Note that for the nodes Alerts, Syslog, Queue Statistic, WP Table, only the option List makes sense and is therefore the automatic default setting.

MMC Enhancements for Active Directory Services

When the MMC is configured on the basis of the Windows 2000 Active Directory it offers a number of extra features. These take advantage of the information stored in the directory to give the user additional up-to-date technical data.

Prerequisites

The enhanced MMC is only available if you have configured your SAP system to integrate LDAP services and the MMC has been set up for Active Directory Services.

· Special features that are incorporated in the enhanced MMC are:

· Display of management domains

· Direct access to database administration functions

· Display of ITS instances

· Display of additional technical data for systems and instances

· Using Single Sign-On for SAP Logon

Management Domains

The enhanced version of the MMC contains additional hierarchical levels in the console tree. The new levels are at the top of the hierarchy and reflect the structure of the management domains in the Active Directory. For example, if the Active Directory groups SAP systems into management domains that reflect the location of systems, the MMC is able to reflect this organizational structure.

Database Administration Functions

The new version of the MMC tree includes a node for the database server. This is marked with a special blue icon and can be expanded to view all available database server logs. In addition, the context menu that is available for the database server offers direct access to a number of database administration functions.


At present, extension snap-ins for SQL Server, MaxDB (formerly known as SAPDB), Informix and IBM DB2 Universal Database for UNIX and Windows are available. For example, the SQL Server extension displays sub nodes for the database logs. Its context menu lets you directly access the Enterprise Manager to perform a number of tasks:

· Start SQL Server

· Stop SQL Server

· Generate SQL Scripts

· Backup database

· Restore database

· Shrink database

Additional Technical Data

When you choose Properties in the context menu for an SAP system or instance, data about the corresponding system or instance is displayed. In the enhanced MMC, this data is more extensive than in the standard version. In addition, it allows you to enter information in predefined categories that is subsequently stored in the Active Directory. For example, when you look at the Properties for a selected SAP system, you can enter a meaningful text for the following:

Information Type

Possible Entry

Status

Downtime due to maintenance or failure

Administrators

Names of system administrators and contact information

Category

Test and development system

Description

Purpose of system

Single Sign-On

If Enable Single Sign-On is activated in the General settings of the snap-in, you can use Single Sign-On to log on to an SAP instance, if the instance has registered its Secure Network Communication (SNC) name in the directory. With Single Sign-On you do not have to specify a password when you want to log on to an instance that supports SNC. However, you may still have to specify user and client, since multiple SAP users can be mapped to the same SNC user in the SAP system.

Configuring MMC for Active Directory Services

You can configure the MMC so that its structure and some of the information it presents are taken directly from the Windows 2000 Active Directory. The Active Directory is an extensive hierarchical inventory of all the objects available in a network. Special services make it possible to access and manipulate the information stored in the directory whenever required.

Configuring the MMC on the basis of the Active directory has the following advantages:

· The MMC reads information on SAP systems and instances directly from the Active Directory and is therefore always up-to-date.

· The MMC presents additional information that is stored in the Active Directory, for example, detailed up-to-date technical data on systems or instances.


The MMC can be configured to access LDAP directories other than the Active Directory. In this case, additional instructions have to be observed.

Prerequisites

You have to configure the SAP system appropriately to support LDAP services.

Procedure

...

1. Start the MMC.

2. Select Console root and choose Console ® Add/Remove Snap-In.

3. In the Add/Remove Snap-In dialog box, choose Add and then select the SAP Systems Manager snap-in.

4. Confirm your selection with Add.

5. In the General Settings dialog box, enter data as follows:

For Options:
S
elect Query LDAP Directory for SAP Instances.

For Auto Refreshment:
Enter the periods in which you want system information in the MMC to be updated automatically.

For Options:
S
elect Expert user mode if you want to access more detailed system information later when you start working with the SAP snap-in.
Deselect Always show local SAP instances. These are automatically displayed in the MMC when the configuration is complete.

Select Enable Single Sign-On, if you want to use single sign-on for logon to SAP instances that support SNC

6. Choose Next to close the General Settings dialog box.

7. In the LDAP Directory Connection dialog box, enter the following data:

Fields

Entry

LDAP Server

Directory Type

Select Windows 2000 Active Directory.
If you want to access a different LDAP Server, select Generic LDAP Directory

SAP Root DN

For Windows 2000 Active Directory no entry is required.

For Generic LDAP Directory, enter the distinguished name of the SAP root node in the LDAP directory.

Directory Server

Enter the name of the server where the Active Directory is located. For Windows 2000 Active Directory, an entry is not required.

You can enter several host names separated by spaces. In this case, the first functioning host is the one that will be accessed.

LDAP Authentication

Select the mode of authentication for accessing the directory services.

For Windows 2000 Active Directory any of the offered modes can be selected.

For Generic LDAP Directory, select anonymous log in for read-only access of the directory. For read and write access, specify a user and password.

Use Secure Socket

Select this to encrypt the information that is passed between the MMC and Active Directory machine.

8. Choose Next.

9. In the Directory Settings dialog box, specify the information contained in the Active Directory that you want to be visible in the MMC:

...

a. Qualify the systems and instances you want to see by selecting or entering data in the fields Management Domain, System, Host and Instance No. The wild card * is a valid entry.

b. Choose Show to add entries to the LDAP Search filter text box. Use the Hide and Remove options as required:
Hide allows you to exclude selected items that appear in the LDAP Search filter box from the MMC display.
Remove allows you to delete selected entries from the LDAP Search filter box.

c. Repeat the procedure until you have specified all the management domains, hosts and instances you want to display.

d. Select Hide non DCOM manageable instances, to exclude any machines from the MMC display that cannot be monitored because they do not support DCOM communication with an SAP instance. Currently only Windows platforms support DCOM.

10. Choose Finish.

The MMC fetches the information specified in the LDAP Search filter from the Active Directory and configures the console accordingly.

11. Close all dialog boxes that are still open.

Changing the Configuration of the MMC

You can change the configuration of the SAP Systems Manager snap-in on the MMC to meet your requirements. In particular, you can extend the list of systems and instances displayed so that you can monitor all systems and instances from a single console.

Procedure

To extend the list of instances displayed in the MMC, do the following:

...

1. Open the MMC.

2. Choose Start ® Run and enter MMC.

3. In the MMC window, select Console root and choose Console ® Add/Remove Snap-In.

4. In the Add/Remove Snap-In dialog box, choose Add and then select the SAP Systems Manager snap-in.

5. Confirm your selection with Add.

6. In the General Settings dialog box, select the options you require:

Options

Select Use fix SAP instance list.

Auto Refreshment

Enter the periods in which you want system information to be updated automatically.

Options

Select Expert user mode if you want to access more detailed system information later when you start working with the SAP snap-in.

Select Always show local SAP instances, if you want to display the instances installed on your local host.

Select Enable Single Sign-On, if you want to use single sign-on to log on to SAP instances that support SNC. Single sign-on is only supported if the snap-in is configured to use a LDAP directory.

7. Choose Next to close the General Settings dialog box.

8. In the Fixed Server List dialog box, create a list of the instances you want to monitor from the SAP snap-in:

...

a. In the System field, enter or select the name of the SAP system that the instance belongs to.

b. In the Instance field, enter or select the name of the host on which the instance is running, and the instance number, for example, p18357 53

c. Choose Add to include the instance in the Fixed Instances List.

Example

An entry in the instance list looks like this:

BIN p18357 53

d. When you have entered all the instances you want to monitor, choose Finish.

Result

You have now changed the configuration of the SAP snap-in for the MMC. You can save the configuration in a file when you exit the MMC. Whenever you need the newly created configuration, you can start it simply by double-clicking on the saved file.

Starting the MMC

To start the MMC you can use one of the following options:

· The Windows Start menu

· The command prompt

· A configuration file

Procedure

Windows Start Menu

The most common way is to start the MMC from the Windows Start menu:

Choose Start ® Programs ® SAP Management Console

The MMC opens.

When you expand the SAP Systems node, all the instances running on the current host are displayed. If you want to change the configuration so that the instances on other hosts of your system are also displayed, follow the instructions given in Changing the Configuration of the MMC.

Command Prompt

To start the MMC at the command prompt enter the following:

mmc.exe

Where is the name of a previously stored MMC snap-in configuration file. Use this method to start the MMC, if you have changed the configuration of the console and saved this in a file.

See also: Changing the Configuration of the MMC.

Alternatively, you can specify an instance:

mmc.exe -SAP_R/3_MANAGERHOST

Where is the instance that you want to monitor, for example, p18357_BIN_53. If other instances are already specified in the file, the instance entered here will be added to the list.

Configuration File

If you have saved various configurations of the MMC, you can start the console simply by double-clicking on the appropriate configuration file.