Gluster tips

Here are some small tips which might be helpfull.

  • Good to specify _netdev mount option under /etc/fstab since we need network to be up for accessing gluster volume. Without this option when booting startup scripts will try to mount filesystem before networking was started. 
  • Gluster has an option backup-volfile-servers which is used when a gluster server is unavailable. Client will try to communicate with hosts specified on list falling back other hosts if one on list is unavailable. Simply seperate servers with :ex:backup-volfile-servers=<SERVER1>:<SERVER2>