Monday Jun 23, 2008

If you are still running applications on Solaris 8 using SPARC hardware and maybe even using Sun Cluster 3.0, then you should get a plan ready to upgrade to a more recent releases like Solaris 10 and Solaris Cluster 3.2 02/08.

As you might know the last ship date for Solaris 8 was 02/16/07, the end of Phase 1 support is scheduled for 3/31/09.

Sun Cluster 3.0 is also reaching its end of life as announced within the Sun Cluster 3.2 Release Notes for Solaris OS.

In case you can not immediately upgrade to a newer Solaris release, Sun recently announced the Solaris 8 Container, which introduces the solaris8 brand type for non-global zones on Solaris 10. The packages can be freely downloaded for evaluation and would require subscription for the RTU and support.

While the solaris8 brand type is NOT extending the support life for Solaris 8, it allows you a phased approach for migrating to Solaris 10 and leveraging new hardware platforms while the application still runs within a Solaris 8 runtime environment.

The Sun Cluster Data Service for Solaris Containers does support the solaris8 brand type for Sun Cluster 3.1 08/05 with Patch 120590-06 and for Solaris Cluster 3.2 with Patch 126020-02 and newer.

Before going through the virtual to physical (p2v) migration, the existing Sun Cluster 3.0 configuration and packages need to get removed. See the Sun Cluster 3.0 System Administration Guide for more details on how to achieve that. This also means that there is no cluster framework running within the solaris8 brand type zone. Therefore existing standard agents can not be used. However, the sczsh component of the HA Container agent can be used to manage an application running within that solaris8 branded zone.

Of course any migration should get carefully planned.

The same works and is true for the recent announced Solaris 9 Containers. Patch 126020-03 introduces support for the solaris9 brand type for the HA Container agent on Solaris Cluster 3.2.

Tuesday Jun 03, 2008

Meine Anwesenheit in Berlin wegen dem LinuxTag 2008 konnte ich glücklicherweise mit einem Vortrag bei der hiesigen OpenSolaris User Group verbinden. Am Mittwoch, 28.5.2008 um 19:30 Uhr, sollte der Vortrag stattfinden. Allerdings sorgten erstmal ein paar Missverständnisse dafür, daß es trotz pünktlicher Ankunft in der Tucholskystr. 48 gegen 19 Uhr zu einer viertelstündigen Verspätung kam :-( Durchaus nicht meine Art!

War aber erleichtert festzustellen, daß die Teilnehmer geduldig waren - und mich noch dazu bis etwa 21:30 Uhr haben vortragen lassen! Eine Stunde mehr als geplant - das entgegengebrachte Interesse war wirklich toll und hat zu interessanten Fragen und Diskussionen geführt.

Habe mich dann noch dem traditionellen Abendessen beim Inder um die Ecke angeschlossen, welches zu einer Fortsetzung der Gespräche und Austausch von Anekdoten rund um Open HA Cluster, OpenSolaris und die Wunder der IT bis etwa 24 Uhr eingeladen hat.

Insgesammt kann ich nur empfehlen die OpenSolaris User Group in Berlin als Interessierter oder Vortragender zu besuchen, nette und interessierte Leute, vom Anfänger bis zum alten Hasen alles dabei :-)

Anbei mein Vortrag zum runterladen. Mein Dank geht an Franz Timmer und Detlef Drewanz für diese Gelegenheit und an die Teilnehmer für das rege Interesse!

Sun Microsystems hatte einen Stand als Aussteller und Sponsor auf dem LinuxTag 2008 in Berlin. Dort gab es unter anderen auch einen Arbeitsplatz zu Open High Availability Cluster, an dem man mit Hartmut Streppel (Mi/Do), Heiko Stein (Fr/Sa), Eve Kleinknecht (Do/Fr/Sa) und mir (Mi/Do/Fr/Sa) alle Informationen und Fragen rund um das Thema Hochverfügbarkeit diskutieren und Demonstrationen live anschauen konnte. Vielen Dank an die Kollegen für die tolle und kompetente Unterstützung!

Am Samstag gab es dann innerhalb des OpenSolaris Track den Vortrag zu Hochverfügbarkeit mit Open HA Cluster, inclusive live Demonstration eines Serviceschwenk von HA PostgreSQL (Datenbank, IP, zpool (auf USB-Stick)) zwischen zwei Solaris Zonen, konfiguriert auf meinem Laptop als Single-Node Cluster (Solaris Express Community Edition 01/08 und Solaris Cluster Express 02/08). Eine prima Umgebung um sich mit der Technologie vertraut zu machen oder Agentenentwicklung zu betreiben.

Die gleiche Konfiguration kann man übrigens auch innerhalb einer VirtualBox installieren. Diese Option hatten wir auf dem Ausstellungsstand ebenfalls vorgeführt.

Anbei die Präsentation zum download.

Samstags gab es dann auch die Keynote von Ian Murdock, in welcher unter anderem die dritte Open Source Phase zu Open HA Cluster angekündigt wurde: ca. 2 Millionen Zeilen Quellcode des Solaris Cluster Core Framework! Ab jetzt ist also der komplette Quellcode von Open HA Cluster verfügbar! 

Es gibt zwei kleine Video von Terri Molini mit Eindrücken vom LinuxTag und von der LinuxNacht und Keynote.

Insgesammt hat sich der LinuxTag 2008 für mich gelohnt. Es gab viele neue Kontakte und interessante Gespräche. Nicht zuletzt hoffe ich das wir das Thema Open HA Cluster als nützlich und relevant darstellen konnten. 

Tuesday May 13, 2008

Vom 28. bis 31. Mai 2008 findet die 14. Auflage Europas führender Veranstaltung zu Linux und Open Source auf dem Berliner Messegelände unter dem Funkturm statt. Der LinuxTag 2008 zieht rund 10000 Messebesucher an, darunter IT Entscheider, Anwender, Entwickler und diverse Open Source Projekte und Gemeinschaften aus über 30 Ländern.

Mit über 80 Aussteller von freien Projekten gehört der LinuxTag zu den weltweit größten Messen für Open Source Software, und bietet Gelegenheit direkt mit den Entwicklern in Kontakt zu treten um aktuelle Trends zu diskutieren.

Sun Microsystems wird auf dem LinuxTag einen Stand mit mehreren Arbeitsplätzen zu diversen Open Source Projekten ausstellen. Darunter wird auch das Open High Availability Cluster Projekt sein. Dort gibt es Gelegenheit einen Überblick zu aktuellen Cluster Projekten zu bekommen, über jedes erdenkliche Cluster Thema von Interesse zu diskutieren, bis hin zu Live Demonstrationen oder Quelltext Analysen.

Hartmut Streppel und ich halten am Mittwoch, 28. Mai 2008, ein ganztägiges Tutorium über Open HA Cluster und Flying Containers.

Am Samstag, 31. Mai 2008, werde ich eine Präsentation zum Thema "Hochverfügbarkeit mit Open HA Cluster" innerhalb des OpenSolaris Themenblocks geben. Details findet man in der Agenda.

Hier ist eine persönliche Einladung von mir (vielen Dank an Deirdré Straughan für Ihre Geduld bei der Aufnahme):

Freue mich möglichst viele von Euch in Berlin zu sehen!

Monday Apr 21, 2008

Wie bereits in meinem vorherigen Blog erwähnt, konnten Hartmut Streppel und ich ein ganztägiges Tutorium bei den Frühjahrsfachgesprächen 2008 der GUUG bestreiten. Hier nun der Verweis auf den zweiten Teil "Flying Container" von Hartmut:

  • Überblick Solaris Container mit Demo
  • Flying Container vs. Flying Service
  • Flying Container Setup mit Demo
  • Flying Container und Disaster Recovery mit Demo

Wednesday Apr 09, 2008

Solaris Cluster did improve a lot with the new command line interface and the updated Solaris Cluster Manager Browser User Interface (BUI) within the 3.2 and 3.2 02/08 release. The BUI has a Topology view for resource groups and resources in order to visualize the various dependencies and affinities the cluster framework offers.

It is also a good idea to document a cluster configuration carefully. For that purpose an online view within a BUI is not always helping. And sometimes you want to see all dependencies/affinities within one graph.

Fortunately the cluster framework does offer the scha_cmds(1HA) API, which makes it possible to retrieve all informations out of the cluster and use them e.g. in shell scripts. And there are already tools available as open source which do a great job in visualizing graphs. One tool I selected is Graphviz, which is available for a lot of platforms, including Solaris. The Companion  Software CD for Solaris does provide a ready to install package for SPARC and x86.

I developed a shell script which extracts the necessary informations out of the cluster framework and creates two files, one for the resource groups with dependencies and various affinities, and one for the resouces with the various dependencies. The files contain the output ready for the dot language consumed by Graphviz. Here you can see some example outputs, in this case converted into png files. You can click on the images to enlarge them for better view.

<br>Resource group dependencies graph for the evans cluster
Figure 1: Resource dependencies graph for the evans cluster

Resource dependencies graph for the evans cluster
Figure 2: Resource dependencies graph for the evans cluster

Resource dependencies graph for the geo-muc1 cluster
Figure 3: Resource group dependencies graph for the geo-muc1 cluster

Graph to visualize resource dependencies for the geo-muc1 cluster - click to enlarge
Figure 4: Resource dependencies graph for the geo-muc1 cluster

Let me know if you would find such a script useful! I plan to publish it under a freshly proposed OpenSolaris project for Open HA Cluster utilities - if I get the necessary approval that is :-)

Thursday Apr 03, 2008

Krish Shankar from ISV engineering published a very nice and detailed blog illustrating the deployment process of MySQL on a Solaris Cluster configuration. It also focuses on regression and failover testing of HA MySQL, and explains in detail the tests that were performed.  Solaris 10 fully supports MySQL, and the HA cluster application agent for MySQL on Solaris Cluster.

Wednesday Apr 02, 2008

In addition to the online instructions on how to setup a single node cluster with Solaris Express and Solaris Cluster Express, there is now also a screencast available, which guides you through the necessary steps. So if you learn better through visual ways, check it out!

The screencast is also linked on the Open HA Cluster page. You will need a Shockwave Flash plugin for your browser to view it. The plugin installed with firefox on Solaris Express Developer Edition 01/08 works great to display it.

Thursday Mar 20, 2008

Am 13. März 2008 haben Hartmut Streppel und ich zusammen ein Tutorium über "Open HA Cluster" und "Flying Container" auf den Frühjahrsfachgesprächen 2008 an der Hochschule München abgehalten. Die Veranstaltung wird jährlich von der German Unix User Group organisiert.

Der erste Teil des Tutorium ist nun verfügbar, die 65 Seiten enthalten die Präsentation und Sprecherkommentare in Deutscher Sprache. Hier die Agenda im Überblick:

  1. Einführung in die Solaris™ Cluster Architektur
    • Core Cluster Framework
    • Data Services (Agenten)
    • Geographic Edition
  2. Einführung in das Open HA Cluster Projekt
    • HA Clusters Community Group
    • Open HA Cluster Agenten + aktuelle Projekte
    • Open HA Cluster Geographic Edition
    • Build Demo
  3. Einführung in die Template basierende Agentenentwicklung
PS: Der zweite Teil des Tutorium ist nun auch verfügbar.

Saturday Feb 23, 2008

Solaris Cluster Express 02/08 is available for download. It is build to run on Solaris Express Developer Edition 01/08. Have a look at the Release Notes for more details. Two things I want to highlight:

  1. This combination (SCX 02/08 and SXDE 01/08) is a good fit to get started and engaged with the HA xVM project, since SXDE 01/08 enables to configure the Sun xVM hypervisor for x86-64.
  2. SCX 02/08 delivers the HA Informix agent to manage Informix Dynamic Server, which is the first data service developed within the HA Clusters Community Group with community participation.
Happy Clustering!

Friday Feb 15, 2008

We released the GDS coding template under the Common Development and Distribution License (CDDL) Version 1.0, along with a technical presentation, which can also be delivered as a workshop. It gives an introduction into cluster agent development and then explains the GDS coding template in great detail.

The GDS coding template was developed by several engineers (including Neil Garthwaite, Detlef Ulherr and myself) and is based on experience and enhancements collected during the development of several standard agents in the past 3-4 years, which are also part of Open HA Cluster today.

The GDS coding template and the presentation is available on: http://opensolaris.org/os/community/ha-clusters/ohac/GDS-template/

It enables you to focus on the application specifics during custom agent development and allows a rapid development cycle.

If you develop a custom agent by using this GDS coding template, we also encourage you to contribute it back. We will be happy to add an entry to the third party HA agent repository or even sponsor an OpenSolaris project for it.

For any feedback or questions feel free to ask on the ha-clusters-discuss mailing list.

Wednesday Feb 13, 2008

The OpenSolaris Test Development Project just got announced, which is also endorsed by the HA Clusters community group. The interesting part is that this OpenSolaris project is also endorsed by the OS/Net (ON), Storage and Testing community group, which highlights an important goal of the project to really keep the various OpenSolaris test suites together under one umbrella.

From a Clustering perspective we already know very well that Clustering touches a lot of layers (both, within the hardware and the software stack) and brings individual products together, which then need to cooperate and work different as they would in a standalone isolated manner. So I welcome this effort and look forward to its progress!

Monday Jan 21, 2008

My colleague Neil Garthwaite from Availablility Engineering and Cherry Shu from ISV Engineering did write an article on BigAdmin about implementing IBM DB2 UDB V9 HA in a Solaris Cluster 3.2 Environment.

This paper provides step-by-step instructions on how to install, create, and enable DB2 Universal Database (UDB) V9 for high availability (HA) in a two-node Solaris Cluster 3.2 environment. The article demonstrates how to use ZFS as a failover file system for a DB2 instance and how to implement DB2 failover across Solaris Containers in the Solaris 10 Operating System.

Thursday Dec 13, 2007

Did you ever create an agent (also called data service) for Sun Cluster and maybe even published it on your blog or own website?

Did you ever wonder if someone wrote an custom agent for an application where Sun Cluster does not provide an standard agent for?

Then you might be interested to know that we created a repository for third party HA agents on the Open HA Cluster community portal. Anyone can add an entry there by providing the necessary informations for the table and sending them to the ha-clusters-discuss mailing list. The intent is to give those who have written custom agents the possibility to share the knowledge of existence with the community, and to give those who are in need of an custom agent a place to first look if there is something to leverage on.

Obviously such a repository only lives through participation, so happy HA agent sharing! :-) 

Wednesday Dec 12, 2007

Today I send out an announcement to ha-clusters-discuss that the contributors of the HA Clusters community agreed to create #OHAC, an IRC chat room available on freenode.net.

You can simply join in order to discuss any topic related to HA Clusters with your peers and interested parties. As time permits this channel will also get participation of existing contributors. Like with any chat, don't be disappointed if you don't get an immediate response - sometimes "real work" distracts from having fun ;-)

I also setup a brief page on the HA Clusters community portal with some hints on how to get started.

Of course this chat room only lives through participation, so see you all there!

ThorstenF@IRC

This blog copyright 2008 by tf