4.6. Data Centers and Storage Domains

4.6.1. Attaching an Existing Data Domain to a Data Center

Summary
Data domains that are Unattached can be attached to a data center. The data domain must be of the same Storage Type as the data center.

Procedure 4.9. Attaching an Existing Data Domain to a Data Center

  1. Click the Data Centers resource tab and select the appropriate data center.
  2. Select the Storage tab in the details pane to list the storage domains already attached to the data center.
  3. Click Attach Data to open the Attach Storage window.
  4. Select the check box for the data domain to attach to the data center. You can select multiple check boxes to attach multiple data domains.
  5. Click OK.
Result
The data domain is attached to the data center and is automatically activated.

Note

In Red Hat Enterprise Virtualization 3.4 and later, shared storage domains of multiple types (iSCSI, NFS, FC, POSIX, and Gluster) can be added to the same data center.

4.6.2. Attaching an Existing ISO domain to a Data Center

Summary
An ISO domain that is Unattached can be attached to a data center. The ISO domain must be of the same Storage Type as the data center.
Only one ISO domain can be attached to a data center.

Procedure 4.10. Attaching an Existing ISO Domain to a Data Center

  1. Click the Data Centers resource tab and select the appropriate data center.
  2. Select the Storage tab in the details pane to list the storage domains already attached to the data center.
  3. Click Attach ISO to open the Attach ISO Library window.
  4. Click the radio button for the appropriate ISO domain.
  5. Click OK.
Result
The ISO domain is attached to the data center and is automatically activated.

4.6.3. Attaching an Existing Export Domain to a Data Center

Summary
An export domain that is Unattached can be attached to a data center.
Only one export domain can be attached to a data center.

Procedure 4.11. Attaching an Existing Export Domain to a Data Center

  1. Click the Data Centers resource tab and select the appropriate data center.
  2. Select the Storage tab in the details pane to list the storage domains already attached to the data center.
  3. Click Attach Export to open the Attach Export Domain window.
  4. Click the radio button for the appropriate Export domain.
  5. Click OK.
Result
The Export domain is attached to the data center and is automatically activated.

4.6.4. Detaching a Storage Domain from a Data Center

Summary
Detaching a storage domain from a data center will stop the data center from associating with that storage domain. The storage domain is not removed from the Red Hat Enterprise Virtualization environment; it can be attached to another data center.
Data, such as virtual machines and templates, remains attached to the storage domain.

Note

The master storage, if it is the last available storage domain, cannot be removed.

Procedure 4.12. Detaching a Storage Domain from a Data Center

  1. Click the Data Centers resource tab and select the appropriate data center.
  2. Select the Storage tab in the details pane to list the storage domains attached to the data center.
  3. Select the storage domain to detach. If the storage domain is Active, click Maintenance to open the Maintenance Storage Domain(s) confirmation window.
  4. Click OK to initiate maintenance mode.
  5. Click Detach to open the Detach Storage confirmation window.
  6. Click OK.
Result
You have detached the storage domain from the data center. It can take up to several minutes for the storage domain to disappear from the details pane.

4.6.5. Activating a Storage Domain from Maintenance Mode

Summary
Storage domains in maintenance mode must be activated to be used.

Procedure 4.13. Activating a Data Domain from Maintenance Mode

  1. Click the Data Centers resource tab and select the appropriate data center.
  2. Select the Storage tab in the details pane to list the storage domains attached to the data center.
  3. Select the appropriate storage domain and click Activate.
Result
The storage domain is activated and can be used in the data center.