LPARs are mainly created on the HMC using the GUI, because there are many settings which are visually easier to see, but as always the CLI can speed things up.
To list the current lpars
hscroot@hmc8> lssyscfg -m pserver1 -r lpar -F name
mylpar1
Create a new lpar
hscroot@hmc8> mksyscfg -m pserver1 -r lpar -i "name=apache_test,lpar_env=aixlinux,profile_name=norm,
min_mem=1024,desired_mem=1024,max_mem=1024,
proc_mode=shared,sharing_mode=uncap,uncap_weight=128,
min_proc_units=0.1,desired_proc_units=0.4,max_proc_units=2.0,
min_procs=1,desired_procs=2,max_procs=4,lpar_io_pool_ids=none,
max_virtual_slots=10,auto_start=0,boot_mode=norm,
power_ctrl_lpar_ids=none,conn_monitoring=0,
virtual_eth_adapters=3/1/1//0/1,virtual_scsi_adapters=3/client/1//10/1"
Another listing of the lpars
hscroot@hmc8> lssyscfg -m pserver1 -r lpar -F name
mylpar1
apache_test
Another way is put all the parameters in a file and call the file using the mksyscfg command and instead of using -i use -f option to read parameters from a file
hscroot@hmc8> mksyscfg -m pserver1 -r lpar -f ./my_lpar_file