Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Using LineRate for Oracle Enterprise Manager 13c

Arun_Bavera_114
Nimbostratus
Nimbostratus

Hi All,

 

I am trying to use LineRate as load Balancer for Oracle EM 13c in my VM environment. I am having difficulties in setting it up, could anybody review my configurations and advise?

 

Here is the link to configuration I am using: [Configuration Doc for EM13c ](https://drive.google.com/open?id=0BwU4-34txoardTZXdGp4d2FlZnc) References: [Em13c Doc] (https://docs.oracle.com/cd/E63000_01/EMADV/ha_setup.htmEMADV11590) [F5 Guide for EM12c](https://www.f5.com/pdf/deployment-guides/oracle-enterprise-manager-12c-dg.pdf) [Oracle Guide for EM12c] (http://www.oracle.com/technetwork/oem/framework-infra/wp-em12c-config-oms-ha-bigip-1552459.pdf)
9 REPLIES 9

Madhu_Rajagopal
F5 Employee
F5 Employee
Hi Arun, Thanks for sharing the details of your configuration. May I know what specifically is not working. Please provide names of the virtual server, pool/real servers and any other configuration objects that are relevant to the problem you are trying to solve. Thank you Madhu

Arun_Bavera_114
Nimbostratus
Nimbostratus
Hi Madhu To start with I am trying to access the EM Console: http://em13c.bavera.net/em I am getting 404. The real server console url is: http://omsserver1.bavera.net:7788 VirtualServer: em13c.bavera.net Port:80 [ virtual-server vs_ccuc80 ] virtual-ip vs_ccuc80_ip health-monitor: mon_ccuc Real Server: omsserver1.bavera.net port: 7788 [ real-server ccuc_omsserver1 ] Pool: pool_ccuc I have stored all the commands used and configuration in this google doc: https://drive.google.com/open?id=0BwU4-34txoardTZXdGp4d2FlZnc Thanks Arun

Madhu_Rajagopal
F5 Employee
F5 Employee
Hi Arun, Can you please try the following: Replace the configuration line for virtual-server vs_ccuc80: from: attach virtual-ip vs_ccuc80_ip to: attach virtual-ip vs_ccuc80_ip default Once you have applied this configuration change, please let me know of the outcome. This will assist in progressing this investigation. Thank you Madhu

Arun_Bavera_114
Nimbostratus
Nimbostratus
Hi Madhu, Thank you very much !!! It worked. What the 'default' parameter option did? I will check other services for OEM13c and update you...

Arun_Bavera_114
Nimbostratus
Nimbostratus
Hi Madhu I am getting "status 502 Bad Gateway" after sometimes..If I refresh the page. Also, LineRate Dashboard shows: vs_ccuc80_ip -->vs_ccuc80 [ down] -->pool_ccuc [down] --->ccuc_omsserver1 [down] As of now I have only one real server attached to the pool. [ How to upload images to this comment?]

Arun_Bavera_114
Nimbostratus
Nimbostratus
Hi Madhu Seems like the issue could be with the monitor attached: "mon_ccuc" If I dis-associate this monitor from the real server "ccuc_omsserver1", it is working fine...

Arun_Bavera_114
Nimbostratus
Nimbostratus
Hi Madhu I had the "HTTP Response Body": 'Enterprise Manager Console is UP' for this monitor. I removed this and it is working fine now...

Madhu_Rajagopal
F5 Employee
F5 Employee

Hi Arun, Thanks for the getting back with the troubleshooting information. On the subject of applying the configuration "attach virtual-ip vs_ccuc80_ip default", I would like to provide an explanation for your understanding.

 

  1. Please read linerate-getting-started-2-6-1.pdf located at support.f5.com: https://support.f5.com/kb/en-us/products/linerate/manuals/product/linerate-getting-started-2-6-1.htm... Download the PDF and go to the section "Monitoring and Troubleshooting Load Balancing". This section provides an explanation for the need of the "default" keyword. You may wish to provide a hostname or apply the default keyword depending on your requirements.

     

  2. Regarding the health monitor, mon_ccuc, I don't see the string 'Enterprise Manager Console is UP' in the configuration you have provided via google docs. Are you using the health monitor's response-body configuration keyword?

     

Syntax: response-body - This is the exact-match feature.

 

"Exact match — Match the exact content of the entire response body. For the response to be successful, the body must exactly match what you specify here. In the CLI, the maximum length of the body match is 10,240 characters."

 

It stipulates "Match the exact content of the entire response body....". An example with line ending would have improved the user's understanding and experience.

 

Line ending flavours have always been problematic and this is another case in point:

 

\r = CR (Carriage Return) // Used as a new line character in Mac OS before X

 

\n = LF (Line Feed) // Used as a new line character in Unix/Mac OS X

 

\r\n = CR + LF // Used as a new line character in Windows

 

Please let me know of any further questions.

 

Thank you

 

Madhu

 

Madhu_Rajagopal
F5 Employee
F5 Employee
Hi Arun, Please read my answer further down the page. Get back to us if you need more explanation/assistance. Thank you Madhu