Monday Apr 21, 2008

Flying Container Tutorium bei den Frühjahrsfachgesprächen der GUUG

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

Visualizing Solaris Cluster Resource Group and Resouce dependencies/affinities

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 :-)

Wednesday Apr 02, 2008

Screencast on how to install a single node cluster available!

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

Open HA Cluster Tutorium bei den Frühjahrsfachgesprächen der GUUG

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.

Friday Feb 22, 2008

Solaris Cluster Express 02/08 available!

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

GDS coding template with technical presentation released

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

OpenSolaris Test Development Project endorsed by HA Clusters community group

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!

Thursday Dec 13, 2007

Call for 3rd party HA agents

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

IRC chat room #OHAC opened for conversation

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

Monday Dec 03, 2007

OHAC Tech Day demo - why duplicate IP is not helping...

For the folks attending today the presentation "Discovering Open High Availability Cluster" within the OpenSolaris Day at the Sun Tech Days in Frankfurt, wondering why my little live demo got the problem not being able to even ping the local configured IP (192.168.0.1 on bge0), here is the reason:

Since my demo did just require bge0 to have its IP link up (since otherwise the IPMP group used for Solaris Cluster Express would be down), I plugged in the cable from the speaker table. And I did prepare the demo using 192.168.0.1 and 192.168.0.2. So my fault was to not check if those IPs are already being used - Murphy strikes - and I had bad luck:


Dec  3 16:09:53 kosh ip: [ID 567813 kern.warning] WARNING: bge0 has duplicate address 192.168.000.001 (in use by 00:30:1b:b6:12:20); disabled
Dec  3 16:09:53 kosh in.routed[372]: [ID 238047 daemon.warning] interface bge0 to 192.168.0.1 turned off

And of course after I stopped the resource group, unconfigured bge0 in order to configure the IP manual again, the same thing happened (no surprise there):


Dec  3 16:11:42 kosh Cluster.PNM: [ID 914440 daemon.error] sc-net has been deleted.
Dec  3 16:11:42 kosh If sc-net was hosting any HA IP addresses then these should be restarted.
Dec  3 16:11:55 kosh mac: [ID 486395 kern.info] NOTICE: bge0 link down
Dec  3 16:11:56 kosh mac: [ID 435574 kern.info] NOTICE: bge0 link up, 100 Mbps, full duplex
Dec  3 16:12:09 kosh ip: [ID 567813 kern.warning] WARNING: bge0 has duplicate address 192.168.000.001 (in use by 00:30:1b:b6:12:20); disabled
Dec  3 16:12:09 kosh in.routed[372]: [ID 238047 daemon.warning] interface bge0 to 192.168.0.1 turned off
Dec  3 16:12:31 kosh in.mpathd[254]: [ID 975029 daemon.error] No test address configured on interface bge0; disabling probe-based failure detection on it

Since I did not want to waste a lot of time with debugging during the talk I did not spot this rather obvious issue. So sorry for the not working demo, hope the talk was useful anyway! If you really want to watch the demo (to see that it really works if you don't screw the IP setup ;-), you can refer to my blog explaining how to watch the presentation given at the SourceTalk 2007 event in Göttingen, where I used the same demo (and had network working).

Wednesday Nov 14, 2007

SourceTalk 2007 Reloaded

In einem früheren Blog habe ich für meine Präsentation auf den Source Talk Tagen 2007 an der Universität Göttingen geworben. Einige Präsentationen wurden dabei live mit dem TeleTeachingTool (TTT) aufgezeichnet - darunter auch "Hochverfügbarkeit mit Open HA Cluster".

Es gibt eine Liste von aufgezeichneten Vorträgen, vom Open HA Cluster Vortrag gibt es eine Version ohne Video (25 MB) und mit Video (82 MB). Eine Anleitung, wie man die notwendige Software (Java, Java Media Framework, TTT) zum abspielen installiert, ist verfügbar für Linux, Windows und MacOS. TTT spielt dabei das aufgezeichnete Video mit Ton synchronisiert zu den Slides.

Für Solaris (SPARC und x64/x86) habe ich folgende Vorgehensweise ausprobiert, dabei wird das bereits vorhandene Java und Java Media Framework von Solaris benutzt. Mein System lief uner Solaris Express Community Edition build 69:

  1. Tele teaching Tool runterladen (jar archiv) und nach /usr/local/lib/ttt/ kopieren:
    $ mkdir -p /usr/local/lib/ttt
    $ cp ttt.jar /usr/local/lib/ttt/

  2. Das Skript ttt.ksh runterladen und nach /usr/local/bin/ kopieren:
    $ cp ttt.ksh /usr/local/bin/
    $ chmod 755 /usr/local/bin/ttt.ksh

  3. Präsentation (hier mit Video) runterladen (z.B. nach /var/tmp).

  4. Archiv auspacken:
    $ cd /var/tmp
    $ unzip 2007_09_19-01_v.zip

  5. Präsentation starten:
    $ /usr/local/bin/ttt.ksh 2007_09_19-01.ttt

Die Präsentation Virtualisierung mit OpenSolaris von Ullrich Gräf (ohne Video (250MB), mit Video (311 MB)) sollte man sich auch nicht entgehen lassen!

Viel Spass beim anschauen!

Saturday Nov 10, 2007

Two technical presentations published at the Open HA Cluster community page

Two technical presentations got published on the Open HA Cluster community web page. A new section got added to the Documentation area.

The first was given to the Cluster Technology Forum in August 2005. At that time, SC 3.1 08/05 with the HA-Container agent was just released. The presentation explains how some SUNW.gds-based agents are changed in order to work in the traditional RGM model as well as within a non-global zone, which is under HA-Container agent control. The content still applies to the GDS-based agents today with Sun Cluster 3.2 and Open HA Cluster. It helps to understand the code flow for the different deployment scenarios with zones.

The second was given to the Customer Engineering Conference (CEC) in October 2006. It explains the two principle models on how Sun Cluster 3.2 interacts with Solaris Zones. Both models are explained and contrasted with decision criteria as to which model to choose, based on application and service requirements.

Monday Nov 05, 2007

New Open HA Cluster Agent source code and Solaris Cluster Express 10/07 released

Last week Sun released the third source drop for Open HA Cluster Agents (ohacds-src-20071030.tar.bz2), together with the Solaris Cluster Express 10/07 release.

The updated ohacds agent gate is also available through OpenGrok. You will find an overview of the integrated changes within the changelog.

You can study the latest changes within the HA Container agent, which is now also able to handle non-global zones of brand type solaris8 on the SPARC platform (currently available for Solaris 10 10/07 as an unbundled product called Solaris 8 Migration Assistant). Patch 120590-06 makes those changes available for Sun Cluster 3.1 08/05. Support for Sun Cluster 3.2 will get introduced with the next update release.

Sunday Sep 02, 2007

Open HA Cluster auf den Source Talk Tagen 2007

Vom 17.-19. September 2007 finden zum dritten mal die Source Talk Tage an der Universität Göttingen statt. Veranstalter sind die Sun User Group Deutschland e.V. und die Java User Group Deutschland e.V..

Am 19. September steht das Programm u.a. unter dem Motto "OpenSolaris und Java - Systeme und Technologien". Dort werde ich von 10:15-11:15 Uhr und 13:30-15:30 Uhr ein Installfest anbieten, bei welchem Besucher auf einem geeigneten Laptop Unterstützung bei der Installation von Solaris Express Community Edition (build 68 oder neuer) und Solaris Cluster Express 07/07 und Konfiguration eines single node Cluster bekommen. Wer schon vorher mit Vorbereitungen beginnen möchte, orientiert sich am besten an der "How to Install a Single-Node Cluster" Anleitung.

Von 11:30-12:30 Uhr gebe ich eine Präsentation mit dem Titel "Open Solaris: Hochverfügbarkeit mit Open HA Cluster".

Zum Abschluss gibts von 15:30-17:00 Uhr noch einen OpenSolaris "meet the experts" Praxisworkshop, bei dem Besucher meinem Kollegen Ulrich Gräf und mir Fragen rund um das Thema OpenSolaris und im speziellen zu den präsentierten Themen stellen können. Bei Interesse kann hier auch gerne das eine oder andere live am Laptop demonstriert werden.

Man sieht sich also am 19. September 2007 in Göttingen! :-) 

Thursday Aug 30, 2007

New Open HA Cluster Agent source code released

The second source drop got released for the ohacds gate (ohacds-src-20070816.tar.bz2).

Highlights are the source release of two more agents:

And the ability to now also build the source using gcc: /opt/scbld/bin/nbuild -Da CW_NO_SHADOW=# __GNUC=

There is also a changelog available to summarize the included Bug fixes and RFE since the first source drop (ohacds-src-20070626.tar.bz2).

About

This Blog is about my work at Availability Engineering: Wine, Cluster and Song :-) The views expressed on this blog are my own and do not necessarily reflect the views of Sun and/or Oracle.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today