4.1 Message Processing Examples
This section presents the following sample scenarios that illustrate the allocation of resources using methods of the Windows System Resource Manager (WSRM) Protocol.
Interface |
Method |
Section |
Description |
---|---|---|---|
Enable accounting on a local machine. |
|||
Export selected objects from the configuration. |
|||
IResourceManager2 |
Check whether import will lead to conflicting objects. |
||
IResourceManager2 |
Export selected policies to a machine group. |
||
Add a machine to a machine group. |
|||
IWRMMachineGroup |
Create and initialize a machine group. |
||
Create a custom resource allocation policy (RAP). |
|||
IWRMPolicy |
Set the current resource policy. |
||
Create a custom process matching criteria (PMC). |
In each scenario, it is assumed that a WSRM management service is running on the server machine.