Getting Glusterd to start at boot on Centos

Datetime:2016-08-22 23:45:48          Topic: Centos           Share

I’ve been working on a pair of Centos servers using GluserFS for a volume that is shared by various other servers. Each time the server reboots, I had to log in and manually start the service. Turns out this is due to the networking having started when the gluster service is. I found this post with the solution: * Execute systemctl enable NetworkManager-wait-online * Add the following to /lib/systemd/system/crond.service under [Unit] : ~~~ Requires=network.target After=syslog.target auditd.service systemd-user-sessions.service time-sync.target network.target mysqld.service ~~~

This will allow glusterd to be started after the network has come up.





About List