码迷,mamicode.com
首页 > 其他好文 > 详细

RHEL6.6下集群笔记

时间:2015-09-14 00:44:09      阅读:201      评论:0      收藏:0      [点我收藏+]

标签:rhcs

安装前的准备工作

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

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

RHEL6.6下集群笔记

标签:rhcs

原文地址:http://tianlegg.blog.51cto.com/3628721/1694337

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!