BeeGFS High Availability

937 views
Skip to first unread message

Atul Yadav

unread,
Aug 21, 2017, 3:04:23 PM8/21/17
to fhgfs...@googlegroups.com
Hi Team,

I am evaluating Beegfs for my production environment.

But High availability OR Fail-over concept is not clear.

Please guide me in achieving the High availability solution with the help of the 2 server nodes.

Thank in advance 
Atul Yadav

Harry Mangalam

unread,
Aug 22, 2017, 6:00:55 PM8/22/17
to beegfs-user
There are 2 levels of HA built into the recent versions of BeeGFS (versions after the 2015.03)

The 1st is the metadata buddy system in which you can define 2 metadata servers, a primary and a secondary and the primary will automatically fail over to the secondary,  these can be on separate metadata servers or they can also run on the storage servers (altho if so, a failure of such a combined server would not bode well for the system).

The 2nd  is a buddy storage mirroring, so you can assign a mirror dir that receives the same data as the primary.  If the primary goes down, the secondary can immediately pick up and continue to service requests.

The downside of the storage mirror is that it doubles the storage costs for the data that you decide to mirror (it does not have to be the whole filesystem).  The upside is data protection for the cost of ONLY the duplicated hardware.


If this misrepresents what is actually the case, please correct! 

hjm

supe...@163.com

unread,
Sep 7, 2018, 4:59:18 AM9/7/18
to beegfs-user
nodetype= storage
TargetID     Reachability  Consistency   NodeID
========     ============  ===========   ======
       1           Online         Good       63
       2           Online         Good       64
       3           Online         Good       65
     
BuddyGroupID     PrimaryNodeID   SecondaryNodeID
     ============     =============   ===============
               10                 1                 2

if i shutdown one storage node , while running Mysql test, as result Mysql test will be stopped. the mirrorgroups seems doesn`t working.
how to make the high availability working.
thanks a lot.
superdou007
在 2017年8月22日星期二 UTC+8上午3:04:23,Atul Yadav写道:

Nick Tan

unread,
Sep 10, 2018, 4:20:31 AM9/10/18
to fhgfs...@googlegroups.com

You need to make sure that the directory you are working on is configured to use the buddy group.

 

If you run ‘beegfs-ctl --getentryinfo <directory>’ does it show Type: Buddy Mirror?

 

If not, you can set it by running ‘beegfs-ctl --setpattern --chunksize=1M --numtargets=1 --buddymirror <directory>’

 

You’ll need to copy any data out of that directory and back in again for the buddy mirror setting to apply.  I’ve set the numtargets to 1 as it looks like you only have the 1 buddy group configured.

--
You received this message because you are subscribed to the Google Groups "beegfs-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fhgfs-user+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

PRIVACY AND CONFIDENTIALITY NOTICE
The information contained in this message is intended for the named recipients only. It may contain confidential information and if you are not the intended recipient, you must not copy, distribute or take any action in reliance on it. If you have received this message in error please destroy it and reply to the sender immediately or contact us at the above telephone number.
VIRUS DISCLAIMER
While we take every precaution against presence of computer viruses on our system, we accept no responsibility for loss or damage arising from the transmission of viruses to e-mail recipients.

super.dou

unread,
Sep 19, 2018, 2:06:04 AM9/19/18
to fhgfs-user

I have makes it ok now.

Because of the mysql isn`t installing  in the beegfs mirror file.

as you see the storage target shuld be at leatst two in one stroage node to make buddy group work well.

If down one storage node the system file will be hang at leat 30s, then the file can`t write but can read.

we can reduce the timeout cost time.

           thank you !



 原始邮件 
发件人: Nick Tan<nick...@spookfish.com>
发送时间: 2018年9月10日(周一) 16:20
主题: Re: [beegfs-user] Re: BeeGFS High Availability

You received this message because you are subscribed to a topic in the Google Groups "beegfs-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/fhgfs-user/MNhv0Cl8FgI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to fhgfs-user+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages