Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@athos ~]# cat /etc/cluster/cluster.conf
- <?xml version="1.0"?>
- <cluster name="MUSKETEER" config_version="17">
- <cman two_node="0" expected_votes="2"/>
- <clusternodes>
- <clusternode name="athos-priv" nodeid="1">
- <fence>
- <method name="1">
- <device name="athos-ipmi"/>
- </method>
- <method name="2">
- <device name="athos-brocadeA"/>
- <device name="athos-brocadeB"/>
- </method>
- </fence>
- </clusternode>
- <clusternode name="porthos-priv" nodeid="2">
- <fence>
- <method name="1">
- <device name="porthos-ipmi"/>
- </method>
- <method name="2">
- <device name="porthos-brocadeA"/>
- <device name="porthos-brocadeB"/>
- </method>
- </fence>
- </clusternode>
- <clusternode name="aramis-priv" nodeid="3">
- <fence>
- <method name="1">
- <device name="aramis-ipmi"/>
- </method>
- <method name="2">
- <device name="aramis-brocadeA"/>
- <device name="aramis-brocadeB"/>
- </method>
- </fence>
- </clusternode>
- <clusternode name="dartagnan-priv" nodeid="4">
- <fence>
- <method name="1">
- <device name="dartagnan-ipmi"/>
- </method>
- <method name="2">
- <device name="dartagnan-brocadeA"/>
- <device name="dartagnan-brocadeB"/>
- </method>
- </fence>
- </clusternode>
- </clusternodes>
- <quorumd device="/dev/disk/by-id/scsi-3600a0b800048834e000014fb49dcc47b" votes="2"/>
- <fencedevices>
- <fencedevice agent="fence_ipmilan" ipaddr="172.16.1.101" name="athos-ipmi" passwd="secret" login="root" option="reboot"/>
- <fencedevice agent="fence_brocade" ipaddr="192.168.4.79" name="athos-brocadeA" passwd="secret" login="admin" option="disable" port="2"/>
- <fencedevice agent="fence_brocade" ipaddr="192.168.4.80" name="athos-brocadeB" passwd="secret" login="admin" option="disable" port="2"/>
- <fencedevice agent="fence_ipmilan" ipaddr="172.16.1.102" name="porthos-ipmi" passwd="secret" login="root" option="reboot"/>
- <fencedevice agent="fence_brocade" ipaddr="192.168.4.79" name="porthos-brocadeA" passwd="secret" login="admin" option="disable" port="1"/>
- <fencedevice agent="fence_brocade" ipaddr="192.168.4.80" name="porthos-brocadeB" passwd="secret" login="admin" option="disable" port="1"/>
- <fencedevice agent="fence_ipmilan" ipaddr="172.16.1.103" name="aramis-ipmi" passwd="secret" login="root" option="reboot"/>
- <fencedevice agent="fence_brocade" ipaddr="192.168.4.81" name="aramis-brocadeA" passwd="secret" login="admin" option="disable" port="2"/>
- <fencedevice agent="fence_brocade" ipaddr="192.168.4.82" name="aramis-brocadeB" passwd="secret" login="admin" option="disable" port="2"/>
- <fencedevice agent="fence_ipmilan" ipaddr="172.16.1.104" name="dartagnan-ipmi" passwd="secret" login="root" option="reboot"/>
- <fencedevice agent="fence_brocade" ipaddr="192.168.4.81" name="dartagnan-brocadeA" passwd="secret" login="admin" option="disable" port="2"/>
- <fencedevice agent="fence_brocade" ipaddr="192.168.4.82" name="dartagnan-brocadeB" passwd="secret" login="admin" option="disable" port="2"/>
- </fencedevices>
- </cluster>
- [root@athos ~]# cman_tool version
- 6.1.0 config 17
- [root@athos ~]# rpm -qa | grep -iE 'cman|gfs|clust'
- kmod-gfs-0.1.23-5.el5
- system-config-cluster-1.0.55-1.0
- gfs-utils-0.1.18-1.el5
- cluster-snmp-0.12.1-2.el5
- kmod-gfs-0.1.31-3.el5
- kmod-gfs2-1.92-1.1.el5
- gfs2-utils-0.1.53-1.el5_3.2
- cman-2.0.98-1.el5_3.1
- Cluster_Administration-en-US-5.2-1
- kmod-gfs2-1.92-1.1.el5_2.2
- lvm2-cluster-2.02.40-7.el5
- modcluster-0.12.1-2.el5
- cluster-cim-0.12.1-2.el5
- [root@athos ~]# uname -a
- Linux athos.intranet.prosul 2.6.18-128.1.6.el5 #1 SMP Tue Mar 24 12:05:57 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
- [root@athos ~]# cat /etc/redhat-release
- Red Hat Enterprise Linux Server release 5.3 (Tikanga)
- [root@athos ~]# ifconfig
- bond0 Link encap:Ethernet HWaddr 00:1A:64:79:F1:80
- inet addr:172.16.1.1 Bcast:172.16.1.255 Mask:255.255.255.0
- inet6 addr: fe80::21a:64ff:fe79:f180/64 Scope:Link
- UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
- RX packets:29421 errors:0 dropped:0 overruns:0 frame:0
- TX packets:59845 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:5468251 (5.2 MiB) TX bytes:29716830 (28.3 MiB)
- bond1 Link encap:Ethernet HWaddr 00:1A:64:79:F1:82
- inet addr:172.16.10.1 Bcast:172.16.10.255 Mask:255.255.255.0
- inet6 addr: fe80::21a:64ff:fe79:f182/64 Scope:Link
- UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
- RX packets:49326 errors:0 dropped:0 overruns:0 frame:0
- TX packets:16771 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:4066527 (3.8 MiB) TX bytes:1304070 (1.2 MiB)
- eth0 Link encap:Ethernet HWaddr 00:1A:64:79:F1:80
- UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
- RX packets:28938 errors:0 dropped:0 overruns:0 frame:0
- TX packets:59843 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:5427376 (5.1 MiB) TX bytes:29716698 (28.3 MiB)
- Interrupt:114 Memory:c8000000-c8012100
- eth1 Link encap:Ethernet HWaddr 00:1A:64:79:F1:82
- UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
- RX packets:6128 errors:0 dropped:0 overruns:0 frame:0
- TX packets:4193 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:621998 (607.4 KiB) TX bytes:345109 (337.0 KiB)
- Interrupt:177 Memory:ce000000-ce012100
- eth2 Link encap:Ethernet HWaddr 00:1A:64:79:F1:82
- UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
- RX packets:33128 errors:0 dropped:0 overruns:0 frame:0
- TX packets:4196 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:2525654 (2.4 MiB) TX bytes:319610 (312.1 KiB)
- Memory:c6000000-c6020000
- eth3 Link encap:Ethernet HWaddr 00:1A:64:79:F1:82
- UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
- RX packets:5281 errors:0 dropped:0 overruns:0 frame:0
- TX packets:4195 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:461045 (450.2 KiB) TX bytes:320642 (313.1 KiB)
- Memory:c6040000-c6060000
- eth4 Link encap:Ethernet HWaddr 00:1A:64:79:F1:82
- UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
- RX packets:4789 errors:0 dropped:0 overruns:0 frame:0
- TX packets:4195 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:457830 (447.0 KiB) TX bytes:320693 (313.1 KiB)
- Memory:c4000000-c4020000
- eth5 Link encap:Ethernet HWaddr 00:1A:64:79:F1:80
- UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
- RX packets:483 errors:0 dropped:0 overruns:0 frame:0
- TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:40875 (39.9 KiB) TX bytes:132 (132.0 b)
- Memory:c4040000-c4060000
- lo Link encap:Local Loopback
- inet addr:127.0.0.1 Mask:255.0.0.0
- inet6 addr: ::1/128 Scope:Host
- UP LOOPBACK RUNNING MTU:16436 Metric:1
- RX packets:1554 errors:0 dropped:0 overruns:0 frame:0
- TX packets:1554 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:173540 (169.4 KiB) TX bytes:173540 (169.4 KiB)
- virbr0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
- inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
- inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:39 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:0 (0.0 b) TX bytes:8327 (8.1 KiB)
- [root@athos ~]#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement