switching to squid automatically in case of isa2000 failure

General discussion about PLUC and Linux in Pakistan.
turab
Company Havaldaar Major
Posts: 154
Joined: Thu Dec 15, 2005 3:36 pm
Contact:

switching to squid automatically in case of isa2000 failure

Postby turab » Fri Dec 16, 2005 4:28 pm


syedali999
Battalion Havaldaar Major
Posts: 252
Joined: Sun May 29, 2005 1:45 am
Location: Karachi
Contact:

Re

Postby syedali999 » Fri Dec 16, 2005 5:00 pm

Hi,
if i was the same situation then i can accomplished this scenario with two methods....

1)-
shutdown / change ip of the isa & configure squid with the ip of the isa.

*but i think u need automatic so it is not suitable for you.

2)-
established a firewall between clients n servers.
a little scripting needed which surely ping to test wether the server is on or not. if it doesn't get response from ISA then it automatically flush iptables and creates new rules which forwards request to squid.

the scenario will be something like that :
first it pings www.yahoo.com through ISA. if it doesnt response it seems that there should be a link problem or ISA SERVER is down.
it immediately flush iptables rules (if u use iptables as firewall) which was configured as to forward request to ISA.
and set new rules to forward request to SQUID instead if ISA SERVER.


however, one more thing in this scenario. your script must be run after ever 5 or whatsoever minutes to check the link. it is easy with crontab

the fun part is scripting.

its just my concepts. may be there are some other way to do this. but it will be my procedure if i have to set it up. you can just wait for seniors to pass their remarks on my way or to give you another way.

i m waiting for more response, too...

azfar
Captain
Posts: 598
Joined: Tue Mar 23, 2004 1:16 am
Location: Karachi
Contact:

Postby azfar » Sat Dec 17, 2005 11:51 am

Azfar Hashmi
Email : azfarhashmi@hotmail.com

turab
Company Havaldaar Major
Posts: 154
Joined: Thu Dec 15, 2005 3:36 pm
Contact:

Reverse proxy

Postby turab » Sat Dec 17, 2005 1:24 pm


crazy_frog
Naik
Posts: 72
Joined: Fri Dec 16, 2005 9:44 am
Location: Karachi, Pakistan
Contact:

Postby crazy_frog » Mon Dec 19, 2005 8:56 am

Hâve á nice day !!

syedali999
Battalion Havaldaar Major
Posts: 252
Joined: Sun May 29, 2005 1:45 am
Location: Karachi
Contact:

Postby syedali999 » Mon Dec 19, 2005 6:15 pm


syedali999
Battalion Havaldaar Major
Posts: 252
Joined: Sun May 29, 2005 1:45 am
Location: Karachi
Contact:

Postby syedali999 » Mon Dec 19, 2005 9:28 pm


crazy_frog
Naik
Posts: 72
Joined: Fri Dec 16, 2005 9:44 am
Location: Karachi, Pakistan
Contact:

Postby crazy_frog » Mon Dec 19, 2005 11:19 pm

Hâve á nice day !!

LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re:

Postby LinuxFreaK » Tue Dec 20, 2005 9:09 am

Farrukh Ahmed

syedali999
Battalion Havaldaar Major
Posts: 252
Joined: Sun May 29, 2005 1:45 am
Location: Karachi
Contact:

Re:

Postby syedali999 » Tue Dec 20, 2005 7:12 pm


syedali999
Battalion Havaldaar Major
Posts: 252
Joined: Sun May 29, 2005 1:45 am
Location: Karachi
Contact:

hi

Postby syedali999 » Tue Dec 20, 2005 7:42 pm


LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re:

Postby LinuxFreaK » Wed Dec 21, 2005 9:31 am

Farrukh Ahmed

syedali999
Battalion Havaldaar Major
Posts: 252
Joined: Sun May 29, 2005 1:45 am
Location: Karachi
Contact:

Re:

Postby syedali999 » Wed Dec 21, 2005 4:38 pm


crazy_frog
Naik
Posts: 72
Joined: Fri Dec 16, 2005 9:44 am
Location: Karachi, Pakistan
Contact:

Postby crazy_frog » Wed Dec 21, 2005 5:09 pm

Hâve á nice day !!

LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re:

Postby LinuxFreaK » Wed Dec 21, 2005 9:48 pm

Farrukh Ahmed


Return to “General”

Who is online

Users browsing this forum: No registered users and 1 guest