Red Hat CLUSTER SUITE FOR ENTERPRISE LINUX 5.1 Uživatelský manuál

Procházejte online nebo si stáhněte Uživatelský manuál pro Servery Red Hat CLUSTER SUITE FOR ENTERPRISE LINUX 5.1. Red Hat NetwoRk Satellite HigH availability guide Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 58
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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.
Zobrazit stránku 0
1 2 3 4 5 6 ... 57 58

Shrnutí obsahu

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 6

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

Strany 7

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

Strany 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

Strany 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

Strany 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

Strany 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/

Strany 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

Strany 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

Strany 14 - Satellite Installation

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

Strany 15 - 2. Begin installation

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

Strany 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

Strany 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

Strany 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 /

Strany 19

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

Strany 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/

Strany 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

Strany 22

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

Strany 23

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

Strany 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

Strany 25

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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 30

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

Strany 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

Strany 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

Strany 33

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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 41

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

Strany 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

Strany 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

Strany 44

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

Strany 45

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

Strany 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

Strany 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

Strany 48

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

Strany 49

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

Strany 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

Strany 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

Strany 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

Strany 53 - TEST CLUSTER FAILOVER ABILITY

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

Strany 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

Strany 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

Strany 56

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

Strany 57

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

Strany 58 - #1121311_0609

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

Komentáře k této Příručce

Žádné komentáře