Re: Possible to change the location of run_dir?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

use the run_dir parameter in your /etc/ceph/ceph.conf file. It defaults to /var/run/ceph

Or

use admin_socket = /full/path/to/admin/socket for each daemon or in the global section using environment variable such as $type, $id, $cluster and so on

Regards
JC

On Sep 20, 2017, at 11:27, Bryan Banister <bbanister@xxxxxxxxxxxxxxx> wrote:

We are running telegraf and would like to have the telegraf user read the admin sockets from ceph, which is required for the ceph telegraf plugin to apply the ceph  related tags to the data.  The ceph admin sockets are by default stored in /var/run/ceph, but this is recreated at boot time, so we can’t set permissions on these sockets which will persist.
 
We would like to change the run_dir for ceph to be a persistent directory.  Is there a way to do this?
 
Would be nice if there was a [global] config option or something we could put in the /etc/sysconfig/ceph file.
 
Thanks,
-Bryan



Note: This email is for the confidential use of the named addressee(s) only and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you are hereby notified that any review, dissemination or copying of this email is strictly prohibited, and to please notify the sender immediately and destroy this email and any attachments. Email transmission cannot be guaranteed to be secure or error-free. The Company, therefore, does not make any guarantees as to the completeness or accuracy of this email or any attachments. This email is for informational purposes only and does not constitute a recommendation, offer, request or solicitation of any kind to buy, sell, subscribe, redeem or perform any type of transaction of a financial product.
_______________________________________________
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

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux