LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-19-2014, 01:48 AM   #1
massy
Member
 
Registered: Nov 2013
Distribution: CentOS 6.4
Posts: 204
Blog Entries: 1

Rep: Reputation: Disabled
Using ucarp


I know how to config ucarp on my servers,
but I don't know how to connect them to each other
and I don't know:
what is necessary to add in /etc/vip-up.sh and
and /etc/vip-down.sh
 
Old 02-19-2014, 01:46 PM   #2
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350

Rep: Reputation: 127Reputation: 127
A few tips:
You need to put same ID & password on all nodes in one group.
An example of /etc/ucarp/vip-001.conf - same on all hosts except SOURCE_ADDRESS!:
Code:
ID=001
SOURCE_ADDRESS=<ip-of-this-host>
VIP_ADDRESS=192.168.0.99
PASSWORD=incorrect
With this, the simplest configuration, you don't even need the vip-up/vip-down scripts.
All you do is: Create a config file on each host, then start ucarp (service ucarp start).
But mind you, ucarp does not work in all environments! You might have to configure switches to run in promiscuos mode for ucarp to function.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] ucarp - how determine which server is active? pingu Linux - Networking 5 10-07-2013 04:27 AM
UCARP IP address failover creates multiple masters duffrecords Linux - Software 3 04-13-2012 02:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration