Skip to Content

Hello,

I had to configure this monitoring agents in Oracle RAC Nodes to show information on ST06, I was looking at different SCN discussions, SAP notes and blogs and they are confuse an not clear about the configuration. Naturally you can automatically monitor SAP Host Agent information only if there is a Application server in the same server which is not my case.

So lets start with the considerations to understand the guide:

1. CEN host is on the first application server (erpapp01)

2. CEN User (ADMIN) you can change the user if you want to.

3. RAC Nodes (erpdb01 and erpdb02).

4. SAP Host Agent is installed.

As told before when I check ST06N/OS07 info the RAC nodes does not show any information about the servers:

/wp-content/uploads/2016/02/ccms1_890516.png

To make this configuration possible we need to use sapccmsr to push the information from SAP Host Agent to a SAP Application server gateway (erpapp01 in this case).

First check RZ21 to add erpdb01 and erpdb02 into CCMS monitoring

/wp-content/uploads/2016/02/ccms2_890517.png

/wp-content/uploads/2016/02/ccms3_890518.png

In our case we are using ADMIN user, you can use any user you want. Of course you need to assing this role to the user -> SAP_BC_CSMREG

/wp-content/uploads/2016/02/ccms4_890525.png

The same for the next RAC node

/wp-content/uploads/2016/02/ccms5_890526.png

When you save the SAP Application server tries to connect to the SAP Host Agent installed on the server, you should check that the agent is running. If everything is fine you should see a confirmation like this.

/wp-content/uploads/2016/02/ccms6_890527.png

Then you need to download the ccms configuration to execute the sapccmsr command at os level.

/wp-content/uploads/2016/02/ccms7_890534.png

Save the file and transfer it to the RAC Nodes.

/wp-content/uploads/2016/02/ccms8_890535.png

We need to create 4 files in /sapmnt/SID/profile.

SAPCCMSR_DB01

SAPCCMSR_DB02

SAPOSCOL_DB01

SAPOSCOL_DB02

They contain this information. Make sure this directories exists and exe/saposcol path contains the saposcol binary.

SAPCCMSR_DB01

SAPSYSTEMNAME=PRD

SAPLOCALHOST=erpdb01

DIR_CCMS = /usr/sap/sapccmsr_db01

DIR_PERF=/usr/sap/sapccmsr_db01

DIR_WORK_SAPOSCOL=/usr/sap/saposcol_db01

exe/saposcol=/usr/sap/hostctrl/exe/saposcol

SAPCCMSR_DB02

SAPSYSTEMNAME=PRD

SAPLOCALHOST=erpdb02

DIR_CCMS = /usr/sap/sapccmsr_db02

DIR_PERF=/usr/sap/sapccmsr_db02

DIR_WORK_SAPOSCOL=/usr/sap/saposcol_db02

exe/saposcol=/usr/sap/hostctrl/exe/saposcol

SAPOSCOL_DB01

DIR_PERF = /usr/sap/saposcol_db01

SAPOSCOL_DB02

DIR_PERF = /usr/sap/saposcol_db02

Now we need to stop SAP Host Agent using command ./saphostexec -stop.

/wp-content/uploads/2016/02/ccms9_890536.png

Then we log as sidadm and execute this on first RAC Node:

sapccmsr -DCCMS pf=/sapmnt/PRD/profile/SAPCCMSR_DB01 -t

This log should appear.

/wp-content/uploads/2016/02/ccms10_890561.png

/wp-content/uploads/2016/02/ccms12_890562.png

Then restart SAP Host Agent and saposcol

./saphostexec -restart

/wp-content/uploads/2016/02/ccms14_890565.png

/wp-content/uploads/2016/02/ccm13_890564.png

Now we check ST06N and it shows full os information.

/wp-content/uploads/2016/02/ccms15_890576.png

Do the same steps for the next node to configure the monitoring. Enjoy!

To report this post you need to login first.

1 Comment

You must be Logged on to comment or reply to a post.

Leave a Reply