Initial Lvs Configuration; Configuring Services On The Lvs Routers - Red Hat LINUX VIRTUAL SERVER 5.0 - ADMINISTRATION Manual

Linux virtual server (lvs) for red hat enterprise linux 5.0
Table of Contents

Advertisement

Chapter 2.

Initial LVS Configuration

After installing Red Hat Enterprise Linux, you must take some basic steps to set up both the
LVS routers and the real servers. This chapter covers these initial steps in detail.
Note
The LVS router node that becomes the active node once LVS is started is also
referred to as the primary node. When configuring LVS, use the Piranha
Configuration Tool on the primary node.

1. Configuring Services on the LVS Routers

The Red Hat Enterprise Linux installation program installs all of the components needed to set
up LVS, but the appropriate services must be activated before configuring LVS. For both LVS
routers, set the appropriate services to start at boot time. There are three primary tools available
for setting services to activate at boot time under Red Hat Enterprise Linux: the command line
program
, the ncurses-based program
chkconfig
Configuration Tool. All of these tools require root access.
Tip
To attain root access, open a shell prompt and use the
by the root password. For example:
$ su - root password
On the LVS routers, there are three services which need to be set to activate at boot time:
• The
service (primary node only)
piranha-gui
• The
service
pulse
• The
service
sshd
If you are clustering multi-port services or using firewall marks, you must also enable the
service.
iptables
It is best to set these services to activate in both runlevel 3 and runlevel 5. To accomplish this
using
, type the following command for each service:
chkconfig
, and the graphical Services
ntsysv
su -
command followed
17

Advertisement

Table of Contents
loading

This manual is also suitable for:

Linux virtual server

Table of Contents