[coherence] coherence 모니터링 v 1.0

Download [Coherence] coherence 모니터링   v 1.0

Post on 23-Jan-2015

592 views

Category:

Technology

9 download

Embed Size (px)

DESCRIPTION

 

TRANSCRIPT

  • 1. The Best Business Infrastructure Software Company

2. Global TechnologyFusion Middleware Coherence Monitoring www.gtplus.co.kr The Best Business Infrastructure Software Company 2011 GTPlus. All Rights Reserved. 3. Agenda1. 2. 3. 4. 5.JMX Reporting 6.7.The Best Business Infrastructure Software CompanyPage3 2011 GTPlus. All Rights Reserved. 4. Coherence Monitoring1. Grid Coherence , . , File .1. Grid Scale-up, Scale-out Coherence Node ? 2. Coherence Node ? 3. Monitoring File ?The Best Business Infrastructure Software CompanyPage4 2011 GTPlus. All Rights Reserved. 5. Coherence Monitoring2. Coherence Coherence Cluster JMX framework , MBean Server Cluster . File .1. JMX 2. JMX 1.0 Pre-Java SE 5.0 JVM applications JMX lib classpath add . http://java.sun.com/products/JavaManagement/download.html JMX 1.X.X Reference Implementation 3. Coherence Coherence Node Coherence Enterprise Edition . Coherence Standard Edition 4. Reporter , Reporting The Best Business Infrastructure Software CompanyPage5 2011 GTPlus. All Rights Reserved. 6. Coherence Monitoring3.1 JMX JMX Client Coherence Coherence Node JMX Framework enable . Coherence , System Property , .1. JMX management enable Coherence Operational Configuration deployment descriptor tangosol-coherence.xml(coherence.jar) management-config element Java system property coherence.cmd(sh), cache-server.cmd(sh) -jmx (3.7.X )The Best Business Infrastructure Software CompanyPage6 2011 GTPlus. All Rights Reserved. 7. Coherence Monitoring3.2 System Property JMX System Property , MBean Server Cluster .1. Managing Node Managed Node On the managing(MBeanServer Host) node :-Dtangosol.coherence.management=all MBeanServer Node all 3~5% , Cluster join Coherence Node Node On the managed node :-Dtangosol.coherence.management.remote=true WebLogic Server managed node WebLogic Server WebApp , jsp managing node The Best Business Infrastructure Software CompanyPage7 2011 GTPlus. All Rights Reserved. 8. Coherence Monitoring4.1 - MBean Server Coherence Node JMX Client Coherence , System Property , .1. JMX API HTTPAdpater (Coherence ) JConsole / (j)VisualVM - Custom JSP Page : MBean JSP2. JMX Remote API using RMI or HTTP Coherence MBeanConnector (Coherence )The Best Business Infrastructure Software CompanyPage8 2011 GTPlus. All Rights Reserved. 9. Coherence Monitoring4.2 - MBean Server : HTTPAdapter HTTPAdapter WAS Web . .1. HTTPAdpater Pre-Java SE 5.0 JVM MBean Aceess jmxri.jar, jmxtools.jar classpath . coherence.cmd (sh) .java -cp jmxri.jar;jmxtools.jar;coherence.jar -Dtangosol.coherence.management=all -Dtangosol.coherence.management.remote=true com.tangosol.net.CacheFactory jmx 8082 Map (?): jmx 8082 Installed: HttpAdapter:port=8082The Best Business Infrastructure Software CompanyPage9 2011 GTPlus. All Rights Reserved. 10. Coherence Monitoring4.2 - MBean Server : HTTPAdapter HTTPAdapter , MBean . MBean .1. HTTPAdpater http://ip:portThe Best Business Infrastructure Software CompanyPage10 2011 GTPlus. All Rights Reserved. 11. Coherence Monitoring4.3 - MBean Server : JConsole JDK JConsole Coherence MBean . MBean .1. JConsole Java SE 5.0 JVM MBeanServer Aceess JConsole Coherence node -Dcom.sun.management.jmxremote -Dtangosol.coherence.management=all Dtangosol.coherence.management.remote=true JConsole Remote Coherence node -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dco m.sun.management.jmxremote.port=40011The Best Business Infrastructure Software CompanyPage11 2011 GTPlus. All Rights Reserved. 12. Coherence Monitoring4.3 - MBean Server : JConsole JDK JConsole Coherence MBean .1. JConsole - local Java_homebinjconsole The Best Business Infrastructure Software CompanyPage12 2011 GTPlus. All Rights Reserved. 13. Coherence Monitoring4.3 - MBean Server : JConsole JDK JConsole Coherence MBean .1. JConsole remote (service:jmx:rmi://ip:port/jndi/rmi://ip:port/server) Java_homebinjconsole The Best Business Infrastructure Software CompanyPage13 2011 GTPlus. All Rights Reserved. 14. Coherence Monitoring4.3 - MBean Server : JConsole JDK JConsole Coherence MBean .1. JConsole remote (ip:port) Java_homebinjconsole The Best Business Infrastructure Software CompanyPage14 2011 GTPlus. All Rights Reserved. 15. Coherence Monitoring4.4 - MBean Server : ( j)VisualVM JDK ( j)VisualVM Coherence MBean . MBean .1. ( j)VisualVM Java SE 5.0 JVM MBeanServer Aceess ( j)VisualVM Coherence node -Dcom.sun.management.jmxremote -Dtangosol.coherence.management=all Dtangosol.coherence.management.remote=trueThe Best Business Infrastructure Software CompanyPage15 2011 GTPlus. All Rights Reserved. 16. Coherence Monitoring4.4 - MBean Server : ( j)VisualVM JDK ( j)VisualVM Coherence MBean .1. ( j)VisualVM - local Java_homebinjvisualvm The Best Business Infrastructure Software CompanyPage16 2011 GTPlus. All Rights Reserved. 17. Coherence Monitoring4.4 - MBean Server : ( j)VisualVM JDK ( j)VisualVM Coherence MBean .1. ( j)VisualVM remote (ip:port) Java_homebinjvisualvm The Best Business Infrastructure Software CompanyPage17 2011 GTPlus. All Rights Reserved. 18. Coherence Monitoring4.5 - MBean Server : Custom JSP JMX API , Coherence JSP .1. JMX API JSP Java SE 5.0 JVM MBeanServer Aceess API WAS JSP WAS Node -Dcom.sun.management.jmxremote -Dtangosol.coherence.management=all Dtangosol.coherence.management.remote=true WAS Coherence Cluster The Best Business Infrastructure Software CompanyPage18 2011 GTPlus. All Rights Reserved. 19. Coherence Monitoring4.5 - MBean Server : Custom JSP JMX API , Coherence JSP .1. JSP The Best Business Infrastructure Software CompanyPage19 2011 GTPlus. All Rights Reserved. 20. Coherence Monitoring4.6 - MBean Server : MBeanConnector MBeanServer Host MBeanConnector , JMX Client RMI HTTP Coherence MBean .1. Coherence MBeanConnector Dedicated MBeanServer Host Cluster Node java -Dtangosol.coherence.management=all -Dtangosol.coherence.management.remote.host=localhost Dtangosol.coherence.management.remote.registryport=9000 -Dtangosol.coherence.management.remote. connectionport=3000 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jm xremote.ssl=false -cp coherence.jar com.tangosol.net.management.MBeanConnector -rmijava -Dtangosol.coherence.management=all -Dtangosol.coherence.management.remote.httpport=8888 -cp jmxri.jar;jmxtools.jar;coherence.jar com.tangosol.net.management.MBeanConnector http Suns JMX RI classpath . JConsole RMI Access jconsole service:jmx:rmi://localhost:3000/jndi/rmi://localhost:9000/server http Access http://localhost:8888The Best Business Infrastructure Software CompanyPage20 2011 GTPlus. All Rights Reserved. 21. Coherence Monitoring4.6 - MBean Server : MBeanConnector JConsole Coherence MBeanConnector .1. Coherence MBeanConnector JConsole JMX Service URL The Best Business Infrastructure Software CompanyPage21 2011 GTPlus. All Rights Reserved. 22. Coherence Monitoring4.6 - MBean Server : MBeanConnector Coherence MBeanConnector .1. Coherence MBeanConnector http://ip:portThe Best Business Infrastructure Software CompanyPage22 2011 GTPlus. All Rights Reserved. 23. Coherence Monitoring4.7 JMX Client JVM Coherence MBean .1. JConsole The Best Business Infrastructure Software CompanyPage23 2011 GTPlus. All Rights Reserved. 24. Coherence Monitoring4.7 JMX Client Coherence .1. JConsole Coherence Node Coherence -> Node -> nodeid -> attributes -> MemberName, MachineNameThe Best Business Infrastructure Software CompanyPage24 2011 GTPlus. All Rights Reserved. 25. Coherence Monitoring4.7 JMX Client Coherence Cluster Node Node .1. JConsole Coherence Node Coherence -> Node -> nodeid -> attributes -> RoleNameThe Best Business Infrastructure Software CompanyPage25 2011 GTPlus. All Rights Reserved. 26. Coherence Monitoring4.7 JMX Client Coherence*Web Coherence Cache Server session count .1. JConsole . Coherence -> DistributedSessions -> session-storage -> nodeid -> back -> attributes -> SizeThe Best Business Infrastructure Software CompanyPage26 2011 GTPlus. All Rights Reserved. 27. Coherence Monitoring4.7 JMX Client Node Coherence Process, WAS App NodeID . , Process Node .1. JConsole Node Node process . WAS n app Node = n X was + coherence The Best Business Infrastructure Software CompanyPage27 2011 GTPlus. All Rights Reserved. 28. Coherence Monitoring4.7 Coherence , Cache CacheStore .1. Coherence Cache RoleNameCacheStore IDRoleName IDCluster Member StoreReadsMemory (used/max)Unicast AddressAddressUnicast PortSizeMulticast PortStoreWritesPortMulticast AddressWrite-BehindTotalGetsProduction Edition CPU CountFrontStoreFailuresTotalPuts CacheHitsOldestMemberIDCacheMissesLicenseModeHitProbabilityBootClassPathSizeClassPath InputArgumentsBackSystem PropertiesThe Best Business Infrastructure Software CompanyHits Misses EffectivenessPage28 2011 GTPlus. All Rights Reserved. 29. Coherence Monitoring5.1 JMX Reporter Coherence JMX Reporting MBean File Reporter .1. JMX Reporter Coherence Cluster Node %coherence_home%bin The log files will be placed in the working directory of the application %coherence_home%libcoherence.jar ./reports/*.xml 3.6 7 Txt . 3.7 10 Txt 1 write. 3.6 report-web-group.