I would like to use GlusterFS across three servers of a HA web and run one of the replicated volumes as the /var mount point? I don't know if it is possible to create a gluster volume and mount it at /var I have tried a lot of different ways, it seems pretty straight forward but I cannot get Glusterfs to run without the files and settings in the /var dir. I cant mount the new volume to a directory that has files already in it. I cant run glusterfs without them? I have tried to edit as many gluster files as I can find to try and get gluster to run from an alternate directory where I have copied all the /var files It wont seem to run without access to the files in the /var .
Did you checked this tutorial? As per me you can use any mount point for that, /var should also work. I have not tried with /var but it should work logically.
Have looked at a lot of Ho Too's Thank you I have looked at some of these and have had no luck. The brisk installs OK and I have other installed, shared and operating OK. Just when I attempt to mount the /var the server respond 'cant locate /var/log/ files
For this you need to change the log path(other than /var/log) for glusterfs in the configuration file, so that it could mount itself at the /var
changed /var/log/ reference I have changed the /var/log reference in all the files that I could locate to another common directory, still get the same errors and server hags when I attempt to create a new brick Must have the /var/log embedded in the app somewhere?
I dont think that you can use glusterfs for /var as the mountpoint is not availabe early enough at boot time to store data in e.g. /var/log or /var/run. But what you can do is to make glusterfs shares for sub directories in /var like /var/www
Thanks to all I will stop there I agree I think this will also cause problems further along. If I was successful then the glusterfs /log and /run would all be stored in the same location on the glusterfs volume. Ie they would all be the same. This would not work as the each need their own individual settings per server?. An alternative is to set a /log location in the server HDD that is not part of the gluster volumes. But I can not get gluster to run with files in any other location than /var/log. I notice in older version of glusterfs there was a command to move the location of the log files. I have discovered that this is not enough for the newer version. It will not run even if you edit all location info to alter the log path.
I have changed the /var/log reference in all the files that I could locate to another common directory, still get the same errors and server hags when I attempt to create a new brick.??? ____________ GuL