Chapter 5. Datastores

A storage location is considered a device where digital information resides and is connected to a resource. Red Hat CloudForms detects, analyzes, and collects capacity and utilization data for both VMFS and NFS datastores. Datastores connected to a provider are automatically created on discovery. On creation of a repository, a datastore is automatically created.

datastores

After detecting datastores, you might want to examine them more closely to see virtual machines, hosts, and available space.

2237

  1. File system type
  2. Number of hosts
  3. Number of virtual machines
  4. Available space

5.1. Performing SmartState Analysis on Datastores

Analyze a datastore to collect information on the types of files on a datastore, and to see the number of managed/registered, managed/unregistered, and unmanaged virtual machines. To perform a SmartState analysis, the datastore is accessible from a running host and valid security credentials are supplied for that host.

Note
  • SmartState analysis on datastores is processed by the Provider Operations role. It is enabled by default.
  • Be aware that executing a SmartState analysis on a datastore from the console takes a while to return data on the content. If capacity and utilization roles are enabled, Red Hat CloudForms performs the analysis automatically on a scheduled basis approximately every 24 hours.
  1. Navigate to ComputeInfrastructureDatastores.
  2. Select the datastores to analyze.
  3. Click Configuration (Configuration), and then Perform SmartState Analysis (Perform SmartState Analysis).
  4. Click OK.

5.2. Viewing a Datastore

You can click on a specific datastore to view its details. The screen provides you with a datastore taskbar, virtual thumbnail, accordion, and summary.

Datastore Management Screen

view datastore new

  1. Datastore Taskbar: Choose between Configuration, Policy and Monitoring options for the selected datastore.
  2. Datastore Summary: See summary such as datastore properties, storage, VM information.
  3. Datastore PDF: Generates datastore summary in PDF format.
  4. Datastore Accordion: See details about Properties, Relationships, Storage Relationships and Content for the chosen datastore.
Note

To view Content section details, run a SmartState Analysis on the datastore. For information on how to perform SmartState Analysis, see Performing SmartState Analysis on Datastores.

5.3. Tagging a Datastore

Use tags to categorize a datastore.

  1. Navigate to ComputeInfrastructureDatastores.
  2. Click the datastore to tag.
  3. Click Policy (Policy), and then Edit Tags (Edit Tags).
  4. Select a customer tag from the first list, and then a value for the tag from the second list.

    2238

  5. Select more tags as required.
  6. Click Save.

5.4. Viewing Capacity and Utilization Charts for a Datastore

You can view capacity and utilization data for a datastore.

Note

Red Hat CloudForms requires network visibility to your provider assigned the server role of Capacity & Utilization Collector to enable this feature.

  1. Navigate to ComputeInfrastructureDatastores, then click the Datastore for which to view Capacity and Utilization data.
  2. Click Monitoring (Monitoring), and then Utilization (Utilization).
  3. From Interval, select to view hourly or daily data points and the dates to view data.
  4. Use Show VM Types to include only managed/registered, managed/unregistered, or unmanaged virtual machines.

    • Managed/Registered VM - A virtual machine connected to a host and exists in the VMDB. Also, a template connected to a management system and exists in the VMDB.

      Note

      Templates cannot be connected to a host.

    • Managed/Unregistered VM - A virtual machine or template that resides on a repository that is no longer connected to a management system or host, but exists in the VMDB. A virtual machine previously considered registered might become unregistered if the virtual machine is removed from management system inventory.
    • Not Managed - Files discovered on a datastore that do not have a virtual machine associated with them in the VMDB. These files might be registered to a management system that Red Hat CloudForms does not have configuration information. Possible causes might be the management system has not been discovered or the management system has been discovered but no security credentials are provided.
  5. Use Time Profiles to select a time range for the data.
Note

Daily charts only include full days of data. If a day does not include all the 24 data points for a day, the data does not show for that day.

For information about data optimization including utilization trend reports, see Chapter 6, Data Optimization.

5.5. Removing a Datastore

If a datastore no longer contains any files associated with the virtual environment, remove it from the VMDB. This button is enabled only if a datastore is completely empty.

  1. Navigate to ComputeInfrastructureDatastores.
  2. Click on the Datastore to remove.
  3. Click Configuration (Configuration), and then Remove Datastore (Remove Datastore from Inventory).
  4. Click OK.