oVirt Platform Introduction
oVirt is an open source distributed virtualization solution designed to manage the entire enterprise infrastructure. oVirt using the KVM hypervisor trusted, and several other community-based projects to build, including libvirt, Gluster, PatternFly and Ansible.
The official website https://www.ovirt.org/
oVirt is RedHat RHEV virtualization management platform, open-source version. The project originated in Qumranet, RedHat after the company was acquired in 2008, its original virtualization management software is rewritten from C # to Java, and in 2011 for the oVirt open source project. November 2011, RedHat held the first seminar oVirt (oVirt Workshop), with IBM, Intel, Cisco, Canonical, NetApp and SUSE announced the establishment of oVirt community together. OVirt use KVM virtual machines and network management, companies can quickly build up a private cloud environment. From this point of view, positioning and positioning oVirt of another well-known cloud computing project OpenStack is somewhat similar. But Interestingly, oVirt actually RedHat enterprise-class virtualization solution upstream projects RHEV the program, which supports projects oVirt manufacturers, and also a participant OpenStack project.
Reason to use the oVirt of:
1, KVM using the command line or virt-manager graphical management, based on stand-alone management;
2, single KVM does not have the advanced management features data center, cluster and so on;
3, oVirt belong to the open source community, free of charge. Is managed through the web management interface is very friendly!
oVirt platform consists of two parts: oVirt-engine management terminal and the host node oVirt-node.
oVirt-engine belongs to oVirt end management, providing enterprise-class virtualization platform management capabilities to complete. Or it can be run RHEL CentOS system, a WEB browser based operations, functions similar vCenter
The oVirt Node-end data node, for running a virtual machine, which core is based KVM. He is a management program based on the minimum CentOS operating system, similar to exsi.
In addition oVirt-node side, and Rhel oVirt supports CentOS operating system
oVirt main functions
1, the management node host node, supports data center management cluster;
2, to manage virtual machines, you can complete the creation of virtual machines, snapshots, delete, based on common operating template cloning
3, migration, online and offline migration of virtual machines;
4, high availability, when a host node goes down, turn on automatic virtual machine on another host node;
5, host, virtual machine performance and view statistics;
6, support for mainstream NFS, iSCSI, FC and other storage;
7, support for multi-port network interface bindings;
8, provides a command line, you can complete most of the functions graphical interface;
9, active directory integration;
10, providing python api interface, api programming;
11 no licensing restrictions;
Currently oVirt latest version 4.3.4
is said to virtualization Huawei fusionsphere6.x version of the vrm is based on the use of modified oVirt
Installation oVirt platform centos7
Is not recommended to install a nested virtualization, preferably in direct physical installation, the following is a recommended configuration
system first updates
sudo yum update -y
After the update is complete restart to take effect
confirm centos version 7.5
and then add the official repository oVirt
sudo yum intall https://resources.ovirt.org/pub/yum-repo/ovirt-release43.rpm
Then ovirt-engine installation package and dependencies
yum ×××tall ovirt-engine
Is the use of online installation, installation package in about 500M, according to the network decided to install time
to install ovirt-engine package and the dependencies, you must use the engine-setup command to configure oVirt. This command will ask you a series of questions and provide the required values for all the questions, apply the configuration and start the ovirt-engine service.
Run engine-setup command to begin the configuration oVirt-engine
engine-setup
Here enter yes, on behalf of the installation ovirt-engine
installation open virtual network (OVN). Select "Yes" will be installed on the engine OVN central server computer, and add it to an external network provider oVirt. OVN default cluster will use as its default network provider, the default host added to the cluster automatically configured to communicate with OVN. The default yes
to allow engine-setup configuration Image I / O Proxy (ovirt- imageio-proxy) to allow the Engine to upload virtual disk storage domain. The default yes
to allow engine-setup configuration websocket proxy server to allow users noVNC or HTML 5 is connected to the virtual machine console, yes by default
choose whether to configure the data warehouse on the engine computer, the default yes
to allow access to the virtual machine from the command line Serial console. Yes the default
settings of the machine domain name, you can directly enter
configure the firewall, the default yes. Use the linux firewalld service to configure the firewall enabled by default tcp80,443, iptables has banned the use
to configure additional firewall program, it is generally firewalld, follow the prompts to enter firewalld
configure a local or remote database, using the default local local, database using postgreSQL, namely Enter can
automatically configure the database user password, the initial use to automatically configure itself directly enter follow the prompts to
configure the local database, enter use local local can
automatically create and configure a local database engine database, the default automatically, press enter to
oVirt is automatically created Engine management user password
selection to configure user password or gluster virt single cluster, the default is both, press Enter
If the OVN provider is installed, you can choose to use the default credentials, or specify alternate credentials, press Enter to
set the default value wipe_after_delete flag, the flag of erase blocks of the virtual disk when delete the disk. This do not understand, is no default
configuration is to host a secure communication certificate, the default is the machine, localdomain, press Enter to
allow engine-setup the engine landing page as the default page Apache Web server, the default yes
configuration ca certificate ssl communication, automatic default configuration, the transport can be
Select the data warehouse will collect data retention time, default 1, do not understand what this meant
by inspection after installation, the installation configuration
wait to see the output success on behalf of the successful installation completed successfully
Log in using
Use your browser to login ovirt-engine management side
default is https: // your-manager-fqdn / ovirt-engine,
such as https: //localhost.localdomain/ovir-engine
currently unable to find a way to use the ip address of the landing, must FQDN specified landing approach
can add a backup domain to landing, for example kvm.ovirt.com, need to add a profile 99-custom-sso-setup.conf at /etc/ovirt-engine/engine.conf.d/
# vi /etc/ovirt-engine/engine.conf.d/99-custom-sso-setup.conf
SSO_ALTERNATE_ENGINE_FQDNS="kvm.ovirt.com"
If you need remote login, you can modify the way the native host file for landing, C: \ Windows \ System32 \ drivers \ etc \ hosts, modify the hosts resolved kvm.ovirt.com 192.168.3.60
browser then enter https: // kvm. ovirt.com
landing
enter the account password to login
After landing as follows:
with Huawei vrm interface, like ah ah ha ha ha
Kvm host to add centos7
After completing ovirt-engine, we need to add kvm host. As kvm virtualization host must be enabled in the BIOS setup host.
First, in the installation configuration cockpit kvm host,
#yum ×××tall cockpit-ovirt-dashboard
And then start the service cockpit.socket
#systemctl enable cockpit.socket #systemctl start cockpit.socket
By https: Cockpit login user interface 9090: // HostFQDNorIP
Because of my condition restrictions, ovirt-engine and ovirt-node are actually a single physical host performance is limited. And the cockpit is only one host status display, so I did not install
But this alone can make a linux cockpit monitor, using a web of ways to view the status of all linux host
After the host may be added directly by the virt-engine, all operations are all interfaces.
In the Management Portal, click the "Calculate" → "host"
and then click New
and then add the host as follows
disregard of power management, directly configure
the new host displays a list of the host state's Installing, you can in the details pane view the progress of the installation. After a short delay, the host state is Up, in the meantime, the installation program will automatically be sent to the next host, it can be patient
you can be patient