Red Hat CLUSTER SUITE FOR ENTERPRISE LINUX 5.1 Bedienungsanleitung

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Server Red Hat CLUSTER SUITE FOR ENTERPRISE LINUX 5.1 herunter. Red Hat NetwoRk Satellite HigH availability guide Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 58
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 0
www.redhat.com
RED HAT NETWORK SATELLITE
HIGH AVAILABILITY GUIDE
BY WAYMAN SMITH, RED HAT CONSULTANT
Red Hat
®
Network (RHN) Satellite Server is an easy-to-use
systems management platform for your growing Red Hat
Enterprise Linux
®
infrastructure. Built on open standards,
RHN Satellite provides powerful systems administration
capabilities such as management, provisioning and monitoring
for large deployments. Satellite allows you to manage many
servers as easily as you would one.
Red Hat Cluster Suite allows applications or services to
be deployed in high availability congurations so that they
are always operational--bringing “scale-out” capabilities
to enterprise Linux deployments.
This paper describes the procedure for combining these
two technologies to provide high-availability Satellite Server
to your environment.
Seitenansicht 0
1 2 3 4 5 6 ... 57 58

Inhaltsverzeichnis

Seite 1 - HIGH AVAILABILITY GUIDE

www.redhat.com RED HAT NETWORK SATELLITE HIGH AVAILABILITY GUIDE BY WAYMAN SMITH, RED HAT CONSULTANT Red Hat® Network (RHN) Satellite Server is an e

Seite 2 - TABLE OF CONTENTS

10 www.redhat.com Red Hat Network Satellite High Availability Guide | Wayman SmithIt is now necessary to edit lvm.conf (/etc/lvm/lvm.conf) and chang

Seite 3 - INTRODUCTION

www.redhat.com 11 Red Hat Network Satellite High Availability Guide | Wayman SmithCreate ext3 lesystem for logical volumes:# mkfs.ext3 /dev/sat_vol

Seite 4 - PROCEDURES

12 www.redhat.com Red Hat Network Satellite High Availability Guide | Wayman Smith# mkfs.ext3 /dev/sat_vol_group/satrepo_volFIG 8: EXT3 FORMAT RED H

Seite 5 - FIG 1: HOSTS FILE

www.redhat.com 13 Red Hat Network Satellite High Availability Guide | Wayman SmithRED HAT NETWORK SATELLITE SERVERSatellite installation (Node 1)IP

Seite 6

14 www.redhat.com Red Hat Network Satellite High Availability Guide | Wayman Smith2. Verify root user has write permissions on mounted directories.#

Seite 7

www.redhat.com 15 Red Hat Network Satellite High Availability Guide | Wayman Smith2. Begin installation.# ./install.pl --disconnected –answer-le=/t

Seite 8 - 8 www.redhat.com

16 www.redhat.com Red Hat Network Satellite High Availability Guide | Wayman Smith3. Once installation has completed, open browser and navigate to h

Seite 9 - FIG 5: LVM OUTPUT

www.redhat.com 17 Red Hat Network Satellite High Availability Guide | Wayman SmithBack up Satellite database/conguration les1. Disable rhn-databas

Seite 10 - 10 www.redhat.com

18 www.redhat.com Red Hat Network Satellite High Availability Guide | Wayman Smith3. Backup Satellite database.# su – oracle$ db-control backup /tmp

Seite 11 - FIG 7: LVM.CONF LOCKING_TYPE

www.redhat.com 19 Red Hat Network Satellite High Availability Guide | Wayman Smith4. Back up critical satellite les.# cp -a /var/www/html/pub /tmp/

Seite 12 - 12 www.redhat.com

2 www.redhat.com Red Hat Network Satellite High Availability Guide | Wayman SmithTABLE OF CONTENTS3 INTRODUCTION 3 About Red Hat Cluster Suite3 A

Seite 13

20 www.redhat.com Red Hat Network Satellite High Availability Guide | Wayman Smith5. Archive and export backup les to Node 2.# cd /tmp# tar -czvf s

Seite 14 - Satellite Installation

www.redhat.com 21 Red Hat Network Satellite High Availability Guide | Wayman SmithFIG 17: ARCHIVE CONFIG FILES

Seite 15 - 2. Begin installation

22 www.redhat.com Red Hat Network Satellite High Availability Guide | Wayman SmithDisable Automatic Satellite StartupSatellite Service management wi

Seite 16 - 16 www.redhat.com

www.redhat.com 23 Red Hat Network Satellite High Availability Guide | Wayman SmithIf monitoring functionality is employed in Satellite, it is disabl

Seite 17 - 2. Create backup directory

24 www.redhat.com Red Hat Network Satellite High Availability Guide | Wayman Smith2. Unmount shared storage.# umount /rhnsat# umount /var/satellite

Seite 18 - 3. Backup Satellite database

www.redhat.com 25 Red Hat Network Satellite High Availability Guide | Wayman Smith2. Insert and Mount Satellite Installation Media.# mount -o loop /

Seite 19

26 www.redhat.com Red Hat Network Satellite High Availability Guide | Wayman Smith6. Extract Satellite conguration les and install Satellite cong

Seite 20 - 20 www.redhat.com

www.redhat.com 27 Red Hat Network Satellite High Availability Guide | Wayman Smith# cp server.pem /etc/jabberd# cp -au ssl-build/ /root# cp -a pub/

Seite 21 - FIG 17: ARCHIVE CONFIG FILES

28 www.redhat.com Red Hat Network Satellite High Availability Guide | Wayman Smith7. Restore Satellite database.# su – oracle$ db-control restore /t

Seite 22

www.redhat.com 29 Red Hat Network Satellite High Availability Guide | Wayman SmithVerify Satellite operates properly1. Start Satellite Service. # s

Seite 23

www.redhat.com 3 Red Hat Network Satellite High Availability Guide | Wayman SmithINTRODUCTIONCombining the high availability features of Red Hat Clu

Seite 24 - FIG 20: DELETE VIRTUAL IP

30 www.redhat.com Red Hat Network Satellite High Availability Guide | Wayman SmithRED HAT CLUSTER SUITERed Hat Cluster Suite SubscriptionRed Hat Clu

Seite 25

www.redhat.com 31 Red Hat Network Satellite High Availability Guide | Wayman Smith3. Select Alter Channel Subscription in Subscribed Channels area.F

Seite 26 - 26 www.redhat.com

32 www.redhat.com Red Hat Network Satellite High Availability Guide | Wayman Smith4. Check RHEL Clustering (v. 5 for 64-bit x86_64) under Additional

Seite 27

www.redhat.com 33 Red Hat Network Satellite High Availability Guide | Wayman Smith5. Scroll to bottom and select Conrm.FIG 29D: CONFIRM CHANNEL SUB

Seite 28 - 28 www.redhat.com

34 www.redhat.com Red Hat Network Satellite High Availability Guide | Wayman Smith6. Click Details and verify system is subscribed to channel under

Seite 29 - FIG 25A: RESTORE DATABASE

www.redhat.com 35 Red Hat Network Satellite High Availability Guide | Wayman SmithFirewall settings were disabled, along with SELinux set to disable

Seite 30

36 www.redhat.com Red Hat Network Satellite High Availability Guide | Wayman SmithIf installing Satellite in disconnected mode:1. Insert and mount R

Seite 31

www.redhat.com 37 Red Hat Network Satellite High Availability Guide | Wayman Smith3. Clean yum cache and install clustering group.# yum clean all# y

Seite 32 - 32 www.redhat.com

38 www.redhat.com Red Hat Network Satellite High Availability Guide | Wayman Smith2. Create quorum disk.FIG 34: CREATE NEW CLUSTER

Seite 33

www.redhat.com 39 Red Hat Network Satellite High Availability Guide | Wayman SmithCongureclusternodes1. Start cluster conguration software.# sys

Seite 34 - 34 www.redhat.com

4 www.redhat.com Red Hat Network Satellite High Availability Guide | Wayman SmithENVIRONMENT DETAILSThe environment in which this procedure was perf

Seite 35

40 www.redhat.com Red Hat Network Satellite High Availability Guide | Wayman Smith2. Assign name to cluster and cluster details.If using a quorum di

Seite 36 - 36 www.redhat.com

www.redhat.com 41 Red Hat Network Satellite High Availability Guide | Wayman SmithFor a two node cluster, the following congurations were used for

Seite 37 - Congurequorumdisk

42 www.redhat.com Red Hat Network Satellite High Availability Guide | Wayman SmithAdditionally, manually add the following to <cman> section o

Seite 38 - 2. Create quorum disk

www.redhat.com 43 Red Hat Network Satellite High Availability Guide | Wayman Smith5. Add Cluster Nodes.Click “Cluster Nodes” in left pane.•Click “A

Seite 39 - Congureclusternodes

44 www.redhat.com Red Hat Network Satellite High Availability Guide | Wayman Smith6. Click Save.Repeat above steps for each additional node in clust

Seite 40 - 40 www.redhat.com

www.redhat.com 45 Red Hat Network Satellite High Availability Guide | Wayman SmithAdd Fence Devices to nodeClick rst cluster node in left pane.•In

Seite 41

46 www.redhat.com Red Hat Network Satellite High Availability Guide | Wayman SmithCONFIGURE CLUSTER PROPERTIESConguringfailoverdomainsIn left pan

Seite 42 - 42 www.redhat.com

www.redhat.com 47 Red Hat Network Satellite High Availability Guide | Wayman SmithCongureclusterresourcesIP AddressIn left pane, click “Resources

Seite 43 - FIG 39: CREATE FENCE DEVICES

48 www.redhat.com Red Hat Network Satellite High Availability Guide | Wayman SmithSatellite scriptIn left pane, click “Resources.”•In right pane, c

Seite 44

www.redhat.com 49 Red Hat Network Satellite High Availability Guide | Wayman SmithSatellite serviceIn left pane, click “Services.”•In right pane, c

Seite 45

www.redhat.com 5 Red Hat Network Satellite High Availability Guide | Wayman SmithFIG 1: HOSTS FILE

Seite 46 - FIG 42: CREATE IP RESOURCE

50 www.redhat.com Red Hat Network Satellite High Availability Guide | Wayman SmithClose system-cong-cluster application.ACTIVATE CLUSTER SUITETo ac

Seite 47

www.redhat.com 51 Red Hat Network Satellite High Availability Guide | Wayman SmithFrom the command-line of both nodes:# service cman start; chkcong

Seite 48

52 www.redhat.com Red Hat Network Satellite High Availability Guide | Wayman SmithStart Red Hat Satellite on Cluster.Click management tab.•In Servi

Seite 49

www.redhat.com 53 Red Hat Network Satellite High Availability Guide | Wayman SmithTEST CLUSTER FAILOVER ABILITYThe following procedures were used to

Seite 50 - ACTIVATE CLUSTER SUITE

54 www.redhat.com Red Hat Network Satellite High Availability Guide | Wayman Smith1. Observe cluster management window and verify relocation is succ

Seite 51

www.redhat.com 55 Red Hat Network Satellite High Availability Guide | Wayman SmithBlock ping (this will test heuristics).1. If node 1 is running the

Seite 52 - Click enable button above.•

56 www.redhat.com Red Hat Network Satellite High Availability Guide | Wayman SmithRed Hat Network Satellite Installation Guide ¬ http://www.redhat.c

Seite 53 - TEST CLUSTER FAILOVER ABILITY

www.redhat.com 57 Red Hat Network Satellite High Availability Guide | Wayman Smith <fencedevices> <fencedevice agent=”fence_rsa” ipadd

Seite 54 - # poweroff

© 2009 Red Hat, Inc. All rights reserved. “Red Hat,” Red Hat Linux, the Red Hat “Shadowman” logo, and the products listed are trademarks or registere

Seite 55 - CONCLUSION

6 www.redhat.com Red Hat Network Satellite High Availability Guide | Wayman SmithAdd virtual IP addressIt is necessary to manually add virtual IP ad

Seite 56

www.redhat.com 7 Red Hat Network Satellite High Availability Guide | Wayman SmithCreate LVM partitionsTo create LVM partitions, follow the procedure

Seite 57

8 www.redhat.com Red Hat Network Satellite High Availability Guide | Wayman SmithAt this point LVM physical partitions can be created:# pvcreate /de

Seite 58 - #1121311_0609

www.redhat.com 9 Red Hat Network Satellite High Availability Guide | Wayman SmithFIG 5: LVM OUTPUT

Kommentare zu diesen Handbüchern

Keine Kommentare