<div dir="ltr">I have already done a POC.<div>I'm going eventually to post inside the mailing list the gory details so that you could check and give feedback and then I go contribute in the wiki.</div><div>Let me recollect the doc with the steps.</div>
<div>Basic system was CentOS 6.5 with Pacemaker and cman.</div><div>The filesystem resources (for postgres, etc..) were managed in drbd primary/secondary.</div><div><br></div><div><br></div><div>At the end you would have somethng like this:</div>
<div><br></div><div><div>[root@ovirteng01 ~]# crm_mon -1</div><div>Last updated: Thu Jun 12 12:21:13 2014</div><div>Last change: Fri Mar 14 15:30:57 2014 via cibadmin on ovirteng01.localdomain.local</div><div>Stack: cman</div>
<div>Current DC: ovirteng02.localdomain.local - partition with quorum</div><div>Version: 1.1.10-14.el6_5.2-368c726</div><div>2 Nodes configured</div><div>13 Resources configured</div><div><br></div><div><br></div><div>Online: [ ovirteng01.localdomain.local ovirteng02.localdomain.local ]</div>
<div><br></div><div> Master/Slave Set: ms_OvirtData [OvirtData]</div><div> Masters: [ ovirteng02.localdomain.local ]</div><div> Slaves: [ ovirteng01.localdomain.local ]</div><div> Resource Group: ovirt</div><div> ip_OvirtData (ocf::heartbeat:IPaddr2): Started ovirteng02.localdomain.local</div>
<div> lvm_ovirt (ocf::heartbeat:LVM): Started ovirteng02.localdomain.local</div><div> fs_OvirtData (ocf::heartbeat:Filesystem): Started ovirteng02.localdomain.local</div><div> pgsql_OvirtData (lsb:postgresql): Started ovirteng02.localdomain.local</div>
<div> p_lsb_nfs (lsb:nfs): Started ovirteng02.localdomain.local</div><div> p_exportfs_root (ocf::heartbeat:exportfs): Started ovirteng02.localdomain.local</div><div> p_exportfs_iso (ocf::heartbeat:exportfs): Started ovirteng02.localdomain.local</div>
<div> ovirt-engine (lsb:ovirt-engine): Started ovirteng02.localdomain.local</div><div> ovirt-websocket-proxy (lsb:ovirt-websocket-proxy): Started ovirteng02.localdomain.local</div><div> httpd (ocf::heartbeat:apache): Started ovirteng02.localdomain.local</div>
<div><br></div></div><div>or with pcs commands:</div><div><br></div><div><div>[root@ovirteng01 ~]# pcs resource show --groups</div><div>ovirt: ip_OvirtData lvm_ovirt fs_OvirtData pgsql_OvirtData p_lsb_nfs p_exportfs_root p_exportfs_iso ovirt-engine ovirt-websocket-proxy httpd</div>
<div><br></div><div>[root@ovirteng01 ~]# pcs resource show</div><div> Master/Slave Set: ms_OvirtData [OvirtData]</div><div> Masters: [ ovirteng02.localdomain.local ]</div><div> Slaves: [ ovirteng01.localdomain.local ]</div>
<div> Resource Group: ovirt</div><div> ip_OvirtData (ocf::heartbeat:IPaddr2): Started</div><div> lvm_ovirt (ocf::heartbeat:LVM): Started</div><div> fs_OvirtData (ocf::heartbeat:Filesystem): Started</div>
<div> pgsql_OvirtData (lsb:postgresql): Started</div><div> p_lsb_nfs (lsb:nfs): Started</div><div> p_exportfs_root (ocf::heartbeat:exportfs): Started</div><div> p_exportfs_iso (ocf::heartbeat:exportfs): Started</div>
<div> ovirt-engine (lsb:ovirt-engine): Started</div><div> ovirt-websocket-proxy (lsb:ovirt-websocket-proxy): Started</div><div> httpd (ocf::heartbeat:apache): Started</div></div><div>
<br></div><div>the share file system is something like</div><div>/dev/mapper/VG_OVIRT-LV_OVIRT 5.0G 203M 4.5G 5% /shared<br></div><div><br></div><div>and has structure like</div><div><div>[root@ovirteng02 ~]# ll /shared</div>
<div>total 28</div><div>drwxr-xr-x. 6 root root 4096 Mar 1 14:11 etc</div><div>drwx------. 2 root root 16384 Mar 1 10:29 lost+found</div><div>drwxr-xr-x. 5 root root 4096 Mar 5 17:10 nfs_info</div><div>drwxr-xr-x. 3 root root 4096 Mar 1 13:52 var</div>
<div><br></div><div>[root@ovirteng02 ~]# ll /shared/etc/</div><div>total 16</div><div>drwxr-xr-x. 4 root root 4096 Mar 1 17:30 httpd</div><div>drwxr-xr-x. 15 root root 4096 Mar 1 13:58 ovirt-engine</div><div>drwxr-xr-x. 2 root root 4096 Mar 1 13:59 ovirt-engine-setup.conf.d</div>
<div>drwxr-xr-x. 3 root root 4096 Mar 1 14:03 pki</div><div><br></div><div>[root@ovirteng02 ~]# ll /shared/var/</div><div>total 4</div><div>drwxr-xr-x. 6 root root 4096 Mar 6 01:52 lib</div><div><br></div><div>[root@ovirteng02 ~]# ll /shared/var/lib/</div>
<div>total 16</div><div>drwxr-xr-x. 3 root root 4096 Mar 5 18:58 exports</div><div>drwxr-xr-x. 4 root root 4096 Mar 14 15:28 nfs</div><div>drwxr-xr-x. 8 ovirt ovirt 4096 Mar 12 00:30 ovirt-engine</div>
<div>drwx------. 4 postgres postgres 4096 Mar 1 12:49 pgsql</div></div><div><br></div><div><br></div><div>more details in following e-mail.</div><div>Let me know if it can be of interest.</div><div><br></div><div>I tried some things like forced panic, relocation while webadmin open, etc... and it seemed consistent.</div>
<div><br></div><div>Gianluca</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 12, 2014 at 11:52 AM, Itamar Heim <span dir="ltr"><<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On 06/12/2014 05:44 AM, KevinTang@umac.mo wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dear all,<br>
<br><div class="">
If not using self hosted-engine solution, my Engine will install in<br>
dedicate machine. How should I make the engine become HA?<br>
</div></blockquote>
<br>
easiest would be to run it as a VM on a clustering solution like Red Hat Cluster Suite or similar.<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">
<br>
Thanks<br>
<br>
Best Regards,<br>
Kevin Tang<br>
------------------------------<u></u>------------------------------<u></u>------------------------------<u></u>--------------------------<br>
AMSV - STATE KEY LABORATORY OF ANALOG AND MIXED-SIGNAL VLSI<br>
University of Macau<br>
Tel: <a href="tel:%28%2B853%29%208397-8035" value="+85383978035" target="_blank">(+853) 8397-8035</a><br>
<br>
<br>
<br>
From: Itamar Heim <<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a>><br>
To: KevinTang@umac.mo, <a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a><br>
Date: 06/12/2014 04:07 AM<br>
Subject: Re: [ovirt-users] Engine HA?<br></div>
------------------------------<u></u>------------------------------<u></u>------------<div class=""><br>
<br>
<br>
<br>
On 06/11/2014 04:16 AM, KevinTang@umac.mo wrote:<br>
> Dear all,<br>
><br>
> I know oVirt Host (VM) can be HA and cluster, all VM can be migrate<br>
> between all operational Node.<br>
><br>
> Since the main oVirt Engine is standalone, event shelf-hosted engine, it<br>
> still is a single Engine.<br>
><br>
> I want to ensure my Engine can be HA, how should I do? Do I need to<br>
> create a Cluster Linux first?<br>
><br>
<br>
hosted-engine has built-in HA mechanism for the engine, so if the host<br>
its running on has an issue, another host will launch the hosted engine.<br>
<br>
<br>
<br>
</div></blockquote><div class="HOEnZb"><div class="h5">
<br>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/<u></u>mailman/listinfo/users</a><br>
</div></div></blockquote></div><br></div>