<br><font size=2 face="sans-serif">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:</font>
<br>
<br><font size=2 face="sans-serif">#!/bin/sh</font>
<br>
<br><font size=2 face="sans-serif">case "$1" in</font>
<br><font size=2 face="sans-serif">start)</font>
<br><font size=2 face="sans-serif"> su - condico
-c start.sh</font>
<br><font size=2 face="sans-serif"> ;;</font>
<br><font size=2 face="sans-serif">stop)</font>
<br><font size=2 face="sans-serif"> su - condico
-c clean.sh</font>
<br><font size=2 face="sans-serif"> ;;</font>
<br>
<br><font size=2 face="sans-serif">status)</font>
<br><font size=2 face="sans-serif"> /home/condico/status</font>
<br><font size=2 face="sans-serif"> exit $?</font>
<br><font size=2 face="sans-serif"> ;;</font>
<br>
<br><font size=2 face="sans-serif">*)</font>
<br><font size=2 face="sans-serif"> echo "usage:
$0 {start|stop}"</font>
<br><font size=2 face="sans-serif"> exit 1</font>
<br><font size=2 face="sans-serif"> ;;</font>
<br><font size=2 face="sans-serif">esac</font>
<br>
<br><font size=2 face="sans-serif">exit 0</font>
<br>
<br>
<br><font size=2 face="sans-serif">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.</font>
<br>
<br>
<br>
<br><font size=2 face="sans-serif">/Espen<br>
</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td>
<td><font size=1 face="sans-serif"><b>Espen Ekeroth <espen.ekeroth@omxgroup.com></b></font>
<br><font size=1 face="sans-serif">Sent by: rhn-users-bounces@redhat.com</font>
<p><font size=1 face="sans-serif">12.06.2005 18:36</font>
<br><font size=1 face="sans-serif">Please respond to Red Hat Network Users
List</font>
<td><font size=1 face="Arial"> </font>
<br><font size=1 face="sans-serif"> To:
Red Hat Network Users List <rhn-users@redhat.com></font>
<br><font size=1 face="sans-serif"> cc:
</font>
<br><font size=1 face="sans-serif"> Subject:
Re: [rhn-users] RH cluster manager -
floating IP adress</font></table>
<br>
<br>
<br><font size=2 face="sans-serif"><br>
Update: if I add the IP address my selv:</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
ifconfig eth0:1 10.175.158.14</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
it does not affect my application. So what is RH Cluster Manager doing?</font><font size=3>
<br>
</font><font size=2 face="sans-serif"><br>
/Espen<br>
<br>
Phone: +47 69215581 / + 47 92499076<br>
email: espen.ekeroth@omxgroup.com<br>
MSN: espene@halden.net</font><font size=3> <br>
<br>
</font>
<table width=100%>
<tr valign=top>
<td width=2%>
<td width=44%><font size=1 face="sans-serif"><b>Espen Ekeroth <espen.ekeroth@omxgroup.com></b></font><font size=3>
</font><font size=1 face="sans-serif"><br>
Sent by: rhn-users-bounces@redhat.com</font><font size=3> </font>
<p><font size=1 face="sans-serif">12.06.2005 18:23</font><font size=3>
</font><font size=1 face="sans-serif"><br>
Please respond to Red Hat Network Users List</font><font size=3> </font>
<td width=52%><font size=1 face="Arial"> </font><font size=1 face="sans-serif"><br>
To: "Red Hat
Network Users List" <rhn-users@redhat.com></font><font size=3>
</font><font size=1 face="sans-serif"><br>
cc: </font><font size=3>
</font><font size=1 face="sans-serif"><br>
Subject: [rhn-users]
RH cluster manager - floating IP adress</font></table>
<br><font size=3><br>
<br>
</font><font size=2 face="sans-serif"><br>
<br>
Can anyone tell me what cluster manager do when it assign an IP adress
to a service?</font><font size=3> </font><font size=2 face="sans-serif"><br>
<br>
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)</font><font size=3> </font><font size=2 face="sans-serif"><br>
<br>
/Espen<br>
<br>
Phone: +47 69215581 / + 47 92499076<br>
email: espen.ekeroth@omxgroup.com<br>
MSN: espene@halden.net</font><font size=3><br>
<br>
********************************************************************************<br>
This e-mail and the information it contains may be privileged and/or<br>
confidential. It is for the intended addressee(s) only.<br>
The unauthorised use, disclosure or copying of this e-mail, or any information
it contains, is prohibited. <br>
If you are not an intended recipient, please contact the sender and delete
the material from your computer.<br>
********************************************************************************</font><font size=2><tt>_______________________________________________<br>
rhn-users mailing list<br>
rhn-users@redhat.com<br>
https://www.redhat.com/mailman/listinfo/rhn-users</tt></font><font size=3>
</font><font size=2><tt>_______________________________________________<br>
rhn-users mailing list<br>
rhn-users@redhat.com<br>
https://www.redhat.com/mailman/listinfo/rhn-users</tt></font>
<br>