SAP BASIS Install/Configuration and Register CCMS Agent (CCMSR)

** Myself
CCMS window
-Copy sapccmsr.exe to D:\usr\sap\prfclog\ or cluster exe path
Create file
-D:\usr\sap\prfclog\sapccmsr.pfl
SAPLOCALHOST=Tpc-bsr3ap81
DIR_PERF=D:\usr\sap\prfclog
DIR_WORK_SAPOSCOL=D:\usr\sap\TPP\SYS\exe\run
exe/saposcol=D:\usr\sap\TPP\SYS\exe\run\SAPOSCOL.EXE
-D:\usr\sap\prfclog>sapccmsr.exe pf=D:\usr\sap\prfclog\sapccmsr.pfl –R

After entering the RFC logon info for the user, the password
will be stored here on this machine in a Secure Storage.

client [000] : 920
user [CSMREG] :
language [EN] :
hostname of TPP message server [tpc-bsr3ap81] :
use Load Balancing [n]/y ? :
hostname of application server [tpc-bsr3ap81] :
system number (00 - 98) : 92
[optional] route string :
trace level [0] :

please enter password for [TPP:920:CSMREG]: ********
Try to connect ...

INFO: [TPP:920:CSMREG] connected to TPP, host tpc-bsr3ap81, System Nr. 92, trace
flag [ ]
INFO: TPP release is 620 , (kernel release 640 ), CCMS version 20011212

INFO: RFC logon info for [TPP:920:CSMREG] can be updated at any time with -R opt
ion:

sapccmsr -R <params>

INFO: Updated saprfc.ini in agent work directory D:\usr\sap\prfclog\sapccmsr
INFO: Connected to TPP, CCMS version in ABAP: 20011212
INFO: handling destination SAPCCMSR.TPC-BSR3AP81.99


INFO: successfully registered at TPP

#after finish can be delete this user CSMREG (profile S_CSMREG)
clip_image002

clip_image004

clip_image006
al15
clip_image008
sm59
clip_image010
Technical setting
clip_image012
Logon / Security and Special option tab (default)
Test connection
clip_image014

 
 
CCMS Unix
sapccmsr -R pf=/sapmnt/PRD/exe/sapccmsr.pfl
INFO: use SAPLOCALHOST DBHOST
INFO: CCMS agent sapccmsr working directory is /sapmnt/PRD/sapccmsr
INFO: CCMS agent sapccmsr config file is /sapmnt/PRD/sapccmsr/csmconf
INFO: Central Monitoring System is [PRD]. (found in config file)
INFO: additional Central Monitoring System is [PRD]. (found in config file)
additional CENTRAL system y/[n] ? : n
INFO: found ini file /sapmnt/PRD/sapccmsr/sapccmsr.ini.
INFO: Checking Distributed Statistical Records Library dsrlib.so
INFO: DSR: Path /usr/sap/ccms/dsr for Distributed Statistical Records.
INFO: checking version an Unicodeness of dsrlib.so
INFO: DSR: Dynamic Library dsrlib.so (version 24) successfully loaded.
INFO:
CCMS version 20040229, 64 bit, multithreaded, Unicode
compiled at Aug 25 2008
systemid 370 (Solaris on SPARCV9 CPU)
relno 6400
patch text patch collection 2008/3, OSS note 1129577
patchno 248
INFO Runtime:
running on dbhost SunOS 5.10 Generic_127111-03 sun4u
running with profile /sapmnt/PRD/exe/sapccmsr.pfl
INFO profile parameters:
alert/MONI_SEGM_SIZE = 60000000
alert/TRACE = 1
SAPSYSTEM = 00
SAPSYSTEMNAME =
SAPLOCALHOST = DBHOST
DIR_CCMS = /usr/sap/ccms
DIR_LOGGING = /usr/sap//D00/log
DIR_PERF = /sapmnt/PRD
INFO:
pid 10723
INFO: Created Shared Memory Key 1008 (size 60000000)
INFO: Connected to Monitoring Segment [CCMS Monitoring Segment for DBHOST, created with version CCMS version 20040229, 64 bit multithreaded, compiled at Aug 25 2008, kernel 6400_20020600_248, platform 370 (Solaris on SPARCV9 CPU)]
segment status WARM_UP
segment started at Wed Feb 24 12:08:05 2010
segment version 20040229
****************************************************
********************** PRD **********************
****************************************************
Please enter the logon info for an admin user of the
central monitoring system [PRD].
The user should have system administrator privileges
client [000]
user [rfc_monitor]
language [EN]
trace level [0]
application server [cihost]
system number [14]
Logon info ok n/[y] ? : y
please enter password for [PRD:000:rfc_monitor]:
Try to connect ...
ERROR: RFC error during logon: 104 RFC_ERROR_SYSTEM_FAILURE [Name or password is incorrect. Please re-enter]
Try again? n/[y] : y
client [000]
user [rfc_monitor]
language [EN]
trace level [0]
application server [cihost]
system number [14]
Logon info ok n/[y] ? : y
please enter password for [PRD:000:rfc_monitor]: ********
Try to connect ...
INFO: [PRD:000:RFC_MONITOR] connected to PRD, host cihost, System Nr. 14, traceflag [ ]
INFO: PRD release is 620 , (kernel release 640 )
This program will act as registered RFC server lateron.
Please enter the info for a gateway of monitoring system PRD
gateway info:
host: [cihost]
service: [sapgw14]
Gateway info ok n/[y] ? : y
**** CCMS agent sapccmsr: RFC client functionality ****
This CCMS agent program sapccmsr is able to actively report
alert data into the monitoring system [PRD].
To enable this feature, you have to setup the user CSMREG
in [PRD]. (refer to SAP Online-help, search for 'CSMREG').
Alternatively use any user in [PRD] that has at least authorization ).
to call per RFC function groups
SALC, SALF, SALH, SALS, SAL_CACHE_RECEIVE, SCSMBK_DATA_OUT,
SCSMBK_RECONCILE, SCSM_CEN_TOOL_MAIN, SYST, RFC1
After entering the RFC logon info for the user, the password
will be stored here on this machine in a Secure Storage.
client [000]
user [rfc_monitor]
language [EN]
trace level [0]
application server [cihost]
system number [14]
Logon info ok n/[y] ? : y
please enter password for [PRD:000:rfc_monitor]: ********
Try to connect ...
INFO: [PRD:000:RFC_MONITOR] connected to PRD, host cihost, System Nr. 14, traceflag [ ]
INFO: PRD release is 620 , (kernel release 640 ), CCMS version 20011212
INFO: RFC logon info for [PRD:000:rfc_monitor] can be updated at any time with -R option:
sapccmsr -R <params>
****************************************************
********************** PRD **********************
****************************************************
Please enter the logon info for an admin user of the
central monitoring system [PRD].
The user should have system administrator privileges
client [000]
user [rfc_monitor]
language [EN]
trace level [0]
application server [cihost]
system number [14]
Logon info ok n/[y] ? : y
please enter password for [PRD:000:rfc_monitor]: ********
Try to connect ...
INFO: [PRD:000:RFC_MONITOR] connected to PRD, host cihost, System Nr. 14, traceflag [ ]
INFO: PRD release is 620 , (kernel release 640 )
This program will act as registered RFC server lateron.
Please enter the info for a gateway of monitoring system PRD
gateway info:
host: [cihost]
service: [sapgw14]
Gateway info ok n/[y] ? : y
**** CCMS agent sapccmsr: RFC client functionality ****
This CCMS agent program sapccmsr is able to actively report
alert data into the monitoring system [PRD].
To enable this feature, you have to setup the user CSMREG
in [PRD]. (refer to SAP Online-help, search for 'CSMREG').
Alternatively use any user in [PRD] that has at least authorization ).
to call per RFC function groups
SALC, SALF, SALH, SALS, SAL_CACHE_RECEIVE, SCSMBK_DATA_OUT,
SCSMBK_RECONCILE, SCSM_CEN_TOOL_MAIN, SYST, RFC1
After entering the RFC logon info for the user, the password
will be stored here on this machine in a Secure Storage.
client [000]
user [rfc_monitor]
language [EN]
trace level [0]
application server [cihost]
system number [14]
Logon info ok n/[y] ? : y
please enter password for [PRD:000:rfc_monitor]: ********
Try to connect ...
INFO: [PRD:000:RFC_MONITOR] connected to PRD, host cihost, System Nr. 14, traceflag [ ]
INFO: PRD release is 620 , (kernel release 640 ), CCMS version 20011212
INFO: RFC logon info for [PRD:000:rfc_monitor] can be updated at any time with -R option:
sapccmsr -R <params>
INFO: Updated saprfc.ini in agent work directory /sapmnt/PRD/sapccmsr
INFO: Connected to PRD, CCMS version in ABAP: 20011212
INFO: Successfully modified RFC destination N3STAT.DBHOST.
INFO: handling destination SAPCCMSR.DBHOST.99
INFO: handling destination N3STAT.DBHOST
INFO: successfully registered at PRD
INFO: Connected to PRD, CCMS version in ABAP: 20011212
INFO: Successfully modified RFC destination N3STAT.DBHOST.
INFO: handling destination SAPCCMSR.DBHOST.99
INFO: handling destination N3STAT.DBHOST
INFO: successfully registered at PRD
INFO: Updated config file /sapmnt/PRD/sapccmsr/csmconf.
Start agent? n/[y] : y
INFO: Checking shared memory status of sapccmsr
INFO: use SAPLOCALHOST DBHOST
INFO: CCMS agent sapccmsr working directory is /sapmnt/PRD/sapccmsr
INFO: CCMS agent sapccmsr config file is /sapmnt/PRD/sapccmsr/csmconf
INFO: Central Monitoring System is [PRD]. (found in config file)
INFO: additional Central Monitoring System is [PRD]. (found in config file)
INFO: Checking shared memory status of sapccmsr
INFO:
CCMS version 20040229, 64 bit, multithreaded, Unicode
compiled at Aug 25 2008
systemid 370 (Solaris on SPARCV9 CPU)
relno 6400
patch text patch collection 2008/3, OSS note 1129577
patchno 248
INFO Runtime:
running on dbhost SunOS 5.10 Generic_127111-03 sun4u
running with profile /sapmnt/PRD/exe/sapccmsr.pfl
INFO profile parameters:
alert/MONI_SEGM_SIZE = 60000000
alert/TRACE = 1
SAPSYSTEM = 00
SAPSYSTEMNAME =
SAPLOCALHOST = DBHOST
DIR_CCMS = /usr/sap/ccms
DIR_LOGGING = /usr/sap//D00/log
DIR_PERF = /sapmnt/PRD
INFO:
pid 10723
INFO: Created Shared Memory Key 1008 (size 60000000)
INFO: Connected to Monitoring Segment [CCMS Monitoring Segment for DBHOST, created with version CCMS version 20040229, 64 bit multithreaded, compiled at Aug 25 2008, kernel 6400_20020600_248, platform 370 (Solaris on SPARCV9 CPU)]
segment status WARM_UP
segment started at Wed Feb 24 12:09:15 2010
segment version 20040229
start
/sapmnt/PRD/exe/sapccmsr -DCCMS pf=/sapmnt/PRD/exe/sapccmsr.pfl

Regist
/sapmnt/PRD/exe/sapccmsr -R pf=/sapmnt/PRD/exe/sapccmsr.pfl

Unregist + regist
/sapmnt/PRD/exe/sapccmsr -U pf=/sapmnt/PRD/exe/sapccmsr.pfl
/sapmnt/PRD/exe/sapccmsr -R pf=/sapmnt/PRD/exe/sapccmsr.pfl

Stop
/sapmnt/PRD/exe/sapccmsr -stop pf=/sapmnt/PRD/exe/sapccmsr.pfl

or


/sapmnt/PRD/exe/sapccmsr 
-initshm
 pf=/sapmnt/PRD/exe/sapccmsr.pfl 


 
## Refer SAP Document
Controlling CCMS Agents
Use
The following commands are available to you to control the CCMS agents directly from the operating system input prompt:

CommandDescription
-R [-f <Start file>]
[pf=<Profile path>]
Register the agent
(see Installing and Registering CCMS Agents)
-U [pf=<profile path>]Deregistering the agent
-DCCMS [pf=<profile path>]Starting the agent
-stop [pf=<profile path>]Stopping the agent
-status [pf=<profile path>]Displaying the status of the agent
-VDisplaying the version of the agent
You can display the list of available commands at any time by entering the name of the agent without commands and options at the operating system input prompt (such as sapccmsr).
Features
Deregistering CCMS Agents
To deregister a CCMS agent, specify the parameter –U. If you specified a profile path during registration, specify this path during deregistration too:

CCMS AgentDeregistration Command
SAPCCMSRsapccmsr –U [pf=<profile path>]
SAPCCMSR –j2eesapccmsr –j2ee –U pf=<profile path>
SAPCCM4Xsapccm4x –U pf=<profile path>
SAPCM3Xsapcm3x –U [pf=<profile path>]
The start file CSMCONF is deleted during the deregistration. The logon data for CEN is also requested during the deinstallation, to automatically delete the following entries for the agent in the system:
● Entry in the topology display of the monitoring architecture (you can start the topology display using transaction RZ21; in the Topology group box there, choose one of the radio buttons that display the CCMS agents registered with this system)
● RFC connections to the agent (Check using transaction SM59)
● Entry in the System Component Repository (SCR); you can display the SCR by choosing Technical Infrastructure ® System Repository ® Display in transaction RZ21.
 
In the case of a release status below SAP Web AS 6.20, these entries are not deleted. You should set the agent to Offline in the topology display to avoid problems in the system.
Starting and Stopping CCMS Agents
Always stop and restart a CCMS agent if you have made changes to its configuration file SAPCCMSR.INI, as this file is only read when the agent is started. Follow the procedure below for your operating system platform:
● Under UNIX, you can stop the CCMS agent using the option -stop, therefore, for example, for agent SAPCCMSR, you would use the command sapccmsr –stop [pf=<profile path>]. To restart the agent later, use the option –DCCMS.
● Under Microsoft Windows NT, we recommend that you stop and restart the agent by stopping and restarting the service of the same name.
Displaying the Status of a CCMS Agent
The status of a CCMS agent displays its working directory and the configuration directory; if the agent is running, you receive additional information about the release of the central monitoring system in which the agent is registered. To do this, call the agent with the option –status (for example, with the agent SAPCCMSR):
>sapccmsr –status
INFO: CCMS agent sapccmsr working directory is /usr/sap/tmp/sapccmsr
INFO: CCMS agent sapccmsr config file is
/usr/sap/tmp/sapccmsr/csmconf
INFO: Checking shared memory status of sapccmsr
******** CCMS agent running on this machine: ********
*
* sapccmsr without profile
*
* registered at central system BCE
*
* CCMS version 20010925, 32 bit
* Process Id 28807
* relno 6200
* patchno 45
* intno 20020600
*****************************************************
EXITING with code 0

Displaying the Version of a CCMS Agent
Call the agent with the option –v (for example, with the agent SAPCCMSR):
>sapccmsr –v
CCMS version 20010925, 32 bit, multithreaded, Non-Unicode
compiled at Sep 17,2002
systemid 560 (PC with Windows NT)
relno 6200
Patch text patch collection 2003/2, SAP Note 584136
patchno 344
intno 20023800
running on P57373 Windows NT 5.0 2195 Service Pack 2 Intel 80686
You can read the version from the release number (relno) and the patch number (patchno). The line running on also contains the operating system on which the agent is currently running. Patch text specifies the Patch Collection. For information about which collection contains which changes, see SAP Note 202591.

0 comments:

Loading