
HI, On Wed, December 8, 2021 1:16 am, Cameronsplaze222@gmail.com wrote:
I'm trying to install both the oVirt engine (so I have the API), and hypervisor on the same machine. I'm hoping I don't need cockpit, and I can write some custom scripts to manage oVirt through the API. I tried a couple ways, and both were blocked:
# on CentOS 9 stream, installing oVirt engine:
I presume you mean CentOS *8* stream??
On a fresh CentOS install, tried following the directions [here](https://www.ovirt.org/documentation/installing_ovirt_as_a_standalone_manager...). They failed at step 3.2, when adding the modules (missing groups or modules). Tried skipping it, but step 3.3.2 failed when running `dnf install ovirt-engine`, package couldn't be found. The closest package I see is `ovirt-hosted-engine-setup-2.5.4-1.el9.noarch`. Is that what I want?
These are the wrong instructions. This is how to set up the engine on its own machine; you need to set up the *host* with hosted-engine. Try looking at https://www.ovirt.org/documentation/installing_ovirt_as_a_self-hosted_engine... So following the correct instructions, you will eventually need to install the engine setup RPM and then run: hosted-engine --deploy That will set up the host with the hosted-engine VM. Then you'll need to get into that VM and set up the engine within the engine VM.
# On oVirt node, installing engine: Couldn't get the networking working, even though I added it during the install process. Also tried wired connection, and no luck. Blocked early on, but read this was SUPER minimal anyway, so maybe this wasn't the right path.
ALWAYS USE WIRED NETWORKING for services.
I'm just trying to have a working API, along side the hypervisor to run vm's, both on the same machine. I'm down to go a third way too, if anyone has any ideas. Thanks!
I'm not sure what you're trying to do here. If you just want API support, you could just script virtsh (over ssh if necessary). I wouldn't install ovirt just to get API support for VMs; it's way overkill for that. In my mind, the role of ovirt is to provide web-based access (management and console) to VMs for a team of distributed users without requiring shell access to the host system. -derek -- Derek Atkins 617-623-3745 derek@ihtfp.com www.ihtfp.com Computer and Internet Security Consultant