Remove Monitored Resource Entry (QfpadRmvMonitoredResourceEntry) API


  Required Parameter Group:


  Service Program Name: QFPADAP1

  Default Public Authority: *EXCLUDE

  Threadsafe: Yes

The Remove Monitored Resource Entry (QfpadRmvMonitoredResourceEntry) API removes a Monitored Resource Entry (MRE) from a cluster administrative domain. A monitored resource is a system object or a set of attributes not associated with a specific system object, such as the set of system environment variables. Monitored resource entries are added using the Add Monitored Resource Entry (QfpadAddMonitoredResourceEntry) API.

This API will do the following when removing a monitored resource entry from a cluster administrative domain:

Restrictions:

  1. When removing monitored resource entries from a cluster administrative domain, the cluster administrative domain must exist and all nodes in the domain must be active.
  2. Monitored resources cannot be removed when the cluster administration domain is partitioned.
  3. The program that calls this API must be running under a user profile that exists on every node in the cluster administrative domain.
  4. This API can only be called from a cluster node in the domain node list of the cluster administrative domain.
  5. This API operates in an asynchronous mode. See Behavior of Cluster Resource Services APIs for more information.

Authorities and Locks

System configuration (*IOSYSCFG) special authority is required to use this API.

Configuration Object Authority (applies to a configuration object for which the MRE is removed)
*OBJMGT
Library Authority
*EXECUTE
NWS Configuration Authority (applies to an NWS configuration for which the MRE is removed)
*OBJEXIST
NWS Storage Space Authority (applies to an NWS storage space for which the MRE is removed)
*OBJEXIST
Authorization List Authority (Applied to an authorization list for which the MRE is removed)
*ALLOBJ or ownership
Request Information User Queue Authority
*OBJOPR, *ADD
Request Information User Queue Library Authority
*EXECUTE
Request Information User Queue Lock
*EXCLRD

Required Parameter Group

Manager type
INPUT; CHAR(10)

The management function which monitors the resource. *ADMDMN must be specified.

Monitored resource information
INPUT; CHAR(*)

The monitored resource information provided as input.

Length of monitored resource information
INPUT; BINARY(4)

The length of the monitored resource information.

Format of monitored resource information
INPUT; CHAR(8)

The format name of the monitored resource information. The following format name is allowed:

EENT0100 The format of monitored resource information in a cluster administrative domain.

Server information
INPUT; CHAR(*)

The information about the server which monitors the resource. When the manager type is *ADMDMN, the server is the cluster administrative domain.

Length of server information
INPUT; BINARY(4)

The length of the server information. The length of the server information parameter must be set to the size of the SRVI0100 structure.

Format of server information
INPUT; CHAR(8)

The format name of the server information. The following format name is allowed:

SRVI0100 The format of the server information when the server is a cluster.

Server defined output
OUTPUT; CHAR(*)

When the manager type is *ADMDMN, the server defined output contains the 16 character request handle. The request handle is a unique string or handle that identifies this API call. It is used to associate this call to any responses placed on the user queue specified in the results information parameter. The API will generate the request handle and return the handle to the caller of the API.

Error code
I/O; CHAR(*)

The structure in which to return error information. For the format of the structure, see Error code parameter.


Input Parameter Section

The following information is returned in the input parameter section. For detailed descriptions of the fields in this table, see Field Descriptions.

Monitored Resource Entry (EENT0100 Format)



Field Descriptions

Length of monitored resource name. The length in bytes of the monitored resource name.

Monitored resource library name. The name of the monitored resource library. The allowed values are:


Monitored resource name. The name of the monitored resource.

Monitored resource type. The type of monitored resource. The allowed values are:



Server Information (SRVI0100 Format)



Field Descriptions

Cluster administrative domain name. The name of the cluster administrative domain.

Cluster name. The name of the cluster.

Length of server defined output. The length, in bytes, of the server defined output parameter for this API. If the manager type is *ADMDMN, this value must be 16.

Results information. This field identifies a qualified user queue field and is followed by a reserved field.


Usage Notes

Removing a Monitored Resource Entry (MRE) in a Cluster Administrative Domain

See Cluster administrative domain for more information about using this API to remove monitored resource entries in a cluster administrative domain.


Results Information User Queue

Asynchronous results are returned to a user queue specified by the Results Information parameter of the API. See Cluster APIs Use of User Queues and Using Results Information for details on how to create the results information user queue, the format of the entries, and how to use the data placed on the queue. The data is sent to the user queue in the form of a message identifier and the substitution data for the message (if any exists). The following identifies the data sent to the user queue (excluding the message text).



Error Messages

Messages that are delivered through the error code parameter are listed here. The data (messages) sent to the results information user queue are listed in the Usage Notes above.




API introduced: V5R4

[ Back to top | Cluster APIs | APIs by category ]