Red Hat ENTERPRISE LINUX 5 - GLOBAL NETWORK BLOCK DEVICE Guida di Installazione

Navigare online o scaricare Guida di Installazione per Server Red Hat ENTERPRISE LINUX 5 - GLOBAL NETWORK BLOCK DEVICE. Red Hat ENTERPRISE LINUX 5 - GLOBAL NETWORK BLOCK DEVICE Installation guide [en] Manuale Utente

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 134
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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
Vedere la pagina 0
1 2 3 4 5 6 ... 133 134

Sommario

Pagina 1 - Hat Enterprise Linux

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 8 - 1. Document Conventions

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

Pagina 9 - 2. Feedback

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

Pagina 10

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

Pagina 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

Pagina 12

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

Pagina 13

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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,

Pagina 18

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

Pagina 19

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

Pagina 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

Pagina 22

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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 (

Pagina 31

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

Pagina 32

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

Pagina 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

Pagina 35

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

Pagina 36

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

Pagina 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

Pagina 39 - 3. Creating A Cluster

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

Pagina 40 - 4. Global Cluster Properties

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

Pagina 41

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

Pagina 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

Pagina 43

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

Pagina 44

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

Pagina 45

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

Pagina 46

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

Pagina 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

Pagina 48

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

Pagina 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

Pagina 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

Pagina 52

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

Pagina 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

Pagina 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

Pagina 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

Pagina 56

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 64

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

Pagina 65

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

Pagina 66

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

Pagina 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

Pagina 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

Pagina 69

Configuring and Managing a Red Hat Cluster

Pagina 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

Pagina 71 - Two Nodes

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

Pagina 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

Pagina 73

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 80 - 7. Adding Cluster Services

Introduction ... vii1. Document Conventions

Pagina 81

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 88

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

Pagina 89

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

Pagina 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

Pagina 91

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

Pagina 92

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

Pagina 93 - Apache HTTP Server

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

Pagina 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

Pagina 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

Pagina 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

Pagina 97

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

Pagina 98

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 113 - Table C.18. Service

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

Pagina 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

Pagina 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

Pagina 116

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

Pagina 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

Pagina 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

Pagina 119

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

Pagina 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

Pagina 121

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

Pagina 122

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

Pagina 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

Pagina 124

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 130

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

Pagina 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

Pagina 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

Pagina 134

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

Commenti su questo manuale

Nessun commento