lizardfs-ha-master.service missing in 3.13RC1

Created on 21 Jul 2018  Â·  8Comments  Â·  Source: lizardfs/lizardfs

Testing 3.13rc1 HA following the guide here:
https://docs.lizardfs.com/adminguide/advanced_configuration.html#lizardfs-ha-cluster

Get as far as starting the uraft service

systemctl start lizardfs-uraft.service
Failed to start lizardfs-uraft.service: Unit lizardfs-ha-master.service not found

Tried commenting out the dependancy in lizardfs-uraft.service, which allowed it to start, but it never switched to master or assigned the floating ip.

Have installed all the 3.13rc1 packages.

Debian 9.5

Most helpful comment

Hi @mosharaflink,

That sounds about right, but I must also warn you that you may be better off waiting for the full release of 3.13. The current version, 3.13rc1 is a release candidate and not intended for production usage.

All 8 comments

So the lizardfs-ha-master.service is missing from the debian package. I pulled the redhat one from github:

https://github.com/lizardfs/lizardfs/raw/master/rpm/service-files/lizardfs-ha-master.service

Placing it in /lib/systemd/system and everything now works.

Initial tests, uraft seems quite reliable.

Hi Blackpaw,

This issue happens for debian and ubuntu system. For these OS the packages not fully workable. But you can try for CentOS7. I have done successfully with cenots 7 OS.

Br
Mosharaf

Thanks Mosharaf, but I pulled the missing service file from the rpm src on github and got it fully working on debian.

Easy fix and uraft seems very reliable. Like the quota voting system, much less prone to error/split brain than something like keepalived.

​​
Dear Blackpaw,

Thank you
​. I also run system now with copy the file from src. However we are
currently running non-ha cluster of lizardfs and planning to migrate in HA.

M
y planning is to shut down all vm and upgrade non-ha to HA and start all
VM.

What you think about the procedure or share share thought for more
safest way of migration.
​?​

​

--

Regards,

Md Mosharaf Hossain

Deputy Manager, System & Services

IT Division

Bangladesh Export Import Company Ltd.

Level-9, SAM Tower, Plot #4, Road #22, Gulshan-1, Dhaka-1212, Bangladesh

24X7 Support Lines: 16464, +880 9609 000 121, +880 2 8833300, +880
1819222581
Fax: +880 2 8815747, Email: [email protected] Web: www.bol-online.com

From: Blackpaw [mailto:[email protected]]
Sent: Monday, July 23, 2018 2:53 PM
To: lizardfs/lizardfs
Cc: Md Mosharaf Hossain; Comment
Subject: Re: [lizardfs/lizardfs] lizardfs-ha-master.service missing in
3.13RC1 (#719)

Thanks Mosharaf, but I pulled the missing service file from the rpm src on
github and got it fully working on debian.

Easy fix and uraft seems very reliable. Like the quota voting system, much
less prone to error/split brain than something like keepalived.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/lizardfs/lizardfs/issues/719#issuecomment-406986824,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ae_9l15N8ZsnO7buOjoCrn-0J1ifq8Euks5uJY7pgaJpZM4VZnZZ
.

Hi Mosharaf, personally I'd be waiting for the full release before upgrading, in the meantime I'm testing with a lab system.

Are you currently running 3.13RC1, non-ha?

I don't see any harm in activating ha then, though as always, backups are your friend :)

Hello Blackpaw,

I am running currently lizardfs master with NON-HA and version of 3.12. Now planning to migrate this new HA version of 3.13.

My planning is to shut down all resources running on it and upgrade all NON-HA 3.12 master to 3.13 HA master. After all master/shadow server sync successfully with last metadata version then start all the instances.

We want safest migration from 3.12 to 3.13 so that VM data has not risk. Does my procedure is fine or please share anyone thought for more safest way of migration if needed.?​

--

Regards,

Md Mosharaf Hossain

Deputy Manager, System & Services

IT Division

Bangladesh Export Import Company Ltd.

Level-9, SAM Tower, Plot #4, Road #22, Gulshan-1, Dhaka-1212, Bangladesh

24X7 Support Lines: 16464, +880 9609 000 121, +880 2 8833300, +880 1819222581
Fax: +880 2 8815747, Email: support@bol-online.com [email protected] Web: http://www.bol-online.com/ www.bol-online.com

From: Blackpaw [mailto:[email protected]]
Sent: Monday, July 23, 2018 5:30 PM
To: lizardfs/lizardfs
Cc: Md Mosharaf Hossain; Comment
Subject: Re: [lizardfs/lizardfs] lizardfs-ha-master.service missing in 3.13RC1 (#719)

Hi Mosharaf, personally I'd be waiting for the full release before upgrading, in the meantime I'm testing with a lab system.

Are you currently running 3.13RC1, non-ha?

I don't see any harm in activating ha then, though as always, backups are your friend :)

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/lizardfs/lizardfs/issues/719#issuecomment-407026189 , or mute the thread https://github.com/notifications/unsubscribe-auth/Ae_9l4KYRYOvieP90vtkKMRItDVtmqzYks5uJbO2gaJpZM4VZnZZ . https://github.com/notifications/beacon/Ae_9l4xtnje4uiwF-Hk6X6ChQASZFdpxks5uJbO2gaJpZM4VZnZZ.gif

Hi @mosharaflink,

That sounds about right, but I must also warn you that you may be better off waiting for the full release of 3.13. The current version, 3.13rc1 is a release candidate and not intended for production usage.

@Blackpaw & @Zorlin Thank you for your suggestion. Surely we will wait till the full release of 3.13.0. Mean while we are preparing a test bed with our full stack of cloud infrastructure on the release candidate version and stress test it with possible failure scenarios. Hope to share our experience with the community shortly.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

onlyjob picture onlyjob  Â·  4Comments

alexharrington picture alexharrington  Â·  5Comments

biocyberman picture biocyberman  Â·  4Comments

biocyberman picture biocyberman  Â·  4Comments

mcassaniti picture mcassaniti  Â·  7Comments