Task 1
Install RHVM
See the
steps below for
Solution.
Explanation:
curl
http://materials.example.com/rhvm.repo
-o /etc/yum.repos.d/rhvm.repo
yum install -y rhevm
engine-setup
systemctl status ovirt-engine firefox
https://rhvm.lab.example.com
Task 2
Use nfs to create and export ISO, Data, and Export storage domains with utility
See the
steps below for
Solution.
Explanation:
vi /etc/exports
/exports/data *(rw)
/exports/iso *(rw)
/exports/export *(rw)
exportfs -rv chown
36:36 /mnt/*
Task 3
Create a data center named data0 with shared storage
Create a cluster namedcluster0 with a CPU architecture of x86_64 and a CPU type of xxx
See the
steps below for
Solution.
Explanation:
System -> Data Centers -> New
Name: data0
Task 4
Add RHVH hosts servera.lab.example.com and serverc.lab.example.com into cluster
cluster0
See the
steps below for
Solution.
Explanation:
Steps in Exhibits below
Task 5
Mount
three
storage
domains
(from
Task
2)
Note: The nfs-server service may not be started
See the
steps below for
Solution.
Explanation:
Steps in Exhibits below
System -> Storage -> New Domain
Task 6
Use iso image and kickstart to create a virtual machine with the name vm1
Upload iso, parameters: 8G, 512M ram, CPU type dual-core
There is a ks file, in properties also need to modify the mac address. Graphical operation
See the
steps below for
Solution.
Explanation:
ssh [email protected]
wget
http://content.example.com/rhel7.3/x86_64/isos/rhel-server-7.3-x
86_64-dvd.iso
engine-iso-uploader list
engine-iso-uploader -i iso upload ~/rhel-server-7.3-x86_64-dvd.iso
# During installation, specify KS
inst.ks=http://materials.example.com/small.cfg
Task 7
Will provide an image file (
http://content.example.com/rhv4.1/x86_64/dvd/rhelimex-lab.raw
),
import it into the Data domain and create a virtual machine.
Create a template with the name Materll based on this virtual machine
The template Instance type option is tiny
Operating system option is rhel7
Optimized for option is server
See the
steps below for
Solution.
Explanation:
#Mirror image
wget
http://content.example.com/rhv4.1/x86_64/dvd/rhel-imex-lab.raw
#Note: pass tls upload the image, it must be loaded locally CA certificate
firefox
http://rhvm.lab.example.com/ovirt-engine/services/pki-resourc
e?resource=ca-certificate&format=X509-PEM-CA
Task 8
Create a virtual machine with the template Materll
See the
steps below for
Solution.
Explanation:
Use cloud-init technology
Set hostname to oyser
Authentication: set the user to admin and the password to atenorth
Network interface is set to eth0, the IP is 172.24.10.98 and the subnet mask is
255.255.255.0, gateway 172.24.10.254
(You must connect into the virtual machine to confirm, if it doesn't work, manually
modify the IP information inside)
Custom Script to the text content in a link
Task 9
Configure the IPA of the external authentication server, which requires:
1) External server utility.lab.example.com for IPA
2) Use CA certificate
https://utility.lab.example.com/ipa/config/ca.crt
3) External domain lab.example.com
4) Administrator login: admin password: redhat
See the
steps below for
Solution.
Explanation:
#In utility configure IDM service
#lab manage-ipa setup
ssh [email protected]
yum install -y ovirt-engine-extension-aaa-ldap-setup
ovirt-engine-extension-aaa-ldap-setup
#ldap server
utility.lab.example.com
#CA certificate
https://utility.lab.example.com/ipa/config/ca.crt
#Search for users DN
uid=rhvadmin,cn=users,cn=accounts,dc=lab,dc=example,dc=com
systemctl restart ovirt-engine
Task 10
Create a role with next permissions: can create a datacenter, cannot delete a datacenter.
Authorize this role to the user dcmanager
Create a role with next permissions: can delete disk, cannot create disk.
Authorize this role to the user diskmanager
NOTE: The role name is arbitrary, only check the permissions.
See the
steps below for
Solution.
Explanation:
Steps in Exhibits below
Configure -> Roles -> New