Forum Discussion
Health Monitoring weblogic application servers
I have spent sometime searching for similar scenario but no luck.
We are running java application server on Weblogic without load balancing until now.
Eg:
10.10.10.10:6999/app1
10.10.10.10:6999/app2
To access the applications, must type: http://10.10.80.3:9699/app1 or http://10.10.80.3:9699/app2
We decided to load balance the applications with LTM. The issue is that LTM marks it down and does not see the servers. I believe because of the text after the port number.
Attached is sample environment schema
Elias
13 Replies
- What_Lies_Bene1
Cirrostratus
I can't see the schema I'm afraid. Can you post the monitor configuration please? Same for the VS if you don't mind, suitably redacted. What URL do the users use? - Elias_O_16228
Nimbostratus
Steve,
I could not upload the diagram. I don't think it matters anyway because it is a typical layout: Internet==>router==>ASAFirewall==>Switch==>LTM==>Switch==>Servers
We have menu driven website for client to click. Other Web servers are working as intended but the application server refused to work or come up green.
Here is the link for the application server upon clicking the app menu:
http://app.home.com:9699/app/appHomeLogin.do?buttons.next.name=Next - nitass
Employee
would you mind posting the pool and health monitor you are using?
tmsh list ltm pool (pool name)
tmsh list ltm monitor (health monitor name) - Elias_O_16228
Nimbostratus
ltm pool APPS_Pool {
members {
10.10.90.10:dynamid {
monitor App_Monitor
session monitor-enabled
}
10.10.90.11:dynamid {
monitor App_Monitor
session monitor-enabled
}
}
monitor App_Monitor
}
ltm monitor tcp App_Monitor {
defaults-from tcp
destination *:*
interval 5
recv "http://http://app.home.com:9699/app/appHomeLogin.do?buttons.next.name=Next"
send "GET /\r\n"
time-until-up 0
timeout 16
virtual APP_VS {
pool APPS_Pool
destination 10.10.80.50:dynamid
ip protocol tcp
rules {
https_redirect
}
profiles {
HTTP_profile {}
Clientssl_Profile {
clientside
}
tcp-lan-optimized {
serverside
}
tcp-wan-optimized {
clientside
}
}
} - What_Lies_Bene1
Cirrostratus
I'd suggest you switch to a http monitor and whether you do or not, format your send and receive strings correctly, in particular the receive string has two http://'s in it!
The send string should be more like this: 'GET / HTTP/1.1\r\nHost: something.com\r\nConnection: Close\r\n\r\n' - Elias_O_16228
Nimbostratus
Is this just for the app server monitor only? because all other web servers are working with only basic strings on receive. - Elias_O_16228
Nimbostratus
Well, I got it to work now with empty send and receive strings...> simply health monitor. I am still looking for best way to monitor java application page
- What_Lies_Bene1
Cirrostratus
Did you try switching to a http monitor? - nitass
Employee
for http monitor, send and receive string should be configured, so bigip will verify whether expected response is returned.
sol2167: Constructing HTTP requests for use with the HTTP or HTTPS application health monitor
http://support.f5.com/kb/en-us/solutions/public/2000/100/sol2167.html - Elias_O_16228
Nimbostratus
Nitass,
I have read the link before. My problem maybe related to java application itself not from LTM. Since I am not the application developer/custodian, it's difficult to understand what/how the java coding behave. I was only told that it's Java Application Server. The Java App server is running different applications on same IP address port 9699.
E.g.
http://10.10.90.10:9699/app1
http://10.10.90.10:9699/app2
http://10.10.90.10:9699/app3
http://10.10.90.10:9699/app4
Note:
These are different applications. In order to access each app, user must specify http://10.10.90.10:9699/app1 for application 1. I have tried the page link and default http monitor suggested by Steve in the receive string, not luck. I am about to open a F5 ticket.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com