set_oms_property

Sets the property value corresponding to the specified property name.

Format

emcli set_oms_property 
        -property_name="propertyName"
        [-oms_name="omsName"]
        -property_value="propertyValue"

[ ]  indicates that the parameter is optional

Options

  • property_name

    Name of the property whose value needs to be set.

  • oms_name

    Name of the management server for which the property needs to be set.

  • property_value

    Property value to be set.

Examples

Example 1

This example sets the value for the property name "propName" on the management server myhost:1159_Management_Service to "propValue."

set_oms_property -property_name=propName -property_value=propValue -oms_name="myhost:1159_Management_Service"

Example 2

This example sets the value for the property name "propName" to "propValue" on all of the management servers.

set the value for the property name "propName" to "propValue" on all the management servers