OSVDC Series: oVirt Storage and Network - rharmonson/richtech GitHub Wiki
#oVirt Storage and Network
Revised: April 8, 2016
Article 10 of the Open Source Virtual Data Center Series
##Storage When creating storage domains, you must create a Data domain, first. You will need at least one Data domain and one ISO domain.
###Data Storage Domain The Data Storage domain is used to store virtual machines files.
- Connect to oVirt and authenticate to the Administration Portal
- Select the "Storage" tab
- Select "New Domain" button
- Data Center: Default
- Domain Function: Data
- Storage Type: NFS
- Use Host: hosted_engine_1 (or _2)
- Name: datadom
- Description: Data Storage Domain
- Export Path: nasv.mydomain.net:/mnt/r10vol/data
- Select "Custom Connection Parameters"
- NFS Version: V4
- Select "OK" button
###ISO Storage Domain The ISO Storage domain is used to store installation ISO files.
- Select "New Domain" button
- Data Center: Default
- Domain Function: ISO
- Storage Type: NFS
- Use Host: hosted_engine_1 (or _2)
- Name: isodom
- Description: Data Storage Domain
- Export Path: nasv.mydomain.net:/mnt/r10vol/iso
- Select "Custom Connection Parameters"
- NFS Version: V4
- Select "OK" button
A summary of storage domains can be viewed anywhere you see a Storage tab or by selecting Storage under any cluster. Note the "hosted_storage" domain. It is the domain we specified during the --deploy
and where the oVirt Engine Appliance is installed. I choose to separate it from other virtual machines.
##Network
###Create Networks
- Connect and authenticate to oVirt
- Select "Data Centers"
- Select "Default" or your data center
- Select "Networks"
- Select "New" button
- Data Center: Default
- Name: infra101
- Description: Infrastructure Network
- Network Label: infra101
- Enable VLAN tagging: 101
- Note VM network is enabled
- Select "OK" button
Repeat for sec121, intra131, dmz201, and dmz211.
Result with
###Create Network Bonds
Warning!
When working with the bond used by oVirt Appliance on the Compute host it is running, be careful. As a precaution, configure the bond on the other Computer host. When complete, enter maintenance mode for the Compute Host in use by the appliance to live migrate it then configure bond.
- Connect and authenticate to oVirt
- Select "Data Centers"
- Select "Default" or your data center
- Select "Clusters"
- Select "Default" or your cluster
- Select "Hosts"
- Select "hosted_engine_1"
- Should default to "Hosts" tab otherwise select "Hosts"
- Select "Network Interfaces" tab
- Select "Setup Host Networks" button
- Right-mouse click "enp6s0f0"
- Select "Bond enp6s0f0 with" and "enp6s0f1" which creates "bond0"
- Accept the defaults and select "OK"
- Right-mouse click "eno1"
- Select "Bond eno1 with" and "eno2" which creates "bond1"
- Accept the defaults and select "OK"
- Select "OK" to save changes or continue to the next section.
###Assign Logical Networks
- Connect and authenticate to oVirt
- Select "Data Centers"
- Select "Default" or your data center
- Select "Clusters"
- Select "Default" or your cluster
- Select "Hosts"
- Select "hosted_engine_1"
- Should default to "Hosts" tab otherwise select "Hosts"
- Select "Network Interfaces" tab
- Select "Setup Host Networks" button
- Drag infra101, sec121, intra131, dmz201, and dmz211 to bond1
- Select "OK" to save changes
Result with
Repeat the above steps for "hosted_engine_2."
##Next Next article in the series is Building Your First oVirt Virtual Machine.