[rhn-users] RH cluster manager - floating IP adress

Espen Ekeroth espen.ekeroth at omxgroup.com
Sun Jun 12 20:24:45 UTC 2005


Update: The problem is not related to the ip adress but the running of the 
user script. If the IP adress is set, and the user application script is 
started from command line everything works. If the user script is started 
from the cluster manager it does not work. The user script looks like 
this:

#!/bin/sh

case "$1" in
start)
        su - condico -c start.sh
        ;;
stop)
        su - condico -c clean.sh
        ;;

status)
        /home/condico/status
        exit $?
        ;;

*)
        echo "usage: $0 {start|stop}"
        exit 1
        ;;
esac

exit 0


It seems like the environment some way gets different when the script is 
run from the cluster deamon compared to when run from command line. The 
script "start.sh" is a shell script that start our application. We are 
running the application with HA-Linux with no problem like this.



/Espen





Espen Ekeroth <espen.ekeroth at omxgroup.com>
Sent by: rhn-users-bounces at redhat.com
12.06.2005 18:36
Please respond to Red Hat Network Users List
 
        To:     Red Hat Network Users List <rhn-users at redhat.com>
        cc: 
        Subject:        Re: [rhn-users] RH cluster manager - floating IP 
adress



Update: if I add the IP address my selv: 

ifconfig eth0:1 10.175.158.14 

it does not affect my application. So what is RH Cluster Manager doing? 

/Espen

Phone: +47 69215581 / + 47 92499076
email: espen.ekeroth at omxgroup.com
MSN: espene at halden.net 



Espen Ekeroth <espen.ekeroth at omxgroup.com> 
Sent by: rhn-users-bounces at redhat.com 
12.06.2005 18:23 
Please respond to Red Hat Network Users List 
        
        To:        "Red Hat Network Users List" <rhn-users at redhat.com> 
        cc:         
        Subject:        [rhn-users] RH cluster manager - floating IP 
adress




Can anyone tell me what cluster manager do when it assign an IP adress to 
a service? 

I have problem running my application on the physical node when the 
service with the floating ip is running on the node. It seems like the 
cluster manager is doing something to the routing table or similar (but it 
is not displayed when checking with netstat -rn) 

/Espen

Phone: +47 69215581 / + 47 92499076
email: espen.ekeroth at omxgroup.com
MSN: espene at halden.net

********************************************************************************
This e-mail and the information it contains may be privileged and/or
confidential. It is for the intended addressee(s) only.
The unauthorised use, disclosure or copying of this e-mail, or any 
information it contains, is prohibited. 
If you are not an intended recipient, please contact the sender and delete 
the material from your computer.
********************************************************************************
_______________________________________________
rhn-users mailing list
rhn-users at redhat.com
https://www.redhat.com/mailman/listinfo/rhn-users 
_______________________________________________
rhn-users mailing list
rhn-users at redhat.com
https://www.redhat.com/mailman/listinfo/rhn-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/rhn-users/attachments/20050612/d121f542/attachment.htm>


More information about the rhn-users mailing list