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
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
www.redhat.com 11 Red Hat Network Satellite High Availability Guide | Wayman SmithCreate ext3 lesystem for logical volumes:# mkfs.ext3 /dev/sat_vol
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
www.redhat.com 13 Red Hat Network Satellite High Availability Guide | Wayman SmithRED HAT NETWORK SATELLITE SERVERSatellite installation (Node 1)IP
14 www.redhat.com Red Hat Network Satellite High Availability Guide | Wayman Smith2. Verify root user has write permissions on mounted directories.#
www.redhat.com 15 Red Hat Network Satellite High Availability Guide | Wayman Smith2. Begin installation.# ./install.pl --disconnected –answer-le=/t
16 www.redhat.com Red Hat Network Satellite High Availability Guide | Wayman Smith3. Once installation has completed, open browser and navigate to h
www.redhat.com 17 Red Hat Network Satellite High Availability Guide | Wayman SmithBack up Satellite database/conguration les1. Disable rhn-databas
18 www.redhat.com Red Hat Network Satellite High Availability Guide | Wayman Smith3. Backup Satellite database.# su – oracle$ db-control backup /tmp
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/
2 www.redhat.com Red Hat Network Satellite High Availability Guide | Wayman SmithTABLE OF CONTENTS3 INTRODUCTION 3 About Red Hat Cluster Suite3 A
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
www.redhat.com 21 Red Hat Network Satellite High Availability Guide | Wayman SmithFIG 17: ARCHIVE CONFIG FILES
22 www.redhat.com Red Hat Network Satellite High Availability Guide | Wayman SmithDisable Automatic Satellite StartupSatellite Service management wi
www.redhat.com 23 Red Hat Network Satellite High Availability Guide | Wayman SmithIf monitoring functionality is employed in Satellite, it is disabl
24 www.redhat.com Red Hat Network Satellite High Availability Guide | Wayman Smith2. Unmount shared storage.# umount /rhnsat# umount /var/satellite
www.redhat.com 25 Red Hat Network Satellite High Availability Guide | Wayman Smith2. Insert and Mount Satellite Installation Media.# mount -o loop /
26 www.redhat.com Red Hat Network Satellite High Availability Guide | Wayman Smith6. Extract Satellite conguration les and install Satellite cong
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/
28 www.redhat.com Red Hat Network Satellite High Availability Guide | Wayman Smith7. Restore Satellite database.# su – oracle$ db-control restore /t
www.redhat.com 29 Red Hat Network Satellite High Availability Guide | Wayman SmithVerify Satellite operates properly1. Start Satellite Service. # s
www.redhat.com 3 Red Hat Network Satellite High Availability Guide | Wayman SmithINTRODUCTIONCombining the high availability features of Red Hat Clu
30 www.redhat.com Red Hat Network Satellite High Availability Guide | Wayman SmithRED HAT CLUSTER SUITERed Hat Cluster Suite SubscriptionRed Hat Clu
www.redhat.com 31 Red Hat Network Satellite High Availability Guide | Wayman Smith3. Select Alter Channel Subscription in Subscribed Channels area.F
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
www.redhat.com 33 Red Hat Network Satellite High Availability Guide | Wayman Smith5. Scroll to bottom and select Conrm.FIG 29D: CONFIRM CHANNEL SUB
34 www.redhat.com Red Hat Network Satellite High Availability Guide | Wayman Smith6. Click Details and verify system is subscribed to channel under
www.redhat.com 35 Red Hat Network Satellite High Availability Guide | Wayman SmithFirewall settings were disabled, along with SELinux set to disable
36 www.redhat.com Red Hat Network Satellite High Availability Guide | Wayman SmithIf installing Satellite in disconnected mode:1. Insert and mount R
www.redhat.com 37 Red Hat Network Satellite High Availability Guide | Wayman Smith3. Clean yum cache and install clustering group.# yum clean all# y
38 www.redhat.com Red Hat Network Satellite High Availability Guide | Wayman Smith2. Create quorum disk.FIG 34: CREATE NEW CLUSTER
www.redhat.com 39 Red Hat Network Satellite High Availability Guide | Wayman SmithCongureclusternodes1. Start cluster conguration software.# sys
4 www.redhat.com Red Hat Network Satellite High Availability Guide | Wayman SmithENVIRONMENT DETAILSThe environment in which this procedure was perf
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
www.redhat.com 41 Red Hat Network Satellite High Availability Guide | Wayman SmithFor a two node cluster, the following congurations were used for
42 www.redhat.com Red Hat Network Satellite High Availability Guide | Wayman SmithAdditionally, manually add the following to <cman> section o
www.redhat.com 43 Red Hat Network Satellite High Availability Guide | Wayman Smith5. Add Cluster Nodes.Click “Cluster Nodes” in left pane.•Click “A
44 www.redhat.com Red Hat Network Satellite High Availability Guide | Wayman Smith6. Click Save.Repeat above steps for each additional node in clust
www.redhat.com 45 Red Hat Network Satellite High Availability Guide | Wayman SmithAdd Fence Devices to nodeClick rst cluster node in left pane.•In
46 www.redhat.com Red Hat Network Satellite High Availability Guide | Wayman SmithCONFIGURE CLUSTER PROPERTIESConguringfailoverdomainsIn left pan
www.redhat.com 47 Red Hat Network Satellite High Availability Guide | Wayman SmithCongureclusterresourcesIP AddressIn left pane, click “Resources
48 www.redhat.com Red Hat Network Satellite High Availability Guide | Wayman SmithSatellite scriptIn left pane, click “Resources.”•In right pane, c
www.redhat.com 49 Red Hat Network Satellite High Availability Guide | Wayman SmithSatellite serviceIn left pane, click “Services.”•In right pane, c
www.redhat.com 5 Red Hat Network Satellite High Availability Guide | Wayman SmithFIG 1: HOSTS FILE
50 www.redhat.com Red Hat Network Satellite High Availability Guide | Wayman SmithClose system-cong-cluster application.ACTIVATE CLUSTER SUITETo ac
www.redhat.com 51 Red Hat Network Satellite High Availability Guide | Wayman SmithFrom the command-line of both nodes:# service cman start; chkcong
52 www.redhat.com Red Hat Network Satellite High Availability Guide | Wayman SmithStart Red Hat Satellite on Cluster.Click management tab.•In Servi
www.redhat.com 53 Red Hat Network Satellite High Availability Guide | Wayman SmithTEST CLUSTER FAILOVER ABILITYThe following procedures were used to
54 www.redhat.com Red Hat Network Satellite High Availability Guide | Wayman Smith1. Observe cluster management window and verify relocation is succ
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
56 www.redhat.com Red Hat Network Satellite High Availability Guide | Wayman SmithRed Hat Network Satellite Installation Guide ¬ http://www.redhat.c
www.redhat.com 57 Red Hat Network Satellite High Availability Guide | Wayman Smith <fencedevices> <fencedevice agent=”fence_rsa” ipadd
© 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
6 www.redhat.com Red Hat Network Satellite High Availability Guide | Wayman SmithAdd virtual IP addressIt is necessary to manually add virtual IP ad
www.redhat.com 7 Red Hat Network Satellite High Availability Guide | Wayman SmithCreate LVM partitionsTo create LVM partitions, follow the procedure
8 www.redhat.com Red Hat Network Satellite High Availability Guide | Wayman SmithAt this point LVM physical partitions can be created:# pvcreate /de
www.redhat.com 9 Red Hat Network Satellite High Availability Guide | Wayman SmithFIG 5: LVM OUTPUT
Komentáře k této Příručce