12.6 Managing Datastore Resources

Datastore resources allow you to track information about the datastores for virtual workloads. In a virtualization environment, the datastore represents a storage location for virtual machine files and virtual disk files.

You can use the Datastores page to create, manage, and delete datastores for the target workloads in your transformation project. You can define datastore resources for the source workloads in the machine information for a bulk import. A datastore resource can apply to source workloads or to target workloads, but not to both.

12.6.1 About Datastore Resources

The Datastore resource allows you to track the following information for a datastore used by the one or more workloads in your transformation project:

Name: Specify a name for the datastore 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 datastore.

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

12.6.2 Viewing Datastores

All roles for a project can view the datastore information.

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

    You can also view datastores 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 Datastores tab.

  2. On the Datastores tab, do either of the following to view a list of resources:

    • Click the Source link to view datastore information that you imported for original workloads using Bulk Import.

    • Click the Target link to view datastore information for the target transformation environment.

  3. Select a datastore 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 Datastores list using the Search field to show only the datastores 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.6.3 Creating Source Datastores

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

12.6.4 Creating Target Datastores

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

  1. In the Web Interface toolbar, select Resources.

  2. Select the Datastores tab, then click Target.

  3. Click Create to open the Create Datastore dialog.

  4. Specify the following information for the Datastore resource:

    • Name

    • Organization

    • Project

    • Description

  5. Click Save to create the Datastore resource.

  6. Click Close to exit the dialog.

12.6.5 Associating Datastores and Target Workloads

After you create target datastore resources for a project, you can associate them with virtual workloads. You can use the same datastore or different datastores for the system and data volumes and the VM Config Datastore.

To set the target datastore resource for a storage volume:

  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 Storage Volumes panel, click Edit.

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

  6. (Optional) Modify other disk and volume interface information as appropriate.

  7. Click Save, and then click Close.

  8. Click Close to exit the Workload dialog.

To set the datastore resource for a virtual workload’s VM Config Datastore:

  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 VM Config Datastore drop-down list, select the datastore resource that you want to assign to the target workload.

  6. Click Save, and then click Close.

  7. Click Close to exit the Workload dialog.

12.6.6 Editing Target Datastores

You can use the Datastores page to edit a Datastore resource for the target transformation environment of a project.

  1. In the Web Interface toolbar, select Resources.

  2. Select the Datastores tab, then click Target.

  3. In the Datastores list, select the datastore, then click Edit to open the Edit Datastore dialog. You can alternatively double-click the datastore of interest.

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

    • Name

    • Organization

    • Project

    • Description

  5. Click Save to update the Datastore resource.

  6. Click Close to exit the dialog.

12.6.7 Deleting Target Datastores

You can use the Datastores page to delete a Datastore 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 Datastores tab.

  3. (Optional) Delete a source Datastore resource:

    1. Click Source to view the list of source datastore resources.

    2. Select the appropriate datastore, click Delete, then click Yes to confirm the deletion.

  4. (Optional) Delete a target Datastore resource:

    1. Click Target to view the list of target datastore resources.

    2. Select the appropriate datastore, click Delete, then click Yes to confirm the deletion.