Gluster

From Colettapedia
Jump to: navigation, search

General

  • currently installed version is glusterfs 3.7.11
  • gluster volume info all
  • gluster volume rebalance <VOLNAME> start
  • gluster peer probe <HOSTNAME>
  • gluster volume heal <VOLNAME> info

Maintenance

  • sudo gluster peer status
  • ps aux | grep gluster
  • sudo service glusterd restart
  • sudo service glusterfsd restart
  • might need to kill processes
  • df -h --
  • sudo umount -fl /home
  • sudo mount /home

Troubleshooting

Hostname: xxx.xxx.xxx.xxx
Uuid: ba977exx-a914-418c-836c-xxxxxxxxxxx
State: Peer in Cluster (Disconnected)
Other names:
lgchrm15
1. Check if the nodes are reachable.. 'ping <ipaddress>'
2. Check if the glusterd daemon is in an active state in all the nodes.. 
'service glusterd status'
3. Firewall issue - flush IPtables on the node which is disconnected..  
'iptables -F'