cancel
Showing results for 
Search instead for 
Did you mean: 

Install the CCMS Agent as an NT Service SAPCCM4X

former_member209962
Participant
0 Kudos

Hi All,

We are configuring Central monitering system in SOLMAN for our R3 system.

I have the CCMS config guide and we followed them same

step1:

Activate background dispatching in CEN(SOLMAN) and in all monitored ABAP(R3)

systems in client 000.

DONE

Activate central system dispatching in CEN(SOLMAN):DONE

Creating the CSMREG User IN SOLMAN AND R3: DONE

Creating the CSMCONF Start File IN SOLMAN for CCMS Agents: DONE

Entering Monitored ABAP(R3) Systems in CEN(SOLMAN) Configure Central System  Create Entry for

Remote Monitoring.: DONE

After above step i have downloaded the latest CCMAGENT from service market place and copied to r3 system and uncared it and copied to kernel directory and also we copied CSMCONF file to r3 system usr\sap\<SysID>\<inst.dir.>\log\sapccm4x

after this we are trying to register with below command

sapccm4x -R pf=D:\usr\sap\FNS\SYS\profile\STAR_DVEBMGS00_Hostname

and gettting below error message

Usage: sapccm4x -r [-f CSMCONF] | -Service | -DCCMS | -u [-f CSMCONF] | -stop

-initshm | -status | -v | -VERSION |

                -MONITORING_OFF -level <LEVEL> [-initiator <TEXT>] [-info <TE

]

                | -MONITORING_ON [-initiator <TEXT>] [-info <TEXT>] |

                -shmdump | -dump

                [pf=FILE]

                [-standalone] [-nosema] [-debug]

Operation mode parameters (you must specify the one):

   -r

       Install the CCMS Agent as an NT Service SAPCCM4X.<nr>, register

       it at the Central System in dialog mode, create the configuration file

nd start.

   -r -f <path\to\csmconf>

       Unattended registration of CCMS agent on the Central System using CSMC

Kindly let us know if we are missing any steps.

Thanks

Tabrayz

Accepted Solutions (1)

Accepted Solutions (1)

jimguo
Advisor
Advisor
0 Kudos

Hi,

Try "-r" instead of "-R".

Thanks.

Jim

former_member209962
Participant
0 Kudos

Hi Jim,

You made my day thank u very much!!!!!

Thanks

Tabrayz

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Tabrayz,

Please give the instance profile path in sapccm4x –R pf=<profile path>

<profile path> = \usr\sap\<SysID>\SYS\profile\<SysID>_<Name instance directory>_<Host>

but you mentioned the start profile in above message post.

Rg,

Karthik

former_member209962
Participant
0 Kudos

Hi Karthik,

Thanks for the reply i tried with both instance and start but same issue.

Thanks

Tabrayz

Former Member
0 Kudos

Hi Tabrayz,

Please check the step again in the system,

1.Log on to the host of the ABAP instance as <SID>adm (UNIX) or

SAPService<SID> (Microsoft Windows), to ensure that the agent can access the

shared memory.

2.Copy the CSMCONF start file to the working directory of SAPCCM4X. This is in

the following location:

MS Windows: [drive]:\usr\sap\<SysID>\<inst.dir.>\log\sapccm4x

UNIX: /usr/sap/<SysID>/<inst.dir.>/log/sapccm4x

If the directory does not exist, create it.

3. The executable SAPCCM4X is located in the following directory:

MS Windows: [drive]:\usr\sap\<SysID>\SYS\exe\run

UNIX: /usr/sap/<SysID>/SYS/exe/run

4. In the directory of the executable, enter the command

/usr/sap/<SysID>/SYS/exe/run/sapccm4x -R pf=<profile path>

<Profile path> specifies the start profile of the monitored instance. By

default, this is:

MS Windows: [drive]:\usr\sap\<SysID>\SYS\profile\

<SysID>_<Name instance directory>_<Host>

UNIX: /usr/sap/<SysID>/SYS/profile/

<SysID>_<Name instance directory>_<Host>

5. During the registration, the system displays specifications from the CSMCONF

file to you again for confirmation. Confirm the specification by pressing the

ENTER key in each case. You only need to enter two parameters yourself:

o The password for the administration user in CEN, under which you created the

CSMCONF file

o The password for the CSMREG user

6. Under UNIX, you must ensure yourself that SAPCCM4X is automatically started

again when the host is restarted. To do this, enter the following command in the

inittab (/etc/inittab):

/usr/sap/<SysID>/SYS/exe/run/sapccm4x -DCCMS pf=<profile path>

Rg,

Karthik