cman 集群的优点和使用

cman 集群的优点和使用

谁能告诉我 cman 集群的优点是什么以及配置服务器时节点的含义是什么。

节点是否可以识别服务器?或者如何识别?

我想配置一个有两个节点的 cman 集群。有人能告诉我如何配置它以及应该使用哪些硬件、软件以及 cman 集群配置步骤

答案1

Step 1 2 Blade server 
Step 2 each server minimum 4 NIC card
Step 3 Vanilla Cent OS 6.4
Step 4 Create a local repo
Step 5 Using yum install cman rgmanager luci ricci (1st server )
Step 6 Using yum install cman rgmanager ricci (2nd server)
Step 7 passwd ricci (both server)
Step 8 Selinux disable & chkconfig iptables off chkconfig ip6tables
Step 9 Add hostname to /etc/hosts both server name (node1.cluster.com & node2.cluster.com and ipaddress) 
Step 10 Create eth0 & eth1 = bond0 (should be back to back connected)
Step 11 Create eth2 & eth3 = bond1 (production IP)
Step 12 reboot once both the server
Step 13 chkconfig cman on && chkconfig rgmanger on && chkconfig ricci on && chkconfig luci on
Step 14 luci_admin init create luci passwd
Step 15 service luci restart && service ricci restart (on 1st server Point your web browser to https://localhost:8084 to access luci)
Step 16 service ricci restart (on 2nd server)
Step 17 service cman restart && service rgmanager restart (on both server )
Step 18 now you need config you cluster

相关内容