Author |
Message |
03/29/2007 22:12:43
|
navneet
journeyman
Joined: 03/12/2007 21:17:02
Messages: 13
Location: Delhi, India
Offline
|
A. How to use Admin console.
1) what is Object Flush rate,Object fault rate, Transaction Rate, cache miss rate etc.
2) Garbage collection
3) roots->tc:spring_context
4)root->tc:spring_info
B. Another question: Terracotta JMX server listen on port 9520 and it is accessible from evey machine within the domain. how to provide security so only intended admin console with user name and password can only access Terracotta JMX server on port 9520.
and how to change the default port 9520.
|
Regards,
Navneet Singhal |
|
|
03/30/2007 00:27:34
|
navneet
journeyman
Joined: 03/12/2007 21:17:02
Messages: 13
Location: Delhi, India
Offline
|
In start-tc-server.bat
com.tc.server.TCServerMain -f <PATH TO TC-CONFIG FILE>tc-config.xml
content of tc-config.xml
----------------------------
<server name="Active" host="localhost:9511">
<data>/usr/server-data</data>
<logs>/usr/logs/server-logs</logs>
<jmx-port>9521</jmx-port>
<dso-port>9511</dso-port>
<dso>
<persistence>
<mode>permanent-store</mode>
</persistence>
</dso>
</server>
I think <authentication> Tag is not available in version 2.2.1
|
Regards,
Navneet Singhal |
|
|
03/30/2007 06:57:37
|
Gordon
journeyman
Joined: 12/13/2006 00:38:30
Messages: 44
Offline
|
Hi Navneet,
I see from your subsequent post that you discovered how to change the jmx port. Meanwhile, an excellent description of the features of the admin console can be found here:
http://www.terracotta.org/confluence/display/docs1/Terracotta+Console+Guide
|
Regards,
Gordon
Sr. Systems Engineer
Terracotta, Inc. |
|
|
03/30/2007 13:34:59
|
Gordon
journeyman
Joined: 12/13/2006 00:38:30
Messages: 44
Offline
|
Hi Navneet,
To answer your other question, once configured, authentication is required via any JMX access, not just the admin console.
|
Regards,
Gordon
Sr. Systems Engineer
Terracotta, Inc. |
|
|
03/31/2007 02:19:11
|
navneet
journeyman
Joined: 03/12/2007 21:17:02
Messages: 13
Location: Delhi, India
Offline
|
Thanks for reply.
my question is
1) how to provide authentication at JMX Server since there is no <authentication> Tag in version 2.2.1 for tc-config.xml file.
2) Can I use another JMX Client (Browser based) to view JMX Server.if yes, suggest few good JMX Clients.
3) In case of Active/Passive Server configuration for failover, how could I be know when the active server is down and I have to restart it since I am not monitoring it constantly. Is there any Notification available.
|
Regards,
Navneet Singhal |
|
|
03/31/2007 09:23:43
|
tgautier
seraphim
Joined: 06/05/2006 12:19:26
Messages: 1781
Offline
|
1) 2.2.1 doesn't support authentication. It is a new feature in 2.3
2) Not sure. You could use jconsole that ships with Java, or try out an opensource monitoring tool like Hyperic.
3) I believe a tool like Hyperic would know that the active server is down since it would lose it's JMX connection and you could set it up to restart it like any other monitored process.
|
|
|
04/01/2007 12:37:25
|
ovoid
journeyman
Joined: 05/24/2006 15:10:00
Messages: 11
Offline
|
I'm pretty sure the new cluster events stuff in 2.3 can tell you when the server goes down. I'm still researching how it works to write the docs. Alex V. might be best able to answer this one.
|
|
|
04/01/2007 17:57:37
|
zeeiyer
consul
Joined: 05/24/2006 14:28:28
Messages: 493
Offline
|
You can find a description of cluster membership events (client connect and disconnect for now) at
http://www.terracotta.org/confluence/display/docs1/Concept+and+Architecture+Guide#ConceptandArchitectureGuide-ClusterEvents
and
http://www.terracotta.org/confluence/display/wiki/Cluster+Membership+Events
Cheers
Iyer
|
Sreeni Iyer, Terracotta.
Not a member yet - Click here to join the Terracotta Community |
|
|
|