Professional Documents
Culture Documents
Agenda 1/2
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
Agenda 2/2
Diagnostics Agent and SLD Registration
Diagnostics Agent Mass Installation Diagnostics Agent Maintenance
Diagnostics Agent Upgrade Diagnostics Agent Replacement Diagnostics Agent Removal
Introduction
Scope The following rules apply to both Solution Manager 7.0 EhP1 and 7.1, unless they are tagged [7.0 EhP1 only] or [7.1 only] 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.
A Logical host designates a network/host configuration which associates a physical host with one or more additional host names and dedicated IP addresses. This is used, for example, to move systems from one physical host to another. N.B.: To find the host name of an ABAP system, use transaction sm51, and for Java systems refer to the System Info Web page.
Existing installations
Previous Diagnostics Agent installation process is still valid. Operate either classic Diagnostics Agents or Agents On-the-fly, depending on each Managed system environment. Diagnostics Agent installations already in place are still valid and do not necessarily need to be replaced by the Agent On-the-fly feature. Nevertheless in High Availability environments it could be of interest to put Agent On-the-fly in place.
For landscapes with logical host names and in case Agents On-the-fly are not used, specify, during the Diagnostics Agent installation, each time the logical host name
When installing an (additional) Agent for a logical host, using the Diagnostics Agent installation package, provide the short hostname, in the SAPInst step requesting a Virtual host name.
LogicalHost1 C3
Diagnostics Agent 1
Diagnostics Agent 2
Diagnostics Agent 3
Diagnostics Agent 4
PhyHost2 or VMware
PhyHost3 or VMware
. .
Only one Diagnostics Agent for each Solution Manager must exist per physical, virtual or logical host running a managed component A Diagnostics Agent will support the managed components installed/operated with that hostname Each Diagnostics Agent is uniquely identifiable in Solution Manager via that (short) hostname Own one SAP Host Agent per physical or virtual host
2012 SAP AG. All rights reserved.
DA
Diagnostics Agent 5
HA
PhyHost1 or VMware
Use case:
Central Instance
Central Instance
+ ABAP Central Services
Dialog Instance
Dialog Instance
Central Services
DB
DB
DB
Diagnostics Agent
Diagnostics Agent
Diagnostics Agent
11
DB Diagnostics Agent
DB
DB
Diagnostics Agent
(1) Agent required in the scope of Solution Manager 7.1
Diagnostics Agent
(1) Agent required in the scope of Solution Manager 7.1
In the context of High Availability environments consider to use the Agents On-the-fly feature available since Solution Manager 7.1 SP05
12
Dev SolMan
Diagnostics Agent
(Otherwise the Introscope Adapters of the QA Portal would report their data to the Dev. IS EM, what is not expected here.)
Prod SolMan
Solution Manager Collected config. of managed systems QA & Prod Comparison possible Prod Introscope Enterprise Manager
Diagnostics Agent
13
3-System landscape
Dev SolMan
Prod SolMan
IMPORTANT On the Prod. IS EM host, install a second Diagnostics Agent instance, re-using the System ID (SID) of the Diagnostics Agent installed initially.
(Otherwise two Diagnostics Agent OS users would access the Prod. IS EM files. In case one Agent OS user updates via solman_setup some files, the other Agent OS user would else encounter access denied errors, especially if the umask is not set to 007.)
Solution Manager Collected config. of managed systems QA & Prod Prod Enterprise Portal
14
3-System landscape
What is needed and where? (Diagnostics Agent/Agents On-the-fly) Dev System landscape
Dev Enterprise Portal Introscope
Adapters
Diagnostics Agent
QA System landscape
QA Enterprise Portal Introscope
Adapters
QA ECC Server
Diagnostics Agent
Prod SolMan
Solution Manager Prod Managed Systems data EP & ECC E2E Trace Analysis Prod Introscope Enterprise Manager
Diagnostics Agent
15
Install a SAP Host Agent if none has yet been installed (one per physical host)
Check whether there is a SAP Host Agent using the following path: o For Windows look under: "%ProgramFiles%"\SAP\hostctrl o For Unix, under: /usr/sap/hostctrl/
Update the SAP Host Agent according to SAP note 1031096, if the version is not sufficient
Check version at OS level (looking in the output at SAPHOSTAGENT Information): o For Windows: "%ProgramFiles%"\SAP\hostctrl\exe\saphostctrl -function ExecuteOperation -name versioninfo o For Unix: /usr/sap/hostctrl/exe/saphostctrl -function ExecuteOperation -name versioninfo [7.1 only] Currently installed Host Agent version is also visible in the host browsing, if Managed System Configuration has been performed with solman_setup o Navigate to Solution Manager Administration work center -> Select Landscape + Technical System selection type -> System Details -> System Details -> Hosts -> <search for your host> -> Host Status
2012 SAP AG. All rights reserved. 16
17
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
Diagnostics Agents typically have different System/Instance ID patterns, depending on the release (see following slides)
18
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).
19
Contains executable kernel programs that are replicated (files moved for the SAPJVM) from SYS/exe every time the agent instance is started.
20
Rule #4: Use the latest SWPM 1.0 (SP03 or higher), when installing a Diagnostics Agent to comply with rule #3. See SAP note 1858920.
In case download bandwidth would not allow getting the associated DVDs (SWPM installer & Kernel) from SMP, alternatively download a smaller standalone Diagnostics Agent installation package 7.30 SP03. IMPORTANT: This standalone installer is outdated and not supported any longer. In case of problems please perform the installation using the latest SWPM version. A summary of Diagnostics Agents releases and characteristics is available on the next slide With Solution Manager release lower than 7.0 EhP1 SP20 only use older Diagnostics Agent release 7.01 SR1. This Diagnostics Agent release is installable with the help of the SAP EhP1 for SAP NetWeaver 7.0 Installation Master, Kernel & Java DVDs. A separately installed JDK 1.4.2 is also required.
21
7.20
Solution Manager since 7.0 EHP1 SP20 (included) (1)(2)
7.30 SP03
Solution Manager since 7.0 EHP1 SP20 (included) (1)(2)
See SAP note 1680045 1858920 PAM documentation: https://service.sap.com/sltoolset / Software Logistics Toolset 1.0 / PAM In PAM document, navigate to Software Provisioning Manager 1.0 / SAP Solution Manager Diagnostics Agent
1357812
1368413
1833501
Installer recommended when new installation required (See OS platform support on next slide)
(1)
When a Solution Manager system is upgraded, the Diagnostics Agents do not generally need to be upgraded manually. See next slide and rule #5. IMPORTANT: Rule #2 must be followed.
(2)
N.B.: This Diagnostics Agent release is also applicable to Solution Manager 7.1.
22
Already silently installed with products based on Kernel Release (SAP products)
/ patch level with standalone installer
JVM Default System ID / Instance Number Support both direct connection to SolMan & SLD registration @ installation SSL & SAPRouter Support @ installation SAP Host Agent installation Installation SAP Note
Yes
(via installer option)
Yes
(via installer option)
Agent start/stop/control
(1) (2) (3)
Standard
Standard
Standard
Standard
IAIK libraries need to be provided manually. Also allows to configure the trusted connection @ SAP Host Agent level, automatically. For more information refer to SAP Note 1833501.
23
24
25
Use the unattended mode to silently install Diagnostics Agents for large consistent landscapes
For Diagnostics Agent releases specific details see SAP note 1833501 / Mass Deployment Notes
26
Rule #5: No need to upgrade Diagnostics Agents (in contrast to SAP Host Agent)
Diagnostics Agents take their business logic (software) from the Solution Manager system to which they are connected
All Diagnostics Agents running and connected in the landscape are centrally patched by applying an LMSERVICE Java Software Component Archive on the Solution Manager system
Diagnostics Agent Installation SAP notes include a guide and simple manual procedures needed to resolve known punctual issues (support of cryptography, ). Alternatively, use the later described Agent replacement procedure. Some OS platform constraints might require a Diagnostics Agent Kernel upgrade. See SAP note 1707141.
27
Rule #5 (continued): To replace a Diagnostics Agent uninstall the previous Agent and install the new required release:
Reset server name
Login to the Solution Manager system to which the agent to be upgraded is connected Navigate to the Agent Administration and note the server name of the old agent Reset server name using the context menu of the agent, and stop the agent
Install new Diagnostics Agent release using a different SID (no upgrade tool available) Assign the same Server Name to the new Agent using the smdsetup script (see details in the Diagnostics Agent troubleshooting guide). Java based Managed systems require to take some specific IMPORTANT actions (see next slides) Uninstall the previous Diagnostics Agent using SAPInst
2012 SAP AG. All rights reserved. 28
Rule #5 (In context of Java Managed System): In case the Ensure HA virtualization compatibility option was not used in the past:
Configure again the Wily Introscope Agent (Byte Code Adapter Installation) using transaction solman_setup -> Managed System Configuration -> Configure Automatically Pre-requisite since Solution Manager 7.1 SP05: Mark additionally the option "Ensure HA virtualization compatibility" within step "Enter System Parameters". Also ideally provide only a relative path name like ByteCodeAdapter for the "Introscope BC Adapter deployment path" field, in order to locate the Byte Code Adapter binaries and configuration files inside the Managed system directory structure (/usr/sap/<ManagedSID>/<InstanceID>). The Diagnostics Agent OS user (members of the SAPSYS OS group) must therefore also have write permissions at this Managed System path location. See SAP note 1163751 Restart the Java managed system This procedure updates the Managed System JVM parameters so that the Introscope Byte Code Adapter binaries are no longer taken from the previous old Diagnostics Agent directory structure.
2012 SAP AG. All rights reserved. 29
Rule #6: To remove a Diagnostics Agent instance installed for a specific hostname:
In case the solman_setup Ensure HA virtualization compatibility option was used in the past to setup the Byte Code Adapter of the Java Managed System(s) running on that host
Optionally: Uninstall also the Byte Code Adapter by removing the JVM parameters listed in SAP note 797147
Else, take the following actions (in case the Ensure HA virtualization compatibility option was not used in the past during the solman_setup Managed System Configurations):
IMPORTANT: Remove JVM parameters listed in SAP note 797147 on the Java Managed System used to start/run the Introscope Byte Code Adapter. Finally restart the Java Managed system to no longer run the Introscope Byte Code Agent The Managed System JVM parameters (to be removed) show that the Introscope Byte Code Adapter executed inside the Managed System uses files from Diagnostics Agent directory structure:
Xbootclasspath/p:D:/usr/sap/DAA/SMDA77/SMDAgent/applications.config/com.sap.smd.agent.application.wily/BytecodeAgent/ISAGENT.8.2.3.5-2011-0114/wily/connectors/AutoProbeConnector.jar;D:/usr/sap/DAA/SMDA77/SMDAgent/applications.config/com.sap.smd.agent.application.wily/BytecodeAgent/ISAGENT.8.2. 3.5-2011-01-14/wily/Agent.jar
Run the Diagnostics Agent installer SAPInst, to uninstall the Diagnostics Agent
2012 SAP AG. All rights reserved. 30