Red Hat LINUX VIRTUAL SERVER 5.1 - ADMINISTRATION Guia de Instalação

Consulte online ou descarregue Guia de Instalação para Servidores Red Hat LINUX VIRTUAL SERVER 5.1 - ADMINISTRATION. Red Hat LINUX VIRTUAL SERVER 5.1 - ADMINISTRATION Installation guide Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir

Resumo do Conteúdo

Página 1 - Cluster Administration

Red Hat Enterprise Linux 5Cluster AdministrationConfiguring and Managing a Red Hat ClusterEdition 5

Página 2

To connect to a remote machine using ssh, type ssh [email protected] at ashell prompt. If the remote machine is example.com and your username on th

Página 3 - Edition 5

IP Address The IP address assigned to the device.Login The login name used to access the device.Password The password used to authenticate the connect

Página 4 - Abstract

Port The switch outlet number.fence_wtiThe fence agent for the WTI Network Power Switch.Field Descrip t io nT ab le B.23. SCSI Fen cin gField Descrip

Página 5 - Table of Contents

Use SSLconnectionsUse SSL connections to communicate with the device.Power wait Number of seconds to wait after issuing a power off or power on comman

Página 6

HA Resource ParametersThis appendix provides descriptions of HA resource parameters. You can configure the parameterswith Luci, system-config-cluster,

Página 7

T ab le C.2. Ap ach e ServerField Descrip t io nName The name of the Apache Service.Server Root The default value is /etc/httpd.Config File Specifies

Página 8 - Introduction

T ab le C.4 . G FSField Descrip t io nName The name of the file system resource.Mount point The path to which the file system resource is mounted.Devi

Página 9

Fence thenode if it isunable toclean up LVMtagsFence the node if it is unable to clean up LVM tags.Field Descrip t io nT ab le C.7. MySQ LField Descri

Página 10 - 1.3. Not es and Warnings

Name Symbolic name for the NFS mount.NoteThis resource is required only when a cluster service is configured to be anNFS client.Mount point Path to wh

Página 11

T ab le C.13. O racle D BField Descrip t io nInstance name(SID) of OracleinstanceInstance name.Oracle usernameThis is the user name of the Oracle user

Página 12 - Overview

Database type Specifies one of the following database types: Oracle, DB6, or ADA.Oracle TNSlistener nameSpecifies Oracle TNS listener name.ABAP stack

Página 13

Finally, we use three visual styles to draw attention to information that might otherwise be overlooked.NoteNotes are tips, shortcuts or alternative a

Página 14

Number ofseconds towait beforecheckingstartup statusSpecifies the number of seconds to wait before checking the startup status (donot wait for J2EE-Ad

Página 15 - 1.2. Conga

T ab le C.20. ServiceField Descrip t io nService name Name of service. This defines a collection of resources, known as a resourcegroup or cluster ser

Página 16

Field Descrip t io nName Specifies a service name for logging and other purposes.Config File Specifies the absolute path to the configuration file. Th

Página 17

VM MigrationMappingSpecifies an alternate interface for migration. You can specify this when, forexample, the network address used for virtual machine

Página 18

HA Resource BehaviorThis appendix describes common behavior of HA resources. It is meant to provide ancillaryinformation that may be helpful in config

Página 19

A cluster service is an integrated entity that runs under the control of rgmanager. All resources in aservice run on the same node. From the perspecti

Página 20

For more information about typed child resource start and stop ordering, refer to Section D.2.1,“ Typed Child Resource Start and Stop Ordering” . For

Página 21

<lvm name="1" .../> <ip address="10.1.1.1" .../> <fs name="1" .../> <lvm name="2" ..

Página 22

D.2.2. Non-t yped Child Resource St art and St op OrderingAdditional considerations are required for non-typed child resources. For a non-typed child

Página 23

started after nontypedresource:foo. (Non-typed resources are started in the order thatthey appear in the Service resource.)No n-t ype d Child Reso urc

Página 24 - 2.3. Enabling IP Port s

Chapter 1. Red Hat Cluster Configuration and ManagementOverviewRed Hat Cluster allows you to connect a group of computers (called nodes or members) to

Página 25

<service name="foo"> <fs name="1" mountpoint="/mnt/foo" device="/dev/sdb1" fsid="12344">

Página 26

Example D.6 . Service foo No rmal Failu re Reco very<service name="foo"> <script name="script_one" ...>

Página 27

Act io n Syn t axDisplay theresourcerules that rg_testunderstands.rg_test rulesTest aconfiguration (and/usr/share/cluster) forerrors orredundantresour

Página 28

Cluster Service Resource Check and Failover TimeoutThis appendix describes how rgmanager monitors the status of cluster resources, and how tomodify th

Página 29

indeterminately long amount of time to start or stop. Unfortunately, a failure to stop (including atimeout) renders the service inoperable (failed sta

Página 30

NoteFor two node auto-detection in cman, the number of physical nodes matters and not thepresence of the two_node=1 directive in cluster.conf.Clust er

Página 31

High Availabilty LVM (HA-LVM)The Red Hat High Availability Add-On provides support for high availability LVM volumes (HA-LVM)in a failover configurati

Página 32

described in Section F.2, “ Configuring HA-LVM Failover with Tagging” .F.1. Configuring HA-LVM Failover wit h CLVM (preferred, Red HatEnt erprise Linu

Página 33 - 2.6. Configuring max_luns

<lvm ref="lvm"/> <fs ref="FS"/> </service></rm>F.2. Configuring HA-LVM Failover wit h T agg

Página 34

NoteIf there are multiple logical volumes in the volume group, then the logical volume name(lv_name) in the lvm resource should be left blank or unspe

Página 35 - 2.9. Mult icast Addresses

Fibre Channel switch — A Fibre Channel switch provides access to Fibre Channel storage. Otheroptions are available for storage according to the type o

Página 36

Upgrading A Red Hat Cluster from RHEL 4 to RHEL 5This appendix provides a procedure for upgrading a Red Hat cluster from RHEL 4 to RHEL 5. Theprocedur

Página 37

a. At a cluster node, open /etc/cluster/cluster.conf with a text editor.b. If your cluster is configured with GULM as the cluster manager, remove th

Página 38 - 3.1. Configurat ion T asks

Example G .1. G U LM XML Elemen t s an d Co n t en t<gulm> <lockserver name="gulmserver1"/> <lockserver name="gulmser

Página 39 - 3.3. Creat ing A Clust er

Revision HistoryRevisio n 10.0- 8 Mo n Sep 8 2014 St even Levin eVersion for 5.11 GA releaseRevisio n 10.0- 5 Mo n Ju n 30 2014 St even Levin

Página 40

Resolves: #742312Documents support for IBM iPD U Fence DeviceResolves: #757902Documents backup and restore of luci configuration using luci_admin comm

Página 41

Resolves: #571557Adds note on managing virtual machines in a cluster.Resolves: #742310Documents new privilege level parameter for IPMI fence device.Re

Página 42

Resolves: #713256Documents new fence_vmware_soap agent.Resolves: #446137Documents procedure to configure a system to listen to luci from the internal

Página 43

Revisio n 3.0- 1 T u e Au g 18 2009 Pau l K en n ed yResolves: #516128Adds notes about not supporting IPV6.Resolves: #482936Corrects Section 5.7 tit

Página 44

Cisco MDS, Fen ce Device Paramet ersCisco UC S, Fen ce D evice Paramet ersclu st er- administration, Before Configuring a Red Hat Cluster, Managing

Página 45

clu st er reso u rce st at u s ch eck, Clu st er Service R eso u rce Ch eck an d Failo verT imeo u tclu st er reso u rce t yp es, Co n sid erat io n

Página 46

1. Shut down all cluster services on a single cluster node. For instructions on stopping clustersoftware on a node, refer to Section 6.1, “ Starting

Página 47

f eed b ack, Feed b ackf en ce d evice- APC power switch, Fence Device Parameters- APC power switch over SNMP, Fence Device Parameters- Brocade fabric

Página 48

IIB M Blad e C en t er, Fen ce D evice Paramet ersIB M iPDU, Fen ce D evice Paramet ersIB M Remo t e Su p erviso r Adap t er II ( RSA II) , Fen ce D e

Página 49

O racle list en er reso u rce ag en t , HA Reso u rce Paramet ersPp aramet ers, f en ce d evice, Fen ce Device Paramet ersp aramet ers, H A reso u rce

Página 50

st art in g t h e clu st er so f t ware, St art in g t h e Clu st er So f t warest at u s ch eck, clu st er reso u rce, Clu st er Service Reso u rce

Página 51

The following cluster configuration tools are available with Red Hat Cluster:Co n g a — This is a comprehensive user interface for installing, configu

Página 52

To administer a cluster or storage, an administrator adds (or registers) a cluster or a computer to alu ci server. When a cluster or a computer is reg

Página 53

Fig u re 1.4 . lu ci clu st er T ab⁠Chapt er 1 . Red Hat Clust er Co nfigurat ion and Management Overview13

Página 54

Fig u re 1.5. lu ci st o rag e T ab1.3. system-config-cluster Clust er Administ rat ion GUIThis section provides an overview of the cluster administra

Página 55

NoteWhile system-config-cluster provides several convenient tools for configuring andmanaging a Red Hat Cluster, the newer, more comprehensive tool, C

Página 57 - 4.2. Managing Clust er Nodes

The Clu st er Co n f ig u rat io n T o o l represents cluster configuration components in theconfiguration file (/etc/cluster/cluster.conf) with a hi

Página 58

Fig u re 1.7. Clu st er St at u s T o o lThe nodes and services displayed in the Clu st er St at u s T o o l are determined by the clusterconfiguratio

Página 59

T ab le 1.1. Co mman d Lin e T o o lsCo mman d Lin eT o o lUsed Wit h Pu rp o seccs_tool —ClusterConfigurationSystem ToolClusterInfrastructureccs_t

Página 60 - 5.1. Configurat ion T asks

Chapter 2. Before Configuring a Red Hat ClusterThis chapter describes tasks to perform and considerations to make before installing andconfiguring a R

Página 61

configurations in which some nodes have access to the file system and others do not arenot supported.This does not require that all nodes actually mou

Página 62 - ⁠Use a Quorum Disk

Section 2.3.1, “Enabling IP Ports on Cluster Nodes”Section 2.3.2, “ Enabling IP Ports on Computers That Run lu ci”2.3.1. Enabling IP Port s on Clust e

Página 63

T ab le 2.2. En ab led IP Po rt s o n a C o mp u t er T h at Ru n s lu ciIP Po rt N u mb er Pro t o co l Co mpo n en t8084 TCP lu ci (Co n g a use

Página 64 - Configuration Tool” )

NoteDisabling ACPI Soft-Off with the BIOS may not be possible with some computers.Appending acpi=off to the kernel boot command line of the /boot/grub

Página 65

NoteYou can fence the node with the fence_node command or Co n g a.2.4 .2. Disabling ACPI Soft -Off with t he BIOSThe preferred method of disabling AC

Página 66

| Suspend Mode [Disabled] | || HDD Power Down [Disabled] | || Soft-Off by

Página 67

Red Hat Enterprise Linux 5 Cluster AdministrationConfiguring and Managing a Red Hat ClusterEdition 5

Página 68

# grub.conf generated by anaconda## Note that you do not have to rerun grub after making changes to this file# NOTICE: You have a /boot partition. T

Página 69

Fig u re 2.1. Web Server Clu st er Service Examp leClients access the HA service through the IP address 10.10.10.201, enabling interaction with the w

Página 70

An HA service is a group of cluster resources configured into a coherent entity that providesspecialized services to clients. An HA service is represe

Página 71

Parent, child, and sibling relationships among resourcesThe types of resources and the hierarchy of resources depend on the type of service you arecon

Página 72

CMAN memb ersh ip t imeo u t valu eThe CMAN membership timeout value (the time a node needs to be unresponsive beforeCMAN considers that node to be

Página 73

NoteWhen using SELinux with Red Hat Cluster Suite in a VM environment, you should ensure thatthe SELinux boolean fenced_can_network_connect is persist

Página 74

For gnbd:iptables -I INPUT -p tcp -m state --state NEW -m multiport --dports 14567 -j ACCEPTFor luci:iptables -I INPUT -p tcp -m state --state NEW -m

Página 75

The non-default location for virtual machine configuration files may be anywhere. The advantage ofusing an NFS share or a shared GFS or GFS2 file syst

Página 76

Chapter 3. Configuring Red Hat Cluster With CongaThis chapter describes how to configure Red Hat Cluster software using C o n g a, and consists of the

Página 77

# service ricci startStarting ricci: [ OK ]3. Select a computer to host lu ci and install the lu ci soft

Página 78

Legal NoticeCopyright © 20 14 Red Hat Inc..This do cument is licensed by Red Hat under the Creative Co mmons Attributio n-ShareAlike 3.0Unpo rted Li

Página 79

1. As administrator of lu ci, select the clu st er tab.2. Click Creat e a New Clu st er.3. At the Clu st er Name text box, enter a cluster name. Th

Página 80

The Po st - Fail D elay parameter is the number of seconds the fence daemon (fenced)waits before fencing a node (a member of the fence domain) after t

Página 81

4. Q u o ru m Part it io n tab — This tab provides an interface for configuring these Q u o ru mPart it io n Co n f ig u rat io n parameters: Do

Página 82

Heu rist icsPat h t o Pro g ram — The program used to determine if this heuristic isalive. This can be anything that can be executed by /bin/sh -c.

Página 83

1. At the detailed menu for the cluster (below the clu st ers menu), click Sh ared Fen ceDevices. Clicking Sh ared Fen ce Devices causes the displa

Página 84

4. Specify the information in the Fencing Type dialog box according to the type of fencedevice. Refer to Appendix B, Fence Device Parameters for more

Página 85

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

Página 86

A progress page shows the progress of those actions for each added node.5. When the process of adding a node is complete, a page is displayed providi

Página 87

b. On that page, at the Ch o o se a t askdrop-down box, choose to either disable theservice are start it on another node and click Go.c. Upon confir

Página 88

NoteFailover domains are not required for operation.By default, failover domains are unrestricted and unordered.In a cluster with several members, usi

Página 89 - # chkconfig --del httpd

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Página 90

5. To restrict failover to members in this failover domain, click the checkbox next to Rest rictf ailo ver t o t h is d o main ' s members. Wit

Página 91

6. Restricted failover — To enable or disable restricted failover for members in this failoverdomain, click the checkbox next to R est rict f ailo v

Página 92

1. At the detailed menu for the cluster (below the clu st ers menu), click Services. ClickingServices causes the display of services in the center of

Página 93 - Fence Device Parameters

5. Add a resource to the service; click Add a resource to this service. Clicking Add aresource to this service causes the display of two drop-down bo

Página 94

Configuring a Virtual Machine ServiceTo configure a virtual machine service, after clicking Services you can click Ad d a Virt u alMach in e Service.

Página 95

NoteShared storage for use in Red Hat Cluster Suite requires that you be running the clusterlogical volume manager daemon (clvmd) or the High Availabi

Página 96

Chapter 4. Managing Red Hat Cluster With CongaThis chapter describes various administrative tasks for managing a Red Hat Cluster and consists ofthe fo

Página 97

For Rest art t h is clu st er and St o p t h is clu st er/St art t h is clu st er — Displays apage with the list of nodes for the cluster.For Delet

Página 98

4. Clicking Go causes a progress page to be displayed. When the action is complete, a page isdisplayed showing the list of nodes for the cluster.4.3.

Página 99

Rest art t h is service and St o p t h is service — These selections are available when theservice is running. Select either function and click Go t

Página 100

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Página 101 - Fence Device Paramet ers

Chapter 5. Configuring Red Hat Cluster With system-config-clusterThis chapter describes how to configure Red Hat Cluster software using system-config-

Página 102

8. Propagating the configuration file to the other nodes in the cluster.Refer to Section 5.9, “ Propagating The Configuration File: New Cluster” .9.

Página 103 - HA Resource Parameters

dialog box provides a text box for cluster name and the following checkboxes: Cu st o mCo n f ig u re Mu lt icast and Use a Q u o ru m Disk. In most

Página 104

ImportantQuorum-disk parameters and heuristics depend on the site environment and specialrequirements needed. To understand the use of quorum-disk par

Página 105 - HA Resou rce Paramet ers

Fig u re 5.2. Creat in g A N ew Co n f ig u rat io n4. When you have completed entering the cluster name and other parameters in the NewConfiguratio

Página 106

Fig u re 5.3. T h e Clu st er C o n f ig u rat io n T o o lT ab le 5.1. Q u o ru m- D isk Paramet ersParamet er Descrip t io nUse a Q u o ru m Disk E

Página 107

Lab el Specifies the quorum disk label created by the mkqdisk utility. If this fieldcontains an entry, the label overrides the Device field. If this f

Página 108

NoteFor more information about Po st - Jo in Delay and Po st - Fail Delay, refer to thefenced(8) man page.6. Save cluster configuration changes by s

Página 109

5.5. Adding and Delet ing MembersThe procedure to add a member to a cluster varies depending on whether the cluster is a newly-configured cluster or a

Página 110

6. Configure fencing for the node:a. Click the node that you added in the previous step.b. At the bottom of the right frame (below Pro p ert ies),

Página 111

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Página 112

Section 5.5.1, “Adding a Member to a Cluster”.2. Click Send to Cluster to propagate the updated configuration to other running nodes inthe cluster.3.

Página 113

d. service rgmanager start5. Start the Red Hat Cluster Suite management GUI. At the Clu st er C o n f ig u rat io n T o o l tab,verify that the con

Página 114

b. service gfs stop, if you are using Red Hat GFSc. service clvmd stop, if CLVM has been used to create clustered volumesd. service cman stop5. S

Página 115

5.6. Configuring a Failover DomainA failover domain is a named subset of cluster nodes that are eligible to run a cluster service in theevent of a nod

Página 116

Section 5.6.3, “ Removing a Member from a Failover Domain”5.6.1. Adding a Failover DomainTo add a failover domain, follow these steps:1. At the left

Página 117

5. To restrict failover to members in this failover domain, click (check) the Rest rict Failo ver T oT h is Do main s Members checkbox. (With Rest r

Página 118

configuration.5.6.2. Removing a Failover DomainTo remove a failover domain, follow these steps:1. At the left frame of the Clu st er Co n f ig u rat

Página 119

the change immediately, choose File => Save to save the changes to the clusterconfiguration.5.7. Adding Clust er ResourcesTo specify a resource for

Página 120

Fig u re 5.9 . Add in g a Clu st er Service4. If you want to restrict the members on which this cluster service is able to run, choose afailover dom

Página 121

NoteCircumstances that require enabling Ru n Exclu sive are rare. Enabling Ru nExclu sive can render a service offline if the node it is running on f

Página 122 - Important

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

Página 123

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

Página 124

1. service cman start2. service clvmd start, if CLVM has been used to create clustered volumesNoteShared storage for use in Red Hat Cluster Suite re

Página 125

Chapter 6. Managing Red Hat Cluster With system-config-clusterThis chapter describes various administrative tasks for managing a Red Hat Cluster and c

Página 126 - High Availabilty LVM (HA-LVM)

Fig u re 6 .1. C lu st er St at u s T o o lYou can use the Clu st er St at u s T o o l to enable, disable, restart, or relocate a high-availabilityser

Página 127

The following tables describe the members and services status information displayed by the Clu st erSt at u s T o o l.T ab le 6 .1. Memb ers St at u s

Página 128

ImportantAlthough the Clu st er C o n f ig u rat io n T o o l provides a Q u o ru m Vo t es parameter in theProperties dialog box of each cluster mem

Página 129

If a cluster member becomes inoperable because of misconfiguration, restore the configuration fileaccording to the following steps:1. At the Clu st e

Página 130

So, for example, if you have a database that uses an ext3-formatted filesystem, you can disable thedatabase while preserving the filesystem resource f

Página 131

# chkconfig --level 2345 rgmanager off# chkconfig --level 2345 gfs off# chkconfig --level 2345 clvmd off# chkconfig --level 2345 cman offOnce the prob

Página 132

Example of Setting Up Apache HTTP ServerThis appendix provides an example of setting up a highly available Apache HTTP Server on a RedHat Cluster. The

Página 133 - Revision History

Four typographic conventions are used to call attention to specific words and phrases. Theseconventions, and the circumstances they apply to, are as f

Página 134

2. Use the mkfs command to create an ext3 file system on the partition you created in theprevious step. Specify the drive letter and the partition nu

Página 135 - Revision Hist o ry

<Directory /mnt/httpdservice/cgi-bin">AllowOverride NoneOptions None Order allow,deny Allow from all </Directory>Additional changes m

Página 136

Make sure that the Mo n it o r Lin k checkbox is left checked.Click OK.4. Click the Services property.5. Create the Apache HTTP Server service.Click

Página 137

Fence Device ParametersThis appendix provides tables with parameter descriptions of fence devices.NoteThe Name parameter for a fence device specifies

Página 138

SNMP version The SNMP version to use (1, 2c, 3); the default value is 1.SNMP community The SNMP community string; the default value is private.SNMP se

Página 139

IP address orhostnameThe IP address or hostname assigned to the device.UDP/TCP port(optional)The UD P/TCP port to use for connection with the device;

Página 140

Module Name (optional) The module name for the DRAC when you have multiple DRACmodules.PasswordScript(optional)The script that supplies a password for

Página 141

Field Descrip t io nName A name for the server with HP iLO support.Hostname The hostname assigned to the device.Login The login name used to access th

Página 142

Field Descrip t io nName A name for the IBM iPD U device connected to the cluster into which thefence daemon logs via the SNMP protocol.IP Address The

Página 143

Password Script(optional)The script that supplies a password for access to the fence device. Usingthis supersedes the Passwo rd parameter.SNMP versio

Comentários a estes Manuais

Sem comentários