安装前的准备工作
node节点间的信任关系
/usr/bin/ssh-keygen -t rsa
/usr/bin/ssh-keygen -t dsa
ls .ssh/
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys
ssh rcs2 cat /root/.ssh/id_rsa.pub >> /root/.ssh/authorized_keys
ssh rcs2 cat /root/.ssh/id_dsa.pub >> /root/.ssh/authorized_keys
node配置bond
cat /etc/sysconfig/network-scripts/ifcfg-bond0 /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth1
----------------------------------------
DEVICE=bond0
TYPE=bond0
ONBOOT=yes
NM_CONTROLLED=no
BOOTPROTO=none
IPADDR=10.0.2.112
NETMASK=255.255.255.0
GATEWAY=10.0.2.2
BONDING_MASTER=yes
BONDING_OPTS="mode=1 miimon=100"
----------------------------------------
DEVICE=eth0
HWADDR=00:50:56:9f:74:69
TYPE=Ethernet
UUID=76ead319-f922-431c-a52c-bb108ef82c14
ONBOOT=yes
NM_CONTROLLED=no
BOOTPROTO=none
MASTER=bond0
SLAVE=yes
----------------------------------------
DEVICE=eth1
HWADDR=00:50:56:9f:4e:f6
TYPE=Ethernet
UUID=76ead319-f922-431c-a52c-bb108ef82c14
ONBOOT=yes
NM_CONTROLLED=no
BOOTPROTO=none
MASTER=bond0
SLAVE=yes
----------------------------------------