12-07-2009
You need to set IPMP up first.
# ifconfig ce0 plumb
# ifconfig ce1 plumb
# eeprom | grep local-mac-address ---> should be set to true. If not then run this coomand.
# # eeprom local-mac-address?=true
Edit your /etc/hosts file with the proper entries.
Create an IPMP group.
# ifconfig ce0 group netgroup
# ifconfig ce1 group netgroup
# vi /etc/hostname.ce0
dummy0 netmask + broadcast + group netgroup deprecated -failover up addif hostname netmask + broadcast + failover up -----> Active interface.
# vi /etc/hostname.ce1
dummy1 netmask + broadcast + group netgroup deprecated -failover standby up
# ifconfig ce0 netmask + broadcast + group netgroup deprecated -failover up addif hostname netmask + broadcast + failover up
# ifconfig ce1 netmask + broadcast + group netgroup deprecated -failover standby up
I usually reboot at this point as sometimes this doesn't work. Have your /etc/hostname.ce* files configured and ready to pick up the new IPMP config.
Test the failover
# if_mpadm -d ce0
# ifconfig -a --> Should show failed over to ce1
# if_mpadm -r ce0 ---> Reattach ce0. Should should failed back to ce0
10 More Discussions You Might Find Interesting
1. Solaris
Hi All,
Kindly help me in configuring IPMP or guid me to some link, tried goggling however no luck.
Thanks in anticipation (1 Reply)
Discussion started by: kumarmani
1 Replies
2. Solaris
Hi All,
I have unplumbed one interface.
after that ifconfig -a shows that
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
e1000g0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
... (7 Replies)
Discussion started by: jegaraman
7 Replies
3. Solaris
Probe-based IPMP active - active
Probe-based IPMP active - passive
Link-based only active -standby
????
What are differences between
Probe-based IPMP active - passive anddd
Link-based only active -standby
???!!!
For example in active active probe-based IPMP there are
lets... (6 Replies)
Discussion started by: samar
6 Replies
4. Solaris
Guide me in setting up IPMP on solaris 10 box .
my system has 2 physical interface
bge0 - not used
bge1 - 10.10.10.10
bge1:1 - 10.10.10.11
please guide , how can i implement IPMP on this server , how many additional test ip is required ? , as 2 ip's are configured on bge1 interface ,... (3 Replies)
Discussion started by: skamal4u
3 Replies
5. Solaris
Hi,
based on your experience what is the most common IPMP configuration on a two nodes cluster for HA failover / scalable services?
...active-active, active-standby with probe-based failure detection etc.
Thanks (3 Replies)
Discussion started by: gxmsgx
3 Replies
6. Solaris
Hi,
I've a problem when try to detach nic e1000g1.
IPMP configuration:
# ifconfig -a
...cut...
e1000g1: flags=1000842<BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 7
inet 0.0.0.0 netmask 0
ether 0:c:29:67:16:ef
e1000g2: flags=1000842<BROADCAST,RUNNING,MULTICAST,IPv4>... (3 Replies)
Discussion started by: gxmsgx
3 Replies
7. Solaris
Hi all,
Currently i got a server which had two interface. I had study the <SystemAdministration Guide: IP> but still donno what is the correct step to configure it. Can u all help me on it? thanks
# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index... (6 Replies)
Discussion started by: SmartAntz
6 Replies
8. Solaris
Hi All,
Need your help to explaining why when i configure 2 interface IPMP active-standby appear, INACTIVE and DEPRECATED parameter, detail screen shoot as below :
root@machine01 # ifconfig -a
e1000g0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 7
inet... (6 Replies)
Discussion started by: Wong_Cilacap
6 Replies
9. Solaris
Can any one please explain me the concept behind IPMP in solaris clustering.Basic explanation would be really appreciated...
Thanks in Advance
vks (2 Replies)
Discussion started by: vks47
2 Replies
10. Solaris
Hi,
I have two physical interface connected to solaris box.
1. e1000g1
2. e1000g2
I have added these interfaced under a same IPMP group "IPMP1"
After that I have configured a test address for e1000g1 like below
ifconfig e1000g1 addif <ip-address> netmask + broadcast + -failover... (1 Reply)
Discussion started by: praveensharma21
1 Replies
LEARN ABOUT CENTOS
nss-myhostname
NSS-MYHOSTNAME(8) nss-myhostname NSS-MYHOSTNAME(8)
NAME
nss-myhostname - Provide hostname resolution for the locally configured system hostname.
SYNOPSIS
nss-myhostname.la
DESCRIPTION
nss-myhostname is a plugin for the GNU Name Service Switch (NSS) functionality of the GNU C Library (glibc) providing hostname resolution
for the locally configured system hostname as returned by gethostname(2). Various software relies on an always-resolvable local hostname.
When using dynamic hostnames, this is usually achieved by patching /etc/hosts at the same time as changing the host name. This however is
not ideal since it requires a writable /etc file system and is fragile because the file might be edited by the administrator at the same
time. nss-myhostname simply returns all locally configured public IP addresses, or, if none are configured, the IPv4 address 127.0.0.2
(which is on the local loopback) and the IPv6 address ::1 (which is the local host) for whatever system hostname is configured locally.
Patching /etc/hosts is thus no longer necessary.
To activate the NSS modules, myhostname has to be added to the line starting with "hosts:" in /etc/nsswitch.conf
It is recommended to put myhostname last in the nsswitch.conf line to make sure that this mapping is only used as fallback, and any DNS or
/etc/hosts based mapping takes precedence.
EXAMPLE
# /etc/nsswitch.conf
passwd: compat
group: compat
shadow: compat
hosts: files dns myhostname
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
netgroup: nis
To test, use glibc's getent tool:
$ getent ahosts `hostname`
::1 STREAM omega
::1 DGRAM
::1 RAW
127.0.0.2 STREAM
127.0.0.2 DGRAM
127.0.0.2 RAW
In this case the local hostname is omega.
SEE ALSO
systemd(1), systemd-logind.service(8), logind.conf(5), loginctl(1), pam.conf(5), pam.d(5), pam(8), pam_loginuid(8)
systemd 208 NSS-MYHOSTNAME(8)