zcl_ccc 发表于 2018-10-20 12:12:01

server-world install gluster-fei

  网址: http://www.server-world.info/en/note?os=CentOS_7&p=glusterfs&f=1
  Install GlusterFS to Configure Storage Cluster.
  It is recommended to use partitions for GlusterFS volumes which are different from the / partition.
  The environment on this example is set as that sdb1 is mounted on /glusterfs directory for GlusterFS Configuration on all Nodes.
Install GlusterFS Server on all Nodes in Cluster.  #
  yum -y install centos-release-gluster38
  #
  sed -i -e "s/enabled=1/enabled=0/g" /etc/yum.repos.d/CentOS-Gluster-3.8.repo
  # enable EPEL, too
  #
  yum --enablerepo=centos-gluster38,epel -y install glusterfs-server
#  systemctl start glusterd
  #
  systemctl enable glusterd
If Firewalld is running, allow GlusterFS service on all nodes.#  firewall-cmd --add-service=glusterfs --permanent
  success
  #
  firewall-cmd --reload
  success
  It's OK if you mount GlusterFS volumes from clients with GlusterFS Native Client.
GlusterFS supports NFS (v3), so if you mount GlusterFS volumes from clients with NFS, Configure additinally like follows.  #
  yum -y install rpcbind
#  systemctl start rpcbind
  #
  systemctl enable rpcbind
  #
  systemctl restart glusterd
  # if Firewalld is running, allow services below
  #
  firewall-cmd --add-service={nfs,rpc-bind} --permanent
  #
  firewall-cmd --reload
  Installing and Basic Settings of GlusterFS are OK. Refer to next section for settings of clustering.

页: [1]
查看完整版本: server-world install gluster-fei