[openstack][masakari] Ask about Masakari segment
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? Thank you. Regards Nguyen Huu Khoi
On Sun, Mar 19, 2023 at 8:32 AM Nguyễn Hữu Khôi <nguyenhuukhoinw@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
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@gmail.com> wrote:
On Sun, Mar 19, 2023 at 8:32 AM Nguyễn Hữu Khôi <nguyenhuukhoinw@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
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@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@gmail.com> wrote:
On Sun, Mar 19, 2023 at 8:32 AM Nguyễn Hữu Khôi <nguyenhuukhoinw@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
participants (2)
-
Nguyễn Hữu Khôi
-
Rob Jefferson