Information

This site will undergo a brief period of maintenance on Friday, 18 December at 12:30 AM Central/12:00 PM IST. During a 30 minute window, site availability may be intermittent.

zhmcUpdateLparProperties


zhmcUpdateLparProperties

zhmcUpdateLparProperties (hmcname, newLparProps)

Updates the properties for an LPAR. See zhmcGetLparProperties for the list of available LPAR properties.

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


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC AMI Ops Console Management, BMC AMI Ops Console Automation, and BMC AMI Ops SecureHMC 4.1