cancel
Showing results for 
Search instead for 
Did you mean: 

CCMS Agent restart after a system comes back up

Former Member
0 Kudos

Hello,

We have the different CCMS agents setup within our system and currently if a system goes down then so do it's corresponding agents (SAPCCM4X and SAPCCMSR). We have over 20 systems that are being monitored so you can imagine the time it takes to log as <SID>ADM and manually run sapccm4x -DCCMS pf=/usr/sap/<SID>/SYS/profile/<SID>_DVEBMGS##_<server> for each ABAP system.

I know for our systems on a Windows box a service is created for each and will automatically come up after a server restart; can such a service be created for our box? Can a command be inserted in a system start job?

Just looking to make life a little easier. Thanks for your time.

Ryan

Accepted Solutions (1)

Accepted Solutions (1)

former_member235924
Active Participant
0 Kudos

Hello Ryan,

we have added it to our SAP Start profile:

PARM1 $(DIREXECUTABLE)/sapccm4x

Start_program_07 local $(_PARM1) -DCCMS pf=$(DIR_PROFILE)/.....

There is another thread proposing this.

Regards,

Ingrid

Former Member
0 Kudos

Ryan,

Did you notice point 6 during installation ?

http://help.sap.com/saphelp_nw04s/helpdata/en/43/041c1d0fcf2bc4e10000000a114cbd/content.htm

and SAPCCMSR should start automatically without the above inittab entry too

Answers (1)

Answers (1)

Former Member
0 Kudos

Thank you for the suggestions.

While I'm waiting on approval to test the start profile change, I'd like to try the inittab (/etc/inittab) addition.

I know it says for UNIX but does the i5 contain this folder/where is it? We have an /etc folder on root but it does not contain inittab.

Thanks.

Former Member
0 Kudos

Well, in that case, either you have to search more for inittab or will have to confirm from SAP.

And the alternative i.e. start profile change seems to be good here then.

However, here things go little bit complicated. When we do stop SAP, sapccm4x never gets stopped. It needs manual stop command. Obviously, it is with it's very nature that it has to monitor the instance and send the report of it's being down to the Centrlal system.

So, in the case when you don't stop sapccm4x while stopping SAP, and then start sap with startsap, the changed startprofile will try to start already runing sapccm4x agent. However, I have never seen the cases where if we put SAP down and will allow sapccm4x agent running, we do stop it manually along with SAP, as almost all kinds of planned outage requires all SAP processes to be down.

Former Member
0 Kudos

Hi Ryan,

as you thought already, this doesn't work this way on iSeries, this is for Unix only. On i5 you could use e.g. WRKJOBSCE or QSTRUP, but the change of the start profle sounds a lot nicer

Regards

Volker Gueldenpfennig, consolut international ag

http://www.consolut.net - http://www.4soi.de - http://www.easymarketplace.de