12.7 Managing Environment Resources

Environment resources allow you to track the logical environments for workloads in your network. Examples include staging, preproduction, and production. You can use the Environments page to create, manage, and delete environments for the target workloads in your transformation project. You can define environment resources for the source workloads in the machine information for a bulk import. Environment resources can apply to source and target workloads.

12.7.1 About Environment Resources

The Environment resource allows you to track the following information for a logical environment where one or more workloads reside in your transformation project:

Name: Specify a name for the environment that is unique to your transformation project. The name must begin with a letter or number. It can contain only letters, numbers, and the following special characters: space, hyphen, underscore, apostrophe, percent, ampersand, comma, and period.

Organization: Select the parent organization for the project.

Project: Select the parent project for the environment.

Description: (Optional) Specify a brief description of the environment. This text appears by default in the Environments list.

12.7.2 Viewing Environments

All roles for a project can view the environment information.

  1. In the Web Interface toolbar, select Resources, then select the Environments tab.

    You can also view environments for a single project in the Associations area of the Edit Project dialog. Select Planning > Projects, double-click the project, then under Associations, select the Environments tab.

  2. On the Environments tab, view the list of resources.

  3. Select an environment resource, then click View (or double-click the resource) to view the following settings for the resource:

    • Name

    • Organization

    • Project

    • Description

  4. (Optional) Filter entries in the Environments list using the Search field to show only the environments of interest. Type a sequence of characters in the Search area to initiate filtering. The filter applies as you type. You can filter on information in any one of the columns at a time.

  5. (Optional) Sort entries by the values in a column. Mouse over the column to expose the menu option, click it, then select Sort Ascending or Sort Descending.

12.7.3 Creating Source Environments

You can create an environment resource for a source workload by specifying the Environment in the machine definition in the Bulk Import spreadsheet. The name is case sensitive. If no match is found, PTM creates a new environment resource for the project. On import, it automatically associates the environment resource with the source workload

12.7.4 Creating Target Environments

You can use the Environments page to create Environment resources for the target transformation environment of a project.

  1. In the Web Interface toolbar, select Resources.

  2. Select the Environments tab.

  3. Click Create to open the Create Environment dialog.

  4. Specify the following information for the Environment resource:

    • Name

    • Organization

    • Project

    • Description

  5. Click Save to create the Environment resource.

  6. Click Close to exit the dialog.

12.7.5 Associating Environments and Target Workloads

After you create environment resources for a project, you can associate them with workloads.

  1. In the Web Interface toolbar, select Planning.

  2. Select the Workloads tab.

  3. Select the workload, then click Edit. You can alternatively double-click the workload of interest.

  4. On the Workload dialog in the Location panel, click Edit.

  5. From the Environment drop-down list, select the environment resource that you want to assign to the target workload.

  6. (Optional) Modify other Location information as appropriate.

  7. Click Save, and then click Close.

  8. Click Close to exit the Workload dialog.

12.7.6 Editing Target Environments

You can use the Environments page to edit an Environment resource for the target transformation environment of a project.

  1. In the Web Interface toolbar, select Resources.

  2. Select the Environments tab.

  3. In the Environments list, select the environment, then click Edit (or double-click the environment) to open the Edit Environment dialog.

  4. Modify any of the following information for the Environment resource:

    • Name

    • Organization

    • Project

    • Description

  5. Click Save to update the Environment resource.

  6. Click Close to exit the dialog.

12.7.7 Deleting Environments

You can use the Environments page to delete an Environment resource for the source or target transformation environment of a project.

NOTE:If you delete a resource, it automatically removes the associations for the resource, including those assigned to workloads that are in progress and completed. If the same associations apply, consider whether it is more appropriate to edit the resource name and settings.

  1. In the Web Interface toolbar, select Resources.

  2. Select the Environments tab.

  3. Click Target to view the list of environment resources.

  4. Select the appropriate environment, click Delete, then click Yes to confirm the deletion.