1. Check the current boot state:
VIOS:> lssyscfg -r lpar -F name,lpar_id,state -m Server-8499-99Y-SN123456
VIOS-gwazi,1,Running
lpar01,2,Not Activated
lpar02,3,Not Activated
lpar03,4,Not Activated

VIOS:> lssyscfg -r prof -m Server-8499-99Y-SN123456
<snip>
name=lpar03,lpar_name=lpar01,lpar_id=4,os_type=aixlinux,all_resources=0,mem_mode=shared,min_mem=256,desired_mem=8192,max_mem=8192,mem_weight=128,
desired_io_entitled_mem=auto,paging_device=lv01,proc_mode=shared,min_proc_units=0.10,desired_proc_units=0.20,max_proc_units=4.00,min_procs=1,desired_procs=2,max_procs=4,sharing_mode=uncap,uncap_weight=128,io_slots=none,lpar_io_pool_ids=none,max_virtual_slots=10,"virtual_serial_adapters=0/server/1/any//any/1,1/server/1/any//any/1",virtual_scsi_adapters=2/client/1/VIOS-gwazi/19/1,
virtual_eth_adapters=4/0/834//0/0,boot_mode=norm,conn_monitoring=0,auto_start=0,power_ctrl_lpar_ids=none,lhea_logical_ports=none,lhea_capabilities=none,lpar_proc_compat_mode=default,virtual_fc_adapters=none

in this example it is boot_mode=norm for the lpar03 LPAR (id=4)

  1. To change the boot mode we need to update the profile:
VIOS:> chsyscfg -r prof -m Server-8499-99Y-SN123456 -i "boot_mode=ds,lpar_name=lpar03"

This will set the boot mode to stored list. Other options are:

Logical partition power on mode. Valid values are:

norm - normal
dd - diagnostic with default boot list
ds - diagnostic with stored boot list
of - Open Firmware OK prompt
sms - System Management Services
  1. Boot the LPAR:
# chsysstate -m Server-8499-99Y-SN123456 -r lpar -o on --id 4

Comments