Red Hat CLUSTER SUITE FOR ENTERPRISE LINUX 5.1 Manual do Utilizador

Consulte online ou descarregue Manual do Utilizador para Servidores Red Hat CLUSTER SUITE FOR ENTERPRISE LINUX 5.1. Red Hat NetwoRk Satellite HigH availability guide Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 58
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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.
Vista de página 0
1 2 3 4 5 6 ... 57 58

Resumo do Conteúdo

Página 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

Página 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

Página 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

Página 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

Página 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

Página 6

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

Página 7

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

Página 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

Página 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

Página 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

Página 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/

Página 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

Página 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

Página 14 - Satellite Installation

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

Página 15 - 2. Begin installation

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

Página 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

Página 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

Página 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 /

Página 19

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

Página 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/

Página 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

Página 22

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

Página 23

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

Página 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

Página 25

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

Página 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

Página 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

Página 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

Página 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

Página 30

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

Página 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

Página 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

Página 33

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 41

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

Página 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

Página 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

Página 44

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

Página 45

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

Página 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

Página 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

Página 48

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

Página 49

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

Página 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

Página 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

Página 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

Página 53 - TEST CLUSTER FAILOVER ABILITY

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

Página 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

Página 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

Página 56

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

Página 57

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

Página 58 - #1121311_0609

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

Comentários a estes Manuais

Sem comentários