[openstack][masakari] Ask about Masakari segment

Nguyễn Hữu Khôi nguyenhuukhoinw at gmail.com
Sun Mar 19 15:19:08 UTC 2023


I have read it
https://docs.openstack.org/masakari/xena/install/overview.html
I tested with two segments but It dont have my desired result.
Segment A:
 compute01
 compute02
 compute03
Segment B:
 compute04
 compute05


When I turn off compute01, I hope that instance will recover on compute02
or compute03 but it recovered on segment B.
I feel strange.



Nguyen Huu Khoi


On Sun, Mar 19, 2023 at 10:10 PM Nguyễn Hữu Khôi <nguyenhuukhoinw at gmail.com>
wrote:

> Hello., thanks for sharing,
> I use  auto as recovery method but instance recovery on a
> different segment, I just want to separate segment by different hypervisor
> hosts.
> Nguyen Huu Khoi
>
>
> On Sun, Mar 19, 2023 at 10:00 PM Rob Jefferson <techstep at gmail.com> wrote:
>
>> On Sun, Mar 19, 2023 at 8:32 AM Nguyễn Hữu Khôi
>> <nguyenhuukhoinw at gmail.com> wrote:
>> >
>> > Hello guys.
>> > I want to ask if I create two Masakari segments then instances will
>> failover on only segment has a group of computes? Because I do test with
>> this scenario, my instance failover on a different segment  which has
>> different compute hosts? Do I understand Masakari wrong?
>>
>> I would check which recovery method you're using.
>>
>> If you have two failover segments, and you set the recovery method to
>> `reserved_host`, the failover will happen on a node in the non-active
>> segment. If you set the method to `rh_priority`, it will try that
>> first, but then attempt fall back on a machine in the active segment.
>>
>> If you want to recover on a host in the *same* segment (possibly the
>> same host), use `auto` or `auto_priority` as the recovery method.
>>
>> Rob
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.openstack.org/pipermail/openstack-discuss/attachments/20230319/0d9c0cea/attachment.htm>


More information about the openstack-discuss mailing list