<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 26, 2017 at 1:44 PM, Andy Gibbs <span dir="ltr"><<a href="mailto:andyg1001@hotmail.co.uk" target="_blank">andyg1001@hotmail.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
I am trying to install a new server with oVirt. I have previously had relatively good success with the all-in-one plugin on oVirt 3.6, but it is time to move to newer things and I am trying to get oVirt 4.1 installed on a clean platform.<br>
<br>
I am unfortunately finding this very difficult and I hope someone here can help guide me in the right direction :o)<br>
<br>
My intention is to use oVirt Node as the base OS on the server, install Hosted Engine on it and also have the storage domains hosted on it too.<br>
<br>
What I have achieved so far is...<br>
<br>
1. Installed oVirt Node 4.1.2, generally using the default configuration<br>
2. Changed the performance profile to "virtual-host" inside the web interface as per documentation suggestion<br>
3. Created a new volume group, pool for thin volumes, and finally an XFS-formatted volume that mounts on /srv which will be used for the storage domain(s)<br>
4. From the console on the node, I have created /srv/ovirt/data and /srv/ovirt/iso directories with ownership vdsm:kvm and access rights 0755, which I have then added to /etc/exports with the following configuration: rw,sync,no_subtree_check,all_<wbr>squash,anonuid=36,anongid=36<br>
5. When I install Hosted Engine from the Node web interface, I select NFS4 for the storage and provide the correct host:/path. Other than that, and setting up static network details and email details, I follow the default prompts of the Hosted Engine setup.<br>
6. The Hosted Engine setup seems to run through to completion, and I get a successfully installed message at the end<br>
7. I open up the firewall on port 2049 for tcp and udp; this is done **after** the engine setup is complete since the setup procedure alters the firewall configuration and my modifications otherwise get lost. I have confirmed that it is possible to mount these nfs shares both on the node itself and on the engine vm (once it is running).<br>
8. I can log into the Hosted Engine web interface.<br>
<br>
This is now where I run into problems.<br>
<br>
The first problem is that no storage domains are registed, nor can I add any. I get warnings like "The hosted engine storage domain doesn't exist. It will be imported automatically upon data center activation, which requires adding an initial storage domain to the data center". However attempting to do so gives errors like: "VDSM server.domain command CreateStoragePoolVDS failed: Cannot acquire host id: (u'fcdee6d8-c6fc-45fb-a60c-<wbr>1df4b298f75a', SanlockException(22, 'Sanlock lockspace add failure', 'Invalid argument'))". During Hosted Engine setup it seems that the /srv/ovirt/data storage domain is created, but I cannot import it. I also tried to create a new storage domain at /srv/ovirt/iso and met with similar results: it creates it, but won't attach to it.<br>
<br>
The next problem is that I can't restart the server from the Node web interface. Clicking on the "Restart" Power Options button simply causes the whole system to hang. It appears to shut down the Engine VM ok, it also terminates all ssh connections, but after that the console screen on the server just goes black and sits there. You can still ping the server from the network but can't do anything or see anything. Fortunately the Dell server has a remote console feature that enables me to manually restart the server, but this is not ideal at all. This problem only occurs once the Hosted Engine is installed; before this is done, the "Restart" button works perfectly.<br>
<br>
The final problem is that once the server has restarted, it takes about 10 minutes before the Node starts the Hosted Engine. Is this correct? I would have thought that once the Node is up, its first responsibility would be to get the Hosted Engine up, but you can see from the dmesg output that on average 530 seconds elapses before kvm is started. Is there anything I can do to speed this up?<br>
<br>
Any help would be gratefully received. Or if anyone knows of a "oVirt for Dummies" (TM) style step-by-step installation guide that installed Node, Hosted Engine and the storage domains all on one machine, I would love to see that!!<br></blockquote><div><br></div><div><div>Hi, so if I understood correctly, you're trying to work on a single host deployment right?</div><div>Or are you just trying to replace the bare metal all-in-one 3.6 in a context with more hosts?</div></div><div>If this is the case, can you share your use case? I'm asking because for single host installations there are other solutions that may fit better than oVirt, like virt-manager or kimchi (<a href="https://github.com/kimchi-project/kimchi">https://github.com/kimchi-project/kimchi</a> )</div><div><br></div><div><br></div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Many thanks in advance!<br>
<br>
Andy<br>
______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-weight:bold;margin:0px;padding:0px;font-size:14px;text-transform:uppercase"><span>SANDRO</span> <span>BONAZZOLA</span></p><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:10px;margin:0px 0px 4px;text-transform:uppercase"><span>ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R&D</span></p><p style="font-family:overpass,sans-serif;margin:0px;font-size:10px;color:rgb(153,153,153)"><a href="https://www.redhat.com/" style="color:rgb(0,136,206);margin:0px" target="_blank">Red Hat <span>EMEA</span></a></p><table border="0" style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:medium"><tbody><tr><td width="100px"><a href="https://red.ht/sig" target="_blank"><img src="https://www.redhat.com/profiles/rh/themes/redhatdotcom/img/logo-red-hat-black.png" width="90" height="auto"></a></td><td style="font-size:10px"><div><a href="https://redhat.com/trusted" style="color:rgb(204,0,0);font-weight:bold" target="_blank">TRIED. TESTED. TRUSTED.</a></div></td></tr></tbody></table></div></div></div></div></div></div></div>
</div></div>