Unsupported content

 

This version of the product has reached end of support. The documentation is available for your convenience. However, you must be logged in to access it. You will not be able to leave comments.

Update Resource Pool operation

The Update Resource Pool operation modifies a resource pool's information. If modifying of one property fails, nothing will be changed.

The following table describes the elements for this request.

Adapter request elements for the Update Resource Pool operation

Element

Definition

Required

<operation-name>

Specifies the name of the operation: update-resource-pool

Yes

<arguments>

Specifies a list of arguments that is required for this operation

Yes

<targets>

Contains the parent XML element for the <target> element, which specifies the dynamic targets

Conditional; required if the adapter configuration is empty in Grid Manager

<target>

Contains the child XML <targets> element, which specifies the dynamic targets

Using dynamic targets, you can define connection information for a remote host in an adapter request. This capability enables you to configure an adapter in Grid Manager by specifying configuration information in an adapter request.

This XML element can have <host>, <user-name>, <password>, <protocol>, and <port> as its child elements.

Notes


  • An adapter configuration specified by using request-level dynamic targets takes precedence over Grid Manager level configuration information.
  • If you specify the request-level dynamic target by using <targets>, the request ignores the <targets> element that is a child of the <arguments> element.

Conditional; required if <targets> is present in the adapter request

<host>

Specifies the host name or IP address of the server on which NetApp DataFabric Manager is running

Conditional; required if <targets> is present in the adapter request

<user-name>

Specifies the user name required to log on to the NetApp DataFabric Manager

Conditional; required if <targets> is present in the adapter request

<password>

Specifies the password that corresponds to the <user-name>

The <password> element can contain an encryption-type attribute. The encryption-type attribute indicates whether the password specified is encrypted.

Valid values for encryption-type attribute: Base64, Plain (default)

Conditional; required if <targets> is present in the adapter request

<protocol>

Specifies the communication protocol used by the adapter

Valid values: http (default), https

No

<port>

Specifies the port on which NetApp DataFabric Manager is enabled

Default values: 8088 (http), 8488 (https)

No

<target>

Specifies the child XML element of the <arguments> element

You can use this element to specify the connection information for a DFM server. You can use a comma-separated list of configuration names, which executes the request simultaneously on all DFM servers identified by the configuration names.

Valid values:

  • The values specified for the <target> XML element must be the same as the values that have been specified for the name attribute of the <config> element in the Grid Manager adapter configuration.
  • You can provide "ALL" as the value. In this case, the request is executed on all the DFM servers defined in the Grid Manager adapter configuration.
  • You can specify multiple comma-separated names to allow for simultaneous execution of requests across multiple DFM servers.
  • You can skip this element. In this case, the request is executed on the first defined Grid Manager adapter configuration.
  • You can leave this element empty. In this case, the request is executed on the first defined Grid Manager adapter configuration.

    Note

    If you specify a request-level dynamic target by using <targets>, the request ignores this element.

No

<resourcepool-name-or-id>

Specifies the name or identifier of the resource pool to modify

It should be a valid DFM object name or object ID and contain at least one non-numeric character.

Range: [1--2^31-1]

Yes

<aggregate-nearly-overcommitted-threshold>

Specifies the value (as an integer percentage) of the fullness threshold used to generate a "resourcepool nearly overcommitted event" for all the resource pools

If the value specified is empty, then the setting is cleared and the value specified in global options for the aggrNearlyOvercommittedThreshold is used.

Valid value: any positive integer

Range: [0--65535]

No

<aggregate-overcommitted-threshold>

Specifies the value (as an integer percentage) of the fullness threshold used to generate an resourcepool overcommitted event for all the resource pools

If the value specified is empty, then the setting is cleared and the value specified in global options for aggrOvercommittedThreshold will be used.

Valid value: any positive integer

Range: [0--65535]

No

<resource-tag>

Specifies the label that can be associated with a resource pool

No

<resourcepool-contact>

Specifies a list of email addresses; can be up to 255 characters

If more than one email address is specified, the addresses must be separated by a ','. Spaces (and other white space) are not allowed, either between addresses or in them. Unprintable characters are also invalid.

No

<resourcepool-description>

Specifies the description of the resource pool, up to 255 characters

This is modifiable.

No

<resourcepool-full-threshold>

Specifies the value (as an integer percentage) of the fullness threshold used to generate a resource pool full event for this resource pool

Valid value: any positive integer

Range: [0--1000]

No

<resourcepool-name>

Specifies the name of the resource pool

No

<resourcepool-nearly-full-threshold>

Specifies the value (as an integer percentage) of the fullness threshold used to generate a resource pool nearly full event for this resource pool.

Valid values: any positive integer

Range: [0--1000]

No

<resourcepool-owner>

Specifies the name of the owner of the resource pool; can be up to 255 characters

This is modifiable.

No

<resourcepool-timezone>

Specifies the time zone in which the storage pool is located

This is modifiable. If you do not specify any value, the system default (usually GMT) is specified.

No

A sample adapter request for this operation is given in the following figure.

Sample adapter request for Update Resource Pool operation

<netapp-storage-request>
    <operation-name>update-resource-pool</operation-name>
    <arguments>
      <targets>
        <target>
          <host>server137</host>
          <user-name>username</user-name>
          <password encryption-type = "Base64">cGFzc3dvcmQ=</password>
          <protocol>http</protocol>
          <port>8088</port>
        </target>
      </targets>
      <target />
      <resourcepool-name-or-id>gl_gold</resourcepool-name-or-id>
      <aggregate-nearly-overcommitted-threshold>500
</aggregate-nearly-overcommitted-threshold>
      <aggregate-overcommitted-threshold>500</aggregate-overcommitted-threshold>
      <resource-tag>test</resource-tag>
      <resourcepool-contact>netapp.test@xyz.com</resourcepool-contact>
      <resourcepool-description>test desc</resourcepool-description>
      <resourcepool-full-threshold>100</resourcepool-full-threshold>
      <resourcepool-name>gl_gold</resourcepool-name>
      <resourcepool-nearly-full-threshold>100
</resourcepool-nearly-full-threshold>
      <resourcepool-owner>Test</resourcepool-owner>
      <resourcepool-timezone>GMT</resourcepool-timezone>
    </arguments>
  </netapp-storage-request>


The following figure displays a sample adapter response for this operation.

Sample adapter response for Update Resource Pool operation

<netapp-storage-response>
  <metadata>
    <status>success</status>
    <response-count>1</response-count>
  </metadata>
  <responses>
    <response>
      <metadata>
        <status>success</status>
        <count>0</count>
      </metadata>
    </response>
  </responses>
</netapp-storage-response>
Was this page helpful? Yes No Submitting... Thank you

Comments