2.4.3. The Command lpar

All PowerVM functions that affect an LPAR can be carried out with the lpar command. The LPAR tool covers the following areas of LPAR administration, among others:

    • Activate and deactivate of LPARs
    • Access to the console of an LPAR
    • Administration of virtual adapters (serial, Ethernet, FC, SCSI, SR-IOV, vNIC)
    • Administration of memory and processors
    • Creation and deletion of LPARs
    • View performance data
    • Live Partition Mobility (validation and migration)
    • Manage partition profiles
    • ‚Ķ

An overview of the available functions is displayed when the lpar command is started without arguments:

$ lpar
USAGE:
lpar [ ...] [ ...] [ ...]lpar -L|-V

Recognized keywords:
activate - Activate AIX, Linux, IBM i or virtual I/O server partition
actvnicbkdev - Make virtual NIC backing device active
addeth - Add virtual ethernet adapter
addfc - Add virtual FC client adapter
addmem - Add memory
addprocs - Add dedicated or shared processors
addprocunits - Add processing units
addscsi - Add virtual SCSI client adapter
addserial - Add virtual serial adapter
addslot - Add physical I/O slot
addsriov - Add SR-IOV logical port
addvlan - Add VLAN to virtual ethernet adapter
addvnic - Add vNIC adapter
addvnicbkdev - Add a backing device to a virtual NIC adapter of an LPAR
applyprof - Apply partition profile
backup - Create backup
chattr - Change attributes
cheth - Change attributes of virtual ethernet adapter
chfc - Change virtual FC adapter
chled - Change state of LED
chmem - Change memory attributes
chproc - Change processor attributes
chprocpool - Change shared processor pool
chscsi - Change virtual SCSI adapter
chserial - Change virtual serial adapter
chsriov - Change attributes of SR-IOV logical port
chvnic - Change a vNIC adapter assigned to an LPAR.
chvnicbkdev - Change attributes of a backing device for a virtual NIC
clearvnicbkdev - Clear virtual NIC backing device error
clone - Create clone
console - Open virtual console session for AIX, Linux or virtual I/O server partition
create - Create AIX, Linux, IBM i or virtual I/O server partition
delete - Remove partition
disableeth - Disable virtual ethernet adapter
display - Display detailed informations
dumprestart - Dump and restart a partition
enableeth - Enable virtual ethernet adapter
flrt - List FLRT
history - Show state or configuration changes
list - Show names of specific LPARs
lsattr - List partition or profile attributes
lseth - Show virtual ethernet adapters
lsfc - Show virtual FC adapters
lsled - Display state of system attention LED
lslparmigr - List partition migration information
lsmem - Show memory
lsmemopt - Show DPO memory affinity scores
lsproc - Show processing resources
lsprof - List partition profiles
lsrefcode - List reference codes for an LPAR
lsscsi - Show virtual SCSI adapters
lsserial - Show virtual serial adapters
lsslot - Show physical I/O slots
lssriov - Show SR-IOV logical ports
lsvnic - Show vNIC adapters
lsvslot - Show virtual slots
migrate - Perform partition migration
mkblueprint - Create blueprint
osshutdown - Issue OS shutdown command to shut down a partition
procstat - Show utilization data
rename - Rename LPAR
rmconsole - Close virtual console session for AIX, Linux or virtual I/O server partition
rmeth - Remove virtual ethernet adapter
rmfc - Remove virtual FC client adapter
rmmem - Remove memory
rmprocs - Remove dedicated or shared processors
rmprocunits - Remove processing units
rmprof - Remove partition profile
rmscsi - Remove virtual SCSI client adapter
rmserial - Remove virtual serial adapter
rmslot - Remove physical I/O slot
rmsriov - Remove SR-IOV logical port
rmvlan - Remove VLAN from virtual ethernet adapter
rmvnic - Remove a vNIC adapter from an LPAR.
rmvnicbkdev - Removes a backing device from a virtual NIC adapter of an LPAR
savecurrcfg - Save current configuration of an LPAR to profile
show - Show basic informations
shutdown - Shutdown AIX, Linux, IBM i or virtual I/O server partition
status - Display current status
stopmigr - Stop partition migration
validate - Perform partition migration validation
help [{||usage}]
$