Hi, I am new to glusterfs. I have used this guide on CentOS-7.6. https://microdevsys.com/wp/glusterfs-configuration-and-setup-w-nfs-ganesha-for-an-ha-nfs-cluster/ glusterfs ?version glusterfs 7.2 Firewall is disabled. Self heal is enabled. Everything works fine until I reboot one of the servers. When the server reboots the brick doesn't come online. *gluster volume status* *Status of volume: gv01* *Gluster process TCP Port RDMA Port Online Pid* *------------------------------------------------------------------------------* *Brick server1:/bricks/0/gv0 N/A N/A N N/A * *Brick server2:/bricks/0/gv0 49152 0 Y 99870* *Self-heal Daemon on localhost N/A N/A Y 109802* *Self-heal Daemon on server1 N/A N/A Y 2142 * *Task Status of Volume gv01* *------------------------------------------------------------------------------* *There are no active volume tasks* *gluster volume heal gv01* *Launching heal operation to perform index self heal on volume gv01 has been unsuccessful:* *Glusterd Syncop Mgmt brick op 'Heal' failed. Please check glustershd log file for details*. *gluster volume heal gv01 info* * gluster volume heal gv01 info* *Brick server1:/bricks/0/gv0* *Status: Transport endpoint is not connected* *Number of entries: -* *When I do "gluster volume start gv01 force" brick starts.* I want the brick to come online automatically after the reboot. I have attached log file. Please help. Regards, Mark. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20200214/1890fd03/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: logs.pdf Type: application/pdf Size: 17447 bytes Desc: not available URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20200214/1890fd03/attachment.pdf>
Jorick Astrego
2020-Feb-14 09:10 UTC
[Gluster-users] Brick Goes Offline After server reboot.
Hi, It looks like you have a two node setup? Then it's expected as with two nodes you don't have quorum and this can lead to split brains. To have HA, add another node or an arbiter node. https://docs.gluster.org/en/latest/Administrator%20Guide/arbiter-volumes-and-quorum/ You can also modify the quorum but then you shouldn't be too attachted to the data you have on it. Regards, Jorick On 2/14/20 9:27 AM, Cloud Udupi wrote:> Hi, > > I am new to glusterfs. I have used this guide on CentOS-7.6.? > https://microdevsys.com/wp/glusterfs-configuration-and-setup-w-nfs-ganesha-for-an-ha-nfs-cluster/ > > > glusterfs ?version > > glusterfs 7.2 > > > Firewall is disabled. Self heal is enabled. > Everything works fine until I reboot one of the?servers. When the > server reboots the brick doesn't come online. > > /*gluster volume status*/ > > / > / > > /Status of volume: gv01/ > > /Gluster process ? ? ? ? ? ? ? ? ? ? ? ? ? ? TCP Port? RDMA Port? > Online? Pid/ > > /------------------------------------------------------------------------------/ > > /Brick server1:/bricks/0/gv0 ? ? ? ? ? ? ? ? N/A ? ? ? N/A? ? ? ? N ? > ? ? N/A ?/ > > /Brick server2:/bricks/0/gv0 ? ? ? ? ? ? ? ? 49152 ? ? 0? ? ? ? ? Y ? > ? ? 99870/ > > /Self-heal Daemon on localhost ? ? ? ? ? ? ? N/A ? ? ? N/A? ? ? ? Y ? > ? ? 109802/ > > /Self-heal Daemon on server1 ? ? ? ? ? ? ? ? N/A ? ? ? N/A? ? ? ? Y ? > ? ? 2142?/ > > /?/ > > /Task Status of Volume gv01/ > > /------------------------------------------------------------------------------/ > > /There are no active volume tasks/ > > > */gluster volume heal gv01/* > > */ > /* > > /Launching heal operation to perform index self heal on volume gv01 > has been unsuccessful:/ > > // > > /Glusterd Syncop Mgmt brick op 'Heal' failed. Please check glustershd > log file for details/. > > > */gluster volume heal gv01 info/* > > */ > /* > > /?gluster volume heal gv01 info/ > > /Brick server1:/bricks/0/gv0/ > > /Status: Transport endpoint is not connected/ > > // > > /Number of entries: -/ > > / > / > > *When I do"gluster volume start gv01 force" brick starts.* > > * > * > > I want the brick to come online automatically after the reboot. I have > attached log file. > > Please help. > > > Regards, > > Mark. > > > ________ > > Community Meeting Calendar: > > APAC Schedule - > Every 2nd and 4th Tuesday at 11:30 AM IST > Bridge: https://bluejeans.com/441850968 > > NA/EMEA Schedule - > Every 1st and 3rd Tuesday at 01:00 PM EDT > Bridge: https://bluejeans.com/441850968 > > Gluster-users mailing list > Gluster-users at gluster.org > https://lists.gluster.org/mailman/listinfo/gluster-usersMet vriendelijke groet, With kind regards, Jorick Astrego Netbulae Virtualization Experts ---------------- Tel: 053 20 30 270 info at netbulae.eu Staalsteden 4-3A KvK 08198180 Fax: 053 20 30 271 www.netbulae.eu 7547 TA Enschede BTW NL821234584B01 ---------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20200214/a02182f9/attachment.html>