Lcmc Guide

24
LCMC User Guide (sort of) Rasto Levrinc

description

how to create cluster solucion in Linux servers using the packermaker package

Transcript of Lcmc Guide

  • LCMC User Guide (sort of)Rasto Levrinc

  • LCMC User Guide (sort of)Rasto LevrincCopyright 2011 Rastislav Levrinc

  • iii

    Table of ContentsPreface ............................................................................................................................ iv1. Initial Setup ................................................................................................................... 1

    Start Here ................................................................................................................. 1Connecting to the Cluster ............................................................................................ 2Collecting Info ........................................................................................................... 3Pacemaker/DRBD Installation ....................................................................................... 3About Alice and Bob .................................................................................................. 4Creating Cluster ......................................................................................................... 5Heartbeat Config ........................................................................................................ 7Corosync Config ........................................................................................................ 8Start Cluster Software ................................................................................................ 10Finish Here .............................................................................................................. 11

    2. Pacemaker ................................................................................................................... 12Pacemaker Starts ...................................................................................................... 12Pacemaker Online ..................................................................................................... 13Host Menu .............................................................................................................. 13Available Services .................................................................................................... 14Maybe Start Here ..................................................................................................... 14Making Cluster IP ..................................................................................................... 15What-IF Machine / ptest ............................................................................................. 16Configuring Apache .................................................................................................. 16Back to STONITH .................................................................................................... 18Start Cluster Software Manually .................................................................................. 19

    3. Making of LCMC User Guide ......................................................................................... 20

  • iv

    Preface

  • 1Chapter 1. Initial SetupStart Here

  • Initial Setup

    2

    Connecting to the Cluster

  • Initial Setup

    3

    Collecting Info

    Pacemaker/DRBD Installation

  • Initial Setup

    4

    About Alice and Bob

  • Initial Setup

    5

    Creating Cluster

  • Initial Setup

    6

  • Initial Setup

    7

    Heartbeat Config

  • Initial Setup

    8

    Corosync Config

  • Initial Setup

    9

  • Initial Setup

    10

    Start Cluster Software

  • Initial Setup

    11

    Finish Here

  • 12

    Chapter 2. PacemakerPacemaker Starts

  • Pacemaker

    13

    Pacemaker Online

    Host Menu

  • Pacemaker

    14

    Available Services

    Maybe Start Here

  • Pacemaker

    15

    Making Cluster IP

  • Pacemaker

    16

    What-IF Machine / ptest

    Configuring Apache

  • Pacemaker

    17

  • Pacemaker

    18

    Back to STONITH

  • Pacemaker

    19

    Start Cluster Software Manually

  • 20

    Chapter 3. Making of LCMC User Guide