Am Mittwoch, 28. Januar 2009 18:22:31 schrieb Christian Schoepplein: > Hi, > > I'm new to HA with Linux and looking for a possibility to build a HA > cluster with apache, mysql > and a central file storage. I want to use heartbeat-2 to monitor the > nodes and services, for sure nothing new and many people have done this > before, but somehow I have difficulties to get started. I'm still not > sure if heartbeat is all I need to get such a cluster up and running, > there is so many other software around which seems also to fit our needs > (pacemaker, openais, etc.). So the first question would be if I can do > what I want with heartbeat-2?
Basically yes. Get a heartbeart version 2.1.4 and you'll be happy. > I have 2 identical Debian etch servers with heartbeat-2 installed on > every machine and first want to configure nodes, the ressources and the > constrains. Because of the new XML format used in heartbeat-2 another > difficulty comes up :(. Because I'm blind and the GUI to configure > nodes, ressources and constrains is not accessible for me :(. Editing > the cib.xml file manualy is not recommended, but what other > possibilities do I have to create a working configuration? Get some samples from the web site of the project. Copy and paste it to some local file. Add the configuration to your cluster with cibadmin. > Now I have the following questions? > > - Is heartbeat-2 the software I'm looking for, can I build a HA cluster > with apache, mysql and a central file storage with heartbeat-2 only? Definitely YES. Perhaps you will change to OpenAIS and pacemaker in the future. But for now you can start with heartbeat. pacemaker provides the same function as heartbeat and is based on the same philosophy. > - Is there a step to step howto somewhere out that describes all > necesary steps that are needed to build such a cluster? I found many > howtos but either they described a setup with heartbeat-1 or the > graphical frontend was used to create the configuration Read the Getting Startet pages of linux-ha.org or get a good book. I can recommend the one from O'Rilley! > - Is there another way to build the configuration of nodes, ressources > and constrains without using the GUI? I saw cibadmin for example but > with this tool I have to know the XML structure of the cib.xml file > very detailed it seems. Also I read something about a webinterface > that can be used but also I was not able to get more detailed > information :(. In pacemaker there is a simplified CLI. But I did not have too much experiance with it. > Sorry for the newby questions but for a beginner the whole thing is a > little confusing, especialy if it is not possible to go the normal way > to configure a HA cluster with heartbeat-2. No problem. Everybody once started with heartbeat. By the way, if you do not configuration according to version 2 (crm on) that you still can use teh haresources config files. > Thanks for anny help or tip that can help me to get started! > > > Cheers, > > Christian -- Dr. Michael Schwartzkopff MultiNET Services GmbH Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany Tel: +49 - 89 - 45 69 11 0 Fax: +49 - 89 - 45 69 11 21 mob: +49 - 174 - 343 28 75 mail: [email protected] web: www.multinet.de Sitz der Gesellschaft: 85630 Grasbrunn Registergericht: Amtsgericht München HRB 114375 Geschäftsführer: Günter Jurgeneit, Hubert Martens --- PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B Skype: misch42 _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
