san(iscsi)存储区域网络(fence)(6)

我们模拟node1坏掉的情况,看下www服务是否可以飘到node2的上面

image

image

漂移前

[root@node2 ~]# clustat
Cluster Status for cluster1 @ Tue May  8 01:50:19 2012
Member Status: Quorate

Member Name                                                    ID   Status
------ ----                                                    ---- ------
node2.a.com                                                        1 Online, Local, rgmanager
node1.a.com                                                        2 Online, rgmanager

Service Name                                          Owner (Last)                                          State        
------- ----                                          ----- ------                                          -----        
service:www                                           node1.a.com                                           started  

漂移后

[root@node2 ~]# clustat
Cluster Status for cluster1 @ Tue May  8 01:58:54 2012
Member Status: Quorate

Member Name                                                    ID   Status
------ ----                                                    ---- ------
node2.a.com                                                        1 Online, Local, rgmanager
node1.a.com                                                        2 Online, rgmanager

Service Name                                          Owner (Last)                                          State        
------- ----                                          ----- ------                                          -----        
service:www                                           (node1.a.com)                                         failed 

image

注意:我们无法自动将www服务转移到node2的上面,主要是应为我们的vm fence 不行。

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:http://www.heiqu.com/68243f24c74b1e912d8a6992fbfa630c.html