In this exercise, you will create a data storage domain using iSCSI, and make it available to the data center.
Outcomes
You should be able to create a new data storage domain for the development data center using iSCSI.
This exercise uses the development data center, the clusterone cluster, and the hosta and hostb hosts.
The iSCSI traffic uses the storage-net logical network.
The host, utility.lab.example.com, has been configured as an iSCSI target.
Log in as the student user on workstation and run the lab storage-domains start command.
This command ensures that the users, hosts, clusters, data centers, and networks of the Red Hat Virtualization environment are configured appropriately.
[student@workstation ~]$lab storage-domains start
Create an iSCSI-based storage domain called iscsi-data to function as the data domain in the development data center.
Use a LUN from the iSCSI target on the 172.24.0.8 address of utility.
The 172.24.0.8 IP address belongs to the storage network.
Using the https://rhvm.lab.example.com URL, log in to the Administration Portal of the Red Hat Virtualization Manager.
The user is admin, the profile is internal.
Use redhat as the password.
In the web interface, click on the menu, and then click .
Click .
In the New Domain window, set the values of the fields according to the following table.
| Field | Value |
|---|---|
| Data Center | |
| Domain Function | |
| Storage Type | |
| Hosts to Use | |
| Name | iscsi-data |
In the Discover Targets section, specify 172.24.0.8 in the Address field.
Set the Port field to 3260, if not already set.
Click to display the available iSCSI target LUNs.
The utility system uses the 172.24.0.8 IP address in the storage network.
Verify that the Targets > LUNs section includes the iqn.2019-07.com.example.lab:utility target name.
Click the right arrow button for the iqn.2019-07.com.example.lab:utility target name to log in to it.
Click next to the iqn.2019-07.com.example.lab:utility target name to expand and display the list of available iSCSI target LUNs.
Click for the displayed iSCSI target LUN.
Click to create the iscsi-data storage domain.
From the Storage Domains page under , verify that the iscsi-data storage domain exists with an Active status in the Cross Data Center Status column.
It may take a couple of minutes for the iscsi-data storage domain status to transition from Locked to Active.
Sign out as admin from the Administration Portal.