Red Hat APPLICATION SERVER - JONAS Installationsanleitung Seite 1

Stöbern Sie online oder laden Sie Installationsanleitung nach Server Red Hat APPLICATION SERVER - JONAS herunter. Red Hat APPLICATION SERVER - JONAS Installation guide Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken

Inhaltsverzeichnis

Seite 1 - Linux 5.1

Linux Virtual Server Administration5.1Linux Virtual Server (LVS)for Red Hat EnterpriseLinux 5.1ISBN: N/APublication date:

Seite 2

rh-lvs(EN)-5.1 (2007-10-30T17:36)By mentioning this manual's identifier, we know exactly which version of the guide you have.If you have a sugges

Seite 3

Linux Virtual Server OverviewLinux Virtual Server (LVS) is a set of integrated software components for balancing the IP loadacross a set of real serve

Seite 4

Figure 1.1. A Basic LVS ConfigurationService requests arriving at the LVS routers are addressed to a virtual IP address, or VIP. Thisis a publicly-rou

Seite 5

The active router also dynamically monitors the overall health of the specific services on the realservers through simple send/expect scripts. To aid

Seite 6

Each of the real servers then accesses a shared data source over the network.Figure 1.2. A Three-Tier LVS ConfigurationThis configuration is ideal for

Seite 7 - Introduction

available database for transactions. Additionally, using an active-active configuration with RedHat Cluster Manager, administrators can configure one

Seite 8 - 1. Document Conventions

Weighted Round-Robin SchedulingDistributes each request sequentially around the pool of real servers but gives more jobs toservers with greater capaci

Seite 9 - 2. Feedback

Distributes requests to the pool of real servers by looking up the source IP in a static hashtable. This algorithm is designed for LVS routers with mu

Seite 10

Figure 1.3. LVS Implemented with NAT RoutingIn the example, there are two NICs in the active LVS router. The NIC for the Internet has a realIP address

Seite 11 - Linux Virtual Server Overview

which uses network address translation to replace the address of the real server in the packetswith the LVS routers public VIP address. This process i

Seite 12

Building a Linux Virtual Server (LVS) system offers highly-available and scalable solution forproduction services using specialized routing and load-b

Seite 13

Figure 1.4. LVS Implemented with Direct RoutingIn the typical direct routing LVS setup, the LVS router receives incoming server requeststhrough the vi

Seite 14

While there are many advantages to using direct routing in LVS, there are limitations as well.The most common issue with LVS via direct routing is wit

Seite 15 - 3. LVS Scheduling Overview

it is handled according to the scheduling rules in place.Persistence also allows the administrator to specify a subnet mask to apply to the client IPa

Seite 16

Figure 1.5. LVS ComponentsThe pulse daemon runs on both the active and passive LVS routers. On the backup router,pulse sends a heartbeat to the public

Seite 17 - 4. Routing Methods

6.1. LVS ComponentsSection 6.1.1, “pulse” shows a detailed list of each software component in an LVS router.6.1.1. pulseThis is the controlling proces

Seite 18

Chapter 2, Initial LVS Configuration reviews important post-installation configuration steps youshould take before configuring Red Hat Enterprise Linu

Seite 20

Initial LVS ConfigurationAfter installing Red Hat Enterprise Linux, you must take some basic steps to set up both theLVS routers and the real servers.

Seite 21 - 5.1. Persistence

/sbin/chkconfig --level 35 daemon onIn the above command, replace daemon with the name of the service you are activating. To geta list of services on

Seite 22 - 6. LVS — A Block Diagram

following command as root:/sbin/service piranha-gui startor/sbin/service piranha-gui restartIssuing this command starts a private session of the Apach

Seite 23 - Figure 1.5. LVS Components

Linux Virtual Server Administration: Linux Virtual Server(LVS) for Red Hat Enterprise Linux 5.1Copyright © You need to override this in your local ent

Seite 24 - 6.1. LVS Components

Now that the Piranha Configuration Tool is running, you may wish to consider limiting whohas access to the tool over the network. The next section rev

Seite 25 - LVS Components

configuration pages in the /etc/sysconfig/ha/web/secure/ directory but notto the login and the help pages in /etc/sysconfig/ha/web/. To limit access t

Seite 27 - Initial LVS Configuration

Setting Up LVSLVS consists of two basic groups: the LVS routers and the real servers. To prevent a singlepoint of failure, each groups should contain

Seite 28

which link to the real servers (eth1) will be on the 10.11.12/24 network.So on the active or primary LVS router node, the public interface's netw

Seite 29

1.2. Routing on the Real ServersThe most important thing to remember when configuring the real servers network interfaces in aNAT topology is to set t

Seite 30

firewall marks, see Section 4, “Multi-port Services and LVS”.Once forwarding is enabled on the LVS routers and the real servers are set up and have th

Seite 31

topologies. While the LVS router needs to be running Red Hat Enterprise Linux to processthe incoming requests and perform load-balancing for the real

Seite 32

they contain the real IP of the server instead. The only node that should respond to ARPrequests for any of the VIPs is the current active LVS node.2.

Seite 33 - Setting Up LVS

two separate Apache HTTP Server services bound to port 80, because both must bind toINADDR_ANY instead of the virtual IP addresses.To configure direct

Seite 34 - Important

Linux Virtual Server Administration

Seite 35

Configuration Tool.3.1. General LVS Networking TipsConfigure the real IP addresses for both the public and private networks on the LVS routersbefore a

Seite 36 - 2. LVS via Direct Routing

occur within the length of time specified by the persistence parameter. For more on assigningpersistence to a virtual server, see Section 6.1, “The VI

Seite 37

HTTP and HTTPS virtual servers. These commands have the net effect of assigning any trafficaddressed to the VIP on the appropriate ports a firewall ma

Seite 38

effectively cluster FTP, you must configure the LVS routers to handle both activeand passive connections.The FTP client/server relationship can potent

Seite 39

WarningIf you are limiting the port range for passive connections, you must also configurethe VSFTP server to use a matching port range. This can be a

Seite 40

runlevels. For more on this, refer to Section 1, “Configuring Services on the LVS Routers”.6. Saving Network Packet Filter SettingsAfter configuring t

Seite 42 - 5. Configuring FTP

Configuring the LVS Routers withPiranha Configuration ToolThe Piranha Configuration Tool provides a structured approach to creating the necessaryconfi

Seite 43

Figure 4.1. The Welcome PanelClick on the Login button and enter piranha for the Username and the administrativepassword you created in the Password f

Seite 44

Figure 4.2. The CONTROL/MONITORING PanelAuto updateThe status display on this page can be updated automatically at a user configurableinterval. To ena

Seite 45

Introduction ... vii1. Document Conventions

Seite 46

CHANGE PASSWORDClicking this button takes you to a help screen with information on how to change theadministrative password for the Piranha Configurat

Seite 47 - Piranha Configuration Tool

Primary server private IPEnter the real IP address for an alternative network interface on the primary LVS node. Thisaddress is used solely as an alte

Seite 48 - 3. CONTROL/MONITORING

TipYou should alias the NAT floating IP address to the Ethernet interface connectedto the private network. In this example, the private network is on

Seite 49

Figure 4.4. The REDUNDANCY PanelRedundant server public IPEnter the public real IP address for the backup LVS router node.Redundant server private IPE

Seite 50 - 4. GLOBAL SETTINGS

Assume dead after (seconds)If the primary LVS node does not respond after this number of seconds, then the backupLVS router node will initiate failove

Seite 51

Figure 4.5. The VIRTUAL SERVERS PanelEach server displayed in the VIRTUAL SERVERS panel can be configured on subsequentscreens or subsections.To add a

Seite 52 - 5. REDUNDANCY

any of the subsections related to this virtual server, complete this page and click on theACCEPT button.Figure 4.6. The VIRTUAL SERVERS SubsectionName

Seite 53

Enter the virtual server's floating IP address in this text field.Virtual IP Network MaskSet the netmask for this virtual server with the drop-do

Seite 54 - 6. VIRTUAL SERVERS

Load monitoring toolThe LVS router can monitor the load on the various real servers by using either rup orruptime. If you select rup from the drop-dow

Seite 55

WarningRemember to click the ACCEPT button after making any changes in this panel.To make sure you do not lose changes when selecting a new panel.6.2.

Seite 56

3. CONTROL/MONITORING ...384. GLOBAL SETTINGS ...

Seite 57

Figure 4.8. The REAL SERVER Configuration PanelThis panel consists of three entry fields:NameA descriptive name for the real server.TipThis name is no

Seite 58

WeightAn integer value indicating this host's capacity relative to that of other hosts in the pool. Thevalue can be arbitrary, but treat it as a

Seite 59 - 6.2. REAL SERVER Subsection

Figure 4.9. The EDIT MONITORING SCRIPTS SubsectionSending ProgramFor more advanced service verification, you can use this field to specify the path to

Seite 60

Only one send sequence is allowed in this field, and it can only contain printable, ASCIIcharacters as well as the following escape characters:• \n fo

Seite 61

• /etc/sysconfig/iptables — If you are using firewall marks, you should synchronize one ofthese files based on which network packet filter you are usi

Seite 62

ImportantIf you are not sure whether or not packet forwarding is enabled in the kernel, seeSection 5, “Turning on Packet Forwarding” for instructions

Seite 63

requests to LVS at this point, you should start the backup LVS router before putting LVS intoservice. To do this, simply repeat the process described

Seite 64 - 7.2. Synchronizing sysctl

Appendix A. Using LVS with Red HatClusterYou can use LVS routers with a Red Hat Cluster to deploy a high-availability e-commerce sitethat provides loa

Seite 65 - 8. Starting LVS

Figure A.1. LVS with a Red Hat ClusterServing dynamic Web content with LVS requires a three-tier configuration (as shown inFigure A.1, “LVS with a Red

Seite 66

configuration is suitable if the Web servers serve only static Web content (consisting of smallamounts of infrequently changing data), a two-tier conf

Seite 67

IntroductionThis document provides information about installing, configuring, and managing Red Hat VirtualLinux Server (LVS) components. LVS provides

Seite 69

IndexSymbols/etc/sysconfig/ha/lvs.cf file, 14Aarptables_jf, 27Cchkconfig, 17clusterusing LVS with Red Hat Cluster, 57componentsof LVS, 14Ddirect routi

Seite 70

network address translation (see NAT)Ppacket forwarding, 21(see also LVS)Piranha Configuration Tool, 14CONTROL/MONITORING, 38EDIT MONITORING SCRIPTS S

Seite 71

• Using Device-Mapper Multipath — Provides information about using the Device-MapperMultipath feature of Red Hat Enterprise Linux 5.• Using GNBD with

Seite 72

Additionally, the manual uses different strategies to draw your attention to pieces of information.In order of how critical the information is to you,

Kommentare zu diesen Handbüchern

Keine Kommentare