一:安装程序:
ipvsadm-1.21-1.rh.el.1.i386.rpm 【相关文章:常用计算机端口解释】
先安装以下程序: 【扩展阅读:[DOWNLOAD] Red Hat E】
ipvsadm-debuginfo-1.21-1.rh.el.1.i386.rpm 【扩展信息:您现在的浏览器安全吗】 libnet-1.1.0-1.rh.el.1.i386.rpm libnet-debuginfo-1.1.0-1.rh.el.1.i386.rpm perl-authen-sasl-2.03-1.rh.el.um.1.noarch.rpm perl-convert-asn1-0.16-2.rh.el.um.1.noarch.rpm perl-digest-hmac-1.01-11.1.noarch.rpm perl-digest-sha1-2.01-15.1.i386.rpm perl-io-socket-ssl-0.92-1.rh.el.um.1.noarch.rpm perl-ldap-0.2701-1.rh.el.um.1.noarch.rpm perl-mail-imapclient-2.2.7-1.rh.el.um.1.noarch.rpm perl-net-ssleay-1.23-1.rh.el.um.1.i386.rpm perl-net-ssleay-debuginfo-1.23-1.rh.el.um.1.i386.rpm perl-parse-recdescent-1.80-1.rh.el.um.1.noarch.rpm perl-xml-namespacesupport-1.08-1.rh.el.um.1.noarch.rpm 77,255 perl-xml-sax-0.12-1.rh.el.um.1.noarch.rpm然后再安装以下程序:
heartbeat-ldirectord-1.2.3-2.rh.el.3.0.i386.rpm
heartbeat-1.2.3-2.rh.el.3.0.i386.rpm
heartbeat-pils-1.2.3-2.rh.el.3.0.i386.rpm
heartbeat-stonith-1.2.3-2.rh.el.3.0.i386.rpm
二:配置文件:
/etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.247.160 ha1.chess.gz ha1 192.168.247.161 ha2.chess.gz ha2 192.168.247.180 ha.chess.gz ha/etc/ha.d/authkeys
#
# authentication file. must be mode 600 # # # must have exactly one auth directive at the front. # auth send authentication using this method-id # # then, list the method and key that go with that method-id # # available methods: crc sha1, md5. crc doesnt need/want a key. # # you normally only have one authentication method-id listed in this file # # put more than one to make a smooth transition when changing auth # methods and/or keys. # # # sha1 is believed to be the "best", md5 next best. # # crc adds no security, except from packet corruption. # use only on physically secure networks. # auth 1 1 crc #2 sha1 hi! #3 md5 hello!/etc/ha.d/ha.cf
#
# there are lots of options in this file. all you have to have is a set # of nodes listed {"node ...} one of {serial, bcast, mcast, or ucast}, ... 下一页