Installing and Deploying oVirt-host
To install and deploy oVirt-host on compute nodes, you need to modify the /usr/libexec/vdsm/hooks/before_vm_start/50_hostedengine file.
- Install oVirt-host.
1yum install -y ovirt-host glibc ovirt-hosted-engine-setup
- Manually load the Open vSwitch kernel driver.
1modprobe openvswitch
If the OS is restarted, reload is required.
- Upgrade OpenSSH and sudo.If the OpenSSH and sudo versions are too early, the oVirt service cannot be started.
1yum update -y openssh sudo
- Modify the /usr/libexec/vdsm/hooks/before_vm_start/50_hostedengine file.
- Open the file.
1vi /usr/libexec/vdsm/hooks/before_vm_start/50_hostedengine - Press i to enter the insert mode and change python3 in the file header to /usr/bin/python3.

- Press Esc to exit the insert mode. Type :wq! and press Enter to save the file and exit.
- Open the file.