Red Hat LINUX VIRTUAL SERVER 4.7 - ADMINISTRATION Installation Guide Page 23

  • Download
  • Add to my manuals
  • Print
  • Page
    / 59
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 22
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.
2.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. T here are three primary tools available for setting services to
activate at boot time under Red Hat Enterprise Linux: the command line program chkconfig, the
ncurses-based program ntsysv, and the graphical Services Configurat ion Tool. All of these tools
require root access.
Note
To attain root access, open a shell prompt and use the su - command followed 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 piranha-gui service (primary node only)
The pulse service
The sshd service
If you are clustering multi-port services or using firewall marks, you must also enable the iptables
service.
It is best to set these services to activate in both runlevel 3 and runlevel 5. T o accomplish this using
chkconfig, type the following command for each service:
/sbin/chkconfig --level 35 daemon on
In the above command, replace daemon with the name of the service you are activating. T o get a list of
services on the system as well as what runlevel they are set to activate on, issue the following
command:
/sbin/chkconfig --list
Red Hat Enterprise Linux 4 Virtual Server Administration
20
Page view 22
1 2 ... 18 19 20 21 22 23 24 25 26 27 28 ... 58 59

Comments to this Manuals

No comments