Re: [ceph-users] Automated Failover of CephFS Clients

2018-02-20 Thread John Petrini
I just wanted to add that even if you only provide one monitor IP the
client will learn about the other monitors on mount so failover will still
work. This only presents a problem when you try to remount or reboot a
client while the monitor it's using is unavailable.
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] Automated Failover of CephFS Clients

2018-02-20 Thread Linh Vu
You're welcome :)


From: Paul Kunicki <pkuni...@sproutloud.com>
Sent: Wednesday, 21 February 2018 1:16:32 PM
To: Linh Vu
Cc: ceph-users@lists.ceph.com
Subject: Re: [ceph-users] Automated Failover of CephFS Clients

Thanks for the hint Linh. I had neglected to read up on mount.fuse.ceph here: 
http://docs.ceph.com/docs/master/man/8/mount.fuse.ceph/<http://docs.ceph.com/docs/master/man/8/mount.fuse.ceph/>

I am trying this right now.

Thanks again.




 *   [http://storage.pardot.com/24972/128155/sl_logo.png]
*   Paul Kunicki
*   Systems Manager
*   SproutLoud Media Networks, LLC.
*   954-476-6211 ext. 144
*   pkuni...@sproutloud.com<mailto:pkuni...@sproutloud.com>
*   www.sproutloud.com<http://www.sproutloud.com/>
*   [http://storage.pardot.com/24972/128145/inc_500.jpg]  •  
[http://storage.pardot.com/24972/128137/deloitte.jpg]  •  
[http://storage.pardot.com/24972/128135/CIO_Review___google_logo.png]  •  
[http://storage.pardot.com/24972/128151/Marketing_logo_email.jpg]
*   [Facebook] <http://www.facebook.com/sproutLoud>   [Twitter] 
<http://twitter.com/sproutloud>   [LinkedIn] 
<http://www.linkedin.com/company/440456?trk=tyah>   [LinkedIn] 
<https://www.instagram.com/sproutloud/>   [YouTube] 
<https://www.youtube.com/user/SproutLoudVideo>

The information contained in this communication is intended solely for the use 
of the individual or entity to whom it is addressed and for others authorized 
to receive it. It may contain confidential or legally privileged information. 
If you are not the intended recipient, you are hereby notified that any 
disclosure, copying, distribution, or taking any action in reliance on these 
contents is strictly prohibited and may be unlawful. In the event the recipient 
or recipients of this communication are under a non-disclosure agreement, any 
and all information discussed during phone calls and online presentations fall 
under the agreements signed by both parties. If you received this communication 
in error, please notify us immediately by responding to this e-mail.

<mailto:pkuni...@sproutloud.com>

On Tue, Feb 20, 2018 at 8:35 PM, Linh Vu 
<v...@unimelb.edu.au<mailto:v...@unimelb.edu.au>> wrote:

Why are you mounting with a single monitor? What is your mount command or 
/etc/fstab? Ceph-fuse should use the available mons you have on the client's 
/etc/ceph/ceph.conf.


e.g our /etc/fstab entry:


none/home   fuse.ceph   
_netdev,ceph.id<http://ceph.id>=myclusterid,ceph.client_mountpoint=/home,nonempty,defaults
  0   0


From: ceph-users 
<ceph-users-boun...@lists.ceph.com<mailto:ceph-users-boun...@lists.ceph.com>> 
on behalf of Paul Kunicki 
<pkuni...@sproutloud.com<mailto:pkuni...@sproutloud.com>>
Sent: Wednesday, 21 February 2018 10:23:37 AM
To: ceph-users@lists.ceph.com<mailto:ceph-users@lists.ceph.com>
Subject: [ceph-users] Automated Failover of CephFS Clients

We currently have multiple CephFS fuse clients mounting the same filesystem 
from a single monitor even though our cluster has several monitors. I would 
like to automate the fail over from one monitor to another. Is this possible 
and where should I bee looking for guidance on accomplishing this in 
production? I would like to avoid involving NFS if possible and Pacemaker seems 
to be overkill but we can go that route if that is what is in fact needed?

We are currently at 12.2.2 on Centos 7.4.

Thanks.



 *   [http://storage.pardot.com/24972/128155/sl_logo.png]
*   Paul Kunicki
*   Systems Manager
*   SproutLoud Media Networks, LLC.
*   954-476-6211 ext. 144
*   pkuni...@sproutloud.com<mailto:pkuni...@sproutloud.com>
*   www.sproutloud.com<http://www.sproutloud.com/>
*   [http://storage.pardot.com/24972/128145/inc_500.jpg]  •  
[http://storage.pardot.com/24972/128137/deloitte.jpg]  •  
[http://storage.pardot.com/24972/128135/CIO_Review___google_logo.png]  •  
[http://storage.pardot.com/24972/128151/Marketing_logo_email.jpg]
*   [Facebook] <http://www.facebook.com/sproutLoud>   [Twitter] 
<http://twitter.com/sproutloud>   [LinkedIn] 
<http://www.linkedin.com/company/440456?trk=tyah>   [LinkedIn] 
<https://www.instagram.com/sproutloud/>   [YouTube] 
<https://www.youtube.com/user/SproutLoudVideo>

The information contained in this communication is intended solely for the use 
of the individual or entity to whom it is addressed and for others authorized 
to receive it. It may contain confidential or legally privileged information. 
If you are not the intended recipient, you are hereby notified that any 
disclosure, copying, distribution, or taking any action in reliance on these 
contents is strictly prohibited and may be unlawful. In the event the

Re: [ceph-users] Automated Failover of CephFS Clients

2018-02-20 Thread Paul Kunicki
Thanks for the hint Linh. I had neglected to read up on mount.fuse.ceph
here: http://docs.ceph.com/docs/master/man/8/mount.fuse.ceph/

I am trying this right now.

Thanks again.




   -
  - *Paul Kunicki*
 - *Systems Manager*
 - SproutLoud Media Networks, LLC.
 - 954-476-6211 ext. 144
 - pkuni...@sproutloud.com
 - www.sproutloud.com
  -  •   •   •
  - [image: Facebook] <http://www.facebook.com/sproutLoud>  [image:
 Twitter] <http://twitter.com/sproutloud>  [image: LinkedIn]
 <http://www.linkedin.com/company/440456?trk=tyah>  [image:
 LinkedIn] <https://www.instagram.com/sproutloud/>  [image: YouTube]
 <https://www.youtube.com/user/SproutLoudVideo>

  The information contained in this communication is intended solely
  for the use of the individual or entity to whom it is addressed and for
  others authorized to receive it. It may contain confidential or legally
  privileged information. If you are not the intended recipient, you are
  hereby notified that any disclosure, copying, distribution, or taking any
  action in reliance on these contents is strictly prohibited and may be
  unlawful. In the event the recipient or recipients of this communication
  are under a non-disclosure agreement, any and all information discussed
  during phone calls and online presentations fall under the agreements
  signed by both parties. If you received this communication in
error, please
  notify us immediately by responding to this e-mail.

<pkuni...@sproutloud.com>

On Tue, Feb 20, 2018 at 8:35 PM, Linh Vu <v...@unimelb.edu.au> wrote:

> Why are you mounting with a single monitor? What is your mount command or
> /etc/fstab? Ceph-fuse should use the available mons you have on the
> client's /etc/ceph/ceph.conf.
>
>
> e.g our /etc/fstab entry:
>
>
> none/home   fuse.ceph   _netdev,ceph.id=myclusterid,
> ceph.client_mountpoint=/home,nonempty,defaults  0   0
> --
> *From:* ceph-users <ceph-users-boun...@lists.ceph.com> on behalf of Paul
> Kunicki <pkuni...@sproutloud.com>
> *Sent:* Wednesday, 21 February 2018 10:23:37 AM
> *To:* ceph-users@lists.ceph.com
> *Subject:* [ceph-users] Automated Failover of CephFS Clients
>
> We currently have multiple CephFS fuse clients mounting the same
> filesystem from a single monitor even though our cluster has several
> monitors. I would like to automate the fail over from one monitor to
> another. Is this possible and where should I bee looking for guidance on
> accomplishing this in production? I would like to avoid involving NFS if
> possible and Pacemaker seems to be overkill but we can go that route if
> that is what is in fact needed?
>
> We are currently at 12.2.2 on Centos 7.4.
>
> Thanks.
>
>
>
>-
>   - *Paul Kunicki*
>  - *Systems Manager*
>  - SproutLoud Media Networks, LLC.
>  - 954-476-6211 ext. 144
>  - pkuni...@sproutloud.com
>  - www.sproutloud.com
>   -  •   •   •
>   - [image: Facebook] <http://www.facebook.com/sproutLoud>  [image:
>  Twitter] <http://twitter.com/sproutloud>  [image: LinkedIn]
>  <http://www.linkedin.com/company/440456?trk=tyah>  [image:
>  LinkedIn] <https://www.instagram.com/sproutloud/>  [image:
>  YouTube] <https://www.youtube.com/user/SproutLoudVideo>
>
>   The information contained in this communication is intended solely
>   for the use of the individual or entity to whom it is addressed and for
>   others authorized to receive it. It may contain confidential or legally
>   privileged information. If you are not the intended recipient, you are
>   hereby notified that any disclosure, copying, distribution, or taking 
> any
>   action in reliance on these contents is strictly prohibited and may be
>   unlawful. In the event the recipient or recipients of this communication
>   are under a non-disclosure agreement, any and all information discussed
>   during phone calls and online presentations fall under the agreements
>   signed by both parties. If you received this communication in error, 
> please
>   notify us immediately by responding to this e-mail.
>
> <pkuni...@sproutloud.com>
>
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] Automated Failover of CephFS Clients

2018-02-20 Thread Linh Vu
Why are you mounting with a single monitor? What is your mount command or 
/etc/fstab? Ceph-fuse should use the available mons you have on the client's 
/etc/ceph/ceph.conf.


e.g our /etc/fstab entry:


none/home   fuse.ceph   
_netdev,ceph.id=myclusterid,ceph.client_mountpoint=/home,nonempty,defaults  0   
0


From: ceph-users <ceph-users-boun...@lists.ceph.com> on behalf of Paul Kunicki 
<pkuni...@sproutloud.com>
Sent: Wednesday, 21 February 2018 10:23:37 AM
To: ceph-users@lists.ceph.com
Subject: [ceph-users] Automated Failover of CephFS Clients

We currently have multiple CephFS fuse clients mounting the same filesystem 
from a single monitor even though our cluster has several monitors. I would 
like to automate the fail over from one monitor to another. Is this possible 
and where should I bee looking for guidance on accomplishing this in 
production? I would like to avoid involving NFS if possible and Pacemaker seems 
to be overkill but we can go that route if that is what is in fact needed?

We are currently at 12.2.2 on Centos 7.4.

Thanks.



 *   [http://storage.pardot.com/24972/128155/sl_logo.png]
*   Paul Kunicki
*   Systems Manager
*   SproutLoud Media Networks, LLC.
*   954-476-6211 ext. 144
*   pkuni...@sproutloud.com<mailto:pkuni...@sproutloud.com>
*   www.sproutloud.com<http://www.sproutloud.com/>
*   [http://storage.pardot.com/24972/128145/inc_500.jpg]  •  
[http://storage.pardot.com/24972/128137/deloitte.jpg]  •  
[http://storage.pardot.com/24972/128135/CIO_Review___google_logo.png]  •  
[http://storage.pardot.com/24972/128151/Marketing_logo_email.jpg]
*   [Facebook] <http://www.facebook.com/sproutLoud>   [Twitter] 
<http://twitter.com/sproutloud>   [LinkedIn] 
<http://www.linkedin.com/company/440456?trk=tyah>   [LinkedIn] 
<https://www.instagram.com/sproutloud/>   [YouTube] 
<https://www.youtube.com/user/SproutLoudVideo>

The information contained in this communication is intended solely for the use 
of the individual or entity to whom it is addressed and for others authorized 
to receive it. It may contain confidential or legally privileged information. 
If you are not the intended recipient, you are hereby notified that any 
disclosure, copying, distribution, or taking any action in reliance on these 
contents is strictly prohibited and may be unlawful. In the event the recipient 
or recipients of this communication are under a non-disclosure agreement, any 
and all information discussed during phone calls and online presentations fall 
under the agreements signed by both parties. If you received this communication 
in error, please notify us immediately by responding to this e-mail.

<mailto:pkuni...@sproutloud.com>
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


[ceph-users] Automated Failover of CephFS Clients

2018-02-20 Thread Paul Kunicki
We currently have multiple CephFS fuse clients mounting the same filesystem
from a single monitor even though our cluster has several monitors. I would
like to automate the fail over from one monitor to another. Is this
possible and where should I bee looking for guidance on accomplishing this
in production? I would like to avoid involving NFS if possible and
Pacemaker seems to be overkill but we can go that route if that is what is
in fact needed?

We are currently at 12.2.2 on Centos 7.4.

Thanks.



   -
  - *Paul Kunicki*
 - *Systems Manager*
 - SproutLoud Media Networks, LLC.
 - 954-476-6211 ext. 144
 - pkuni...@sproutloud.com
 - www.sproutloud.com
  -  •   •   •
  - [image: Facebook]   [image:
 Twitter]   [image: LinkedIn]
   [image:
 LinkedIn]   [image: YouTube]
 

  The information contained in this communication is intended solely
  for the use of the individual or entity to whom it is addressed and for
  others authorized to receive it. It may contain confidential or legally
  privileged information. If you are not the intended recipient, you are
  hereby notified that any disclosure, copying, distribution, or taking any
  action in reliance on these contents is strictly prohibited and may be
  unlawful. In the event the recipient or recipients of this communication
  are under a non-disclosure agreement, any and all information discussed
  during phone calls and online presentations fall under the agreements
  signed by both parties. If you received this communication in
error, please
  notify us immediately by responding to this e-mail.


___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com