To perform network boot:
lpar_netboot [-v] [-x] [-f] [-i] [-E environment [-E ...]]
[-g args] [{-A -D | [-D] -l physical-location-code |
[-D] -m MAC-address}] -t ent [-T {on|off}]
-s speed -d duplex -S server -G gateway -C client
[-K subnetmask] [-V vlan_tag] [-Y vlan_priority]
[[-a -B tftp_image_filename] |
-B bootp_image_filename]
[-y bootp_retry_count] [-z tftp_retry_count]
partition-name partition-profile managed-system
To retrieve MAC address and physical location code on a system supporting a full system partition:
lpar_netboot -M -n [-v] [-x] [-f] [-i] [-E environment [-E ...]]
[-A] -t ent [-T {on|off}] [-D -s speed -d duplex
-S server -G gateway -C client [-K subnetmask]
[-V vlan_tag] [-Y vlan_priority]]
managed-system managed-system
To perform network boot on a system supporting a full system partition:
lpar_netboot [-v] [-x] [-f] [-i] [-E environment [-E ...]]
[-g args] [{-A -D | [-D] -l physical-location-code |
[-D] -m MAC-address}] -t ent [-T {on|off}]
-s speed -d duplex -S server -G gateway -C client
[-K subnetmask] [-V vlan_tag] [-Y vlan_priority]
[[-a -B tftp_image_filename] |
-B bootp_image_filename]
[-y bootp_retry_count] [-z tftp_retry_count]
managed-system managed-system
Please note:
If the managed system is in co-management mode (set with is_controller=1) when listed with the lscomgmt command, the partition profile value will need to be blanked out with "". The lpar_netboot command will also ignore the partition profile value if its managed system is in co-management mode.
| -A | Return all adapters of the type specified with the -t option. |
| -B | Network boot image filename, required option if IPv6 addresses. |
| -C | The IP address of the partition to network boot. |
| -D | Perform a ping test and use the adapter that successfully pings the server specified with the -S option. |
| -E | Set environment variable setting. The -E LPAR_NETBOOT_DEBUG=1 is the same as export LPAR_NETBOOT_DEBUG=1. See ENVIRONMENT. |
| -G | The gateway IP address of the partition specified with the -C option. |
| -K | Subnetmask IP address. |
| -M | Discover network adapter MAC address and physical location code. |
| -S | The IP address of the machine from which to retrieve the network boot image during network boot. |
| -T | Enable or disble firmware spanning tree discovery. Valid values are on, off. |
| -V | Specifies the VLAN tag identifier to use for tagging Ethernet frames during network install for virtual network communication. Valid value is from 0 to 4094. |
| -Y | Specifies the VLAN tag priority to use for tagging Ethernet frames during network install for virtual network communication. Valid value is from 0 to 7. |
| -a | Network ip addresses for server, client and gateway are IPv6. |
| -d | The duplex setting of the partition specified with the -C option. Valid values are full, half, and auto. |
| -f | Force close the virtual terminal session for the partition. |
| -g | Specify generic arguments for booting the partition. |
| -i | Force immediate shutdown of the partition. If this option is not specified, a delayed shutdown will be performed. |
| -l | The physical location code of the network adapter to use for network boot. |
| -m | The MAC address of the network adapter to use for network boot. |
| -n | Instruct the partition to not network boot. |
| -s | The speed setting of the partition specified with the -C option. Valid values are 10, 100, 1000, and auto. |
| -t | The type of adapter for MAC address or physical location code discovery or for network boot. The only valid value is ent for ethernet. |
| -v | Display additional information during command execution. |
| -x | Display debug output during command execution. |
| -y | Specifies the maximum number of BOOTP retry attempts. Valid value is from 0 to 9 (optional). The default value is 5. |
| -z | Specifies the maximum number of TFTP retry attempts. Valid value is from 0 to 9 (optional). The default value is 5. |
| partition-name | The name of the partition. |
| partition-profile | The name of the partition profile. |
| managed-system | The name of the managed system which has the partition. |
| --help | Display the help text for this command and exit. |
lpar_netboot -M -n -t ent "machA" "machA_prof" "test_sys"
To network boot the partition machA with partition profile machA_prof on managed system test_sys:
lpar_netboot -t ent -s auto -d auto -S 9.3.6.49 -G 9.3.6.1 -C 9.3.6.234 "machA" "machA_prof" "test_sys"
To network boot the partition machA using the network adapter with a MAC address of 00:09:6b:dd:02:e8 with partition profile machA_prof on managed system test_sys:
lpar_netboot -t ent -m 00096bdd02e8 -s auto -d auto -S 9.3.6.49 -G 9.3.6.1 -C 9.3.6.234 "machA" "machA_prof" "test_sys"
To network boot the partition machA using the network adapter with a physical location code of U1234.121.A123456-P1-T6 with partition profile machA_prof on managed system test_sys:
lpar_netboot -t ent -l U1234.121.A123456-P1-T6 -s auto -d auto -S 9.3.6.49 -G 9.3.6.1 -C 9.3.6.234 "machA" "machA_prof" "test_sys"
To perform a ping test along with a network boot of the partition machA with partition profile machA_prof on managed system test_sys:
lpar_netboot -t ent -D -s auto -d auto -S 9.3.6.49 -G 9.3.6.1 -C 9.3.6.234 "machA" "machA_prof" "test_sys"
To perform ping test along with a network boot of the partition machA with partition profile machA_prof on managed system test_sys and disable firmware spanning tree discovery:
lpar_netboot -t ent -T off -D -s auto -d auto -S 9.3.6.49 -G 9.3.6.1 -C 9.3.6.234 "machA" "machA_prof" "test_sys"
| INSTALLIOS_DEBUG | The installios command used this environment variable to print out lpar_netboot debug. |
| LPAR_NETBOOT_3EXEC | Executing OF "dev /" and "ls" returns nothing, retry reboot and "ls". |
| LPAR_NETBOOT_DEBUG | Setting this variable will enable lpar_netboot debug. Similar to -x flag. |
| LPAR_NETBOOT_DEBUG_BOOT | Setting this variable will initate the firmware boot command with -s trap. |
| LPAR_NETBOOT_ADD_TIMEOUT | Extend timeout value by 5 seconds. Ex. LPAR_NETBOOT_ADD_TIMEOUT=5 |
| LPAR_NETBOOT_SUB_TIMEOUT | Lower timeout value by 8 seconds. Ex. LPAR_NETBOOT_SUB_TIMEOUT=8 |
| LPAR_NETBOOT_SPANNING_TREE | LPAR_NETBOOT_SPANNING_TREE=on enable spanning tree, LPAR_NETBOOT_SPANNING_TREE=off disable spanning tree. Similar to the -T flag. |
| OPEN_DEV_DEBUG | Show firmware OPEN_DEV debug by setting value to yes. |
| FIRMWARE_DUMP |
Show firmware dump for firmware debugging by setting value to yes.
|
| None | |
| Linux | LPAR_NETBOOT (1) | May 2022 |