Red Hat CLUSTER SUITE FOR ENTERPRISE LINUX 5.1 Instalační příručka

Procházejte online nebo si stáhněte Instalační příručka pro Servery Red Hat CLUSTER SUITE FOR ENTERPRISE LINUX 5.1. Red Hat CLUSTER SUITE FOR ENTERPRISE LINUX 5.1 Installation guide Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 114
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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:
Zobrazit stránku 0
1 2 3 4 5 6 ... 113 114

Shrnutí obsahu

Strany 1 - Hat Enterprise Linux 5.1

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

Strany 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

Strany 3

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

Strany 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

Strany 6

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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 13

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

Strany 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

Strany 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

Strany 17 - Figure 1.5. luci storage Tab

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

Strany 18

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

Strany 19

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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 24

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

Strany 25

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

Strany 26

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

Strany 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

Strany 28 - Important

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

Strany 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

Strany 31

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

Strany 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

Strany 33

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

Strany 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

Strany 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

Strany 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

Strany 37 - 1. Configuration Tasks

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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 44

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

Strany 46

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

Strany 47

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

Strany 48

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

Strany 49

Configuring and Managing a Red Hat Cluster

Strany 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

Strany 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

Strany 52

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

Strany 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”.

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 60 - 2. Managing Cluster Nodes

Introduction ... vii1. Document Conventions

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 66

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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 71

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

Strany 72

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

Strany 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

Strany 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

Strany 75

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

Strany 76

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

Strany 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

Strany 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

Strany 79

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

Strany 80

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

Strany 81

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

Strany 82 - 7. Adding Cluster Resources

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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 92

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

Strany 93

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

Strany 94

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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 103 - Parameters

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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 114

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

Komentáře k této Příručce

Žádné komentáře