[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Linux-cluster] Cluster Failover Scripts...



Hello all,
 
I've written a script to notify via email on Cluster Suite events (failovers, etc) and have added it to my service in cluster.conf, but I've noticed that manual failovers are not processing properly.  My failover script runs, serviceB is relocated, but serviceA only stops on the source node and does not start on the destination node.
 
Is it ok to list more than one script per service in cluster.conf?  Am I going about this the wrong way?
 
I'd appreciate any help on this matter.
 
Below is snippet from my cluster.conf:
 
 <rm>
   <failoverdomains>
        <failoverdomain name="scalix_cluster_001" ordered="1" restricted="1">
                <failoverdomainnode name="serverA" priority="1"/>
                <failoverdomainnode name="serverB" priority="2"/>
        </failoverdomain>
   </failoverdomains>
   <resources>
        <ip address="<myip>" monitor_link="1"/>
   </resources>
   <service autostart="1" name="myservice">
        <ip ref="<myip>"/>
        <fs device="/dev/device" fstype="ext3" mountpoint="/somewhere" force_unmount="1" name="mysharedstorage"/>
        <script file="/usr/local/bin/failover-notify" name="notify_script"/>
        <scritp file="/etc/init.d/serviceA" name="serviceA_script"/>
        <script file="/etc/init.d/serviceB" name="serviceB_script"/>
   </service>
 </rm>

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]