Beruflich Dokumente
Kultur Dokumente
Public
Agenda
Introduction
What is needed and where ?
Choose Diagnostics Agent or Agents On-the-fly
Diagnostics Agents
Agents On-the-fly
Landscape Examples
SAP Host Agent
Introduction
Scope
The following rules apply to Solution Manager 7.1.
Terminology
The term host in this slide set does not designate network alias. Hosts must have
their own IP addresses.
A virtual host designates a simulated host running for example on top of a VMware.
Agent installations
Install Diagnostics Agents as usual, using the SWPM.
Decide to operate either classic Diagnostics Agents or Agents On-the-fly, depending on each
host topology. Agents On-the-fly enabling is done with SOLMAN_SETUP (See above doc).
Note: It is not necessary to replace existing Diagnostics Agents, that were installed using a
logical hostname, except in the logical hostname is subject to move (specifically in High
Availability environments).
Rule #1:
Install the required number of Diagnostics Agents
In the context of each Solution Manager System use only one Diagnostics Agent or one
Agent On-the-fly per managed host. Managed hosts are primarily logical hosts, or if not
applicable physical/virtual hosts (as shown on the next slides)
Each Diagnostics Agent or Agent On-the-fly manages, on behalf of one Solution Manager,
the systems/components running on the host on which it is running (and represents that host)
following slides explain which systems/components are supported
repeat the Managed System Configuration (solman_setup) on each Solution Manager for each
Technical System running on these hosts (logical host, or if not applicable physical/virtual host).
Activities Byte Code Adapter Installation and Introscope Host Adapter have to be performed only in
one leading Solution Manager system (see page 12)
For landscapes with logical host names and in case Agents On-the-fly are not used,
specify the the logical host name during Diagnostics Agent installations.
When installing an (additional) Agent for a logical host, using the Diagnostics Agent installation
package, provide the short host name in the Software Provisioning Manager step "Diagnostics Agent
Host".
2014 SAP AG. All rights reserved.
LogicalHost1
LogicalHost3
C1
C2
Diagnostics
Agent 1
SAP Host
Agent
C7
C8
C3
Diagnostics
Agent 2
LogicalHost2
C4
C5
Diagnostics
Agent 3
Diagnostics
Agent 4
PhyHost2
or VMware
C6
PhyHost3
or VMware
SAP Host
Agent
SAP Host
Agent
.
.
Diagnostics
Agent 5
Managed Component
(see following slides)
PhyHost1 or VMware
Use case:
ABAP Instance
+ ABAP Central Services
Java Instance
DB
Diagnostics Agent
Enterprise Portal
Solution Manager
Example where all components run with one host name (physical, virtual or logical)
Java Instance
DB
Diagnostics Agent
ABAP Instance
+ ABAP Central Services
DB
Diagnostics Agent
10
Enterprise Portal
Example where each component runs with different host names (physical, virtual or logical)
(1)
ABAP Instance
+ ABAP Central Services
Java Instance
Diagnostics Agent
Java Central Services
Diagnostics Agent
Possible since Solution
Manager 7.1 SP08
DB
Diagnostics Agent
Java Instance
Diagnostics Agent
Java Dialog Instance
Diagnostics Agent
DB
Diagnostics Agent
ABAP Instance
Diagnostics Agent
ABAP Dialog Instance
Diagnostics Agent
DB
Diagnostics Agent
In the context of High Availability environments consider to use the Agents On-the-fly feature available since Solution Manager 7.1 SP05
11
managed systems
Dev & QA
Comparison possible
Diagnostics Agent
Dev Introscope
Enterprise Manager
Use Prod IS EM to
retrieve performance
data of QA managed
systems
Prod SolMan
Solution Manager
Diagnostics Agent
Collected config. of
managed systems
QA & Prod
Diagnostics Agent
Introscope
Adapter
Comparison possible
Prod Introscope
Enterprise Manager
3-System landscape
Dev SolMan
Covering 3-system landscape: Enable full RCA of QA Portal managed system on both SolMans,
by installing an additional Diagnostics Agent
Solution Manager
and extracting QA Portal performance data
from Prod IS Enterprise Manager (IS EM)
IMPORTANT
Collected config. of
Diagnostics Agent
12
Collected config. of
managed systems
Dev & QA
3-System landscape
Solution Manager
Dev Introscope
Enterprise Manager
Diagnostics Agent
QA Enterprise Portal
Solution Manager
Prod SolMan
IMPORTANT
On the Prod IS EM host, install a
second Diagnostics Agent, using
a distinct System ID (SID). Also
pay attention to potential file
permission conflicts. For
instance, the Prod Agent OS user
will at one point in time update the
Prod IS EM config files (via
SOLMAN_SETUP transaction).
So, inappropriate file access
permissions prevent the second
Dev Agent OS user from creating
new files, or reading the file during
the Prod IS EM configuration
import.
Dev SolMan
Collected config. of
managed systems
QA & Prod
Prod Introscope
Enterprise Manager
Diagnostics Agent
Diagnostics Agent
13
3-system landscape
(continued)
Prod SolMan
Managed systems
in a given E2E solution
(Per Dev, QA or Prod type)
must be connected to the
same Solution Manager
system
Adapters
Diagnostics Agent
Diagnostics Introscope
Adapter
Agent
QA System landscape
QA Enterprise Portal Introscope
QA ECC Server
Adapters
Diagnostics Agent
Diagnostics Introscope
Adapter
Agent
Solution Manager
Prod Managed
Systems data
EP & ECC
E2E Trace Analysis
Prod Introscope
Enterprise Manager
Introscope
Adapters
Diagnostics Agent
14
Rule #2:
Have up-to-date SAP Host Agents
See details in SAP SCN wiki:
http://wiki.scn.sap.com/wiki/display/SMSETUP/Diagnostics+Agent+Maintenance+Procedures
15
Rule #3:
The Diagnostics Agent is a standard SAP system
The same rules apply as for any standard SAP system
Do not install an Agent in the directory structure of another SAP system (or copy or move
the files)
Agents must be independent of any other system installation
Several Diagnostics Agents can be installed using the same SID, but different instance
numbers, in case they use the same kernel.
The agent SID must contain only Diagnostics Agent instances
16
Rule #3 (details):
Alternatives for installing multiple Diagnostics Agents on the same host
These Agents have to be connected to different Solution Manager systems
Use the same dedicated System ID (and different instance numbers)
Exception: Do not use a same SID for Diagnostics Agents with different kernel releases (this is
prevented by the latest installers).
17
Rule #4:
Use the latest SWPM 1.0 version, when installing a new or an additional
Diagnostics Agent.
See details in SAP SCN wiki:
http://wiki.scn.sap.com/wiki/display/SMSETUP/Diagnostics+Agent+Maintenance+Procedures
18
7.20
7.30 SP03
Standalone installation
JVM
SAPJVM 6
SAPJVM 6
SAPJVM 6
Default System ID
/ Instance Number
DAA
/ SMDA<97 to 00>
DAA
/ SMDA<97 to 00>
DAA
/ SMDA<98 to 00>
Yes
Yes
Yes
Yes (manually)
Yes
Yes
Auto-installed
Auto-installed/updated (1)
Auto-installed/updated (1)
1368413
1829024
1858920
(1)
(2)
Also allows to configure the trusted connection @ SAP Host Agent level, automatically.
For more information refer to SAP Note 1833501.
19
20
21
Rule #5:
For upgrade/replacement of Diagnostics Agents see details in SAP SCN wiki:
http://wiki.scn.sap.com/wiki/display/SMSETUP/Diagnostics+Agent+Maintenance+Procedures
Rule #6:
For removal of Diagnostics Agents see details in SAP SCN wiki:
http://wiki.scn.sap.com/wiki/display/SMSETUP/Diagnostics+Agent+Maintenance+Procedures
22