- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Change the LAN name on HP-UX 11iv3
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2009 11:09 PM
тАО11-08-2009 11:09 PM
I need to change the LAN interface name from lan 0 to lan 1. I did the steps as suggested on "http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=18368" and here the steps i did for that -
1) Created a file /tmp/lanswap
2) Included the hardware path and the word lan followed by the new interface number
10/4/4 lan 1
3) Issued the command #ioinit -f /tmp/lanswap
then it show an error as -
ioinit: Instance number 1 already exists for class lan.
Line 1. 10/4/4 lan 1
Is there anything i missed on the steps? How to change the name of the lan. Please Advise.
Thanks,
Jayaprakash S
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2009 12:50 AM
тАО11-09-2009 12:50 AM
Re: Change the LAN name on HP-UX 11iv3
Line 1. 10/4/4 lan 1<<
Looks Ok for me :)
Also like to see below outputs,
netstat -in
lanscan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2009 12:54 AM
тАО11-09-2009 12:54 AM
Re: Change the LAN name on HP-UX 11iv3
if permanent-> You need edit,
vi /etc/rc.config.d/netconf -> file to change
Lan interface name from lan 0 to lan 1.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2009 01:13 AM
тАО11-09-2009 01:13 AM
Re: Change the LAN name on HP-UX 11iv3
The reason i want to change the lan interface name is, i have replaced the hardware from rx8640to rx8620 and the OS is in the EVA. I need to retain the old lan interface names for the new hardware also. Here the old and new card names
Old H/W:
lan1 and lan2
New H/W:
lan0 and lan7
So, i need to change lan0 to lan1 and lan7 to lan2.
here the outputs for
i) netstat -in
# netstat -in
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
lo0 32808 127.0.0.0 127.0.0.1 7994 0 7994 0 0
ii) lanscan
# lanscan
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
0/0/0/1/0 0x0012799546E1 0 UP lan0 snap0 1 ETHER Yes 119
0/0/12/1/0/6/0 0x00215A9DA066 7 UP lan7 snap7 2 ETHER Yes 119
Thanks,
Jayaprakash S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2009 01:15 AM
тАО11-09-2009 01:15 AM
SolutionWhy?
HP-UX doesn't care what lan instance numbers are - neither does Serviceguard or any other product I'm aware of... why do you need to retain the lan numbering???
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2009 02:24 AM
тАО11-09-2009 02:24 AM
Re: Change the LAN name on HP-UX 11iv3
In the Serviceguard configuration, we need to change the "NETWORK_INTERFACE" that is embedded on the configuration file (i.e cmclconfig.ascii). This has to be changed in case of the hardware change. So i'm thinking of changing the interface names instead of changing on the SG configuration files.
Hope this is clear.
--JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2009 02:51 AM
тАО11-09-2009 02:51 AM
Re: Change the LAN name on HP-UX 11iv3
It is much simpler to change the Serviceguard configuration that adjust the LAN IDs...
Th reason that you rae having a problem is that at some poinjt in the past this image of HP-UX _did_ have a lan1. The ioconfig file keeps track of every hardware component that is currently attached _and_ every component that was attached (so if you temporarily detach a disk for instance it goes back with the same HW path and DSF).
You can tell it to forget about this sort of thing and re-number afresh using some of the ioinit options, but to be honest why bother? Altering the Serviceguard configuration is much more straightforward...
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2011 09:49 AM
тАО12-22-2011 09:49 AM
Re: Change the LAN name on HP-UX 11iv3
Hi,
I have the same problem. In my case i'm configuring the third node for Oracle RAC on hpux 11iv3 and need that all the lan names for each nodes coincide between them.
I applied the same procedure of this post, both have the error that the lanx already exists. How can make this changes ??.
This is my scenario:
# netstat -rin
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
lan3 1500 10.0.0.0 10.0.0.15 617 0 601 0 0
lan2 1500 192.168.20.0 192.168.20.39 6837 0 121 0 0
lan0 1500 146.219.216.0 146.219.216.15 2862 0 1779 0 0
lo0 32808 127.0.0.0 127.0.0.1 21660 0 21660 0 0
lan4* 1500 146.219.216.0 146.219.216.15 4804891 0 2375353 0 0
# ioscan -fnkC lan
Class I H/W Path Driver S/W State H/W Type Description
========================================================================
lan 0 1/0/1/1/0/4/0 igelan CLAIMED INTERFACE HP A6794-60001 PCI 1000Base-T
lan 1 1/0/2/1/0 iether CLAIMED INTERFACE HP A7011-60001 PCI/PCI-X 1000Base-SX Dual-port Adapter
lan 2 1/0/2/1/1 iether CLAIMED INTERFACE HP A7011-60001 PCI/PCI-X 1000Base-SX Dual-port Adapter
lan 3 1/0/12/1/0 iether CLAIMED INTERFACE HP A7012-60601 PCI/PCI-X 1000Base-T Dual-port Adapter
lan 4 1/0/12/1/1 iether CLAIMED INTERFACE HP A7012-60601 PCI/PCI-X 1000Base-T Dual-port Adapter
The lan2 must be lan3 and viceversa for my porpuse.
Regards !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2011 10:01 AM
тАО12-22-2011 10:01 AM
Re: Change the LAN name on HP-UX 11iv3
Be aware; you will likely have to do this after each backup restore!
Why not just leave as it is and swap the cables?
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2011 10:05 AM
тАО12-22-2011 10:05 AM
Re: Change the LAN name on HP-UX 11iv3
I can't swap the cables because the networks configured are in different kind of switches .. i'm going to apply your suggestions. Regards.