linux HA
2012.03.23
环境需求:
(1)使用的虚拟环境中两台机器
(2)操作系统需要redhat enterprise 4.6的版本,这种版本中的RPM包较齐,不用像
网上说的还要额外安装其它的RPM包;
(3)安装操作系统时每个系统需要配置两张网卡(经过多次试验一张网卡不行)
实际操作:
1、添加用户组、用户
groupadd -g 694 haclient
useradd -u 694 -g haclient hacluster
2、设置主机名
在/etc/hosts中设置主机名:linux51和linux52作为主机名,node1、node2作为节点名
192.168.76.101、192.168.76.101作为侦听心跳的IP。
192.168.76.51 linux51
192.168.76.52 linux52
192.168.76.101 node1
192.168.76.102 node2
设置linux51网卡:
eth0:192.168.76.51
eth1:192.168.76.101
设置linux52网卡:
eth0:192.168.76.52
eth1:192.168.76.102
本内容试读结束,登录后可阅读更多
下载后可阅读完整内容,剩余3页未读,立即下载