[ovirt-users] Add more hosts

Simone Tiraboschi stirabos at redhat.com
Thu Sep 15 16:43:23 UTC 2016


On Thu, Sep 15, 2016 at 6:32 PM, Davide Ferrari <davide at billymob.com> wrote:

> Ok, HE moved to host1...now, sorry for being so silly but, how do I remove
> a host from ovirt-engine GUI? "Remove" (just as reinstall) is greyed out too
>

Set it to maintenance mode then remove it.


>
> 2016-09-15 18:23 GMT+02:00 Simone Tiraboschi <stirabos at redhat.com>:
>
>>
>>
>> On Thu, Sep 15, 2016 at 6:20 PM, Davide Ferrari <davide at billymob.com>
>> wrote:
>>
>>> Trying to set the maintenance gives me:
>>>
>>> [root at vm01 ~]# hosted-engine --set-maintenance --mode=global
>>> /usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/storage_backends.py:15:
>>> DeprecationWarning: vdscli uses xmlrpc. since ovirt 3.6 xmlrpc is
>>> deprecated, please use vdsm.jsonrpcvdscli
>>>   import vdsm.vdscli
>>>
>>>
>>> it's not vey clear if it worked and it's just a warning or since it's
>>> deprecated it didn't work at all
>>>
>>
>> it's just a warning; to be really sure, you can check the status with:
>>    hosted-engine --vm-status
>>
>>
>>>
>>> 2016-09-15 17:34 GMT+02:00 Simone Tiraboschi <stirabos at redhat.com>:
>>>
>>>>
>>>>
>>>> On Thu, Sep 15, 2016 at 5:29 PM, Davide Ferrari <davide at billymob.com>
>>>> wrote:
>>>>
>>>>> How can I forcefully migrate the engine VM?
>>>>>
>>>>
>>>> You can try to migrate it from the engine.
>>>> If it doesn't work you can got to the first host,
>>>> set the global maintenance mode with
>>>>    hosted-engine --set-maintenance --mode=global
>>>> connect to the engine VM and shutdown it
>>>> restart the engine VM on the first host with:
>>>>    hosted-engine --vm-start
>>>>
>>>>
>>>>>
>>>>> 2016-09-15 17:22 GMT+02:00 Simone Tiraboschi <stirabos at redhat.com>:
>>>>>
>>>>>>
>>>>>>
>>>>>> On Thu, Sep 15, 2016 at 5:14 PM, Davide Ferrari <davide at billymob.com>
>>>>>> wrote:
>>>>>>
>>>>>>> All from the CLI. Right now in the GUI I have the "Reinstall" button
>>>>>>> greyed out. What's happening?
>>>>>>>
>>>>>>
>>>>>> I suggest to forcefully migrate the engine VM to the first host;
>>>>>> remove the other hosts from the engine and redeploy from there as
>>>>>> hosted-engine-hosts.
>>>>>>
>>>>>>
>>>>>>>
>>>>>>> 2016-09-15 16:57 GMT+02:00 Simone Tiraboschi <stirabos at redhat.com>:
>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Thu, Sep 15, 2016 at 4:13 PM, Davide Ferrari <
>>>>>>>> davide at billymob.com> wrote:
>>>>>>>>
>>>>>>>>> Strange..now it's working :? I've added successfully a fourth
>>>>>>>>> server to the cluster without touching anything, a part migrating the HE vm
>>>>>>>>> to another host.
>>>>>>>>> But now it seems that 2 of the hosts are not recognized as
>>>>>>>>> working. When I try to migrate the HostedEngine to another machine I get:
>>>>>>>>>
>>>>>>>>> The host hosted_engine_1 did not satisfy internal filter HA
>>>>>>>>> because it is not a Hosted Engine host.
>>>>>>>>> The host hosted_engine_3 did not satisfy internal filter HA
>>>>>>>>> because it is not a Hosted Engine host.
>>>>>>>>>
>>>>>>>>> hosted_engine_2 is in maintanaince mode right now and 4 is the one
>>>>>>>>> that is running the VM. The VM was first migrated from 1 to 2, then from 2
>>>>>>>>> it started giving those errors, then I successfully added 4 and I could
>>>>>>>>> migrate the VM to it, and now it is stuck there.
>>>>>>>>> I'm trying to look through the VDMS logs but oh boy, they are so
>>>>>>>>> verbose!
>>>>>>>>>
>>>>>>>>
>>>>>>>> Did you added your additional hosted-engine hosts from CLI or from
>>>>>>>> the web interface (there is special sub-panel in the add host dialog)?
>>>>>>>> I strongly recommend the second way.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>>
>>>>>>>>> 2016-09-15 15:11 GMT+02:00 Davide Ferrari <davide at billymob.com>:
>>>>>>>>>
>>>>>>>>>> Hello again
>>>>>>>>>>
>>>>>>>>>> as I said I'm a beginner with OVirt and I was playing with a
>>>>>>>>>> proof-of-concept cluster with OVirt 4.0 + GlusterFS 3.8, following this
>>>>>>>>>> guide
>>>>>>>>>>
>>>>>>>>>> http://www.ovirt.org/blog/2016/03/up-and-running-with-ovirt-3-6/
>>>>>>>>>>
>>>>>>>>>> (it works smoothly with 4.0 too)
>>>>>>>>>> I've created the cluster and the engine is running as an higly
>>>>>>>>>> available VM in the cluster itself with hosted-engine --deploy but now I
>>>>>>>>>> want to add a fourth machine to the cluster but I get this error:
>>>>>>>>>>
>>>>>>>>>>  Cannot automatically add the host to cluster Default: Cannot add
>>>>>>>>>> Host. There is no available server in the cluster to probe the new server.
>>>>>>>>>>
>>>>>>>>>> both if I try to add an host from Ovirt AAdmin GUI or if I try to
>>>>>>>>>> run "hosted-engine --deploy" on the new machine. Is it possible to have
>>>>>>>>>> this cluster conf (with the engine running as a VM) with 4 or more
>>>>>>>>>> machines? What thing should I have to do?
>>>>>>>>>>
>>>>>>>>>> Thanks in advance
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Davide Ferrari
>>>>>>>>>> Senior Systems Engineer
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Davide Ferrari
>>>>>>>>> Senior Systems Engineer
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> Users mailing list
>>>>>>>>> Users at ovirt.org
>>>>>>>>> http://lists.ovirt.org/mailman/listinfo/users
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Davide Ferrari
>>>>>>> Senior Systems Engineer
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Davide Ferrari
>>>>> Senior Systems Engineer
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Davide Ferrari
>>> Senior Systems Engineer
>>>
>>
>>
>
>
> --
> Davide Ferrari
> Senior Systems Engineer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20160915/098360e6/attachment-0001.html>


More information about the Users mailing list