kitty apachecon 2010

15
8/8/2019 Kitty Apachecon 2010 http://slidepdf.com/reader/full/kitty-apachecon-2010 1/15  The Small Cat, Administering Production  Tomcat with Kitty (podling setup pending) http://www.unlikelywords.com/wp-content/uploads/2010/03/flying-vat.jpg Thursday, November 4, 2010

Upload: msacks2dot0

Post on 10-Apr-2018

219 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Kitty Apachecon 2010

8/8/2019 Kitty Apachecon 2010

http://slidepdf.com/reader/full/kitty-apachecon-2010 1/15

 The Small Cat, Administering Production

 Tomcat with Kitty 

(podling setup pending)

http://www.unlikelywords.com/wp-content/uploads/2010/03/flying-vat.jpg

Thursday, November 4, 2010

Page 2: Kitty Apachecon 2010

8/8/2019 Kitty Apachecon 2010

http://slidepdf.com/reader/full/kitty-apachecon-2010 2/15

msacks$ whoami

• Matthew Sacks (dot com)

• Background in Application Operations

• Most recently worked for Edmunds.com,

• Currently App engineer for GlassCode

• Writer / Editor for TheBitsource.com

• Written for TomcatExpert.com

• Coder

Thursday, November 4, 2010

Page 3: Kitty Apachecon 2010

8/8/2019 Kitty Apachecon 2010

http://slidepdf.com/reader/full/kitty-apachecon-2010 3/15

Command-line based admin tools to make it easier

and faster to administer in production deployments.

Tomcat does not have one currently.

Thursday, November 4, 2010

Page 4: Kitty Apachecon 2010

8/8/2019 Kitty Apachecon 2010

http://slidepdf.com/reader/full/kitty-apachecon-2010 4/15

Enterprise-class Java

 Application Servers

Thursday, November 4, 2010

Page 5: Kitty Apachecon 2010

8/8/2019 Kitty Apachecon 2010

http://slidepdf.com/reader/full/kitty-apachecon-2010 5/15

Enterprise-class Java

 Application Servers

Thursday, November 4, 2010

Page 6: Kitty Apachecon 2010

8/8/2019 Kitty Apachecon 2010

http://slidepdf.com/reader/full/kitty-apachecon-2010 6/15

Issues in Administering 

 Tomcat• No command line administration tool for

 Tomcat• Command line tools are good for resolving 

incidents in realtime

• CLI utilities are easily automatable, GUIutilities not-so-much

Thursday, November 4, 2010

Page 7: Kitty Apachecon 2010

8/8/2019 Kitty Apachecon 2010

http://slidepdf.com/reader/full/kitty-apachecon-2010 7/15

Image

•  Tomcat is perceived by many as a non-enterprisegrade platform, even though it is one (Walmart,Etrade, etc)

• Most of the major enterprise-class Java app serversinclude an automation utility (JBoss Fiddle, Oracle Weblogic WLST, IBM WebSphere)

https://reader009.{domain}/reader009/html5/0527/5b0a11f35ba8e/5b0a11f91ee69.jpg

Thursday, November 4, 2010

Page 8: Kitty Apachecon 2010

8/8/2019 Kitty Apachecon 2010

http://slidepdf.com/reader/full/kitty-apachecon-2010 8/15

http://www.csh.rit.edu/~chrisc/stuff/u2_cockpit.jpg

Building your own tools

• Can be time consuming

• No best practices baked in

• Another thing to maintain

Thursday, November 4, 2010

Page 9: Kitty Apachecon 2010

8/8/2019 Kitty Apachecon 2010

http://slidepdf.com/reader/full/kitty-apachecon-2010 9/15

http://www.thetorquereport.com/asonmartindbsoff_033.jpg

Simplicity and speed are key to managingproduction apps

• Command line tools improve usability

and increase adoption

• Easy to automate

• No time to dig (site or business processtanking)

• Can be integrated with other CM tools

like Puppet, CfengineThursday, November 4, 2010

Page 10: Kitty Apachecon 2010

8/8/2019 Kitty Apachecon 2010

http://slidepdf.com/reader/full/kitty-apachecon-2010 10/15

 JMX + Jython (soon to

be Groovy)

•  JMX: Java Management Extensions

•  Jython: Java implementation in Python

•Groovy (easier to build and deploy)

Thursday, November 4, 2010

Page 11: Kitty Apachecon 2010

8/8/2019 Kitty Apachecon 2010

http://slidepdf.com/reader/full/kitty-apachecon-2010 11/15

Current Capabilities

• Getting / setting / invoking Mbeans

• Invoking remote methods

• Simple Unix-like hierarchical interface (cd, ls,

help, invoke, get, set)

•  Automation capabilities

•Base framework implemented, features will

come out of the community need

• It’s Fast

•Customizable

Thursday, November 4, 2010

Page 12: Kitty Apachecon 2010

8/8/2019 Kitty Apachecon 2010

http://slidepdf.com/reader/full/kitty-apachecon-2010 12/15

Demo

Thursday, November 4, 2010

Page 13: Kitty Apachecon 2010

8/8/2019 Kitty Apachecon 2010

http://slidepdf.com/reader/full/kitty-apachecon-2010 13/15

Future Roadmap•  Ability to manage and monitor groups of 

independent Tomcat servers and Clusters

• Auto-completion of syntax

• Security (SSL/Login)

• Detect Thread Starvation, Aggregate GC Times, Reset counters on a schedule, Servletload times across a group or cluster

•  Tomcat 7

• Groovy PortThursday, November 4, 2010

Page 14: Kitty Apachecon 2010

8/8/2019 Kitty Apachecon 2010

http://slidepdf.com/reader/full/kitty-apachecon-2010 14/15

 We need your help

•  We need feedback and contributors

• Can be used as a framework for more than

 Tomcat (Geronimo, Cassandra, Commercial)

• Base framework created, needs rich featuresets next

• Help make Tomcat simpler to manage andautomate for production deployments (andincrease adoption)

Thursday, November 4, 2010