Red Hat CLUSTER SUITE FOR ENTERPRISE LINUX 5.1 Guida di Installazione

Navigare online o scaricare Guida di Installazione per Server Red Hat CLUSTER SUITE FOR ENTERPRISE LINUX 5.1. Red Hat CLUSTER SUITE FOR ENTERPRISE LINUX 5.1 Installation guide Manuale Utente

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 114
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 0
Configuring and Managing a Red Hat
Cluster
5.1
Red Hat Cluster for Red
Hat Enterprise Linux 5.1
ISBN: N/A
Publication date:
Vedere la pagina 0
1 2 3 4 5 6 ... 113 114

Sommario

Pagina 1 - Hat Enterprise Linux 5.1

Configuring and Managing a Red HatCluster5.1Red Hat Cluster for RedHat Enterprise Linux 5.1ISBN: N/APublication date:

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

domain, if configured).Before the service is added to the cluster configuration, ensure that the Apache HTTP Serverdirectories are not mounted. Then,

Pagina 4

• Click Create a Service. Type a Name for the service in the Add a Service dialog.• In the Service Management dialog, select a Failover Domain from th

Pagina 6

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

Pagina 7 - Introduction

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 8 - 1. Document Conventions

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 9 - 2. Feedback

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 10 - Documentation-cluster

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 11 - Management Overview

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 12

Appendix C. 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 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

• GULM — Run service lock_gulmd stop.f. Run service ccsd stop.3. Disable cluster software from starting during reboot. At each node, run /sbin/chkconf

Pagina 15

# gfs_tool sb /dev/my_vg/gfs1 proto lock_dlmYou shouldn't change any of these values if the filesystem is mounted.Are you sure? [y/n] ycurrent lo

Pagina 17 - Figure 1.5. luci storage Tab

IndexAACPIconfiguring, 17Apache HTTP Serverhttpd.conf, 88setting up service, 87Cclusteradministration, 13, 49, 79diagnosing and correcting problems, 5

Pagina 18

Apache HTTP Serverhttpd.conf, 88setting up, 87Iintegrated fence devicesconfiguring ACPI, 17introduction, viiother Red Hat Enterprise Linux documents,v

Pagina 19

• Fibre Channel switch — A Fibre Channel switch provides access to Fibre Channel storage.Other options are available for storage according to the type

Pagina 20 - 3.2. Cluster Status Tool

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

Pagina 21 - Table 1.1. Command Line Tools

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

Pagina 22

can manage storage on computers whether they belong to a cluster or not.To administer a cluster or storage, an administrator adds (or registers) a clu

Pagina 23 - Before Configuring a Red Hat

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

Pagina 24

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

Pagina 25

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

Pagina 26

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

Pagina 27

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

Pagina 28 - Important

recovery policy for the service. Services are represented as subordinate elements underServices. Using configuration buttons at the bottom of the righ

Pagina 29

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 31

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

Pagina 32 - 4. Configuring max_luns

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

Pagina 33

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

Pagina 34 - 6. Multicast Addresses

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 35

10.10.10.0/24 -d 10.10.10.0/24 --dports 50007 -j ACCEPTExample 2.9. Port 50007: ccsd (UDP)3. Configuring ACPI For Use with Integrated FenceDevicesIf y

Pagina 36

Soft-Off with one of the following alternate methods:• Changing the BIOS setting to "instant-off" or an equivalent setting that turns off th

Pagina 37 - 1. Configuration Tasks

• chkconfig --del acpid — This command removes acpid from chkconfigmanagement.— OR —• chkconfig --level 2345 acpid off — This command turns off acpid.

Pagina 38 - 2. Starting luci and ricci

Configuring and Managing a Red Hat Cluster: Red Hat Clusterfor Red Hat Enterprise Linux 5.1Copyright © You need to override this in your local ent fil

Pagina 39 - 3. Creating A Cluster

NoteThe equivalents to ACPI Function, Soft-Off by PWR-BTTN, and Instant-Offmay vary among computers. However, the objective of this procedure is tocon

Pagina 40 - 4. Global Cluster Properties

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 41

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 42 - 5. Configuring Fence Devices

ImportantOverall, heuristics and other qdiskd parameters for your Red Hat Clusterdepend on the site environment and special requirements needed. Tound

Pagina 43

NoteUsing JBOD as a quorum disk is not recommended. A JBOD cannot providedependable performance and therefore may not allow a node to write to it quic

Pagina 44

No-single-point-of-failure hardware configurationClusters can include a dual-controller RAID array, multiple bonded network channels,multiple paths be

Pagina 46

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

Pagina 47

9. Configuring storage. Refer to Section 10, “Configuring Cluster Storage”.2. Starting luci and ricciTo administer Red Hat Clusters with Conga, instal

Pagina 48

Restart the Luci server for changes to take effecteg. service luci restart5. Start luci using service luci restart. For example:# service luci restart

Pagina 49

Configuring and Managing a Red Hat Cluster

Pagina 50

A progress page shows the progress of those actions for each node in the cluster.When the process of creating a new cluster is complete, a page is dis

Pagina 51 - 7.1. Adding a Failover Domain

NoteFor more information about Post-Join Delay and Post-Fail Delay, refer to thefenced(8) man page.3. Multicast tab — This tab provides an interface f

Pagina 52

Parameter DescriptionUse a QuorumPartitionEnables quorum partition. Enables quorum-disk parameters in theQuorum Partition tab.Interval The frequency o

Pagina 53 - 8. Adding Cluster Resources

TipIf you are creating a new cluster, you can create fence devices when youconfigure cluster nodes. Refer to Section 6, “Configuring Cluster Members”.

Pagina 54

• Creating shared fence devices — Refer to Section 5.1, “Creating a Shared Fence Device”.The procedures apply only to creating shared fence devices. Y

Pagina 55 - /etc/init.d/userscript)

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 56

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 57

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 58

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 59 - Managing Red Hat Cluster With

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 60 - 2. Managing Cluster Nodes

Introduction ... vii1. Document Conventions

Pagina 61 - /etc/cluster/

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

Pagina 62

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 63

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 64

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 65

File System ID — When creating a new file system resource, you can leave this field blank.Leaving the field blank causes a file system ID to be assign

Pagina 66

Options — Additional client access rights. For more information, refer to the exports(5) manpage, General OptionsNFS ExportName — Enter a name for the

Pagina 67

service must be started manually any time the cluster comes up from the stopped state.TipUse a descriptive name that clearly distinguishes the service

Pagina 68

link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00inet 127.0.0.1/8 scope host loinet6 ::1/128 scope hostvalid_lft forever preferred_lft forever2: e

Pagina 69 - /bin/sh -c. A return

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

Pagina 70 - 4. Configuring Fence Devices

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

Pagina 71

4. Managing Red Hat Cluster With Conga ...491. Starting, Stopping, and Deleting Cluster

Pagina 72

Selecting Start this cluster starts cluster software.• Delete this cluster — Selecting this action halts a running cluster, disables clustersoftware f

Pagina 73 - Two Nodes

• Have node leave cluster/Have node join cluster — Have node leave cluster isavailable when a node has joined of a cluster. Have node join cluster is

Pagina 74 - Than Two Nodes

2. At the right of each service listed on the page, click the Choose a task drop-down box.Clicking Choose a task drop-down box reveals the following s

Pagina 75

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

Pagina 76

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

Pagina 77

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 78 - 6.1. Adding a Failover Domain

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 79

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

Pagina 80

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

Pagina 81

Parameter Descriptionsame on all nodes.Label Specifies the quorum disk label created by the mkqdisk utility. If thisfield contains an entry, the label

Pagina 82 - 7. Adding Cluster Resources

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

Pagina 83

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 84

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 85

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 86

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 87

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 propagate the updated config

Pagina 88

cluster.3. Use the scp command to send the updated /etc/cluster/cluster.conf file from one ofthe existing cluster nodes to the new node.4. Start clust

Pagina 89

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 90

• 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 91 - Table 6.2. Services Status

• 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 92

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

Pagina 93

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

Pagina 94

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

Pagina 95

To remove a failover domain, follow these steps:1. At the left frame of the Cluster Configuration Tool, click the failover domain that you wantto dele

Pagina 96

• 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 97 - Apache HTTP Server

Options — Mount options.File System ID — When creating a new file system resource, you can leave this field blank.Leaving the field blank causes a fil

Pagina 98 - 2. Configuring Shared Storage

addresses (with wild-card support), and netgroups.Read-Write and Read Only options — Specify the type of access rights for this NFS clientresource:• R

Pagina 99

2. At the bottom of the right frame (labeled Properties), click the Create a Service button.Clicking Create a Service causes the Add a Service dialog

Pagina 100 - /dev/sda3)

a Failover Domain” for instructions on how to configure a failover domain.)5. Autostart This Service checkbox — This is checked by default. If Autosta

Pagina 101

9. If needed, you may also create a private resource that you can create that becomes asubordinate resource by clicking on the Attach a new Private Re

Pagina 102

Propagating the cluster configuration file this way is necessary for the first time acluster is created. Once a cluster is installed and running, the

Pagina 103 - Parameters

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

Pagina 104 - Table B.4. Dell DRAC

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

Pagina 105 - Table B.8. IBM Blade Center

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 106 - Table B.12. McData SAN Switch

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

Pagina 107 - Table B.17. Vixel SAN Switch

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

Pagina 108 - Table B.18. WTI Power Switch

Configuring Red Hat Cluster With system-config-cluster.3. Clicking Send to Cluster causes a Warning dialog box to be displayed. Click Yes to saveand p

Pagina 109 - Cluster from RHEL 4 to RHEL 5

6. Clicking File => Save As causes the system-config-cluster dialog box to be displayed.7. At the the system-config-cluster dialog box, select /etc

Pagina 110

# chkconfig --level 2345 gfs on# chkconfig --level 2345 clvmd on# chkconfig --level 2345 cman onYou can then reboot the member for the changes to take

Pagina 112

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 113

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 114

1. Edit the /etc/httpd/conf/httpd.conf configuration file and customize the file according toyour configuration. For example:• Specify the directory t

Commenti su questo manuale

Nessun commento