The cluster that I want to build has the following structure.
I have 2 nodes with 2 network cards each.
The conection between the nodes is made on 10.1.1.x addreses.
__________________
|Load balancer |
|________________|
/ \
/ \
/ \
/ \
/ \
192.168.1.2 192.168.1.3
_____________ _____________
| nd1 | | nd2 |
| /dev/hda3 |---------------------------| /dev/hda3 |
|___________ |10.1.1.1 10.1.1.2 |____________|
The connection with the Load balancer has 192.168.1.x addreses.
What I want to do is:
-I want to run HTTPD on the mount point of /dev/hda3
-/dev/hda3 to be in mirror on both nodes and
in the same time to have acces to the partition
(I belive this is SHARED DISK)
Can anyone help me with this ?
I have tried this with no succes...:(
<?xml version="1.0"?>
<cluster config_version="1" name="GFScluster">
<cman expected_votes="1" two_node="1"/>
<fence_daemon clean_start="0" post_fail_delay="0" post_join_delay="20"/>
<clusternodes>
<clusternode name="nd1">
<fence>
<method name="human">
<device name="human" nodename="nd1" ipaddr="10.1.1.1"/>
</method>
</fence>
</clusternode>
<clusternode name="nd2">
<fence>
<method name="human">
<device name="human" nodename="nd2" ipaddr="10.1.1.2"/>
</method>
</fence>
</clusternode>
</clusternodes>
<fencedevices>
<fencedevice agent="fence_manual" name="human"/>
</fencedevices>
<rm>
<failoverdomains/>
<resources>
<clusterfs device="/dev/vg00/lvol01" fstype="gfs" mountpoint="/raid" name="store1" options=""/>
</resources>
</rm>
</cluster>
Thanks a lot,
I have 2 nodes with 2 network cards each.
The conection between the nodes is made on 10.1.1.x addreses.
__________________
|Load balancer |
|________________|
/ \
/ \
/ \
/ \
/ \
192.168.1.2 192.168.1.3
_____________ _____________
| nd1 | | nd2 |
| /dev/hda3 |---------------------------| /dev/hda3 |
|___________ |10.1.1.1 10.1.1.2 |____________|
The connection with the Load balancer has 192.168.1.x addreses.
What I want to do is:
-I want to run HTTPD on the mount point of /dev/hda3
-/dev/hda3 to be in mirror on both nodes and
in the same time to have acces to the partition
(I belive this is SHARED DISK)
Can anyone help me with this ?
I have tried this with no succes...:(
<?xml version="1.0"?>
<cluster config_version="1" name="GFScluster">
<cman expected_votes="1" two_node="1"/>
<fence_daemon clean_start="0" post_fail_delay="0" post_join_delay="20"/>
<clusternodes>
<clusternode name="nd1">
<fence>
<method name="human">
<device name="human" nodename="nd1" ipaddr="10.1.1.1"/>
</method>
</fence>
</clusternode>
<clusternode name="nd2">
<fence>
<method name="human">
<device name="human" nodename="nd2" ipaddr="10.1.1.2"/>
</method>
</fence>
</clusternode>
</clusternodes>
<fencedevices>
<fencedevice agent="fence_manual" name="human"/>
</fencedevices>
<rm>
<failoverdomains/>
<resources>
<clusterfs device="/dev/vg00/lvol01" fstype="gfs" mountpoint="/raid" name="store1" options=""/>
</resources>
</rm>
</cluster>
Thanks a lot,
Marius Stoica