Le seguenti 167 parole non sono state trovate nel dizionario di 1275 termini (includendo 1275 LocalSpellingWords) e sono evidenziate qui sotto:
addr   address   Address   addresses   advbase   advertisement   advskew   allows   alternative   at   auto   automatic   avviare   avvio   Avvio   background   backup   basta   be   become   becomes   between   bind   bisogna   bloated   bugs   call   Call   chiamare   cio   command   common   Common   consider   couple   creare   cryptographically   daemon   daemonize   dando   dead   deadratio   Debian   Dec   dedicated   default   different   disabled   down   downscript   esempio   etc   eth0   exit   extra   facility   failover   far   fare   farlo   file   File   Flavor   for   frequency   girare   hanno   help   ho   host   hosts   id   idenfitier   identifier   if   iface   implementation   indirizzi   inet   init   inserire   interface   interfaces   interoperability   ip   line   lo   low   Manage   master   messages   mypassword   need   netmask   network   networking   newmate   on   operating   options   order   overhead   partire   pass   password   patent   patents   permanent   piccolo   Please   points   portable   possible   preempt   problema   project   protocol   Protocol   provide   qualcosa   ratio   rc2   real   Redundancy   redundant   report   restart   riavviare   root   run   S99   Sample   seconds   secure   set   sh   share   shared   shutdown   signed   simile   skew   soon   source   srcip   static   stringa   Strong   summary   syslog   systems   that   this   to   Ubuntu   ucarp   up   upscript   usage   userland   very   vhid   vip   virtual   virtuale   when   with  

Nascondi questo messaggio
Italiano English
Modifica History Actions

ucarp

http://www.ucarp.org/project/ucarp
UCARP allows a couple of hosts to share common virtual IP addresses in order to provide automatic failover. It is a portable userland implementation of the secure and patent-free Common Address Redundancy Protocol (CARP, OpenBSD’s alternative to the patents-bloated VRRP).
Strong points of the CARP protocol are: very low overhead, cryptographically signed messages, interoperability between different operating systems and no need for any dedicated extra network link between redundant hosts.

Linux Flavor: Ubuntu

Per far girare UCARP su Debian/Ubuntu, bisogna creare un'interfaccia virtuale. Per fare cio basta inserire in /etc/network/interfaces qualcosa simile a:

# Virtual Address
auto eth0:1
iface eth0:1 inet static
        address 10.10.10.1
        netmask 255.255.255.0

riavviare networking da inet.d con /etc/init.d/networking restart
dando il comando ucarp --help si hanno le seguenti informazioni:

root@newmate:/etc# ucarp --help

ucarp 1.1 - Dec 26 2004

--interface=<if> (-i <if>): bind interface <if>
--srcip=<ip> (-s <ip>): source (real) IP address of that host
--vhid=<id> (-v <id>): virtual IP identifier (1-255)
--pass=<pass> (-p <pass>): password
--preempt (-P): becomes a master as soon as possible
--addr=<ip> (-a <ip>): virtual shared IP address
--help (-h): summary of command-line options
--advbase=<seconds> (-b <seconds>): advertisement frequency
--advskew=<skew> (-k <skew>): advertisement skew (0-255)
--upscript=<file> (-u <file>): run <file> to become a master
--downscript=<file> (-d <file>): run <file> to become a backup
--deadratio=<ratio> (-r <ratio>): ratio to consider a host as dead
--shutdown (-z): call shutdown script at exit
--daemonize (-B): run in background
--facility=<facility> (-f): set syslog facility (default=daemon)

Sample usage:

Manage the 10.1.1.252 shared virtual address on interface eth0, with
1 as a virtual address idenfitier, mypassword as a password, and
10.1.1.1 as a real permanent address for this host.
Call /etc/vip-up.sh when the host becomes a master, and
/etc/vip-down.sh when the virtual IP address has to be disabled.

ucarp --interface=eth0 --srcip=10.1.1.1 --vhid=1 --pass=mypassword \
      --addr=10.1.1.252 \
      --upscript=/etc/vip-up.sh --downscript=/etc/vip-down.sh


Please report bugs to bugs@ucarp.org.

in seguito avviare ucarp con:

DA COMPLETARE PRESTO... dato che ho un piccolo problema con gli indirizzi IP...

per farlo partire all'avvio inserire la stringa in un file in /etc/rc2.d/S99NomeFileDiAvvio o creare uno script e chiamare lo script da rc2.d/S99NomeFileDiAvvio per esempio.