Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Ucarp question
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Thundah
Guru
Guru


Joined: 08 Feb 2004
Posts: 477
Location: Switzerland

PostPosted: Thu Feb 21, 2008 2:06 pm    Post subject: Ucarp question Reply with quote

Hi to everybody,
I have a question about ucarp.

Configuration: 2 box

CASES:
Normal: box1 => apache, box2 => mysql
Box 1 broken: box 2 => apache + mysql
Box 2 broken: box 1 => apache + mysql

Is it possible to do that using 2 VIPs and running TWO times ucarp on each box? One VIP is for APACHE and the other ONE is for MySQL.

What I'd like to know is if it is possible to run ucarp twice on each box, or if there is perhaps a better solution (running ucarp only once, or another program...)

Many thanks,
Mauro
Back to top
View user's profile Send private message
-Craig-
Guru
Guru


Joined: 03 Jun 2004
Posts: 333

PostPosted: Sat Feb 23, 2008 10:54 pm    Post subject: Reply with quote

It guess it should work, but you need some scripting abilites to do it.
Back to top
View user's profile Send private message
nekromancer
Apprentice
Apprentice


Joined: 23 Feb 2004
Posts: 158
Location: Niagara, Canada

PostPosted: Wed Apr 16, 2008 9:50 am    Post subject: Reply with quote

Technically yes you can run 2 instances of ucarp on 1 machine provided that the "instance id" value is different for each instance.

You can have 1 instance of ucarp running and in the start-up script you can specify it to bring up 2 virtual ips instead of one.
Back to top
View user's profile Send private message
bradp_84
n00b
n00b


Joined: 06 Nov 2004
Posts: 48
Location: Australia

PostPosted: Thu Apr 17, 2008 9:49 am    Post subject: Reply with quote

I use keepalived to manage a dozen or so VIP's. Managing multiple VIP's is no issue.

Cheers,

Brad
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum