Skip to Content
avatar image
Former Member

Performing sapccm4x -initshm pf=<profile path> in live system

Hello all,

Do you know if clearing the shared memory for CCMS Agent, using the command "sapccm4x -initshm pf=<profile path> in live system", will do much in a live Productive system that would be adverse to the end users at all?

I plan on running command "sapccm4x –R pf=<profile path>" imediately after.

I have tried it a few times in QA and DEV and didn't see anything wrong or hear of any complaints.

Any idea?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Oct 25, 2012 at 02:41 PM

    Hi Michael,

    I used this command many times in production environment without any problem.

    BTW, why do you want to register the agent after? Maybe it's enough if you just start it with the -DCCMS option.

    Regards,

    Laszlo

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      In some cases the agent was not registered correctly, so registering finally allows it to show up in Solution Manager.

      Thanks so much for the help!!!

  • Oct 25, 2012 at 03:31 PM

    Hi Michael,

    try to execute execute ./sapccmsr pf=/usr/sapSID/SYS/profile/PROFILE  -j2ee -initshm

    filter on

    INFO: Attached to Shared Memory Key 73 (size 60000000), no pool used

    so you see the size of the shared memory is 60000000

    then execute on solaris

    ipcs -ma |grep 60000000

    this will result in keys with size 60000000

    m     108039   0x4761     rw-r---   eppadm   sapsys   eppadm   sapsys      1   60000000  4955 20441 11:40:28 11:40:28  8:30:38

    m       5744   0x3d9d     rw-r---   yppadm   sapsys   yppadm   sapsys      1   60000000 29224 29224 15:22:23 15:22:24 15:22:23

    m      30323   0x3f91     rw-r---   yppadm   sapsys   yppadm   sapsys      1   60000000 29480 29480 15:22:33 15:22:35 15:22:33

    m  150522485   0x46fd     rw-r---   eppadm   sapsys   eppadm   sapsys      4   60000000 21181  5909 12:05:31 12:05:31 17:03:39

    in this case there are 4 with size 60000000 our instance EPP both ccms agents had a problem so we cleaned those 2 entries

    ipcrm -m 108039    -m 150522485  

    afterwards the agents were able to start

    Guru

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 25, 2012 at 03:36 PM

    And regarding the command you are planning to execute

    sapccm4x –R pf=<profile path> , is just a command to Register the agent. You can run it on live system it will not affect any business users. Any command you run for sapccm4x is only related with agents running on the system on the SAP application. you can start, stop, register , deregister CCMS agents anytime.

    Hope this answers your questions.

    Guru

    Add comment
    10|10000 characters needed characters exceeded