2.4.3. Das Kommando lpar
Alle PowerVM Funktionen die eine LPAR betreffen, können mit dem Kommando lpar durchgeführt werden. Dabei deckt das LPAR-Tool unter anderem die folgenden Bereiche der LPAR-Administration ab:
-
- Aktivieren und Deaktivieren von LPARs
- Zugriff auf die Konsole einer LPAR
- Administration von virtuellen Adaptern (seriell, Ethernet, FC, SCSI, SR-IOV, vNIC)
- Administration von Speicher und Prozessoren
- Anlegen und Löschen von LPARs
- Anzeigen von Performance Daten
- Live Partition Mobility (Validierung und Migration)
- Verwalten von Partitions Profilen
- …
Eine Übersicht über die verfügbaren Funktionen wird beim Starten des Kommandos lpar ohne Argumente angezeigt:
$ lpar
USAGE:
lpar [<option> ...] <keyword> [<option> ...] [<argument> ...]
lpar -L|-VRecognized 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 [{<category>|<keyword>|usage}]
$