<HTML><P><FONT face="Times New Roman" size=3>Hello list</FONT></P>
<P><FONT face="Times New Roman" size=3>Im trying to configure Red Hat Cluster Suite in an enviroment without shared storage to learn how to admin and configure this. Then I using gnbd to simulate a shared storage and I mapped the exported devices in other two RHEL, that are members of the cluster, and bind gnbd devices imported to raw devices to use as quorum shared storage, but when start clumanager the machines reboot, informing the following error in log: </FONT></P>
<P><FONT face="Times New Roman" size=3>Feb  3 14:40:55 parati clusvcmgrd[5133]: <crit> Couldn't read configuration from shared state: Success<BR>Feb  3 14:40:55 parati clusvcmgrd[5133]: <alert> Shared State Error: REBOOTING<BR></FONT></P>
<P><FONT face="Times New Roman" size=3>Then I make tests to simultaneos write data in a gnbd device mapped and I note that the files created by one node only appear to other node when  the device is reimported and remounted.</FONT></P>
<P><FONT face="Times New Roman" size=3>There are other way to configure RHCS without a shared storage like EMC storages or Sun storages?</FONT></P>
<P><FONT face="Times New Roman" size=3>That are my configuration files for gnbd</FONT></P>
<P><FONT face="Times New Roman" size=3>[root@ilhabela mnt]# cat /etc/sistina/ccs-build/angra.cca<BR>#CCA:angra<BR>#nigeb=cluster.ccs mtime=1107192495 size=147<BR>cluster {<BR>  name = "angra"<BR>        lock_gulm {<BR>             servers = ["angra"]<BR>             heartbeat_rate = 0.3<BR>             allowed_misses = 1<BR>         }<BR>}<BR>#dne=cluster.ccs hash=BD5C824C<BR>#nigeb=nodes.ccs mtime=1107192495 size=177<BR>nodes {<BR>  angra {<BR>    ip_interfaces {<BR>      eth0 = "192.168.1.52"<BR>    }<BR>    fence {<BR>      server {<BR>        gnbd0 {<BR>        ipaddr = "192.168.1.52"<BR>        }<BR>      }<BR>    }<BR>  }<BR>}<BR>#dne=nodes.ccs hash=72704281<BR>#nigeb=fence.ccs mtime=1107192495 size=78<BR>fence_devices {<BR>  gnbd0 {<BR>    agent = "fence_gnbd"<BR>    server = "angra"<BR>  }<BR>}<BR>#dne=fence.ccs hash=9E0446A4<BR></FONT></P>
<P><FONT face="Times New Roman" size=3>[root@ilhabela mnt]# cat /root/angra/cluster.ccs<BR>cluster {<BR>  name = "angra"<BR>        lock_gulm {<BR>             servers = ["angra"]<BR>             heartbeat_rate = 0.3<BR>             allowed_misses = 1<BR>         }<BR>}<BR></FONT></P>
<P><FONT face="Times New Roman" size=3>[root@ilhabela mnt]# cat /root/angra/fence.ccs<BR>fence_devices {<BR>  gnbd0 {<BR>    agent = "fence_gnbd"<BR>    server = "angra"<BR>  }<BR>}<BR></FONT></P>
<P><FONT face="Times New Roman" size=3>[root@ilhabela mnt]# cat /root/angra/nodes.ccs<BR>nodes {<BR>  angra {<BR>    ip_interfaces {<BR>      eth0 = "192.168.1.52"<BR>    }<BR>    fence {<BR>      server {<BR>        gnbd0 {<BR>        ipaddr = "192.168.1.52"<BR>        }<BR>      }<BR>    }<BR>  }<BR>  parati.localdomain {<BR>    ip_interfaces {<BR>      eth0 = "192.168.1.56"<BR>    }<BR>    fence {<BR>      server {<BR>        gnbd0 {<BR>        ipaddr = "192.168.1.52"<BR>        }<BR>      }<BR>    }<BR>  }<BR>  ilhabela.localdomain {<BR>    ip_interfaces {<BR>      eth0 = "192.168.1.57"<BR>    }<BR>    fence {<BR>      server {<BR>        gnbd0 {<BR>        ipaddr = "192.168.1.52"<BR>        }<BR>      }<BR>    }<BR>  }<BR>}<BR></FONT></P>
<P><FONT face="Times New Roman" size=3>This is the output of gnbd_import -l in both nodes of the cluster</FONT></P>
<P><FONT face="Times New Roman" size=3>[root@ilhabela root]# gnbd_import -l<BR>gnbd_import: Device name : hda10<BR>----------------------<BR>    Minor # : 1<BR>  Proc name : gnbdb<BR>         IP : 192.168.1.52<BR>       Port : 14243<BR>      State : Close Disconnected Clear<BR>   Readonly : No</FONT></P>
<P><FONT face="Times New Roman" size=3>gnbd_import: Device name : hda9<BR>----------------------<BR>    Minor # : 2<BR>  Proc name : gnbdc<BR>         IP : 192.168.1.52<BR>       Port : 14243<BR>      State : Close Disconnected Clear<BR>   Readonly : No</FONT></P>
<P><FONT face="Times New Roman" size=3>gnbd_import: Device name : hda11<BR>----------------------<BR>    Minor # : 3<BR>  Proc name : gnbdd<BR>         IP : 192.168.1.52<BR>       Port : 14243<BR>      State : Open Connected Clear<BR>   Readonly : No<BR></FONT></P>
<P><FONT face="Times New Roman" size=3>This is the content of /etc/sysconfig/rawdevices<BR></FONT><FONT face="Times New Roman" size=3>[root@ilhabela root]# cat /etc/sysconfig/rawdevices<BR># raw device bindings<BR># format:  <rawdev> <major> <minor><BR>#          <rawdev> <blockdev><BR># example: /dev/raw/raw1 /dev/sda1<BR>#          /dev/raw/raw2 8 5<BR>/dev/raw/raw1 /dev/gnbd/hda9<BR>/dev/raw/raw2 /dev/gnbd/hda10<BR></FONT></P>
<P><FONT face="Times New Roman" size=3>Partition /dev/gnbd/had11 is ext3 and are mounted in both nodes, but the data write for one node only is acessible to other when the device is reimported and remounted.</P>
<P>Grateful<BR><BR></P>
<DIV><FONT face=Verdana color=#006600 size=1><BR><BR>_________________________ <BR><STRONG>Cristiano da Costa</STRONG> <BR>Consultor <BR>Develop IT Solutions <BR><A href="http://www.develop.com.br/" target=_blank>www.develop.com.br </A><BR>Fone: (51) 3386-6620 <BR></FONT><BR></DIV></FONT></HTML>