GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Changing LAN PPA no
Operating System - HP-UX
1845900
Members
5159
Online
110250
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
02-16-2007 03:06 AM
02-16-2007 03:06 AM
Hi,
I have 4 nic ports (2 dual lan cards) on RX6600 server with HP Ux 11.23 MCOE for clustering in 2 node cluster.
The lanscan output on 1 machine is like this.
-------------------------
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
0/4/2/0 0x0017A451B924 2 UP lan2 snap2 1 ETHER Yes 119
0/4/2/1 0x0017A451B925 3 UP lan3 snap3 2 ETHER Yes 119
0/6/1/0 0x0017A451A0DC 6 UP lan6 snap6 3 ETHER Yes 119
0/6/1/1 0x0017A451A0DD 7 UP lan7 snap7 4 ETHER Yes 119
--------
I would like to change the lan2/lan3/lan6/lan7 to lan0/lan1/lan2/lan3 (their respective PPA no) so it matches with another node. Basically this node had 8 lan ports with 4 dual port cards and we moved 4 ports (2 dual NIC cards to another server) after OS install was done.
Is this possible or not. If yes, how?. I can reboot the server or change files needed, since this server I just build up.
I have 4 nic ports (2 dual lan cards) on RX6600 server with HP Ux 11.23 MCOE for clustering in 2 node cluster.
The lanscan output on 1 machine is like this.
-------------------------
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
0/4/2/0 0x0017A451B924 2 UP lan2 snap2 1 ETHER Yes 119
0/4/2/1 0x0017A451B925 3 UP lan3 snap3 2 ETHER Yes 119
0/6/1/0 0x0017A451A0DC 6 UP lan6 snap6 3 ETHER Yes 119
0/6/1/1 0x0017A451A0DD 7 UP lan7 snap7 4 ETHER Yes 119
--------
I would like to change the lan2/lan3/lan6/lan7 to lan0/lan1/lan2/lan3 (their respective PPA no) so it matches with another node. Basically this node had 8 lan ports with 4 dual port cards and we moved 4 ports (2 dual NIC cards to another server) after OS install was done.
Is this possible or not. If yes, how?. I can reboot the server or change files needed, since this server I just build up.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2007 03:16 AM
02-16-2007 03:16 AM
Solution
It's really not essential that they be the same but ...
1. cd /
ioscan -f | grep -e "DEVICE" -e "INTERFACE" | grep -v "target" | awk '{printf("%-20.20s %-12.12s %3d\n",$3,$1,($2 + 0))}' > devlist # all of this is one line
This creates a file listing HW Path, Class, and Instance Numbers for the devices. It's the Instance Numbers that you want to change BUT make certain that there are no duplicates of the same class. It's fine to have a LAN 1 and a disk controller 1 but there can be at most 1 LAN card with instance 1.
2. Vi devlist and assign instance numbers 0, 1, 2 to lan0, lan1, and lan2 respectively. Leave the disk assignments as they are. Save the file.
3. Now blow away the ioconfig file and reboot:
cd /stand
mv ioconfig ioconfig.old
cd /etc
mv ioconfig ioconfig.old
shutdown -r 0
4) The system bootup will stop at ioinitrc message:
/sbin/ioinit -c # this will recreate the missing ioconfig files
/sbin/ioinit -f /devlist -r # this will read in your edited file and reboot. You may see error messages like "Input is identical". Pay no attention.
After the box has rebooted, do a lanscan and make sure your assignments are as you expected.
1. cd /
ioscan -f | grep -e "DEVICE" -e "INTERFACE" | grep -v "target" | awk '{printf("%-20.20s %-12.12s %3d\n",$3,$1,($2 + 0))}' > devlist # all of this is one line
This creates a file listing HW Path, Class, and Instance Numbers for the devices. It's the Instance Numbers that you want to change BUT make certain that there are no duplicates of the same class. It's fine to have a LAN 1 and a disk controller 1 but there can be at most 1 LAN card with instance 1.
2. Vi devlist and assign instance numbers 0, 1, 2 to lan0, lan1, and lan2 respectively. Leave the disk assignments as they are. Save the file.
3. Now blow away the ioconfig file and reboot:
cd /stand
mv ioconfig ioconfig.old
cd /etc
mv ioconfig ioconfig.old
shutdown -r 0
4) The system bootup will stop at ioinitrc message:
/sbin/ioinit -c # this will recreate the missing ioconfig files
/sbin/ioinit -f /devlist -r # this will read in your edited file and reboot. You may see error messages like "Input is identical". Pay no attention.
After the box has rebooted, do a lanscan and make sure your assignments are as you expected.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2007 04:16 AM
02-16-2007 04:16 AM
Re: Changing LAN PPA no
As suggested completed the steps but server did not reboot. See the output, while it does read the devlist file and instance no were 0, 1,2,3. I changed only lan entries, only 4 lan entries were their in devlist file.
-----------------------------------
(in ioinitrc)# /sbin/ioinit -c
(in ioinitrc)# /sbin/ioinit -f /devlist -r
ioinit: Input is identical to kernel, line ignored
Input line 1: 0/0/1/0 tty 0
ioinit: Input is identical to kernel, line ignored
Input line 2: 0/0/1/1 tty 1
ioinit: Input is identical to kernel, line ignored
Input line 3: 0/0/1/2 tty 2
ioinit: Input is identical to kernel, line ignored
Input line 4: 0/0/2/0 OO 0
ioinit: Input is identical to kernel, line ignored
Input line 5: 0/0/2/1 OO 1
ioinit: Input is identical to kernel, line ignored
Input line 9: 0/0/2/1.0.16.0.0 disk 0
ioinit: Input is identical to kernel, line ignored
Input line 10: 0/0/2/1.0.16.7.0 ctl 0
ioinit: Input is identical to kernel, line ignored
Input line 11: 0/0/2/2 OO 4
ioinit: Input is identical to kernel, line ignored
Input line 12: 0/3/1/0 fc 0
ioinit: Input is identical to kernel, line ignored
Input line 13: 0/4/1/0 escsi_ctlr 0
ioinit: Input is identical to kernel, line ignored
Input line 14: 0/4/1/0.0.0 ext_bus 1
ioinit: Input is identical to kernel, line ignored
Input line 15: 0/4/1/0.0.0.0.0 disk 1
ioinit: Input is identical to kernel, line ignored
Input line 16: 0/4/2/0 lan 0
ioinit: Input is identical to kernel, line ignored
Input line 17: 0/4/2/1 lan 1
ioinit: Input is identical to kernel, line ignored
Input line 18: 0/6/1/0 lan 2
ioinit: Input is identical to kernel, line ignored
Input line 19: 0/6/1/1 lan 3
ioinit: Input is identical to kernel, line ignored
Input line 20: 0/7/1/0 fc 1
ioinit: Input is identical to kernel, line ignored
Input line 21: 250/0 ipmi 0
ioinit: Input is identical to kernel, line ignored
Input line 22: 250/1 tty 3
ioinit: Input is identical to kernel, line ignored
Input line 23: 250/2 acpi_node 0
ioinit: libIO error - Entry not found in ioconfig file.
Input line 6: 0/0/2/1.0 OO 2
(in ioinitrc)#
------------------
-----------------------------------
(in ioinitrc)# /sbin/ioinit -c
(in ioinitrc)# /sbin/ioinit -f /devlist -r
ioinit: Input is identical to kernel, line ignored
Input line 1: 0/0/1/0 tty 0
ioinit: Input is identical to kernel, line ignored
Input line 2: 0/0/1/1 tty 1
ioinit: Input is identical to kernel, line ignored
Input line 3: 0/0/1/2 tty 2
ioinit: Input is identical to kernel, line ignored
Input line 4: 0/0/2/0 OO 0
ioinit: Input is identical to kernel, line ignored
Input line 5: 0/0/2/1 OO 1
ioinit: Input is identical to kernel, line ignored
Input line 9: 0/0/2/1.0.16.0.0 disk 0
ioinit: Input is identical to kernel, line ignored
Input line 10: 0/0/2/1.0.16.7.0 ctl 0
ioinit: Input is identical to kernel, line ignored
Input line 11: 0/0/2/2 OO 4
ioinit: Input is identical to kernel, line ignored
Input line 12: 0/3/1/0 fc 0
ioinit: Input is identical to kernel, line ignored
Input line 13: 0/4/1/0 escsi_ctlr 0
ioinit: Input is identical to kernel, line ignored
Input line 14: 0/4/1/0.0.0 ext_bus 1
ioinit: Input is identical to kernel, line ignored
Input line 15: 0/4/1/0.0.0.0.0 disk 1
ioinit: Input is identical to kernel, line ignored
Input line 16: 0/4/2/0 lan 0
ioinit: Input is identical to kernel, line ignored
Input line 17: 0/4/2/1 lan 1
ioinit: Input is identical to kernel, line ignored
Input line 18: 0/6/1/0 lan 2
ioinit: Input is identical to kernel, line ignored
Input line 19: 0/6/1/1 lan 3
ioinit: Input is identical to kernel, line ignored
Input line 20: 0/7/1/0 fc 1
ioinit: Input is identical to kernel, line ignored
Input line 21: 250/0 ipmi 0
ioinit: Input is identical to kernel, line ignored
Input line 22: 250/1 tty 3
ioinit: Input is identical to kernel, line ignored
Input line 23: 250/2 acpi_node 0
ioinit: libIO error - Entry not found in ioconfig file.
Input line 6: 0/0/2/1.0 OO 2
(in ioinitrc)#
------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2007 05:06 AM
02-16-2007 05:06 AM
Re: Changing LAN PPA no
Yes, it worked but did not reboot on its own after running the command
# sbin/ioinit -f /devlist -r
So, I did ctrl-d at that prompt and it wnet ahead with instance no changes as wanted.
Thanks for your help.
# sbin/ioinit -f /devlist -r
So, I did ctrl-d at that prompt and it wnet ahead with instance no changes as wanted.
Thanks for your help.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP