7.4. Data Center Tasks 7.4.1. Creating a New Data Center This procedure creates a data center in your virtualization environment. The data center requires a functioning cluster, host, and storage domain to operate. Note Once the Compatibility Version is set, it cannot be lowered at a later time; version regression is not allowed. The option to specify a MAC pool range for a data center has been disabled, and is now done at the cluster level. Creating a New Data Center Click Compute Data Centers . Click New . Enter the Name and Description of the data center. Select the Storage Type , Compatibility Version , and Quota Mode of the data center from the drop-down menus. Click OK to create the data center and open the Data Center - Guide Me window. The Guide Me window lists the entities that need to be configured for the data center. Configure these entities or postpone configuration by clicking the Configure Later button. Configuration can be resumed by selecting the data center and clicking More Actions ( ), then clicking Guide Me . The new data center will remain Uninitialized until a cluster, host, and storage domain are configured for it; use Guide Me to configure these entities. 7.4.2. Explanation of Settings in the New Data Center and Edit Data Center Windows The table below describes the settings of a data center as displayed in the New Data Center and Edit Data Center windows. Invalid entries are outlined in orange when you click OK , prohibiting the changes being accepted. In addition, field prompts indicate the expected values or range of values. Table 7.1. Data Center Properties Field Description/Action Name The name of the data center. This text field has a 40-character limit and must be a unique name with any combination of uppercase and lowercase letters, numbers, hyphens, and underscores. Description The description of the data center. This field is recommended but not mandatory. Storage Type Choose Shared or Local storage type. Different types of storage domains (iSCSI, NFS, FC, POSIX, and Gluster) can be added to the same data center. Local and shared domains, however, cannot be mixed. You can change the storage type after the data center is initialized. See Section 7.4.6, "Changing the Data Center Storage Type" . Compatibility Version The version of Red Hat Virtualization. After upgrading the Red Hat Virtualization Manager, the hosts, clusters and data centers may still be in the earlier version. Ensure that you have upgraded all the hosts, then the clusters, before you upgrade the Compatibility Level of the data center. Quota Mode Quota is a resource limitation tool provided with Red Hat Virtualization. Choose one of: Disabled : Select if you do not want to implement Quota Audit : Select if you want to edit the Quota settings Enforced : Select to implement Quota Comment Optionally add a plain text comment about the data center. 7.4.3. Re-Initializing a Data Center: Recovery Procedure This recovery procedure replaces the master data domain of your data center with a new master data domain. You must re-initialize your master data domain if its data is corrupted. Re-initializing a data center allows you to restore all other resources associated with the data center, including clusters, hosts, and non-problematic storage domains. You can import any backup or exported virtual machines or templates into your new master data domain. Re-Initializing a Data Center Click Compute Data Centers and select the data center. Ensure that any storage domains attached to the data center are in maintenance mode. Click More Actions ( ), then click Re-Initialize Data Center . The Data Center Re-Initialize window lists all available (detached; in maintenance mode) storage domains. Click the radio button for the storage domain you are adding to the data center. Select the Approve operation check box. Click OK . The storage domain is attached to the data center as the master data domain and activated. You can now import any backup or exported virtual machines or templates into your new master data domain. 7.4.4. Removing a Data Center An active host is required to remove a data center. Removing a data center will not remove the associated resources. Removing a Data Center Ensure the storage domains attached to the data center are in maintenance mode. Click Compute Data Centers and select the data center to remove. Click Remove . Click OK . 7.4.5. Force Removing a Data Center A data center becomes Non Responsive if the attached storage domain is corrupt or if the host becomes Non Responsive . You cannot Remove the data center under either circumstance. Force Remove does not require an active host. It also permanently removes the attached storage domain. It may be necessary to Destroy a corrupted storage domain before you can Force Remove the data center. Force Removing a Data Center Click Compute Data Centers and select the data center to remove. Click More Actions ( ), then click Force Remove . Select the Approve operation check box. Click OK The data center and attached storage domain are permanently removed from the Red Hat Virtualization environment. 7.4.6. Changing the Data Center Storage Type You can change the storage type of the data center after it has been initialized. This is useful for data domains that are used to move virtual machines or templates around. Limitations Shared to Local - For a data center that does not contain more than one host and more than one cluster, since a local data center does not support it. Local to Shared - For a data center that does not contain a local storage domain. Changing the Data Center Storage Type Click Compute Data Centers and select the data center to change. Click Edit . Change the Storage Type to the desired value. Click OK . 7.4.7. Changing the Data Center Compatibility Version Red Hat Virtualization data centers have a compatibility version. The compatibility version indicates the version of Red Hat Virtualization with which the data center is intended to be compatible. All clusters in the data center must support the desired compatibility level. Important To change the data center compatibility version, you must have first updated the compatibility version of all clusters and virtual machines in the data center. Procedure In the Administration Portal, click Compute Data Centers . Select the data center to change and click Edit . Change the Compatibility Version to the desired value. Click OK . The Change Data Center Compatibility Version confirmation dialog opens. Click OK to confirm.

Commands: