zhmcUpdateLparProperties
Parameters:
hmcname | The HMC session name. |
newLparProps | An object containing the new properties. |
Returns:
true if the operation was successful, false otherwise.
// lpar was obtained via zhmcGetLpars(...)
props = zhmcGetLparProperties(hmc, lpar)
// Set the minimum processor weight to 50 and update
props.minimum_processor_weight = 50
status = zhmcUpdateLparProperties(hmc, props)
if status == false then
trace("Error updating LPAR properties: " + hmcGetLastError(), RED)
endif
props = zhmcGetLparProperties(hmc, lpar)
// Set the minimum processor weight to 50 and update
props.minimum_processor_weight = 50
status = zhmcUpdateLparProperties(hmc, props)
if status == false then
trace("Error updating LPAR properties: " + hmcGetLastError(), RED)
endif
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*