Go Back   The UNIX and Linux Forums > Operating Systems > Solaris
google site



Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

Closed Thread
English Japanese Spanish French German Portuguese Italian Powered by Powered by Google
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-04-2009
Registered User
 

Join Date: Mar 2008
Location: bangalore
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
IPMP Configuration

Dear All,

I have configured IPMP in one of my SUN machine which is having solros 9 version. I have updated all files like /etc/hosts,/etc/hostname.ce0 and /etc/hostname.ce1 and rebooted the server. But IP's are not mounted which i have given in /etc/hosts file.

Please find the below ifconfig output and help me to resolve this issue.


Code:
root@HYDREM01 # ifconfig -a
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
ce0: flags=1000842<BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 0.0.0.0 netmask 0
        ether 0:14:4f:85:df:69
ce0:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 10.209.130.9 netmask ffffff00 broadcast 10.209.130.255
ce1: flags=1000842<BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
        inet 0.0.0.0 netmask 0
        ether 0:14:4f:85:df:68

Thanks and Regards,

Lakkireddy BR

Last edited by DukeNuke2; 12-05-2009 at 04:45 AM.. Reason: please use code tags!
Sponsored Links
  #2  
Old 12-05-2009
Registered User
 

Join Date: May 2008
Location: SINGAPORE.. The "FINE" City
Posts: 2,663
Thanks: 0
Thanked 6 Times in 6 Posts
You have configured link based ipmp? provide the contents of those files.
  #3  
Old 12-05-2009
DukeNuke2's Avatar
Soulman
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 3,528
Thanks: 1
Thanked 8 Times in 8 Posts
there are no "group" names in the output. so i asume something is wrong in the config files.
  #4  
Old 12-05-2009
Registered User
 

Join Date: Mar 2008
Location: bangalore
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Please find the conf files.


Code:
/etc/hostname.ce0
HYDREM01-ce0 group HYDREM01-ipmp -failover deprecated netmask + broadcast + up
addif HYDREM01 netmask + broadcast + up


Code:
/etc/hostname.ce1
HYDREM01-ce1 group HYDREM01-ipmp -failover deprecated netmask + broadcast + up


Last edited by DukeNuke2; 12-05-2009 at 12:28 PM.. Reason: please use code tags!
  #5  
Old 12-05-2009
DukeNuke2's Avatar
Soulman
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 3,528
Thanks: 1
Thanked 8 Times in 8 Posts
maybe this helps:
Solaris IP Multipathing made easy
  #6  
Old 12-07-2009
Registered User
 

Join Date: Mar 2009
Posts: 45
Thanks: 5
Thanked 0 Times in 0 Posts
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







  #7  
Old 12-10-2009
Registered User
 

Join Date: Mar 2008
Location: bangalore
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Dear Sparcman,

Thanks for your support.Its wroking fine.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
IPMP Configuration SmartAntz Solaris 6 08-17-2009 10:18 PM
IPMP configuration and detach problem gxmsgx Solaris 3 08-11-2009 11:42 AM
IPMP/HA: most common configuration gxmsgx Solaris 3 08-10-2009 09:11 AM
setting up IPMP skamal4u Solaris 3 03-28-2009 03:17 PM
Ipmp kumarmani Solaris 1 11-16-2008 04:10 AM



All times are GMT -4. The time now is 07:30 AM.