System information

478 Logical Partitions on System i5
Listing all systems managed by the HMC
Use the lssyscfg command to list system configuration and managed system MTMS
information. To list the properties of all systems managed by this HMC, enter the following:
lssyscfg -r sys
To list only the user-defined names, model types, serial numbers, and states for all of the
systems managed by this HMC, enter:
lssyscfg -r sys -F name,type_model,serial_num,state --header
Note that after executing this command, <type_model> concatenated with * then with
<serial_num> represents the MODEL-TYPE*SERIAL, or MTMS, for the managed system.
Listing a managed system's properties
To list a specific managed system's properties, enter:
lssyscfg -r sys -m <managed system>
Working with logical partitions
This section describes the commands for working with logical partitions.
Creating LPARs
Use the mksyscfg command to create a partition.
The following example shows how to create an AIX/Linux partition:
mksyscfg -r lpar -m <managed system>
–i"lpar_id=2,name=aixlinux_lpar2,profile_name=prof1,lpar_type=aixlinux,boot_mode=norm,sfp_s
urveillance=1,desired_procs=1,min_procs=1,max_procs=1,min_proc_units=0.1,desired_proc_units
=0.5,max_proc_units=0.5,proc_type=shared,sharing_mode=cap,desired_mem=400,min_mem=400,
max_mem=400,auto_ipl=1,power_ctrl_lpar_ids=0,io_slots=553713666/65535/1"
The following example shows how to create an OS/400 partition:
mksyscfg -r lpar -m <managed system>
–i"lpar_id=3,name=os400_lpar3,profile_name=prof1,lpar_type=os400,sfp_surveillance=1,desired
_procs=1,min_procs=1,max_procs=1,min_proc_units=0.1,desired_proc_units=0.5,max_proc_units=0
.5,proc_type=shared,sharing_mode=cap,desired_mem=400,
min_mem=400,max_mem=400,auto_ipl=1,power_ctrl_lpar_ids=0,io_slots=553713699/65535/1,load_so
urce_slot=553713699,console_slot=553713699,min_interactive=0,desired_interactive=0,
max_interactive=0"
Valid attributes, specified with the –i flag, are listed below in Table A-4.
Table A-4 Command attributes for mksyscfg -i parameter
name desired_proc_units min_proc_units lpar_id
max_proc_units ecs_slot profile_name lpar_io_pool_ids
sni_windows lpar_type io_slots alt_console_slot
cluster_id boot_mode sni_device_ids sharing_mode
sfp_surveillance console_slot desired_procs auto_ipl
sni_config_mode min_procs power_ctrl_lpar_ids alt_load_source_slot
max_procs virtual_opti_pool_id virtual_serial_adapters desired_mem