cancel
Showing results for 
Search instead for 
Did you mean: 

How to implement health monitor using GRMG?

Former Member
0 Kudos

Hi,

I want to configure the health monitor of a big-ip (F5) load balancer, so that it does only forward requests to a netweaver cluster node, if that is fully up and running (incl. KM, Portal and WebDynpro). The big-ip can only send simple (unauthenticated) http get requests and parse the response for a contained string. I thought, GRMG's heartbeat would be a good approach to do this. I can't find any documentation or examples on how to use GRMG without CCMS. Is there some API to send GRMG requests and process the results? How does an GRMG request look like, exactly?

Best Regards,

Jörg

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

'GRMG without CCMS', means you want to setup GRMG without Solman ?

Former Member
0 Kudos

Yes, thats exactly what I want to do. The alternative would be to implemented a portal component that performs the health checks, but I thought it would be a good idea to use an already existing solution like GRMG.

Former Member
0 Kudos

However, I have used GRMG only with Solman till now and that too only the GRMG Lite, as the actual GRMG customizing seems to be developers work or somehow related to coding too, so I never did it yet

But you might want to look into one of the ways of the customizing in the below link i.e. 'GRMG: Instrumenting an Application'

http://help.sap.com/saphelp_nw70/helpdata/EN/cf/504a550ae6274495e2ce30d176f33b/content.htm

http://help.sap.com/saphelp_nw70/helpdata/EN/82/4f5d1301fe0d448ee75e6f87f5061e/content.htm

Former Member
0 Kudos

Thanks for these references. I already found some examples on how to do the GRMG customization. Actually the flexiblity of a GRMG based solution and the possiblity to reuse it for other monitoring purposes is why I would rather use GRMG than build my own solution from scratch. To do this I have to build some GRMG client that can send GRMG requests without using Solman.

Former Member
0 Kudos

Finally I found the answer in [Enabling Generic Request and Message Generator Heartbeat Monitoring|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0a3a190-0201-0010-4984-b4fd369bb35f]. A GRMG request is a HTTP POST request that contains the XML section of a scenario from the curresponding grmg-customizing.xml file, which is for example:

<scenario>

<scenname>Demo</scenname>

<scenversion>010</scenversion>

<sceninst>100</sceninst>

<component>

<compname>TestWeb</compname>

<compversion>001</compversion>

<property>

<propname>url</propname>

<propvalue>http://...</propvalue>

</property>

</component>

</scenario>