
How to install and configure Ovirt Virtualization and Ovirt node
================================================================================================================
Part (I)
=====
Virtualization တွေထဲမှာ လက်ရှိ မြန်မာနိုင်ငံမှာ အများဆုံးသုံးနေကြတာကတော့ VM ware Esxi ပဲဖြစ်ပါတယ်။ ကျနော်တို့ Open source မှာရော Virtualization မရှိဘူးလားဆိုရင် ရှိပါတယ်။
Open source မှာ ၂မျိုးရှိပါတယ်။ တစ်ခုကတော့ Commercial base ဖြစ်တဲ့ Red Hat Enterprise Virtualization နဲ့ community base ဖြစ်တဲ့ Ovirt Virtualization ဖြစ်ပါတယ်။
Ovirt မှာ ပါဝင်လာတဲ့ features တွေကတော့
1. Rich web-based user interfaces for both admin and non-admin users
2. Integrated management of hosts, storage, and network configuration
3. Live migration of virtual machines and disks between hosts and storage
4. High availability of virtual machines in the event of host failure
အရင်ဆုံး ကျနော်တို့ရဲ့ VM ware workstation မှာ တင်ရမယ့် CentOS နဲ့ Ovirt node ရဲ့ Requirement တွေကို ဖော်ပြပေးထားပါတယ်။
Following are minimal requirements for ovirt-engine :
Minimal OS ( CentOS 7.x / RHEL 7.x )
Dual core server
4 GB RAM
25 GB Disk Space
1-Gbps Lan Card
Minimum requirements for oVirt Node is :
Dual-core System
10 GB Physical RAM
10 GB Disk Space
1-Gbps Lan Card
oVirt Engine : ovirtengine.example.com (192.168.0.100 )
oVirt Node : ovirtnode.example.com (192.168.0.101)
Update the below entries in /etc/hosts file in case you don’t have your local dns server.
After minimal installation state,
Step:1 Update the server using yum command
Install latest update on server using beneath yum command.
[admin@ovirtengine ~]$ sudo yum –y update
Once the updates are installed reboot the sever.
Step:2 Enable oVirt 4.3 Repository
ovirt engine packages are not available in CentOS and RHEL
yum repositories. Run below command to set and enable ovirt 4.3repertory
[admin@ovirtengine ~]$ sudo yum –y install http://resources.ovirt.org/pub/yum-repo/ovirt-release43.rpm
Step:3 Install oVirt Engine
Package using yum command
Execute the following
yum command to install ovirt engine
[admin@ovirtengine ~]$ sudo yum –y install ovirt-engine
Step:4 Start the ovirt engine
installer
Run
the command ‘engine-setup’ from the console, it will start the ovirt engine installer
and will interactively ask series of question during the installation and will
save all the answers to a answer file. Answer file can be reused in order to
automate the installation.
[admin@ovirtengine ~]$ sudo engine-setup
Now, press <Enter> to select the default option Yes.
Press <Enter> to select the default option Yes.
Press <Enter> to select the default option Yes.
Press <Enter> to select the default option Yes.
Press <Enter> to select the default option Yes.
Now, you have to configure the DWH database for
oVirt. You can use either the Localdatabase or a Remote database. If you want to use the Local database, just press <Enter>. If you want to use a Remote database, just type in Remote and press <Enter>. In that case, you will have to provide the credentials for
your remote database.
If you want to automatically create all the
required tables and insert data for oVirt to work, just press <Enter> to select the default option Automatic. If you want to manually configure it, then just type in Manual and then press <Enter>.

The same way, you can
use a Local or Remote database
for the Engine database. I will go with the Local database.
Decide what you want to do and press <Enter> to
continue.

The same way you
can Automatically or Manually configure
the Engine database. Once you decide what you want to do, just press <Enter> to continue.

Now, type in your oVirt admin password and press <Enter>.

Re-type your admin password and press <Enter>.

Now, press <Enter> to select the default option Both.

Now, press <Enter> to select the default option Yes.

Type in Yes or No depending on whether you want to wipe out the default SAN after you delete
it or not and press <Enter>.

Now, press <Enter> to create a default user admin for administration purpose.
Now, press <Enter> to configure Apache web server.
Now, press <Enter> to select Automatic. It will automatically enable HTTPS using a
self-signed SSL certificate.
If you want to use
your own SSL certificate, type in Manual and
press <Enter>.

Now, press <Enter> to select the default option Basic.

Finally, press <Enter> to confirm the oVirt installation settings.

As you can see, oVirt is being configured.

At this point, oVirt is configured.
Configuring
Firewall:
To be
able to access the oVirt web based management interface, you have to open HTTP
and HTTPS ports. You can easily do it using firewalld on CentOS 7.
[admin@ovirtengine ~]$ sudo firewall-cmd --add-service=http --permanent
[admin@ovirtengine ~]$ sudo firewall-cmd --add-service=https --permanent
[admin@ovirtengine ~]$ sudo firewall-cmd --reload
Accessing
oVirt Management Interface:
Now,
you can access oVirt management interface from your web browser using the fully
qualified domain name that you provided during oVirt configuration. In my case,
it was ovirtengine.local.lab
Click administration Portal and Login with your engine account:

now, you have sucessfull ovirt engine installation:

To Be Continue >>>>
#openlearning
#SheinMyintAung
Comments
Post a Comment