Red Hat ENTERPRISE LINUX 5 - GLOBAL NETWORK BLOCK DEVICE Installationsanleitung

Stöbern Sie online oder laden Sie Installationsanleitung nach Server Red Hat ENTERPRISE LINUX 5 - GLOBAL NETWORK BLOCK DEVICE herunter. Red Hat ENTERPRISE LINUX 5 - GLOBAL NETWORK BLOCK DEVICE Installation guide [en] Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 134
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 0
Configuring and Managing a Red Hat
Cluster
Red Hat Cluster for Red
Hat Enterprise Linux
5.2
Cluster_Administration
ISBN: N/A
Publication date: May 2008
Seitenansicht 0
1 2 3 4 5 6 ... 133 134

Inhaltsverzeichnis

Seite 1 - Hat Enterprise Linux

Configuring and Managing a Red HatClusterRed Hat Cluster for RedHat Enterprise Linux5.2Cluster_AdministrationISBN: N/APublication date: May 2008

Seite 2

If you spot a typo, or if you have thought of a way to make this manual better, we would love tohear from you. Please submit a report in Bugzilla (htt

Seite 3

Field DescriptionIP Address The IP address assigned to the PAP console.Login The login name used to access the PAP console.Password The password used

Seite 4

Table B.6. GNBD (Global Network Block Device)Field DescriptionName A name for the server with HP iLO support.Hostname The hostname assigned to the dev

Seite 5

Field DescriptionLogin The login name of a user capable of issuing power on/offcommands to the given IPMI port.Password The password used to authentic

Seite 6

Field DescriptionPort The switch outlet number.Table B.13. RPS-10 Power Switch (two-node clusters only)Field DescriptionName A name for the SANBox2 de

Seite 7 - Introduction

Field DescriptionName A name for the WTI power switch connected to the cluster.IP Address The IP address assigned to the device.Password The password

Seite 8 - 1. Document Conventions

Appendix C. HA ResourceParametersThis appendix provides descriptions of HA resource parameters. You can configure theparameters with Luci, system-conf

Seite 9 - 2. Feedback

Resource Resource Agent Reference to ParameterDescriptionmachines.Table C.1. HA Resource SummaryField DescriptionName The name of the Apache Service.S

Seite 10

Field Descriptionunmount Force Unmount kills all processes using the mount point to free up the mountwhen it tries to unmount.Reboot hostnode ifunmoun

Seite 11 - Management Overview

Field DescriptionIP Address The IP address for the resource. This is a virtual IP address. IPv4 and IPv6addresses are supported, as is NIC link monito

Seite 12

Field Descriptionrights. For more information, refer to the exports (5) man page, GeneralOptions.Table C.8. NFS ClientField DescriptionNameDescriptive

Seite 13

Red Hat Cluster Configuration andManagement OverviewRed Hat Cluster allows you to connect a group of computers (called nodes or members) to worktogeth

Seite 14 - 2. Conga

Field DescriptionName Specifies a service name for logging and other purposes.Config File Specifies an absolute path to a configuration file. The defa

Seite 15 - Figure 1.3. luci homebase Tab

Field DescriptionWait(seconds)Table C.13. PostgreSQL 8Field DescriptionSAPDatabaseNameSpecifies a unique SAP system identifier. For example, P01.SAPex

Seite 16 - Figure 1.4. luci cluster Tab

Field DescriptionprofileName of theSAP STARTprofileSpecifies name of the SAP START profile.Table C.15. SAP® InstanceNoteRegarding Table C.16, “Samba S

Seite 17 - Figure 1.5. luci storage Tab

Field Descriptionrunning on it. If no nodes are available for a service to run exclusively, theservice is not restarted after a failure. Additionally,

Seite 18

Field DescriptionName Specifies a service name for logging and other purposes.Config File Specifies the absolute path to the configuration file. The d

Seite 19

Field DescriptionDomainRecoverypolicyRecovery policy provides the following options:• Disable — Disables the virtual machine if it fails.• Relocate —

Seite 21 - Table 1.1. Command Line Tools

Appendix D. HA Resource BehaviorThis appendix describes common behavior of HA resources. It is meant to provide ancillaryinformation that may be helpf

Seite 22

• Section 5, “Debugging and Testing Services and Resource Ordering”NoteThe sections that follow present examples from the cluster configuration file,/

Seite 23 - Before Configuring a Red Hat

• Children must all stop cleanly before a parent may be stopped.• For a resource to be considered in good health, all its children must be in good hea

Seite 24

Other options are available for storage according to the type of storage interface; for example,iSCSI or GNBD. A Fibre Channel switch can be configure

Seite 25

Resource Child Type Start-order Value Stop-order ValueLVM lvm 1 9File System fs 2 8GFS File System clusterfs 3 7NFS Mount netfs 4 6NFS Export nfsexpor

Seite 26

Example D.3. Ordering Within a Resource TypeTyped Child Resource Starting OrderIn Example D.3, “Ordering Within a Resource Type”, the resources are st

Seite 27

stopped in the reverse order listed in the Service foo portion of/etc/cluster/cluster.conf.5. lvm:1 — This is an LVM resource. All LVM resources are s

Seite 28

3. fs:1 — This is a File System resource. If there were other File System resources in Servicefoo, they would start in the order listed in the Service

Seite 29

4. ip:10.1.1.1 — This is an IP Address resource. If there were other IP Address resources inService foo, they would stop in the reverse order listed i

Seite 30 - Instant-Off

<ip address="10.2.13.20"/></service>Example D.5. NFS Service Set Up for Resource Reuse and InheritanceIf the service were flat (

Seite 31

<service name="foo"><script name="script_one" ...><script name="script_two" .../></script><sc

Seite 32

Action Syntaxresourceagents.Display thestart andstopordering ofa service.Display start order:rg_test noop /etc/cluster/cluster.conf start service serv

Seite 34 - 7. Multicast Addresses

Appendix E. Upgrading A Red HatCluster from RHEL 4 to RHEL 5This appendix provides a procedure for upgrading a Red Hat cluster from RHEL 4 to RHEL 5.T

Seite 35

relationship among the cluster components. Figure 1.2, “Cluster Configuration Structure” showsan example of the hierarchical relationship among cluste

Seite 36

f. Run service ccsd stop.3. Disable cluster software from starting during reboot. At each node, run /sbin/chkconfig asfollows:# chkconfig --level 2345

Seite 37 - 1. Configuration Tasks

You shouldn't change any of these values if the filesystem is mounted.Are you sure? [y/n] ycurrent lock protocol name = "lock_gulm"new

Seite 39 - 3. Creating A Cluster

IndexAACPIconfiguring, 17Apache HTTP Serverhttpd.conf, 84setting up service, 83Bbehavior, HA resources, 107Cclusteradministration, 13, 47, 75diagnosin

Seite 40 - 4. Global Cluster Properties

Ggeneralconsiderations for cluster administration, 25Hhardwarecompatible, 13HTTP servicesApache HTTP Serverhttpd.conf, 84setting up, 83Iintegrated fen

Seite 41

A brief overview of each configuration tool is provided in the following sections:• Section 2, “Conga”• Section 3, “system-config-cluster Cluster Admi

Seite 42 - 5. Configuring Fence Devices

To administer a cluster or storage, an administrator adds (or registers) a cluster or a computerto a luci server. When a cluster or a computer is regi

Seite 43

Figure 1.4. luci cluster TabChapter 1. Red Hat Cluster Configuration and Management Overview6

Seite 44

Figure 1.5. luci storage Tab3. system-config-cluster Cluster Administration GUIThis section provides an overview of the cluster administration graphic

Seite 45

While system-config-cluster provides several convenient tools for configuringand managing a Red Hat Cluster, the newer, more comprehensive tool, Conga

Seite 46

The Cluster Configuration Tool represents cluster configuration components in theconfiguration file (/etc/cluster/cluster.conf) with a hierarchical gr

Seite 47

Configuring and Managing a Red Hat Cluster describes the configuration and management ofRed Hat cluster systems for Red Hat Enterprise Linux 5.2 It do

Seite 48

Services. Using configuration buttons at the bottom of the right frame (below Properties),you can create services (when Services is selected) or edit

Seite 49

The nodes and services displayed in the Cluster Status Tool are determined by the clusterconfiguration file (/etc/cluster/cluster.conf). You can use t

Seite 51 - 7.1. Adding a Failover Domain

Before Configuring a Red HatClusterThis chapter describes tasks to perform and considerations to make before installing andconfiguring a Red Hat Clust

Seite 52

Cluster Nodes” lists the IP port numbers, their respective protocols, the components to whichthe port numbers are assigned, and references to iptables

Seite 53 - 8. Adding Cluster Resources

If a cluster node is running luci, port 11111 should already have been enabled.IP PortNumberProtocol Component Reference to Example ofiptables Rules80

Seite 54

10.10.10.0/24 -d 10.10.10.0/24 --dports 11111 -j ACCEPTExample 2.3. Port 11111: ricci (Cluster Node and Computer Running luci)-A INPUT -i 10.10.10.200

Seite 55

1http://www.redhat.com/cluster_suite/hardware/10.10.10.0/24 -d 10.10.10.0/24 --dports 50007 -j ACCEPTExample 2.9. Port 50007: ccsd (UDP)3. Configuring

Seite 56

• Changing the BIOS setting to "instant-off" or an equivalent setting that turns off the nodewithout delayNoteDisabling ACPI Soft-Off with t

Seite 57 - Managing Red Hat Cluster With

management.— OR —• chkconfig --level 2345 acpid off — This command turns off acpid.2. Reboot the node.3. When the cluster is configured and running, v

Seite 58 - 2. Managing Cluster Nodes

Configuring and Managing a Red Hat Cluster: Red Hat Clusterfor Red Hat Enterprise LinuxCopyright © 2008 Red Hat, Inc.Copyright © 2008 Red Hat, Inc. Th

Seite 59 - /etc/cluster/

may vary among computers. However, the objective of this procedure is toconfigure the BIOS so that the computer is turned off via the power buttonwith

Seite 60

3.3. Disabling ACPI Completely in the grub.conf FileThe preferred method of disabling ACPI Soft-Off is with chkconfig management (Section 3.1,“Disabli

Seite 61

title Red Hat Enterprise Linux Server (2.6.18-36.el5)root (hd0,0)kernel /vmlinuz-2.6.18-36.el5 ro root=/dev/VolGroup00/LogVol00console=ttyS0,115200n8

Seite 62

Resource Behavior.5. Configuring max_lunsIt is not necessary to configure max_luns in Red Hat Enterprise Linux 5.In Red Hat Enterprise Linux releases

Seite 63

CMAN membership timeout valueThe CMAN membership timeout value (the time a node needs to be unresponsive beforeCMAN considers that node to be dead, an

Seite 64

multicast addressing and IGMP are enabled. Without multicast and IGMP, not all nodes canparticipate in a cluster, causing the cluster to fail.NoteProc

Seite 65

and corrupting it. It is strongly recommended that fence devices (hardware or softwaresolutions that remotely power, shutdown, and reboot cluster node

Seite 66

Configuring Red Hat Cluster WithCongaThis chapter describes how to configure Red Hat Cluster software using Conga, and consists ofthe following sectio

Seite 67 - /bin/sh -c. A return

2. Starting luci and ricciTo administer Red Hat Clusters with Conga, install and run luci and ricci as follows:1. At each node to be administered by C

Seite 68 - 4. Configuring Fence Devices

5. Start luci using service luci restart. For example:# service luci restartShutting down luci: [ OK ]Starting luci: generating https SSL certificates

Seite 69

Configuring and Managing a Red Hat Cluster

Seite 70

4. Global Cluster PropertiesWhen a cluster is created, or if you select a cluster to configure, a cluster-specific page isdisplayed. The page provides

Seite 71 - Two Nodes

3. Multicast tab — This tab provides an interface for configuring these MulticastConfiguration parameters: Let cluster choose the multicast address an

Seite 72 - Than Two Nodes

Parameter DescriptionMinimum Score The minimum score for a node to be considered "alive". If omitted orset to 0, the default function, floor

Seite 73

The following shared fence devices are available:• APC Power Switch• Brocade Fabric Switch• Bull PAP• Egenera SAN Controller• GNBD• IBM Blade Center•

Seite 74

The starting point of each procedure is at the cluster-specific page that you navigate to fromChoose a cluster to administer displayed on the cluster

Seite 75

Figure 3.1. Fence Device Configuration3. At the Add a Sharable Fence Device page, click the drop-down box under Fencing Typeand select the type of fen

Seite 76 - 6.1. Adding a Failover Domain

5.2. Modifying or Deleting a Fence DeviceTo modify or delete a fence device, follow these steps:1. At the detailed menu for the cluster (below the clu

Seite 77

Creating a cluster consists of selecting a set of nodes (or members) to be part of the cluster.Once you have completed the initial step of creating a

Seite 78

4. Click Submit. Clicking Submit causes the following actions:a. Cluster software packages to be downloaded onto the added node.b. Cluster software to

Seite 79

1. Click the link of the node to be deleted. Clicking the link of the node to be deleted causes apage to be displayed for that link showing how that n

Seite 80 - 7. Adding Cluster Services

Introduction ... vii1. Document Conventions

Seite 81

be started (either manually or by the cluster software).• Unordered — When a cluster service is assigned to an unordered failover domain, themember on

Seite 82

7.1. Adding a Failover DomainTo add a failover domain, follow the steps in this section. The starting point of the procedure isat the cluster-specific

Seite 83

displayed on the cluster tab.1. At the detailed menu for the cluster (below the clusters menu), click Failover Domains.Clicking Failover Domains cause

Seite 84

9. To make additional changes to the failover domain, continue modifications at the FailoverDomain Form page and click Submit when you are done.8. Add

Seite 85

TipUse a descriptive name that clearly distinguishes the service from other servicesin the cluster.4. Add a resource to the service; click Add a resou

Seite 86

inet 127.0.0.1/8 scope host loinet6 ::1/128 scope hostvalid_lft forever preferred_lft forever2: eth0: <BROADCAST,MULTICAST,UP> mtu 1356 qdisc pf

Seite 87 - Table 6.2. Services Status

• Hard Drives• Partitions• Volume GroupsEach section is set up as an expandable tree, with links to property sheets for specific devices,partitions, a

Seite 88

Managing Red Hat Cluster WithCongaThis chapter describes various administrative tasks for managing a Red Hat Cluster andconsists of the following sect

Seite 89

• Delete this cluster — Selecting this action halts a running cluster, disables clustersoftware from starting automatically, and removes the cluster c

Seite 90

Selecting Have node leave cluster shuts down cluster software and makes the nodeleave the cluster. Making a node leave a cluster prevents the node fro

Seite 91

10. Configuring Cluster Storage ...454. Managing Red Hat Cluster With Conga ...

Seite 92

• If service is running — Configure this service, Restart this service, and Stop thisservice.• If service is not running — Configure this service, Sta

Seite 93 - Apache HTTP Server

Configuring Red Hat Cluster Withsystem-config-clusterThis chapter describes how to configure Red Hat Cluster software usingsystem-config-cluster, and

Seite 94 - 2. Configuring Shared Storage

3. Creating fence devices. Refer to Section 4, “Configuring Fence Devices”.4. Creating cluster members. Refer to Section 5, “Adding and Deleting Membe

Seite 95

Figure 5.1. Starting a New Configuration FileNoteThe Cluster Management tab for the Red Hat Cluster Suite management GUI isavailable after you save th

Seite 96 - /dev/sda3)

dialog box if you enable Use a Quorum disk: Interval, TKO, Votes, Minimum Score,Device, Label, and Quorum Disk Heuristic. Table 5.1, “Quorum-Disk Para

Seite 97

Figure 5.2. Creating A New Configuration4. When you have completed entering the cluster name and other parameters in the NewConfiguration dialog box,

Seite 98

Figure 5.3. The Cluster Configuration ToolParameter DescriptionUse a Quorum Disk Enables quorum disk. Enables quorum-disk parameters in the NewConfigu

Seite 99 - Appendix B. Fence Device

Parameter DescriptionDevice The storage device the quorum daemon uses. The device must be thesame on all nodes.Label Specifies the quorum disk label c

Seite 100 - Table B.4. Dell DRAC

5. Specify the Fence Daemon Properties parameters: Post-Join Delay and Post-Fail Delay.a. The Post-Join Delay parameter is the number of seconds the f

Seite 101 - Table B.8. IBM Blade Center

Figure 5.4. Fence Device Configuration2. At the Fence Device Configuration dialog box, click the drop-down box under Add a NewFence Device and select

Seite 102 - Table B.12. McData SAN Switch

IntroductionThis document provides information about installing, configuring and managing Red Hat Clustercomponents. Red Hat Cluster components are pa

Seite 103 - Table B.17. Vixel SAN Switch

2. At the bottom of the right frame (labeled Properties), click the Add a Cluster Node button.Clicking that button causes a Node Properties dialog box

Seite 104 - Table B.18. WTI Power Switch

box to be displayed.c. At the Fence Configuration dialog box, bottom of the right frame (below Properties),click Add a New Fence Level. Clicking Add a

Seite 105 - Parameters

nodes, follow these steps:1. Add the node and configure fencing for it as inSection 5.1, “Adding a Member to a Cluster”.2. Click Send to Cluster to pr

Seite 106 - Table C.2. Apache Server

2. Click Send to Cluster to propagate the updated configuration to other running nodes in thecluster.3. Use the scp command to send the updated /etc/c

Seite 107 - Table C.4. GFS

Figure 5.6. Confirm Deleting a Memberd. At that dialog box, click Yes to confirm deletion.e. Propagate the updated configuration by clicking the Send

Seite 108 - Table C.7. MySQL®

• Unrestricted — Allows you to specify that a subset of members are preferred, but that acluster service assigned to this domain can run on any availa

Seite 109 - Table C.10. NFS Mount

• Section 6.1, “Adding a Failover Domain”• Section 6.2, “Removing a Failover Domain”• Section 6.3, “Removing a Member from a Failover Domain”6.1. Addi

Seite 110 - Table C.12. Oracle® 10g

Figure 5.7. Failover Domain Configuration: Configuring a FailoverDomain4. Click the Available Cluster Nodes drop-down box and select the members for t

Seite 111 - Table C.14. SAP® Database

Figure 5.8. Failover Domain Configuration: Adjusting Priorityb. For each node that requires a priority adjustment, click the node listed in the Member

Seite 112 - Table C.17. Script

6.2. Removing a Failover DomainTo remove a failover domain, follow these steps:1. At the left frame of the Cluster Configuration Tool, click the failo

Seite 113 - Table C.18. Service

environment.• Global File System: Configuration and Administration — Provides information about installing,configuring, and maintaining Red Hat GFS (R

Seite 114 - Important

• New cluster — If this is a new cluster, choose File => Save to save the changes to thecluster configuration.• Running cluster — If this cluster i

Seite 115 - Table C.21. Virtual Machine

Figure 5.9. Adding a Cluster Service4. If you want to restrict the members on which this cluster service is able to run, choose afailover domain from

Seite 116

types of services you can leave the Run Exclusive unchecked.NoteCircumstances that require enabling Run Exclusive are rare. Enabling RunExclusive can

Seite 117 - /etc/cluster/cluster.conf

NoteTo verify the existence of the IP service resource used in a cluster service, youmust use the /sbin/ip addr list command on a cluster node. The fo

Seite 118 - Resources

each node or start the cluster software on each cluster node by running the followingcommands at each node in this order:1. service cman start2. servi

Seite 119

Managing Red Hat Cluster Withsystem-config-clusterThis chapter describes various administrative tasks for managing a Red Hat Cluster andconsists of th

Seite 120 - Resource Agent, service.sh

3. service clvmd stop, if CLVM has been used to create clustered volumes4. service cman stopStopping the cluster services on a member causes its servi

Seite 121

You can use the Cluster Status Tool to enable, disable, restart, or relocate a high-availabilityservice. The Cluster Status Tool displays the current

Seite 122

3. Modifying the Cluster ConfigurationTo modify the cluster configuration (the cluster configuration file(/etc/cluster/cluster.conf), use the Cluster

Seite 123

3. Clicking Send to Cluster causes a Warning dialog box to be displayed. Click Yes to saveand propagate the configuration.4. Clicking Yes causes an In

Seite 124

Italic Courier font represents a variable, such as an installation directory:install_dir/bin/bold fontBold font represents application programs and te

Seite 125 - __independent_subtree

9. Propagate the updated configuration file throughout the cluster by clicking Send to Cluster.NoteThe Cluster Configuration Tool does not display the

Seite 126 - Ordering

in the order shown to restart cluster software:1. service cman start2. service clvmd start, if CLVM has been used to create clustered volumes3. servic

Seite 128

Appendix A. Example of Setting UpApache HTTP ServerThis appendix provides an example of setting up a highly available Apache HTTP Server on aRed Hat C

Seite 129 - Cluster from RHEL 4 to RHEL 5

systems from accessing the same data simultaneously, which may result in data corruption.Therefore, do not include the file systems in the /etc/fstab

Seite 130

your configuration. For example:• Specify the directory that contains the HTML files. Also specify this mount point whenadding the service to the clus

Seite 131

Before the service is added to the cluster configuration, ensure that the Apache HTTP Serverdirectories are not mounted. Then, on one node, invoke the

Seite 132

or leave it as None.• Click the Add a Shared Resource to this service button. From the available list, chooseeach resource that you created in the pre

Seite 134

Appendix B. Fence DeviceParametersThis appendix provides tables with parameter descriptions of fence devices.NoteCertain fence devices have an optiona

Kommentare zu diesen Handbüchern

Keine Kommentare