Monitoring Sun Java System Identity Manager through JMX

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    Favorites, Groups & Events

    Monitoring Sun Java System Identity Manager through JMX - Presentation Transcript

    1. JMX Identity Manager http://blogs.sun.com/okazaki
    2. Identity Manager 7.0 JMX Copyright © 2007 Sun Microsystems K.K. 2
    3. • > • JVM AppServer Copyright © 2007 Sun Microsystems K.K. 3
    4. • JMX ? • Identity Manager JMX • • • TIPS Copyright © 2007 Sun Microsystems K.K. 4
    5. JMX ? JVM • API > JSR 3: Java Management Extensions (JMX) • > JSR 160: JMX Remote API • JMX > > > Copyright © 2007 Sun Microsystems K.K. 5
    6. JMX • • • • SNMP > ( ) Copyright © 2007 Sun Microsystems K.K. 6
    7. JMX Copyright © 2007 Sun Microsystems K.K. 7
    8. JMX • Java VM JVM > • Web > • MBean( > ) Copyright © 2007 Sun Microsystems K.K. 8
    9. JMX CPU Copyright © 2007 Sun Microsystems K.K. 9
    10. JMX • JMX ( ) > > • > > > • > Web GlassFish v2 Copyright © 2007 Sun Microsystems K.K. 10
    11. JMX Remote • > MBean • > TLS/SSL / Copyright © 2007 Sun Microsystems K.K. 11
    12. SNMP JMX SNMP JMX • > http://java.sun.com/javase/ja/6/docs/ja/technotes/guides/ management/snmp.html SNMP • > OS JIT GC Copyright © 2007 Sun Microsystems K.K. 12
    13. JMX • JConsole > JDK 5 • MC4J (http://mc4j.org) > • Sun Java System Management Framework > Java ES 5 http://proctor.dev.java.net > • Google > HP Openview, AdventNet ManagemeEngine Applications Manager, ... Copyright © 2007 Sun Microsystems K.K. 13
    14. JConsole JDK • • JConsole ( ) JConsole( ) • JDK Copyright © 2007 Sun Microsystems K.K. 14
    15. Identity Manager JMX • Identity Manager 7.0 • ActiveSync Copyright © 2007 Sun Microsystems K.K. 15
    16. ObjectName=IDM:type=Cluster ActiveServers IDM KnownServers IDM NewlyFailedServers IDM Alive ? PollingInterval ( ) Copyright © 2007 Sun Microsystems K.K. 16
    17. ( ) ObjectName=IDM:type=Cluster Copyright © 2007 Sun Microsystems K.K. 17
    18. ObjectName=IDM:type=Cluster,service=Server,name=”< >” CreateDate Creator Deleted ? Heartbeat HeartbeatDate State StateString ObjectName=IDM:type=Server Name Status StatusDisplay Copyright © 2007 Sun Microsystems K.K. 18
    19. ( ) ObjectName=IDM:type=Cluster,service=Server,name=”< >” ObjectName=IDM:type=Server JMX Copyright © 2007 Sun Microsystems K.K. 19
    20. ObjectName=IDM:type=Cluster,service=Resource,resType=”< >”, name=”< >” CreateDate Creator Deleted ? LastModificationDate MostRecentActivity MostRecentActivityDate MostRecentActivityDateMS JMX Copyright © 2007 Sun Microsystems K.K. 20
    21. ( ) ObjectName=IDM:type=Cluster,service=Resource,resType=”< >”,name=”< >” Copyright © 2007 Sun Microsystems K.K. 21
    22. Copyright © 2007 Sun Microsystems K.K. 22
    23. ActiveSync ObjectName=IDM:type=Cluster,service=Synchronization,component=ActiveSync resType=”< >”,name=”< >” ProgressString ErrorStatusString LastPollAttempt ActiveSync NextPollAttempt ActiveSync LastModNum LastModDate LastKnownServer ActiveSync LastStartTime State, StateString ActiveSync Copyright © 2007 Sun Microsystems K.K. 23
    24. ActiveSync ObjectName=IDM:type=Cluster,service=Synchronization,component=ActiveSync resType=”< >”,name=”< >” ActiveSync ActiveSync Copyright © 2007 Sun Microsystems K.K. 24
    25. SPE Sync ObjectName=IDM:type=Cluster,service=Synchronization,component=SPE Sync resType=”< >”,name=”< >” ProgressString ErrorStatusString LastPollAttempt SPE Sync NextPollAttempt SPE Sync LastModNum LastModDate LastKnownServer SPE Sync LastStartTime State, StateString SPE Sync Copyright © 2007 Sun Microsystems K.K. 25
    26. • Identity Manager • Sun Java System Application Server > AppServer > • JConsole Copyright © 2007 Sun Microsystems K.K. 26
    27. Identity Manager (1) (1) (2) (3)JMX Copyright © 2007 Sun Microsystems K.K. 27
    28. Identity Manager (2) (1) JMX (2) (3) Copyright © 2007 Sun Microsystems K.K. 28
    29. Application Server JConsole Security Admin Service Copyright © 2007 Sun Microsystems K.K. 29
    30. JConsole (1) JDK 6 JConsole JDK 5 JConsole Copyright © 2007 Sun Microsystems K.K. 30
    31. JConsole (2) JMX URL service:jmx:rmi:///jndi/rmi://< >:<port> /management/rmi-jmx-connector Sun Java System App Server admin-realm SJSAS ( admin”) Copyright © 2007 Sun Microsystems K.K. 31
    32. JConsole idm1 idm2 resource1 resource2 Solaris idmdb Copyright © 2007 Sun Microsystems K.K. 32
    33. JMX JMX • • • Java VM JMX > JRuby, JavaScript, Groovy, Pnuts, ... etc > Copyright © 2007 Sun Microsystems K.K. 33
    34. JRuby ActiveSync #!/usr/bin/env jruby include Java include_class 'javax.management.ObjectName' include_class 'javax.management.remote.JMXConnectorFactory' include_class 'javax.management.remote.JMXServiceURL' jmxurl = 'service:jmx:rmi:///jndi/rmi://idm1:8686/jmxrmi' username, password = 'admin', 'adminadmin' svcurl = JMXServiceURL.new(jmxurl) cred = java.lang.String[2].new cred[0], cred[1] = username, password env = {'jmx.remote.credentials' => cred} conn = JMXConnectorFactory.connect(svcurl, env).getMBeanServerConnection names = conn.query_names(ObjectName.new( 'IDM:type=Cluster,service=Synchronization,component=ActiveSync,*'), nil) names.each do |name| cname = name.get_canonical_name if /name=\"(.+?)\",resType=\"(.+?)\"/ =~ cname puts \"Resource Type: #{$2}, Name: #{$1}, ” + “Status: #{conn.get_attribute(name, 'StateString')}\" end end Resource Type: FlatFileActiveSync, Name: My FlatFile, Status: down Resource Type: LDAP, Name: SPE End-User Directory, Status: down Copyright © 2007 Sun Microsystems K.K. 34
    35. • JRuby JMX > http://blogs.sun.com/nishigaya/entry/custom_jmx_client_ using_jruby > http://blogs.sun.com/nishigaya/entry/custom_jmx_client_ using_jruby1 Copyright © 2007 Sun Microsystems K.K. 35
    36. JMX Identity Manager Takayuki Okazaki takayuki.okazaki@sun.com http://blogs.sun.com/okazaki

    + okazakiokazaki, 3 years ago

    custom

    2112 views, 0 favs, 4 embeds more stats

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 2112
      • 2062 on SlideShare
      • 50 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 34
    Most viewed embeds
    • 47 views on http://blogs.sun.com
    • 1 views on http://72.14.253.104
    • 1 views on http://64.233.179.104
    • 1 views on http://209.85.175.104

    more

    All embeds
    • 47 views on http://blogs.sun.com
    • 1 views on http://72.14.253.104
    • 1 views on http://64.233.179.104
    • 1 views on http://209.85.175.104

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories