RHEL6.6下集群笔记

安装前的准备工作

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

----------------------------------------










本文转自 天乐 51CTO博客,原文链接:http://blog.51cto.com/tianlegg/1694337,如需转载请自行联系原作者
上一篇:微信小程序开发系列四:微信小程序之控制器的初始化逻辑


下一篇:SharePoint 2013 初始化Ribbon选中Tab