--=_db229aee28533a0313434c3c9e197803
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=UTF-8
Le 2015-10-12 09:17, Nico a écrit :
Le 2015-10-12 09:09, Barak Korren a écrit :
What that procedure describes is backing up an existing engine,
installing a new one and then restoring the backed up data into it.
This was probably written to describe migration from a stand-alone
engine host, not an AllInOne.
Theoretically this should work for your setup, but I am not sure if
the new hosted engine will be able to properly use the AllInOne node
as a hypervisor (it would probably depend on the copied configuration
containing enough details to allow the engine to connect to it over
the network. you will probably at the very last have to shut down the
existing engine before starting up the hosted engine)
I would suggest doing as many backups as you can before starting, and
performing the H.E. setup on a host that wasn't used by the existing
engine, that way if it fails you can just shut it down and bring your
old engine back up.
I got a backup running at this moment, scping
/gluster/ovirt/d44ee4b0-8d36-467a-9610-c682a618b698/images/ to a third
device.
So, once done, i'll give a shot on the node2 which is running only VDSM
as Host agent.
Hope all will be fine !
Hi,
My backups are done, i'm now processing the installation for having the
engine in a VM but i got the following error at the first step:
[root@devnix-virt-master02 ~]# hosted-engine --deploy
[ INFO ] Stage: Initializing
[ INFO ] Generating a temporary VNC password.
[ INFO ] Stage: Environment setup
Continuing will configure this host for serving as hypervisor and create
a VM where you have to install oVirt Engine afterwards.
Are you sure you want to continue? (Yes, No)[Yes]:
Configuration files: []
Log file:
/var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20151013090336-0upz5f.log
Version: otopi-1.3.2 (otopi-1.3.2-1.el7.centos)
[ INFO ] Hardware supports virtualization
[ INFO ] Bridge ovirtmgmt already created
[ INFO ] Stage: Environment packages setup
[ INFO ] Stage: Programs detection
[ INFO ] Stage: Environment setup
[ INFO ] Stage: Environment customization
--== STORAGE CONFIGURATION ==--
During customization use CTRL-D to abort.
[ ERROR ] The following storage pool has been found connected:
0ae7120a-430d-4534-9a7e-59c53fb2e804
[ ERROR ] Failed to execute stage 'Environment customization': Cannot
setup Hosted Engine with connected storage pools
[ INFO ] Stage: Clean up
[ INFO ] Generating answer file
'/var/lib/ovirt-hosted-engine-setup/answers/answers-20151013090355.conf'
[ INFO ] Stage: Pre-termination
[ INFO ] Stage: Termination
There is no VM running at this moment on this hypervisor (node 2). The
error suggests that the storage is still in use.
[root@devnix-virt-master02 ~]# vdsClient -s 0
getConnectedStoragePoolsList
0ae7120a-430d-4534-9a7e-59c53fb2e804
Does that mean i must set this hypervisor (node 2) in MAINTENANCE in
order to continue the steps described in
http://200.1.19.60/ovirt-engine/docs/manual/en-US/html/Installation_Guide...
[1]
Thanks
Regards
Nico
Links:
------
[1]
http://200.1.19.60/ovirt-engine/docs/manual/en-US/html/Installation_Guide...
--=_db229aee28533a0313434c3c9e197803
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=UTF-8
<html><head><meta http-equiv=3D"Content-Type"
content=3D"text/html; charset=
=3DUTF-8" /></head><body style=3D'font-size: 10pt; font-family:
Verdana,Gen=
eva,sans-serif'
<p>Le 2015-10-12 09:17, Nico a
écrit :</p
<blockquote
type=3D"cite" style=3D"padding: 0 0.4em; border-left: #1010ff 2=
px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!--
meta ig=
nored --
<p>Le 2015-10-12 09:09, Barak
Korren a écrit :</p
<blockquote style=3D"padding: 0 0.4em; border-left: #1010ff 2px solid;
marg=
in: 0;"><!-- node type 8 --><!-- node type 8 --><!-- node type 8
--
<div class=3D"pre" style=3D"margin: 0;
padding: 0; font-family: monospace;"=
<blockquote style=3D"padding: 0 0.4em; border-left:
#1010ff 2px solid; marg=
in: 0;"><br /> <br /> What that procedure describes is backing up an
existi=
ng engine,<br /> installing a new one and then restoring the backed up data=
into it.<br /> This was probably written to describe migration from a stan=
d-alone<br /> engine host, not an AllInOne.<br /> Theoretically this should=
work for your setup, but I am not sure if<br /> the new hosted engine will=
be able to properly use the AllInOne node<br /> as a hypervisor (it would =
probably depend on the copied configuration<br /> containing enough details=
to allow the engine to connect to it over<br /> the network. you will prob=
ably at the very last have to shut down the<br /> existing engine before st=
arting up the hosted engine)<br /> I would suggest doing as many backups as=
you can before starting, and<br /> performing the H.E. setup on a host tha=
t wasn't used by the existing<br /> engine, that way if it fails you can ju=
st shut it down and bring your<br /> old engine back up.</blockquote
</div
</blockquote
<p>I got a backup running at
this moment, scping /gluster/ovirt/d44ee4=
b0-8d36-467a-9610-c682a618b698/images/ to a third device.</p
<p>So, once done, i'll give a shot on the node2 which
is running only VDSM =
as Host agent.</p
<p>Hope all will be fine
!</p
<!-- html ignored --></blockquote
<p>Hi,</p
<p>My backups are done, i'm now processing the installation for having the
=
engine in a VM but i got the following error at the first step:</p
<p>[root@devnix-virt-master02 ~]# hosted-engine
--deploy<br />[ INFO ] Stag=
e: Initializing<br />[ INFO ] Generating a temporary VNC password.<br />[ I=
NFO ] Stage: Environment setup<br /> Continuing will configure this host fo=
r serving as hypervisor and create a VM where you have to install oVirt Eng=
ine afterwards.<br /> Are you sure you want to continue? (Yes, No)[Yes]:<br=
/> Configuration files: []<br /> Log file: /var/log/ovirt-hosted-engine-se=
tup/ovirt-hosted-engine-setup-20151013090336-0upz5f.log<br /> Version: otop=
i-1.3.2 (otopi-1.3.2-1.el7.centos)<br />[ INFO ] Hardware supports virtuali=
zation<br />[ INFO ] Bridge ovirtmgmt already created<br />[ INFO ] Stage: =
Environment packages setup<br />[ INFO ] Stage: Programs detection<br />[ I=
NFO ] Stage: Environment setup<br />[ INFO ] Stage: Environment customizati=
on</p
<p>--=3D=3D STORAGE
CONFIGURATION =3D=3D--</p
<p>During customization use
CTRL-D to abort.<br />[ ERROR ] The following s=
torage pool has been found connected: 0ae7120a-430d-4534-9a7e-59c53fb2e804<=
br />[ ERROR ] Failed to execute stage 'Environment customization': Cannot =
setup Hosted Engine with connected storage pools<br />[ INFO ] Stage: Clean=
up<br />[ INFO ] Generating answer file '/var/lib/ovirt-hosted-engine-setu=
p/answers/answers-20151013090355.conf'<br />[ INFO ] Stage: Pre-termination=
<br />[ INFO ] Stage: Termination</p
<p> </p
<p>There is no VM running at
this moment on this hypervisor (node 2). The e=
rror suggests that the storage is still in use.</p
<p> </p
<p>[root@devnix-virt-master02 ~]# vdsClient -s 0 getConnectedStoragePoolsLi=
st<br />0ae7120a-430d-4534-9a7e-59c53fb2e804</p
<p> </p
<p> </p
<p>Does that mean i must set this hypervisor (node 2) in
MAINTENANCE in ord=
er to continue the steps described in</p
<p> </p
<p><a
href=3D"http://200.1.19.60/ovirt-engine/docs/manual/en-US/html/Instal=
lation_Guide/Migrating_to_a_Self-Hosted_Environment.html">http://200.1.19=
=2E60/ovirt-engine/docs/manual/en-US/html/Installation_Guide/Migrating_to_a=
_Self-Hosted_Environment.html</a></p
<p> </p
<p>Thanks</p
<p>Regards</p
<p>Nico</p
<p> </p
<div> </div
</body></html
--=_db229aee28533a0313434c3c9e197803--