[Logo] Terracotta Discussion Forums (LEGACY READ-ONLY ARCHIVE)
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
How do we send notification if a L2 is dead..  XML
Forum Index -> General
Author Message
hnanda

neo

Joined: 06/30/2008 13:27:19
Messages: 4
Offline

i.e the terracotta server process is no longer running
hhuynh

cherubim

Joined: 06/16/2006 11:54:06
Messages: 761
Offline

This is a generic question, not really related to Terracotta. The way I usually check if my server is running (be it Tomcat, Apache, Terracotta) is to ping their port. If you can connect to their port, that means they're still up. Or you can monitor the process id with a cron job.
ari

seraphim

Joined: 05/24/2006 14:23:21
Messages: 1665
Location: San Francisco, CA
Offline

Also,

Your L1's get a JMX event when disconnected and when reconnected to L2. Have one of your L1's listen for that event and relay it using another tech (messaging, JMX, whatever) to your monitoring tools.

--Ari
[WWW]
jgalang

master

Joined: 05/24/2006 15:08:59
Messages: 54
Offline

Look into the Chatter demo that comes with your installation on how to listen for JMX notifications from TC.

Want to post to this forum? Please join the Terracotta community: >Sign up

hnanda

neo

Joined: 06/30/2008 13:27:19
Messages: 4
Offline

gave JMX a shot...looks good..except that I have a client app that gets notifications from the L2 it is connected to... why don't I see the other L2 joining the cluster..like the admin console?..basically how to we treat everything within the cluster (All l2's and all L1's as nodes)
 
Forum Index -> General
Go to:   
Powered by JForum 2.1.7 © JForum Team