<br><br><div class="gmail_quote">On Fri, Aug 14, 2009 at 10:23 PM,  <span dir="ltr"><<a href="mailto:jason@monsterjam.org">jason@monsterjam.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Fri, Aug 14, 2009 at 07:12:34PM -0300, crypto grid wrote:<br>
>    Your failover domain includes server1 and server2, and you have two<br>
>    diferent services using the same ip address in the services section. I<br>
>    wonder what happen if you have to realocate just one of the services? I<br>
>    think you couldn't.<br>
><br>
>    I think you have to define two different ip addresses in the resource<br>
>    section, one for apache and one for postfix.<br>
><br>
>    I'm not saying that this is causing the problem, I'd try disabling one<br>
>    service and enabling just one.<br>
><br>
<br>
</div>ok, Ive just modified it to be the following config, and it looks like it works fine.<br>
But please tell me if theres anything  else Ive missed.</blockquote><div><br>I don't see anything wrong regarding to the resources and service sections.<br>After the ip address adition, are the cluster and services working correctly?<br>
 </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
thanks for the help!<br>
<br>
Jason<br>
<br>
<br>
[jason@server1 ~]$ sudo cat /etc/cluster/cluster.conf<br>
<?xml version="1.0"?><br>
<cluster config_version="26" name="mycluster"><br>
        <fence_daemon clean_start="0" post_fail_delay="0" post_join_delay="3"/><br>
        <clusternodes><br>
                <clusternode name="server1" votes="1"><br>
                        <fence><br>
                                <method name="1"><br>
                                        <device name="apc_power_switch" option="off" port="1" switch="1"/><br>
                                        <device name="apc_power_switch" option="off" port="2" switch="1"/><br>
                                        <device name="apc_power_switch" option="on" port="1" switch="1"/><br>
                                        <device name="apc_power_switch" option="on" port="2" switch="1"/><br>
                                </method><br>
                        </fence><br>
                </clusternode><br>
                <clusternode name="server2" votes="1"><br>
                        <fence><br>
                                <method name="1"><br>
                                        <device name="apc_power_switch" option="off" port="3" switch="1"/><br>
                                        <device name="apc_power_switch" option="off" port="4" switch="1"/><br>
                                        <device name="apc_power_switch" option="on" port="3" switch="1"/><br>
                                        <device name="apc_power_switch" option="on" port="4" switch="1"/><br>
                                </method><br>
                        </fence><br>
                </clusternode><br>
        </clusternodes><br>
        <cman expected_votes="1" two_node="1"/><br>
        <fencedevices><br>
                <fencedevice agent="fence_apc" ipaddr="192.168.1.8" login="xxxxx" name="apc_power_switch" passwd="xxxx2xxx"/><br>
        </fencedevices><br>
        <rm><br>
                <failoverdomains><br>
                        <failoverdomain name="httpd" ordered="1" restricted="1"><br>
                                <failoverdomainnode name="server1" priority="1"/><br>
                                <failoverdomainnode name="server2" priority="2"/><br>
                        </failoverdomain><br>
                </failoverdomains><br>
                <resources><br>
                        <script file="/etc/init.d/httpd" name="cluster_apache"/><br>
                        <ip address="192.168.1.9" monitor_link="1"/><br>
                        <script file="/etc/init.d/postfix" name="cluster_posstfix"/><br>
                        <ip address="192.168.1.7" monitor_link="1"/><br>
                </resources><br>
                <service autostart="1" domain="httpd" name="Apache Service"><br>
                        <script ref="cluster_apache"/><br>
                        <ip ref="192.168.1.9"/><br>
                </service><br>
                <service autostart="1" domain="httpd" name="postfix service"><br>
                        <script ref="cluster_posstfix"/><br>
                        <ip ref="192.168.1.7"/><br>
                </service><br>
        </rm><br>
</cluster><br>
<div><div></div><div class="h5"><br>
--<br>
Linux-cluster mailing list<br>
<a href="mailto:Linux-cluster@redhat.com">Linux-cluster@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/linux-cluster" target="_blank">https://www.redhat.com/mailman/listinfo/linux-cluster</a><br>
</div></div></blockquote></div><br>