--_000_AM4PR08MB0801A5061943222FB3BCEB44E7FC0AM4PR08MB0801eurp_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi,
I am trying to install a new server with oVirt. I have previously had rela=
tively 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 cl=
ean platform.
I am unfortunately finding this very difficult and I hope someone here can =
help guide me in the right direction :o)
My intention is to use oVirt Node as the base OS on the server, install Hos=
ted Engine on it and also have the storage domains hosted on it too.
What I have achieved so far is...
1. Installed oVirt Node 4.1.2, generally using the default configuration
2. Changed the performance profile to "virtual-host" inside the web inte=
rface as per documentation suggestion
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 do=
main(s)
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, whic=
h I have then added to /etc/exports with the following configuration: rw,sy=
nc,no_subtree_check,all_squash,anonuid=3D36,anongid=3D36
5. When I install Hosted Engine from the Node web interface, I select NF=
S4 for the storage and provide the correct host:/path. Other than that, an=
d setting up static network details and email details, I follow the default=
prompts of the Hosted Engine setup.
6. The Hosted Engine setup seems to run through to completion, and I get=
a successfully installed message at the end
7. I open up the firewall on port 2049 for tcp and udp; this is done **a=
fter** the engine setup is complete since the setup procedure alters the fi=
rewall configuration and my modifications otherwise get lost. I have confi=
rmed that it is possible to mount these nfs shares both on the node itself =
and on the engine vm (once it is running).
8. I can log into the Hosted Engine web interface.
This is now where I run into problems.
The first problem is that no storage domains are registed, nor can I add an=
y. I get warnings like "The hosted engine storage domain doesn't exist. I=
t will be imported automatically upon data center activation, which require=
s adding an initial storage domain to the data center". However attempting=
to do so gives errors like: "VDSM server.domain command CreateStoragePoolV=
DS failed: Cannot acquire host id: (u'fcdee6d8-c6fc-45fb-a60c-1df4b298f75a'=
, SanlockException(22, 'Sanlock lockspace add failure', 'Invalid
argument')=
)". During Hosted Engine setup it seems that the /srv/ovirt/data storage d=
omain is created, but I cannot import it. I also tried to create a new sto=
rage domain at /srv/ovirt/iso and met with similar results: it creates it, =
but won't attach to it.
The next problem is that I can't restart the server from the Node web inter=
face. Clicking on the "Restart" Power Options button simply causes the who=
le system to hang. It appears to shut down the Engine VM ok, it also termi=
nates 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 net=
work but can't do anything or see anything. Fortunately the Dell server ha=
s 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 Eng=
ine is installed; before this is done, the "Restart" button works perfectly=
.
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 woul=
d 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?
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, Ho=
sted Engine and the storage domains all on one machine, I would love to see=
that!!
Many thanks in advance!
Andy
--_000_AM4PR08MB0801A5061943222FB3BCEB44E7FC0AM4PR08MB0801eurp_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html;
charset=3Diso-8859-=
1">
<style type=3D"text/css" style=3D"display:none;"><!-- P
{margin-top:0;margi=
n-bottom:0;} --></style>
</head>
<body dir=3D"ltr">
<div id=3D"divtagdefaultwrapper"
style=3D"font-size:12pt;color:#000000;font=
-family:Calibri,Arial,Helvetica,sans-serif;" dir=3D"ltr">
<p>Hi,</p>
<p><br>
</p>
<p>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.</p>
<p><br>
</p>
<p>I am unfortunately finding this very difficult and I hope someone h=
ere can help guide me in the right direction :o)</p>
<p><br>
</p>
<p>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.</p>
<p><br>
</p>
<p>What I have achieved so far is...</p>
<p><br>
</p>
<p></p>
<ol style=3D"margin-bottom: 0px; margin-top: 0px;">
<li><span style=3D"font-size: 12pt;"></span>Installed oVirt
Node 4.1.2, gen=
erally using the default configuration</li><li>Changed the performance prof=
ile to "virtual-host" inside the web interface as per documentati=
on suggestion</li><li>Created a new volume group, pool for thin volumes, an=
d finally an XFS-formatted volume that mounts on /srv which will be used fo=
r the storage domain(s)</li><li>From the console on the node, I have
c=
reated /srv/ovirt/data and /srv/ovirt/iso directories with ownership vdsm:k=
vm and access rights 0755, which I have then added to /etc/exports with the=
following configuration: rw,sync,no_subtree_check,all_squash,anonuid=3D36,=
anongid=3D36</li><li>When I install Hosted Engine from the Node web interfa=
ce, I select NFS4 for the storage and provide the correct host:/path.  =
;Other than that, and setting up static network details and email details<s=
pan style=3D"font-size: 12pt;">, I follow the default prompts
of the Hosted Engine setup.</span></li><li>The Hosted Engine setup
seems t=
o run through to completion, and I get a successfully installed message at =
the end</li><li>I open up the firewall on port 2049 for tcp and udp; this i=
s done **after** the engine setup is complete since the setup procedure&nbs=
p;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).</li><li>I can log into the Hosted Engine web
interface.</li></ol>
<br>
<p></p>
<p>This is now where I run into problems.</p>
<p><br>
</p>
<p>The first problem is that no storage domains are registed, nor can I add=
any. I get warnings like "The hosted engine storage domain does=
n't exist. It will be imported automatically upon data center activat=
ion, which requires adding an initial storage domain
to the data center". However attempting to do so gives err=
ors like: "<span>VDSM server.domain command CreateStoragePoolVDS faile=
d: Cannot acquire host id: (u'fcdee6d8-c6fc-45fb-a60c-1df4b298f75a', Sanloc=
kException(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 simila=
r results: it creates it, but won't attach to it.</span></p>
<p><span><br>
</span></p>
<p><span>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 do=
wn the Engine VM ok, it also terminates all ssh connections,
but after that the console screen on the server just goes black and sits t=
here. You can still ping the server from the network but can't do any=
thing or see anything. Fortunately the Dell server has a remote conso=
le feature that enables me to manually restart
the server, but this is not ideal at all. This problem only occurs o=
nce the Hosted Engine is installed; before this is done, the "Restart&=
quot; button works perfectly.</span></p>
<p><span><br>
</span></p>
<p><span>The final problem is that once the server has restarted, it takes =
about 10 minutes before the Node starts the Hosted Engine. Is this co=
rrect? I would have thought that once the Node is up, its first respo=
nsibility would be to get the Hosted Engine
up, but you can see from the dmesg output that on average 530 seconds elap=
ses before kvm is started. Is there anything I can do to speed this u=
p?</span></p>
<p><span><br>
</span></p>
<p><span>Any help would be gratefully received. Or if
anyone kno=
ws 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!!</span></p>
<p><span><br>
</span></p>
<p><span>Many thanks in advance!</span></p>
<p><span><br>
</span></p>
<p><span>Andy</span></p>
<p><span><br>
</span></p>
<p><span><br>
</span></p>
<p><span><br>
</span></p>
<p><span><br>
</span></p>
</div>
</body>
</html>
--_000_AM4PR08MB0801A5061943222FB3BCEB44E7FC0AM4PR08MB0801eurp_--