I have read what you suggested in regards to lsm. and so far my scenario is 
very similar to your example. I only need to adjust the link detail in 
lib.private.
The lsm I got v0.53 compiled as rpm using centos, i can see lsm triggers the 
script (/etc/lsm/script) when a link is down. When the link recovers, lsm 
doesn't trigger the script.
Even the formula in lsm readme file says it can detect the link is up when 
certain conditions happens. But it doesn't. At the end, the only way to restore 
the ethx.status of the failed link (make it "0") is to fail the other link. As 
a result, I only have 1 link at all time after the first failure happens.
I know this is not lsm mailing list, but I just want to find out any feedback 
from people who's done this.
Thank you.
--- On Fri, 17/9/10, Tom Eastep <[email protected]> wrote:

From: Tom Eastep <[email protected]>
Subject: Re: [Shorewall-users] help for newbie on shorewall multiple isp
To: [email protected]
Received: Friday, 17 September, 2010, 4:19 AM

On 9/16/10 8:06 PM, Tom Eastep wrote:
> On 9/16/10 7:59 PM, Lito Kusnadi wrote:
>> I tried to use lsm, seems there's issue with the restore when the failed
>> link is up. Then I got this warning when trying to check shorewall:
>> WARNING: Interface eth1 is not usable -- Provider AC3 (2) not Added
>>
>> I am trying to revert everything back to a simple 2 isp setting without
>> failover with the config 
>> I confirmed working.
>>
>> Currently, shorewall check keeps giving me:
>> WARNING: Interface eth1 is not usable -- Provider AC3 (2) not Added
>>
>> I have checked eth1 is up and I am able to ping the gateway of eth1.
>> There's a note about 
>> this message in shorewal 4.4x release, but is it a bug or something
>> needs to be done to 
>> make eth1 usable?
>>
>> I've tried to stop, clear, and reset shorewall; but haven't tried to
>> reboot the entire machine. Preferrable to know what is going on without
>> rebooting the machine.
>>
>> attached is the shorewall dump taken after applying 2isp without
>> failover (lsm).
>>
> 
> Lito -- this is *NOT PLUG AND PLAY*. You need to understand the software
> before you try to use it.
> 
> The problem is probably that there is a file named
> /var/lib/shorewall/xxx.status that contains '1'. Delete the file and
> re-read all of the documentation carefully. It takes several hours to
> understand these products and get them configured successfully.

And you also need to understand what the various pieces do:

- /etc/shorewall/isusable
- /etc/shorewall/lib.private
- /etc/lsm/*

Read the scripts.

-Tom
-- 
Tom Eastep        \ When I die, I want to go like my Grandfather who
Shoreline,         \ died peacefully in his sleep. Not screaming like
Washington, USA     \ all of the passengers in his car
http://shorewall.net \________________________________________________


-----Inline Attachment Follows-----

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
-----Inline Attachment Follows-----

_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users



      
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to