tektipsaix
Technical User
Hi All
I use the following script to create a LPAR profile, but cannot seem to find the correct combination of quotes or double quotes for the virtual_fc_adapters. I have tested all the other attributes, and they work fine, except for the FC adapters one.
==========================================================================================
#!/usr/bin/ksh
USERID="hscroot"
HMC='10.xx.xx.xx'
SYSTEM="COMP1"
ssh $USERID@$HMC mksyscfg -m $SYSTEM -r lpar -i "name=AIX_TEST, profile_name=AIX_TEST_LIVE, lpar_env=aixlinux, min_mem=8192, desired_mem=16384, max_mem=24576, proc_mode=shared, min_procs=1, desired_procs=2, max_procs=4, min_proc_units=0.5, desired_proc_units=1, max_proc_units=2, sharing_mode=uncap, uncap_weight=128, conn_monitoring=1, boot_mode=norm, max_virtual_slots=200, virtual_eth_adapters="2/0/13//0/0/", ""virtual_fc_adapters=4/client//VIOS01/30//0,5/client//VIOS01/31//0"""
exit
==========================================================================================
I have tried (I think!) all the possible variations/combinations (also with/without the "escape char for double quotes), without success.
The following is displayed. Any idea what the correct format is please ?
An error occurred while creating the partition named AIX_TEST.
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.
done
Thanks.
Jasper
I use the following script to create a LPAR profile, but cannot seem to find the correct combination of quotes or double quotes for the virtual_fc_adapters. I have tested all the other attributes, and they work fine, except for the FC adapters one.
==========================================================================================
#!/usr/bin/ksh
USERID="hscroot"
HMC='10.xx.xx.xx'
SYSTEM="COMP1"
ssh $USERID@$HMC mksyscfg -m $SYSTEM -r lpar -i "name=AIX_TEST, profile_name=AIX_TEST_LIVE, lpar_env=aixlinux, min_mem=8192, desired_mem=16384, max_mem=24576, proc_mode=shared, min_procs=1, desired_procs=2, max_procs=4, min_proc_units=0.5, desired_proc_units=1, max_proc_units=2, sharing_mode=uncap, uncap_weight=128, conn_monitoring=1, boot_mode=norm, max_virtual_slots=200, virtual_eth_adapters="2/0/13//0/0/", ""virtual_fc_adapters=4/client//VIOS01/30//0,5/client//VIOS01/31//0"""
exit
==========================================================================================
I have tried (I think!) all the possible variations/combinations (also with/without the "escape char for double quotes), without success.
The following is displayed. Any idea what the correct format is please ?
An error occurred while creating the partition named AIX_TEST.
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.
done
Thanks.
Jasper