Retrieves the media access control (MAC) address and physical location code from network adapters for a logical partition, or instructs a logical partition to do a network boot.
To retrieve a MAC address:
lpar_netboot -M -n [-v] [-x] [-f] [-i] [-A] -t ent [-D -s Speed-d Duplex -S Server -G Gateway -C Client -K subnetmask] partition name partition profile manage system
To perform a network boot:
lpar_netboot [-v[-x] [-f] [-i] [-g args] [-A -D | [-D] -l phys_loc | [-D] -m maddress] -t ent [-D -s Speed-d Duplex -S Server -G Gateway -C Client -K subnetmask partition name partition profile manage system
The lpar_netboot command instructs a logical partition to do a network boot by having the logical partition send out a bootp request to a server specified with the -S flag. The server can be a network installation management (NIM) server serving SPOT resources or any server serving network boot images.
If the -M and -n flags are specified, the lpar_netboot command returns the MAC address and the physical location code for a particular type of network adapter specified with the -t flag. When the -m flag is specified, lpar_netboot boots a partition using a specific network adapter that matches the specified MAC address. When the -l flag is specified, lpar_netboot boots a logical partition using a specific physical location code for the network adapter that matches the specified physical location code. The matching MAC address or physical location code is dependent on the hardware resource allocation in the profile in which the logical partition was booted. The lpar_netboot command also requires arguments for the partition name and the partition profile (which contains the allocated hardware resources), and the name of the managed system in which the logical partition was defined.
| 0 | The command completed successfully. |
| >0 | An error occurred. |
Access Control: You must have root authority to run the lpar_netboot command.
lpar_netboot -M -n -t ent "machA" "machA_prof" "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"
OS_install -o allocate -a os_resource=my53resource myclient01
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"
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"