Import or Export Criteria, Policies, and Schedules

Applies To: Windows Server 2008

You can import or export Windows System Resource Manager configuration information between computers. Configuration information stored includes process matching criteria, resource allocation policies, calendar events and schedules, and conditional policies. In this way, you can create management scenarios and then deploy them on other computers without performing the configuration multiple times.

Files Created and Imported

The files created by or imported by Windows System Resource Manager are:

File name Description

allocationpol.xml

Contains information about resource allocation policies.

Calendar.xml

Contains information about calendar events and schedules.

ConditionalPolicy.xml

Contains information about conditional policies.

selectionpol.xml

Contains information about process matching criteria.

Exporting and Importing Configuration Information

Membership in the local Administrators group, or equivalent, is the minimum required to complete these procedures.

The following procedure describes how to export configuration information from a computer where you have successfully configured Windows System Resource Manager so that you can import it on another computer.

To export configuration information

  1. Open Windows System Resource Manager.

  2. In the navigation tree, right-click Windows System Resource Manager, and then click Export WSRM Information.

  3. In Location, type a directory path where you want to save the configuration information, or click Browse to find the directory you want to use. When you have entered the directory information, click OK.

  4. Windows System Resource Manager creates four XML documents in the specified directory that contain information about criteria, policies, and schedules.

The following procedure describes how to import configuration information that will replace the existing configuration on the computer where you are importing.

Warning

When you import configuration information, your previous settings are overwritten and cannot be recovered. If you are unsure whether you want to use the imported configuration, you should export your current settings as a backup before importing.

To import configuration information

  1. Open Windows System Resource Manager.

  2. In the navigation tree, right-click Windows System Resource Manager, and then click Import WSRM Information.

  3. In Location, type a directory path where the configuration information you want to import is located, or click Browse to find the directory you want to use. When you have entered the directory information, click OK.

  4. Windows System Resource Manager loads the XML files into its current configuration, overwriting any previous configuration data.

Additional considerations

  • To open Windows System Resource Manager, click Start, point to Administrative Tools, and then click Windows System Resource Manager. In the Connect to Computer dialog box, select This computer, and then click Connect. Microsoft Management Console will start with the Windows System Resource Manager (Local) snap-in open.

  • When you create process matching criteria using the Windows System Resource Manager snap-in, specified user and group names are validated during creation. However, imported process matching criteria are not validated. Verify that all user or group names in imported process matching criteria exist on the computer where the criteria were imported before you include the process matching criteria in a resource allocation policy.

Additional references