I use automount (/etc/auto.auto)
Example:
ceph -fstype=ceph,name=admin,
secretfile=/etc/ceph/admin. secret,noatime 10.1.40.11,10.1.40.12,10.1.40. 13:/cephfs1
From: ceph-users <ceph-users-bounces@lists.
ceph.com > on behalf of LOPEZ Jean-Charles <jelopez@xxxxxxxxxx>
Date: Monday, August 28, 2017 at 3:40 PM
To: Oscar Segarra <oscar.segarra@xxxxxxxxx>
Cc: "ceph-users@xxxxxxxxxxxxxx" <ceph-users@xxxxxxxxxxxxxx>
Subject: Re: CephFS: mount fs - single posing of failure
Hi Oscar,
the mount command accepts multiple MON addresses.
mount -t ceph monhost1,monhost2,monhost3:/ /mnt/foo
If not specified the port by default is 6789.
JC
On Aug 28, 2017, at 13:54, Oscar Segarra <oscar.segarra@xxxxxxxxx> wrote:
Hi,
In Ceph, by design there is no single point of failure I terms of server roles, nevertheless, from the client point of view, it might exist.
In my environment:
Mon1: 192.168.100.101:6789
Mon2: 192.168.100.102:6789
Mon3: 192.168.100.103:6789
Client: 192.168.100.104
I have created a line in /etc/fstab referencing Mon1 but, of course, if Mon1 fails, the mount point gets stuck.
I'd like to create a vip assigned to any host with tcp port 6789 UP and, in the client, mount the CephFS using that VIP.
Is there any way to achieve this?
Thanks a lot in advance!
______________________________
_________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph. com
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com