132
Chapter 8:Setting Up a Red Hat Enterprise Linux AS LVS Cluster
WARNING
The commands above take effect immediately, but do not persist through
a reboot of the system. To ensure network packet filter settings are re-
stored after a reboot, see Section 8.5, Saving Network Packet Filter Set-
tings
Finally, you will need to be sure the appropriate service is set to activate on the proper runlevels. For
more on this, see Section 7.1, Configuring Services on the LVS Routers.
8.5 Saving Network Packet Filter Settings
After configuring the appropriate network packet filters for your situation, save the settings so they
get restored after a reboot. For
iptables
, type the following command:
/sbin/iptables-save
With
ipchains
, type the following command:
/sbin/ipchains-save
This will save the settings in
/etc/sysconfig/iptables
or
/etc/sysconfig/ipchains
so they can be recalled at boot time.
Once this file is written, you will also be able to use the
/sbin/service
command to start, stop, and
check the status (using the status switch) of
iptables
or
ipchains
. The
/sbin/service
will
automatically load the appropriate module for you. For an example of how to use the
/sbin/ser-
vice
command, see Section 7.3, Starting the
Piranha Configuration Tool
Service.
Finally, you will need to be sure the appropriate service is set to activate on the proper runlevels. For
more on this, see Section 7.1, Configuring Services on the LVS Routers.
The next chapter will explain how to use the
Piranha Configuration Tool
to configure the LVS router
and describe the steps necessary to active an LVS cluster.
Summary of Contents for ENTERPRISE LINUX AS 2.1 -
Page 1: ...Red Hat Enterprise Linux AS 2 1 The Official Red Hat Enterprise Linux AS Installation Guide ...
Page 8: ...viii ...
Page 14: ...xiv Introduction ...
Page 15: ...Part I Installing Red Hat Enterprise Linux AS ...
Page 16: ......
Page 26: ...26 Chapter 1 Steps to Get You Started ...
Page 30: ...30 Chapter 2 System Requirements Table ...
Page 80: ...80 Chapter 3 Installing Red Hat Enterprise Linux AS ...
Page 94: ...94 Chapter 4 Installing Red Hat Enterprise Linux AS via Text Mode ...
Page 95: ...Part II Configuring Red Hat Enterprise Linux AS ...
Page 96: ......
Page 100: ...100 Chapter 5 Introduction ...
Page 114: ...114 Chapter 6 Linux Virtual Server Overview ...
Page 153: ...Part III Appendixes ...
Page 154: ......
Page 156: ...156 Appendix A Additional Resources for LVS Clustering ...
Page 160: ...160 Appendix B A Sample etc sysconfig ha lvs cf File ...
Page 162: ...162 Appendix C Removing Red Hat Linux ...
Page 168: ...168 Appendix D Getting Technical Support ...
Page 178: ...178 Appendix E Troubleshooting Your Installation of Red Hat Enterprise Linux AS ...