Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

create LPAR through CLI with input file

Status
Not open for further replies.

raylin

MIS
Jun 7, 2001
177
CH
syntax Problem but not very well documented (only man pages)

hscroot@mbshmc01:~> cat LPAR20_defs

name=P20_SAP_Labor,profile_name=Default,lpar_env=aixlinux,all_resources=0,
min_mem=1024,desired_mem=15360,max_mem=20480,
proc_mode=shared,min_proc_units=0.4,desired_proc_units=1.0,
max_proc_units=3.0,min_procs=1,desired_procs=2,max_procs=4,
sharing_mode=uncap,uncap_weight=128,lpar_io_pool_ids=none,
max_virtual_slots=400,
"virtual_scsi_adapters=120/client/1/P01_VIO-Server01/120/1,220/client/2/P02_VIO-Server02/220/1,"
"virtual_eth_adapters=2/0/1000//0/1,4/0/2101//0/1,3/0/1101//0/1,"
boot_mode=norm,conn_monitoring=1,auto_start=0,
power_ctrl_lpar_ids=none,work_group_id=none,shared_proc_pool_util_auth=1


hscroot@mbshmc01:~> mksyscfg -r lpar -m Server-mbsp570-01-SN659C3DE -f LPAR20_defs

The format of the configuration data is invalid. The correct format is "<attribute name 1>=<value>,<attribute name 2>=<value>,..." or ""<attribute name 1>=<value 1>,<value 2>,...>",..." . Please correct the configuration data and retry the command. Note that depending on the shell being used, any nested double quote characters may need to be preceded by an escape character, which is usually a '\' character.
 
found the solution : it was an LF Problem and so I put all the stanzas on "1 line" with the VI editor
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top