Sunday, January 13, 2008

Zones Automation In The Real World

Hello again,

I am putting together a zones automation presentation for an internal training event for Sun that is occurring toward the end of February. One of the goals for that presentation is to provide 5-10 real world fully automated deployment scenarios using zones that can be delivered through the Zone Manager. For example, last week I posted an example titled The WebPress® 2-Step. If you have ideas of service deployment automation that you have done or would like to see done through the Zone Manager, send those ideas to me via e-mail or through a comment to this blog. When I complete the presentation, I will share the presentation and any other great deployment examples through this blog.

If you would like to see my existing presentations for the Zone Manager, they are available here.

Thats it for now. Blessings to you all!

Brad


4 comments:

Brad Diggs said...

For everyone's benefit, here is the list of the use cases that I have assembled thus far.

Please note that these are not in any particular order.

* WordPress® (already done)
* Each Java ES component product independently installed with basic config.
* IBM WebSphere
* RoundCube WebMail
* OpenDS
* Apache (or Tomcat): CMS + N-ReadOnly Web Server Zones
* CMS Systems: Zope and Drupal
* DSEE6 DS+DPS in two separate zones
* MySQL with WebAdmin [phpmyadmin]
* File Server with admin [samba]
* Filtering WebProxy [squid+dansguardian]
* DNS Server
* Messaging Server (IMAPS, POPS, SMTPS -> [Cyrus|Dovecot]/Postfix/scanner
* Streaming server (Darwin[dss])
* Bug Tracker [mantis]
* WebDave File Server
* Search Engine (namazu)
* OpenLDAP with ldap admin (phpldapadmin)

If you have other ideas, please post them in the comments or e-mail me.

If anyone wants to work on any of these use cases, please feel free to get after it and mail me your writeup. ;-)

Dabbi said...

Brad,

Just noticed your post on the OpenSolaris forums concerning the zonemgr program.

I work in a QA group where we are working on automating software testing (continuous integration tests) and we are using Zones to isolate test cases from each other (Solaris 10u4 though, running on SPARC).

What would be of interest for us further down the line is to be able to automate the creation of a zone when a software package needs to be tested, run the tests and then remove the zone once the test is done.

I am not sure how feasible this is or if it is a strategy worth pursuing but I will definitely be looking into this later this year.

Best regards,

/David

Brad Diggs said...

Hi David,

This is a perfect use case for The Zone Manager. In fact, I have been using it for that very purpose in QA testing Sun's Directory Server product since The Zone Manager's inception.

One further note for the benefit of your use case. Now that Sun also offer's xVM you can further enhance your QA testing by setting up Solaris version specific xVM instances. Then use The Zone Manager to create up/test/tear down zones within the xVM instances. This enables you to QA your product in a clean consistent environment for multiple Solaris versions.

As a side note, one of my future projects is to extend The Zone Manager to support xVM instance creation and management.

Hope that helps!

Brad

Dabbi said...

Thanks for your input. It makes me feel like there is good sense in my line of thinking!

As for xVM, we won't be using that since we are a Solaris/SPARC shop only. Are are a Linux shop as well however and Xen is also a technology that is on our todo list. We have however been running Linux VM's for QA purposes under VMWare ESX setup. But with all these different VM technologies emerging, it would be silly to put your eggs in one basket...