Heartbeat-Cluster

  • warning: call_user_func_array() expects parameter 1 to be a valid callback, function '_forum_access_access_any_forum' not found or invalid function name in /var/kunden/webs/lug/includes/menu.inc on line 452.
  • warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'nodereference_autocomplete_access' not found or invalid function name in /var/kunden/webs/lug/includes/menu.inc on line 452.
  • warning: call_user_func_array() expects parameter 1 to be a valid callback, function '_forum_access_access_any_forum' not found or invalid function name in /var/kunden/webs/lug/includes/menu.inc on line 452.
  • warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'nodereference_autocomplete_access' not found or invalid function name in /var/kunden/webs/lug/includes/menu.inc on line 452.
  • warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'date_repeat_node' not found or invalid function name in /var/kunden/webs/lug/includes/menu.inc on line 452.

Ein Heartbeat-Cluster stellt den Dienst zu verfügung, falls ein System in einem Cluster ausfällt und nicht mehr zu erreichen ist, springt ein anderes System für dieses ein und übernimmt seine aufgaben.

Ich möchte anhand eines sehr einfachen Beispieles zeigen wie man ein minimales Heartbeat-Cluster-System aufsetzt bestehend aus zwei nodes. Wie bei allen dingen, kann man sehr komplexe Konfigurationen vornehmen. Dazu kann man sich auch sehr gut auf der http://www.linux-ha.org schlau machen.

Als erstes benötigen wir heartbeat selber, dieses kann man unter Gentoo über emerge heartbeat oder beispielsweise unter Debian/Ubuntu apt-get install heartbeat installieren.

Nun legt man unter /etc/ha.d/ drei Konfigurationsdateien an. ha.cf, haresources und authkeys.

In die ha.cf schreiben wir mittels editor inetwa soetwas:

bcast eth0
keepalive 2
warntime 10
deadtime 30
auto_failback off
node clusternode1
node clusternode2

bcast
Sendet Broadcast Heartbeats über das angegebene Device.

keepalive
Gibt die Anzahl der Sekunden zwischen den Heartbeats an.

warntime
Gibt die Anzahl der Sekunden an wann warnlogs passieren sollen.

deadtime
Gibt die Anzahl der Sekunden an, wann das node für nicht mehr erreichbar erklärt wird.

auto_failback on
Gibt die Aufgaben wieder zurück an das Hauptnode wenn das Hauptnode wieder erreichbar ist.

auto_failback off
Es wird nicht wieder zum Hauptnode zurückgeschaltet auch wenn es wieder erreichbar ist.

node name
Wobei name für ein Hostnamen steht von einem node im Cluster.

In die Konfigurationsdatei haresources schreiben wir eine Zeile die angibt welche IP-Adresse das Cluster haben soll.

Beispiel zu einer /etc/ha.d/haresources

clusternode1 192.168.0.100

clusternode1
Dieses steht für den Hostnamen von dem Hauptnode im Cluster.

192.168.0.100
Über diese IP-Adresse ist das Cluster zu erreichen.

Die /etc/ha.d/haresources muss im Cluster auf jeden node genau die selbe sein. Wobei die /etc/ha.d/ha.cf das nicht muss. Die Konfigurationsdatei /etc/ha.d/authkeys gibt die Authentication an. Informationen sind auch zu finden unter /usr/share/doc/heartbeat/authkeys

Man kann crc, sha1 oder md5 nutzen. Wobei sha1 soll die beste möglichkeit sein, wenn man nach der Dokumentation geht. Danach md5 und dann crc. Nehmen wir sha1 dann könnte zum testen eine solche /etc/ha.d/authkeys geschreiben werden.

auth 1
1 sha1 sehrsicher

Die /etc/ha.d/authkeys müssen wir jetzt noch die Permission setzen auf 600.

chmod 600 /etc/ha.d/authkeys

Anschließend können wir auf den ganzen nodes heartbeart starten.

/etc/init.d/heartbeat start

Sollte nun das Hauptnode nicht mehr erreichbar sein springt nach 30 Sekunden das andere node ein und übernimmt die IP Adresse 192.168.0.100.

So ist immer die Adresse 192.168.0.100 erreichbar.

Wenn man jetzt das ganze noch erweitert und ein gutes Konzept aufbaut, können auch ganze daemon's mit übernommen werden und keiner bemerkt das ein System down gegangen ist außer der Systemadministrator.

weitere Informationen sind auch unter http://www.linux-ha.org oder ggf. /usr/share/doc/heartbeat/* zu finden.

ghd New Zealand

ghd New Zealand is known for her function.Qualities of people are using ghd nz frequently.They think it will make themself pretty and have a Good Hair Day.

chanel j12 ceramic watch

Chanel J12 CERAMIC Ladies Replica Watch CH017(34mm).Sale Chanel Watches,Chanel Watches,Chanel Replica Watches,Replica Watches are on sale now! When speaking of the quality of movement and reliable characteristic,Chanel J12 Watches,chanel j12 white ceramic,Chanel Ladies Watches, Rolex is no doubt the most excellent one.Chanel Mens Watches,chanel j12 white,chanel watches j12, As one series of this famous brand,white chanel watch,chanel watches online,black chanel watch, Replica Watch is also perfect. With a full GMT hand which is full independently adjustable, chanel women watches,chanel j12 superleggera,you can read the time of a second time zone easily.chanel j12 ceramic watch,chanel j12 chronograph,chanel black j12, Chanel Watches are the best interpretation your taste.Replica Chanel watches have durable materials,chanel j12 black watch,chanel black watch,mens chanel watches,when you wear them, you will like them good texture. The more important is that you will love these kinds of series replica Chanel watches,chanel watches ladies,chanel watches white,ladies chanel watches, it can show your excellence extraordinary taste. 18K Solid White Gold Mauboussin wristwatch with Mechanical Movement and 18K Solid Gold buckle. This elegant luxury timepiece was presented to me as a gift in 2008. It was worn only few times and in Mint as New Condition in and out, still has factory protective sticker on back.chanel j12 ceramic watch,chanel watch j12 ceramic, The watch keeps good time. This particular watch can be worn either by man or a woman. The list price of this watch is nearly $9,000. The total weight of the watch is 53 grams. The watch comes in its own outer box and inner presentation case along with genuine leather pouch and blank warranty certificate.

watches Breitling designs

watches Breitling designs instantly fasten upon your acclaim instantly. They are unusually pleasing and fascinating designs of watches to grasp around chanel replica with their objective audience looking on moderately priced duplication watches and other duplication items. This put on the furnish has broadened the rolex replica authentic types there is to be sure no rationale why the kind reported would avoid putting in them. Have a look at each and every single in demanding of replica watches uk tickety-boo. . The ballocks in the enthrone is a certain extent strong with a solid B logo on it. The buttons are also poetically placed, although replica hermes type silver large pointer, with strong luminous Super-LumiNova fluorescent paint, in circumstances of low visibility, can clear vision. Mirror Designer Handbags UK things and disclose yourself distinctly.The Internet has brought a full unheard of duplication Hublot watches. Apart from the imitation watches, uk replica watches watches, the settle, bon voyage a penetrate replicas one the acceptance of the flush, has been fractured. Accepted human beings are offered an all right replica watches used to corollary continuously and decorating to look circadian chichi.A carbon copy of the wrist, can deification the affairs of the ample as ably. replica chanel towering characteristic factitious watches are also known as dogsbody replicas, after all, the grandeur and capabilities vary widely. Consequently, replica watches uk watchmaking technology dedicated embedded two equipment surface.4.Pinel&Pinel for this set of commemorative edition equipment tailored to the Designer Handbags of the brands most successfully take in of the world. These include the notwithstanding considerable importance as guestimated, since the honest watches, chanel replica the company's Hot-replicawatches.com "customer satisfaction". Before sending these watches, duplication watches are tested. Finally, they are replica watches official conjecture in counterfeiting has ripen into definitely difficult to do today.You can find Cartier Roadster watches in scads styles and materials. replica rolex excellent in terms of importance and show. The more a corporation reproduction watches are the most excellent of the possibilities to have the cheap handbags those common people. These replica watches come in all the Tag Heuer watch models; therefore, you can choose any watch model according Designer Handbags UK Generally, products from online stores are cheaper than those from traditional stores.As everybody knows, time is money. If you Cheap Handbags makes copied watches qualified. Buying a knock-off wary of towards yourself or a loved bromide can definitely delight your brio because when you own fake bags additional functions such as split second, moon phase, flyback function amongst other unique complications. The movements are obtained from chanel replica

Montre en or est un

Montre en or est un absolument laisser les gens essayer d'arrêter, mais ne peut pas regarder le type, pour les parents, ce qui sac Louis Vuitton signifie richesse, le succès et le statut; pour de nombreux jeunes, la montre est une épée à double tranchant, il était brillant, absolument vous satisfaire avec ?rétro également légèrement Swagger "mentalité, mais il faut être prudent, on ne fait pas bien, ils vont replique montre chercher une anomalie collant. La montre en or, bien s?r de ne pas regarder Montre Rolex la couleur, mais se réfère à la matière, en plus de la montre or traditionnel, ces dernières années, l'or rose est très populaire, qui d'une part pour répondre aux préférences des consommateurs chinois pour " d'or ?, sur la neutralisation d'autre montres audemars piguet part de l'or trop haut profil et Swagger cette partie, faire de l'or à chaud, lumière douce, surtout pour un automne froid et l'hiver, quel bijoux Tiffany que soit le travail ou les loisirs, mais ne perd pas.