Interface failover in AIX


 
Thread Tools Search this Thread
Special Forums IP Networking Interface failover in AIX
# 1  
Old 04-26-2014
Interface failover in AIX

Hello,

Recent we had oracle clusterware issues which happened because one of the interfaces (eth0) went down on the node and we had a public vip defined on that interface(eth0) since that alos went offline and application went down

Is there a way that interface failover happens automatically from eth0 to eth1 in case eth0 interface goes down.


Best regards,
Vishal
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. AIX

Is it possible to configure bonding over bonded interface in AIX?

Hi Everyone, Is it possible to configure bonding over bonded interface in AIX? For example: server has for NIC port: ent0 ent1 ent2 ent3 First I create a EtherChannel ent4 from ent0 and ent1. and then I create a EtherChannel ent5 from ent2 and ent3. Can I create a EtherChannel... (1 Reply)
Discussion started by: nnnnnnine
1 Replies

2. AIX

Need a graphical interface on AIX server to create database

Hello, Please suggest me the ways how to get graphical interface on AIX server.I need to create oracle database for which I need graphical access. Best regards, Vishal (4 Replies)
Discussion started by: Vishal_dba
4 Replies

3. UNIX for Dummies Questions & Answers

Adding a network interface to a bonded interface

I have a RHEL 5 system with a bonded interface configure using only one network port (eth0). So I have config file for ifcfg-bond0 and ifcfg-eth. I'd like to configure eth5 to be the second SLAVE in the bond. My question is, after I modify ifcfg-eth5, can I add eth5 to the bond0 interface without... (1 Reply)
Discussion started by: westmoreland
1 Replies

4. SCO

Change SCO - GUI or Desktop interface to DOS based interface

Hi all I have installed a demo version of SCO OpenServer 5.0.2, I finally found it is Desktop Interface, I would like to know how to change its interface to dos based interface? If you have any ideas, please tell me then. Thank you (2 Replies)
Discussion started by: TinhNhi
2 Replies

5. Solaris

Command line Interface or GUI Interface not shown on solaris

Dear all, I am a newbie in solaris and I need your advice. I have a Solaris version 5.9 installed on Sunfire V240. I am able to ssh the machine from putty remotely. My problem is that I cannot see the display from KVM switch I have connected to it. I need also to be able to see the GUI... (2 Replies)
Discussion started by: mbouster
2 Replies

6. AIX

How restart the network interface in AIX?

Hi All, Please let me know the command to restart the network interface and enable it on boot in AIX, similar to /etc/init.d/network restart in Redhat. Thanks, Sunil.K please watch out to post in the right subforum! (9 Replies)
Discussion started by: sunilrk07
9 Replies

7. AIX

Virtual interface on AIX

Hi, I am totally new to AIX. I would like to know how to create virtual interface on AIX machine. Thanks, Pooja (4 Replies)
Discussion started by: pooja84k
4 Replies

8. AIX

AIX platform: network interface list

Hi, I am trying to list all the interface present in the given system. Here is sample program. i.e. cat 1.c #include <sys/types.h> #include <sys/socket.h> #include <sys/ioctl.h> #include <sys/dlpi.h> #include <net/if.h> /*#include <sys/sockio.h>*/ #include <unistd.h> #include... (3 Replies)
Discussion started by: jgobbur
3 Replies

9. AIX

Interface drivers for printers under AIX 5.3 or above

Hello, Under Linux (Cups) you can place an interface driver in: /etc/cups/interfaces .. which allows you to intercept printouts to a certain printer and then carry on with the printer. Is there a similar function under AIX? Thanks, (0 Replies)
Discussion started by: stuaz
0 Replies
Login or Register to Ask a Question
UCARP(8)						      System Manager's Manual							  UCARP(8)

NAME
ucarp -- Automatic IP failover SYNOPSIS
ucarp [-i, --interface=INTERFACE] [-s, --srcip=IPADDRESS] [-v, --vhid=VHID] [-p, --pass=PASSWORD] [-o, --passfile=PASSFILE] [-P, --preempt] [-n, --neutral] [-a, --addr=IPADDR] [-h, --help] [-b, --advbase=SECS] [-k, --advskew=SKEW] [-u, --upscript=SCRIPT] [-d, --downscript=SCRIPT] [-r, --deadratio=RATIO] [-z, --shutdown] [-B, --daemonize] [-f, --facility=FACILITY] [-x, --xparam PARAM] [-S, --ignoreifstate] [-M, --nomcast] DESCRIPTION
ucarp allows a pair of hosts to share common IP addresses in order to provide automatic failover of an address from one machine to another. It is a portable userland implementation of the secure and patent-free Common Address Redundancy Protocol, (CARP), OpenBSD's alternative to VRRP. OPTIONS
ucarp supports the following command line options: -i INTERFACE --interface=INTERFACE The network interface to bind to. -s IPADDRESS --srcip=IPADDRESS The persistent source address, (real IP), associated with this interface. -v VHID --vhid=VHID The id of the virtual server [1-255]. -p PASSWORD --pass=PASSWORD The shared password, (this gets encrypted and is not sent in the clear). -o PASSFILE --passfile=PASSFILE File to read the shared password from. The file specified should contain the password on the first line of the file. -P --preempt Turn on preemptive failover. This causes an instance of ucarp to assume master status right immediately. -n --neutral Do not run the downscript on startup when the initial state is backup. -a IPADDRESS --addr=IPADDRESS The IP address of the virtual server. -h --help Display a brief summary of the command line options. -b SECONDS --advbase=SECONDS Interval in seconds that advertisements will occur, (defaults to 1 second). -k SKEW --advskew=SKEW Advertisement skew [1-255], (defaults to 0). -u COMMAND --upscript=COMMAND Specifies the command to run after ucarp has successfully become master, the interface name gets passed as an argument. Typi- cally a script used to bring up the virtual address, log the result, add routes, clear arp cache entries, etc. -d COMMAND --downscript=COMMAND Specifies the command that is run after ucarp has transitioned to the backup state, the interface name is passed as an argument. This is typically a script used to bring down the virtual interface, log the action, remove routes, etc. -r RATIO --deadratio=RATIO Ratio used by the backup to determine how long to wait for an unresponsive master before considering it dead. -z --shutdown Use of this command causes the command specified by the -d argument to be invoked when ucarp shuts down. -B --daemonize Causes ucarp to detach from the terminal and run in the background as a daemon. -f --facility Set the syslog facility, defaults to daemon. -x PARAMETER --xparam=PARAMETER Specify an extra parameter to be supplied to the up/down scripts. -S --ignoreifstate Ignore unplugged network cables. This option is useful when ucarp nodes are connected with a crossover cable. Without this option the master will transition to backup when the other node is powered down, as it no longer has a link (NO-CARRIER). -M --nomcast Use broadcast instead of multicast advertisements. EXAMPLES
A host with a real IP of 10.1.1.10 configured to be the master in a preemptive configuration with a virtual IP of 10.1.1.252. ucarp -i eth0 -s 10.1.1.10 -v 10 -p secret -a 10.1.1.252 --upscript=/etc/vip-up.sh --downscript=/etc/vip-down.sh -P The backup might be configured something like this. ucarp -i eth0 -s 10.1.1.11 -v 10 -p secret -a 10.1.1.252 --upscript=/etc/vip-up.sh --downscript=/etc/vip-down.sh A machine with a real IP of 192.168.1.19 is the preferred master for a virtual IP of 10.1.12.7, broadcasts are sent every 5 seconds. ucarp -b 5 -s 192.168.1.19 -v 27 -p badpass -a 10.1.12.7 -u /etc/vip-up.sh -d /etc/vip-down.sh -z The hot standby with an IP of 192.168.1.20 uses the following command, (note the advskew of 50 putting it at a disadvantage and making the first machine preferred). ucarp -b 5 -k 50 -s 192.168.1.20 -v 27 -p badpass -a 10.1.12.7 -u /etc/vip-up.sh -d /etc/vip-down.sh -z SIGNALS
Sending the ucarp process a SIGUSR1 will have it log a status line to syslog, eg "Sep 13 12:59:56 localhost ucarp[2654]: [INFO] MASTER on eth0 id 1" or "Sep 13 13:00:25 localhost ucarp[2644]: [INFO] BACKUP on eth0 id 1" Sending the ucarp process a SIGUSR2 will cause it to demote itself from master to backup, pause 3 seconds, then proceed as usual to listen for other masters, and promote itself if necessary. This could be useful if you wish another node to take over master. AUTHOR
ucarp was written by Frank Denis, <j@ucarp.org>. This manual page was written by Eric Evans <eevans@debian.org> for the Debian system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or any later version published by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. UCARP(8)