From: Stefano E. <ste...@so...> - 2009-05-11 16:49:53
|
Hi Marc, I had read in the guide "Installing and Configuring a Shared Root Cluster" that you can make the bond with interfaces, I'm trying to do it but I am having problems. On the server in normal boot, without Open-Shared: ifconfig bond0 Link encap:Ethernet HWaddr 00:15:60:56:75:FD inet addr:10.43.100.203 Bcast:10.43.255.255 Mask: 255.255.0.0 inet6 addr: fe80::215:60ff:fe56:75fd/64 Scope:Link UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1 RX packets:30897 errors:0 dropped:0 overruns:0 frame:0 TX packets:332 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:2688920 (2.5 MiB) TX bytes:38900 (37.9 KiB) eth0 Link encap:Ethernet HWaddr 00:15:60:56:75:FD inet6 addr: fe80::215:60ff:fe56:75fd/64 Scope:Link UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1 RX packets:15657 errors:0 dropped:0 overruns:0 frame:0 TX packets:326 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1363172 (1.3 MiB) TX bytes:38408 (37.5 KiB) Interrupt:217 eth1 Link encap:Ethernet HWaddr 00:15:60:56:75:FD inet6 addr: fe80::215:60ff:fe56:75fd/64 Scope:Link UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1 RX packets:15240 errors:0 dropped:0 overruns:0 frame:0 TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1325748 (1.2 MiB) TX bytes:492 (492.0 b) Interrupt:225 My cluster.conf is: <?xml version="1.0"?> <cluster config_version="5" name="cluOCFS2" type="ocfs2"> <cman expected_votes="1" two_node="1"/> <clusternodes> <clusternode name="clu01" votes="1" nodeid="1"> <com_info> <syslog name="clu01"/> <rootvolume name="/dev/sda2" fstype="ocfs2"/> <eth name="eth0" mac="00:15:60:56:75:FD" master=bond0 slave=yes/> <eth name="eth1" mac="00:15:60:56:75:FC" master=bond0 slave=yes/> <eth name="bond0" ip="10.43.100.203" mask="255.255.0.0"/> <fenceackserver user="root" passwd="test123"/> </com_info> </clusternode> <clusternode name="clu02" votes="1" nodeid="2"> <com_info> <syslog name="clu01"/> <rootvolume name="/dev/sda2" fstype="ocfs2"/> <eth name="eth0" ip="10.43.100.187" mac="00:15:60:56:77:11"/> <fenceackserver user="root" passwd="test123"/> </com_info> </clusternode> <rm log_level="7" log_facility="local4"> <failoverdomains> <failoverdomain name="failover" ordered="0"> <failoverdomainnode name="clu01" priority="1"/> </failoverdomain> </failoverdomains> <resources> <ip address="10.43.100.203" monitor_link="1"/> <script file="/etc/init.d/httpd" name="httpd"/> </resources> <service autostart="0" domain="failover" name="HTTPD"> <ip ref="10.43.100.203"/> <script ref="httpd"/> </service> </rm> </clusternodes> </cluster> when Open-Shared start, it stopped saying that could not validate cluster configuration, and I can not understand what the parameter of the cluster.conf is not validated. I think that my bond configuration is not correct. Thanks Ing. Stefano Elmopi Gruppo Darco - Area ICT Sistemi Via Ostiense 131/L Corpo B, 00154 Roma cell. 3466147165 tel. 0657060500 email:ste...@so... |