Enviar pesquisa
Carregar
Monitoring Identity Manager by JMX
•
1 gostou
•
1,736 visualizações
Takayuki Okazaki
Seguir
Tecnologia
Denunciar
Compartilhar
Denunciar
Compartilhar
1 de 40
Baixar agora
Baixar para ler offline
Recomendados
What’s new in Windows Server 2012 Active Directory?
What’s new in Windows Server 2012 Active Directory?
Microsoft TechNet - Belgium and Luxembourg
The Java EE 7 Platform: Productivity++ & Embracing HTML5
The Java EE 7 Platform: Productivity++ & Embracing HTML5
Arun Gupta
Siebel Enterprise Data Quality for Siebel
Siebel Enterprise Data Quality for Siebel
Jeroen Burgers
Zookeeper In Simple Words
Zookeeper In Simple Words
Fuqiang Wang
Weblogic Administration Managed Server migration
Weblogic Administration Managed Server migration
Rakesh Gujjarlapudi
Hibernate
Hibernate
ksain
Sample Document On Hardware Software Proposal
Sample Document On Hardware Software Proposal
Isabel Elaine Leong
Integrated Data, Message, and Process Recovery for Failure Masking in Web Ser...
Integrated Data, Message, and Process Recovery for Failure Masking in Web Ser...
Gera Shegalov
Recomendados
What’s new in Windows Server 2012 Active Directory?
What’s new in Windows Server 2012 Active Directory?
Microsoft TechNet - Belgium and Luxembourg
The Java EE 7 Platform: Productivity++ & Embracing HTML5
The Java EE 7 Platform: Productivity++ & Embracing HTML5
Arun Gupta
Siebel Enterprise Data Quality for Siebel
Siebel Enterprise Data Quality for Siebel
Jeroen Burgers
Zookeeper In Simple Words
Zookeeper In Simple Words
Fuqiang Wang
Weblogic Administration Managed Server migration
Weblogic Administration Managed Server migration
Rakesh Gujjarlapudi
Hibernate
Hibernate
ksain
Sample Document On Hardware Software Proposal
Sample Document On Hardware Software Proposal
Isabel Elaine Leong
Integrated Data, Message, and Process Recovery for Failure Masking in Web Ser...
Integrated Data, Message, and Process Recovery for Failure Masking in Web Ser...
Gera Shegalov
Jdbc session02
Jdbc session02
Niit Care
Jdbc session01
Jdbc session01
Niit Care
Quality control in a cloudy world
Quality control in a cloudy world
Duncan Johnston-Watt
Learn Cloud-Native .NET: Core Configuration Fundamentals with Steeltoe
Learn Cloud-Native .NET: Core Configuration Fundamentals with Steeltoe
VMware Tanzu
SOA OSB suite cluster installation
SOA OSB suite cluster installation
Rakesh Gujjarlapudi
Ms Sql Server Black Book
Ms Sql Server Black Book
LiquidHub
5050 dev nation
5050 dev nation
Arun Gupta
What's new in Java Message Service 2?
What's new in Java Message Service 2?
Sivakumar Thyagarajan
JavaOne Tokyo LT : Internationalization
JavaOne Tokyo LT : Internationalization
Takayuki Okazaki
Lighting Talk at Sun Tech Days 2008, Tokyo
Lighting Talk at Sun Tech Days 2008, Tokyo
Takayuki Okazaki
Monitoring Sun Java System Identity Manager through JMX
Monitoring Sun Java System Identity Manager through JMX
Takayuki Okazaki
JJUG JavaOne 2009 報告会 Lightning Talk
JJUG JavaOne 2009 報告会 Lightning Talk
Takayuki Okazaki
Aizu IT Summer Forum, Open Source and Web Technologies
Aizu IT Summer Forum, Open Source and Web Technologies
Takayuki Okazaki
JJUG JavaOne 2009 報告会 Lightning Talk
JJUG JavaOne 2009 報告会 Lightning Talk
Takayuki Okazaki
Jenkins ユーザ・カンファレンス 2012 東京 S406-5 : 開発者とディレクターの視点を変えていく方法
Jenkins ユーザ・カンファレンス 2012 東京 S406-5 : 開発者とディレクターの視点を変えていく方法
Takayuki Okazaki
2012 08-23 Mame Night Jenkins
2012 08-23 Mame Night Jenkins
Takayuki Okazaki
jenkinsで遊ぶ
jenkinsで遊ぶ
(^-^) togakushi
Understanding angular meteor
Understanding angular meteor
Entrepreneur / Startup
Operating Kubernetes at Scale (Australia Presentation)
Operating Kubernetes at Scale (Australia Presentation)
Mesosphere Inc.
Replay Solutions CFD
Replay Solutions CFD
kilroy440
GlassFish REST Administration Backend
GlassFish REST Administration Backend
Arun Gupta
Boost Development With Java EE7 On EAP7 (Demitris Andreadis)
Boost Development With Java EE7 On EAP7 (Demitris Andreadis)
Red Hat Developers
Mais conteúdo relacionado
Mais procurados
Jdbc session02
Jdbc session02
Niit Care
Jdbc session01
Jdbc session01
Niit Care
Quality control in a cloudy world
Quality control in a cloudy world
Duncan Johnston-Watt
Learn Cloud-Native .NET: Core Configuration Fundamentals with Steeltoe
Learn Cloud-Native .NET: Core Configuration Fundamentals with Steeltoe
VMware Tanzu
SOA OSB suite cluster installation
SOA OSB suite cluster installation
Rakesh Gujjarlapudi
Ms Sql Server Black Book
Ms Sql Server Black Book
LiquidHub
5050 dev nation
5050 dev nation
Arun Gupta
What's new in Java Message Service 2?
What's new in Java Message Service 2?
Sivakumar Thyagarajan
Mais procurados
(8)
Jdbc session02
Jdbc session02
Jdbc session01
Jdbc session01
Quality control in a cloudy world
Quality control in a cloudy world
Learn Cloud-Native .NET: Core Configuration Fundamentals with Steeltoe
Learn Cloud-Native .NET: Core Configuration Fundamentals with Steeltoe
SOA OSB suite cluster installation
SOA OSB suite cluster installation
Ms Sql Server Black Book
Ms Sql Server Black Book
5050 dev nation
5050 dev nation
What's new in Java Message Service 2?
What's new in Java Message Service 2?
Destaque
JavaOne Tokyo LT : Internationalization
JavaOne Tokyo LT : Internationalization
Takayuki Okazaki
Lighting Talk at Sun Tech Days 2008, Tokyo
Lighting Talk at Sun Tech Days 2008, Tokyo
Takayuki Okazaki
Monitoring Sun Java System Identity Manager through JMX
Monitoring Sun Java System Identity Manager through JMX
Takayuki Okazaki
JJUG JavaOne 2009 報告会 Lightning Talk
JJUG JavaOne 2009 報告会 Lightning Talk
Takayuki Okazaki
Aizu IT Summer Forum, Open Source and Web Technologies
Aizu IT Summer Forum, Open Source and Web Technologies
Takayuki Okazaki
JJUG JavaOne 2009 報告会 Lightning Talk
JJUG JavaOne 2009 報告会 Lightning Talk
Takayuki Okazaki
Jenkins ユーザ・カンファレンス 2012 東京 S406-5 : 開発者とディレクターの視点を変えていく方法
Jenkins ユーザ・カンファレンス 2012 東京 S406-5 : 開発者とディレクターの視点を変えていく方法
Takayuki Okazaki
2012 08-23 Mame Night Jenkins
2012 08-23 Mame Night Jenkins
Takayuki Okazaki
jenkinsで遊ぶ
jenkinsで遊ぶ
(^-^) togakushi
Destaque
(9)
JavaOne Tokyo LT : Internationalization
JavaOne Tokyo LT : Internationalization
Lighting Talk at Sun Tech Days 2008, Tokyo
Lighting Talk at Sun Tech Days 2008, Tokyo
Monitoring Sun Java System Identity Manager through JMX
Monitoring Sun Java System Identity Manager through JMX
JJUG JavaOne 2009 報告会 Lightning Talk
JJUG JavaOne 2009 報告会 Lightning Talk
Aizu IT Summer Forum, Open Source and Web Technologies
Aizu IT Summer Forum, Open Source and Web Technologies
JJUG JavaOne 2009 報告会 Lightning Talk
JJUG JavaOne 2009 報告会 Lightning Talk
Jenkins ユーザ・カンファレンス 2012 東京 S406-5 : 開発者とディレクターの視点を変えていく方法
Jenkins ユーザ・カンファレンス 2012 東京 S406-5 : 開発者とディレクターの視点を変えていく方法
2012 08-23 Mame Night Jenkins
2012 08-23 Mame Night Jenkins
jenkinsで遊ぶ
jenkinsで遊ぶ
Semelhante a Monitoring Identity Manager by JMX
Understanding angular meteor
Understanding angular meteor
Entrepreneur / Startup
Operating Kubernetes at Scale (Australia Presentation)
Operating Kubernetes at Scale (Australia Presentation)
Mesosphere Inc.
Replay Solutions CFD
Replay Solutions CFD
kilroy440
GlassFish REST Administration Backend
GlassFish REST Administration Backend
Arun Gupta
Boost Development With Java EE7 On EAP7 (Demitris Andreadis)
Boost Development With Java EE7 On EAP7 (Demitris Andreadis)
Red Hat Developers
Eclipse microprofile config and OSGi config admin - E Jiang
Eclipse microprofile config and OSGi config admin - E Jiang
mfrancis
GlassFish REST Administration Backend at JavaOne India 2012
GlassFish REST Administration Backend at JavaOne India 2012
Arun Gupta
Dataservices: Processing Big Data the Microservice Way
Dataservices: Processing Big Data the Microservice Way
QAware GmbH
How to Test Enterprise Java Applications
How to Test Enterprise Java Applications
Alex Soto
Netflix Play API: Why we built an evolutionary architecture
Netflix Play API: Why we built an evolutionary architecture
Suudhan Rangarajan
A Groovy Kind of Java (San Francisco Java User Group)
A Groovy Kind of Java (San Francisco Java User Group)
Nati Shalom
Azure Service Fabric and the Actor Model: when did we forget Object Orientation?
Azure Service Fabric and the Actor Model: when did we forget Object Orientation?
João Pedro Martins
PuppetConf 2017: From Rollercoasters to Meerkats: 3 Generations of Production...
PuppetConf 2017: From Rollercoasters to Meerkats: 3 Generations of Production...
Puppet
What's new in DWR version 3
What's new in DWR version 3
Joe Walker
Episode 4: Operating Kubernetes at Scale with DC/OS
Episode 4: Operating Kubernetes at Scale with DC/OS
Mesosphere Inc.
Nick harris-sic-2011
Nick harris-sic-2011
Seattle Interactive Conference
Soasta Cloud Test
Soasta Cloud Test
MatthewSOASTA
Take the spaghetti out of windows azure – an insight for it pro techies part 2
Take the spaghetti out of windows azure – an insight for it pro techies part 2
Microsoft TechNet - Belgium and Luxembourg
Beyond the Basics: Advanced Infrastructure as Code Programming on AWS (DEV327...
Beyond the Basics: Advanced Infrastructure as Code Programming on AWS (DEV327...
Amazon Web Services
Srs format
Srs format
Chaitanya Bhusare
Semelhante a Monitoring Identity Manager by JMX
(20)
Understanding angular meteor
Understanding angular meteor
Operating Kubernetes at Scale (Australia Presentation)
Operating Kubernetes at Scale (Australia Presentation)
Replay Solutions CFD
Replay Solutions CFD
GlassFish REST Administration Backend
GlassFish REST Administration Backend
Boost Development With Java EE7 On EAP7 (Demitris Andreadis)
Boost Development With Java EE7 On EAP7 (Demitris Andreadis)
Eclipse microprofile config and OSGi config admin - E Jiang
Eclipse microprofile config and OSGi config admin - E Jiang
GlassFish REST Administration Backend at JavaOne India 2012
GlassFish REST Administration Backend at JavaOne India 2012
Dataservices: Processing Big Data the Microservice Way
Dataservices: Processing Big Data the Microservice Way
How to Test Enterprise Java Applications
How to Test Enterprise Java Applications
Netflix Play API: Why we built an evolutionary architecture
Netflix Play API: Why we built an evolutionary architecture
A Groovy Kind of Java (San Francisco Java User Group)
A Groovy Kind of Java (San Francisco Java User Group)
Azure Service Fabric and the Actor Model: when did we forget Object Orientation?
Azure Service Fabric and the Actor Model: when did we forget Object Orientation?
PuppetConf 2017: From Rollercoasters to Meerkats: 3 Generations of Production...
PuppetConf 2017: From Rollercoasters to Meerkats: 3 Generations of Production...
What's new in DWR version 3
What's new in DWR version 3
Episode 4: Operating Kubernetes at Scale with DC/OS
Episode 4: Operating Kubernetes at Scale with DC/OS
Nick harris-sic-2011
Nick harris-sic-2011
Soasta Cloud Test
Soasta Cloud Test
Take the spaghetti out of windows azure – an insight for it pro techies part 2
Take the spaghetti out of windows azure – an insight for it pro techies part 2
Beyond the Basics: Advanced Infrastructure as Code Programming on AWS (DEV327...
Beyond the Basics: Advanced Infrastructure as Code Programming on AWS (DEV327...
Srs format
Srs format
Último
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
Principled Technologies
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
The Digital Insurer
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
Anna Loughnan Colquhoun
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
Enterprise Knowledge
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
Michael W. Hawkins
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
Gabriella Davis
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
HampshireHUG
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
Malak Abu Hammad
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
wesley chun
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
sudhanshuwaghmare1
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
Delhi Call girls
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
Igalia
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
apidays
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
The Digital Insurer
How to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
naman860154
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
ThousandEyes
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
Martijn de Jong
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
The Digital Insurer
Último
(20)
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
How to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
Monitoring Identity Manager by JMX
1.
Monitoring Identity Manager by
JMX Takayuki Okazaki Solutions Architect, Software Practice http://blogs.sun.com/okazaki
2.
GOAL Understanding JMX monitoring
feature which introduced from Identity Manager 7.0 Copyright © 2007 Sun Microsystems K.K. 2
3.
NOTICE • This is
NOT officially verified document of Identity Manager. All information in this document are based upon personal research. Copyright © 2007 Sun Microsystems K.K. 3
4.
Agenda
About JMX • Identity Manager and JMX • Configuration instruction • Demo • TIPS • Copyright © 2007 Sun Microsystems K.K. 4
5.
About JMX • Standard
API for monitoring and managing JVM, services, and applications. > JSR 3: Java Management Extensions (JMX) • Monitoring and Managing from remote client > JSR 160: JMX Remote API • Target use case of JMX > Referring and modifying application configuration > Gathering statistics about the application > Notify error or status change Copyright © 2007 Sun Microsystems K.K. 5
6.
Benefit of JMX
Lightweight • Secure • Scalable monitoring & management architecture • Easy to engage existing management solutions (like • SNMP, WBEM) Copyright © 2007 Sun Microsystems K.K. 6
7.
Scope of JMX
Specifications Copyright © 2007 Sun Microsystems K.K. 7
8.
What can monitor
by JMX? • Java VM > OS and environment, JVM options, Memory and Garbage collection, Threads • Web Container > Performance statistics, Cache, status of a connections, Connection pool, Thread pool • Application > All exposed MBeans(Managed bean) Copyright © 2007 Sun Microsystems K.K. 8
9.
Example
Memory Thread CPU Class Copyright © 2007 Sun Microsystems K.K. 9
10.
More use case •
Notify events to JMX clients > Errors and warnings > Status change • Invoking operations > Garbage collection > Test connection > State change • Advanced use case > Self tuning and self management (like GlassFish v2) Copyright © 2007 Sun Microsystems K.K. 10
11.
JMX Remote and
Security • Authentication > UserId/Password authentication by MBean server • Protecting connection > TLS and SSL Authentication through userid/pwd Copyright © 2007 Sun Microsystems K.K. 11
12.
SNMP and JMX •
Several MBeans are monitored through SNMP > http://java.sun.com/javase/6/docs/technotes/guides/man agement/snmp.html • JVM related info can be monitored by SNMP > OS and environment, classpath and JMV options, JIT, classloader, threads, GC, memory, memory pool and logging Copyright © 2007 Sun Microsystems K.K. 12
13.
JMX tools • JConsole
> Bundled with JDK 5 or later • MC4J (http://mc4j.org) > Open source monitoring tool • Sun Java System Management Framework > Bundled with Java ES 5 > Opensourced: http://proctor.dev.java.net • More.. > HP Openview, AdventNet ManagemeEngine Applications Manager, ... Copyright © 2007 Sun Microsystems K.K. 13
14.
JConsole • Graphical management
tool • You can develop additional plugin for JConsole Copyright © 2007 Sun Microsystems K.K. 14
15.
Identity Manager and
JMX • Support starts from Identity Manager 7.0 • Status of cluster/server, Scheduler, information about Resources, status of ActiveSync Copyright © 2007 Sun Microsystems K.K. 15
16.
Cluster ObjectName=IDM:type=Cluster
Attribute name Description ActiveServers List of active IDM servers KnownServers List of known IDM servers NewlyFailedServers Most recent list of failed IDM servers Alive Is polling thread alive? PollingInterval Polling interval (in milli-seconds) Copyright © 2007 Sun Microsystems K.K. 16
17.
Example: Cluster
ObjectName=IDM:type=Cluster Copyright © 2007 Sun Microsystems K.K. 17
18.
Servers ObjectName=IDM:type=Cluster,service=Server,name=”<Server name>”
Attribute name Description CreateDate Date of server created Creator Name of user who create this server Deleted Is this object deleted? Heartbeat HeartbeatDate Most recent heart beat time State StateString Status of this server ObjectName=IDM:type=Server Attribute name Description Name Name of the server Status StatusDisplay Status of this server Copyright © 2007 Sun Microsystems K.K. 18
19.
Example: Servers
ObjectName=IDM:type=Cluster,service=Server,name=”<Server name>” ObjectName=IDM:type=Server All servers are listed Same server to JMX server Copyright © 2007 Sun Microsystems K.K. 19
20.
Resources ObjectName=IDM:type=Cluster,service=Resource,resType=”<Resource type>”, name=”<Resource name>”
Attribute name Description CreateDate Date of resource creation Creator Creator user name Deleted Is this object deleted? LastModificationDate Last modified date MostRecentActivity Most recent activity MostRecentActivityDate Most recent activity date MostRecentActivityDateMS Test connection to each resource feature availble. Copyright © 2007 Sun Microsystems K.K. 20
21.
Example: Resources ObjectName=IDM:type=Cluster,service=Resource,resType=”<Resource
type>”,name=”<Resource name>” All resource type/resources are listed Copyright © 2007 Sun Microsystems K.K. 21
22.
Connection test (IDM->Resource)
Invoke test connection Success case Failure case Copyright © 2007 Sun Microsystems K.K. 22
23.
ActiveSync ObjectName=IDM:type=Cluster,service=Synchronization,component=ActiveSync resType=”<Resource type>”,name=”<resource name>”
Attribute name Description ProgressString Progress string ErrorStatusString Error string LastPollAttempt Last ActiveSync date NextPollAttempt Next ActiveSync date LastModNum Last modification number LastModDate Last modification date LastKnownServer Last server name which starts this ActiveSync LastStartTime Last start time State, StateString Status of this active sync Copyright © 2007 Sun Microsystems K.K. 23
24.
Example: ActiveSync ObjectName=IDM:type=Cluster,service=Synchronization,component=ActiveSync resType=”<Resource type>”,name=”<Resource
name>” All ActiveSyncs which is: - currently running - failure or scheduled Copyright © 2007 Sun Microsystems K.K. 24
25.
SPE Sync ObjectName=IDM:type=Cluster,service=Synchronization,component=SPE Sync resType=”<Resource
type>”,name=”<Resource Name>” Attribute name Description ProgressString Progress string ErrorStatusString Error string LastPollAttempt Last SPE Sync date NextPollAttempt Next SPE Sync date LastModNum Last modification number LastModDate Last modification date LastKnownServer Last server name which starts this SPE Sync LastStartTime Last start time State, StateString Status of this SPE sync Copyright © 2007 Sun Microsystems K.K. 25
26.
Scheduler 1 of
2 ObjectName=IDM:type=Scheduler Attributes Description Cycles ? ErrorCount ? ExpiredCount ? FinishedCycleCounter ? FinishedCycleTIme ? LaunchedCount ? ReadyCount ? ReadyCycleCounter ? ReadyCycleTime ? Copyright © 2007 Sun Microsystems K.K. 26
27.
Scheduler 2 of
2 ObjectName=IDM:type=Scheduler Attribute name Description MostRecentHeartbeat Most recent heart beat time ScheduledCycleCounter ? ScheduledCycleTime ? Status StatusDisplay Status of scheduler Copyright © 2007 Sun Microsystems K.K. 27
28.
Example: Scheduler
ObjectName=IDM:type=Scheduler Copyright © 2007 Sun Microsystems K.K. 28
29.
Event notification
Heart beat events are notified if you subscribe to Scheduler event Copyright © 2007 Sun Microsystems K.K. 29
30.
Configuration • Identity Manager •
Application Server • JConsole Copyright © 2007 Sun Microsystems K.K. 30
31.
Identity Manager 1
of 2 (1) Settings (2) Servers (3) Click your server Copyright © 2007 Sun Microsystems K.K. 31
32.
Identity Manager 2
of 2 (1) JMX (2) Turn off default setting (3)Turn on JMX Copyright © 2007 Sun Microsystems K.K. 32
33.
Application Server
Memorize Port number Authentication realm Turn off if you want to use JConsole Admin Service Copyright © 2007 Sun Microsystems K.K. 33
34.
JConsole 1 of
2 JConsole bundled with JDK 6 JConsole bundled with JDK 5 Remote process Copyright © 2007 Sun Microsystems K.K. 34
35.
JConsole 2 of
2 JMX URL service:jmx:rmi:///jndi/rmi://<hostname>:<port> /management/rmi-jmx-connector User name and password Default setting of Sun Java System App Server is “admin-realm”, which is same user of app server administrator (default user name: “admin”) Copyright © 2007 Sun Microsystems K.K. 35
36.
Demo environment
JConsole idm1 idm2 resource1 resource2 Solaris Container idmdb Copyright © 2007 Sun Microsystems K.K. 36
37.
Monitoring from command
line • Most customers already have corporate standard monitoring tool, but it may not supports JMX • Most monitoring tools have a capability to invoking monitoring command • Using scripting languages which running on Java > JRuby, JavaScript, Groovy, Pnuts, (JavaFX!)... etc > Easy to customize Copyright © 2007 Sun Microsystems K.K. 37
38.
Example: JRuby
Gathering ActiveSync Status #!/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=quot;(.+?)quot;,resType=quot;(.+?)quot;/ =~ cname puts quot;Resource Type: #{$2}, Name: #{$1}, ” + “Status: #{conn.get_attribute(name, 'StateString')}quot; 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. 38
39.
Information • Custom JMX
clinet using JRuby (Japanese) > 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. 39
40.
JMX Identity Manager Takayuki Okazaki takayuki.okazaki@sun.com http://blogs.sun.com/okazaki
Baixar agora