Configuring and Managing a RedHat ClusterRed Hat Cluster for Red Hat EnterpriseLinux 5
Other options are available for storage according to the type of storage interface; for ex-ample, iSCSI or GNBD. A Fibre Channel switch can be configu
grouped into a failover domain for a cluster service. The services comprise resources such asNFS exports, IP addresses, and shared GFS partitions.Figu
In addition, information about using Conga and system-config-cluster is provided in sub-sequent chapters of this document. Information about the comma
ine which users are allowed to access clusters and computers registered in the luci database. Itis possible to import users as a batch operation in a
Figure 1.4. luci cluster Tab2. Conga6
Figure 1.5. luci storage Tab3. system-config-cluster Cluster Administration GUIThis section provides an overview of the cluster administration graphic
Figure 1.6. Cluster Configuration ToolThe Cluster Configuration Tool represents cluster configuration components in the configura-tion file (/etc/clus
elements under Fence Devices. Using configuration buttons at the bottom of the right frame(below Properties), you can add fence devices, delete fence
Figure 1.7. Cluster Status ToolThe nodes and services displayed in the Cluster Status Tool are determined by the clusterconfiguration file (/etc/clust
Command LineToolUsed With Purposeccs_tool —Cluster Configur-ation SystemToolCluster Infra-structureccs_tool is a program for making online updates to
Configuring and Managing a Red Hat Cluster: Red Hat Clusterfor Red Hat Enterprise Linux 5Copyright © 2007 Red Hat, Inc.Configuring and Managing a Red
Certain low-cost alternatives, such as host RAID controllers, software RAID without clustersupport, and multi-initiator parallel SCSI configurations a
Chapter 2. Configuring Red HatCluster With CongaThis chapter describes how to configure Red Hat Cluster software using Conga, and consists ofthe follo
To administer Red Hat Clusters with Conga, install and run luci and ricci as follows:1. At each node to be administered by Conga, install the ricci ag
(or the equivalent). The URL syntax for the luci server ishttps://luci_server_hostname:8084. The first time you access luci, two SSL certificate dia-l
• The Cluster Name text box displays the cluster name; it does not accept a cluster namechange. You cannot change the cluster name. The only way to ch
NoteFor more information about setting Quorum Partition parameters, refer to theqdisk(8) man page.5. Configuring Fence DevicesConfiguring fence device
• Dell DRAC• HP iLO• IBM RSA II• IPMI LAN• RPS10 Serial SwitchThis section provides procedures for the following tasks:• Creating shared fence devices
Figure 2.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
1. At the detailed menu for the cluster (below the clusters menu), click Shared FenceDevices. Clicking Shared Fence Devices causes the display of the
1. At the detailed menu for the cluster (below the clusters menu), click Nodes. ClickingNodes causes the display of an Add a Node element and a Config
d. Joining the added node to cluster.A progress page shows the progress of those actions for each added node.5. When the process of adding a node is c
2. Disable or relocate each service that is running on the node to be deleted:NoteRepeat this step for each service that needs to be disabled or start
NoteChanging a failover domain configuration has no effect on currently running ser-vices.NoteFailover domains are not required for operation.By defau
3. At the Add a Failover Domain page, specify a failover domain name at the Failover Do-main Name text box.NoteThe name should be descriptive enough t
4. Modifying failover name — To change the failover domain name, modify the text at the Fail-over Domain Name text box.NoteThe name should be descript
select the type of resource to configure. The resource options are described as follows:GFSName — Create a name for the file system resource.Mount Poi
Monitor Link checkbox — Check the box to enable or disable link status monitoring of theIP address resourceNFS MountName — Create a symbolic name for
directly to service, not to a resource within a service.4. Click Submit. Clicking Submit causes a progress page to be displayed followed by the dis-pl
NoteIf you are adding a Samba-service resource, connect a Samba-service re-source directly to the service, not to a resource within a service.6. If yo
forms throughout the storage user interface. This general choice allows you to avoid difficultdecimal representations of storage size (for example, if
Table of ContentsIntroduction ...vi1. Docu
Chapter 3. Managing Red Hat ClusterWith CongaThis chapter describes various administrative tasks for managing a Red Hat Cluster and con-sists of the f
node. You can select this action for any state the cluster is in. Deleting a cluster freeseach node in the cluster for use in another cluster.2. Selec
Selecting Have node join cluster starts cluster software and makes the node join thecluster. Making a node join a cluster allows the node to automatic
• Configure this service — Configure this service is available when the service is run-ning or not running. Selecting Configure this service causes th
Chapter 4. Configuring Red HatCluster With system-config-clusterThis chapter describes how to configure Red Hat Cluster software using system-config-c
9. Starting the cluster software. Refer to Section 10, “Starting the Cluster Software”.2. Starting the Cluster Configuration ToolYou can start the Clu
3. Clicking Create New Configuration causes the New Configuration dialog box to be dis-played (refer to Figure 4.2, “Creating A New Configuration”). T
Figure 4.2. Creating A New Configuration4. When you have completed entering the cluster name and other parameters in the NewConfiguration dialog box,
Cluster Properties dialog box presents text boxes for Name, Config Version, and twoFence Daemon Properties parameters: Post-Join Delay and Post-Fail D
Fence Device button. Clicking Add a Fence Device causes the Fence Device Configura-tion dialog box to be displayed (refer to Figure 4.4, “Fence Device
5.3. Deleting a Member from a Cluster ...456. Configuring a Failover Domain ...
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
c. At the Fence Configuration dialog box, bottom of the right frame (below Properties),click Add a New Fence Level. Clicking Add a New Fence Level cau
Section 5.1, “Adding a Member to a Cluster”.2. Click Send to Cluster to propagate the updated configuration to other running nodes in thecluster.3. Us
4. Start cluster services on the new node by running the following commands in this order:a. service cman startb. service clvmd startc. service gfs st
Figure 4.6. Confirm Deleting a Memberd. At that dialog box, click Yes to confirm deletion.e. Propagate the updated configuration by clicking the Send
• Ordered — Allows you to specify a preference order among the members of a failover do-main. The member at the top of the list is the most preferred,
2. At the bottom of the right frame (labeled Properties), click the Create a Failover Domainbutton. Clicking the Create a Failover Domain button cause
over domain.)6. To prioritize the order in which the members in the failover domain assume control of afailed cluster service, follow these steps:a. C
• Running cluster — If this cluster is operational and running, and you want to propagatethe change immediately, click the Send to Cluster button. Cli
4. When finished, click Close.5. At the Cluster Configuration Tool, perform one of the following actions depending onwhether the configuration is for
IntroductionThis document provides information about installing, configuring and managing Red Hat Clustercomponents. Red Hat Cluster components are pa
Device — Specify the device file associated with the file system resource.Options — Mount options.File System ID — When creating a new file system res
addresses (with wild-card support), and netgroups.Read-Write and Read Only options — Specify the type of access rights for this NFS clientresource:• R
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
is checked, the service is started automatically when a cluster is started and running. IfAutostart This Service is not checked, the service must be s
ton. The process is the same as creating a shared resource described in Section 7, “AddingCluster Resources”. The private resource will appear as a ch
10. Starting the Cluster SoftwareAfter you have propagated the cluster configuration to the cluster nodes you can either rebooteach node or start the
Chapter 5. Managing Red Hat ClusterWith system-config-clusterThis chapter describes various administrative tasks for managing a Red Hat Cluster and co
Figure 5.1. Cluster Status ToolYou can use the Cluster Status Tool to enable, disable, restart, or relocate a high-availabilityservice. The Cluster St
Members Status DescriptionMemberThe node is part of the cluster.Note: A node can be a member of a cluster; however, the node maybe inactive and incapa
ImportantAlthough the Cluster Configuration Tool provides a Quorum Votes parameter inthe Properties dialog box of each cluster member, that parameter
• Linux Virtual Server Administration — Provides information on configuring high-performancesystems and services with the Linux Virtual Server (LVS).•
Each time you save a configuration file, the Cluster Configuration Tool saves backup copiesof the three most recently used configuration files as /etc
11. Click the Cluster Management tab and verify that the changes have been propagated tothe cluster members.5. Disabling the Cluster SoftwareIt may be
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
2. Configuring Shared StorageTo set up the shared file system resource, perform the following tasks as root on one clustersystem:1. On one cluster nod
DocumentRoot "/mnt/httpdservice/html"• Specify a unique IP address to which the service will listen for requests. For example:Listen 192.168
• Enter a Name to be associated with the Apache HTTP Server service.• Specify the path to the Apache HTTP Server init script (for example, /etc/rc.d/i
Appendix B. Fence DeviceParametersThis appendix provides tables with parameter descriptions of fence devices.NoteCertain fence devices have an optiona
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
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
Field DescriptionIP Address The IP address assigned to the IPMI port.Login The login name of a user capable of issuing power on/off commands to thegiv
TipA tip is typically an alternative way of performing a task.ImportantImportant information is necessary, but possibly unexpected, such as a configur
Field DescriptionName A name for the WTI RPS-10 power switch connected to the cluster.Device The device the switch is connected to on the controlling
Field Description(optional)Table B.17. Vixel SAN SwitchField DescriptionName A name for the WTI power switch connected to the cluster.IP Address The I
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
3. Disable cluster software from starting during reboot. At each node, run /sbin/chkconfig asfollows:# chkconfig --level 2345 rgmanager off# chkconfig
6. Update the software in the cluster nodes to RHEL 5 and Red Hat Cluster Suite for RHEL 5.You can acquire and update software through Red Hat Network
IndexAApache HTTP Serverhttpd.conf, 65setting up service, 64Cclusteradministration, 32, 58diagnosing and correcting problems, 35, 63disabling the clus
cluster, 35, 63Uupgrading, RHEL 4 to RHEL 5, 7478
Chapter 1. Red Hat ClusterConfiguration and ManagementOverviewRed Hat Cluster allows you to connect a group of computers (called nodes or members) to
Commentaires sur ces manuels