GlusterFs教程第5章:GlusterFs快速入门指南-安装GlusterFs


安装GlusterFs

安装系统软件,需要在每台节点上执行以下命令

# yum install glusterfs-server

安装完成之后,启动并查看运行状态

# service glusterd start
# service glusterd status

glusterd.service - LSB: glusterfs server
       Loaded: loaded (/etc/rc.d/init.d/glusterd)
   Active: active (running) since Mon, 13 Aug 2012 13:02:11 -0700; 2s ago
   Process: 19254 ExecStart=/etc/rc.d/init.d/glusterd start (code=exited, status=0/SUCCESS)
   CGroup: name=systemd:/system/glusterd.service
       ├ 19260 /usr/sbin/glusterd -p /run/glusterd.pid
       ├ 19304 /usr/sbin/glusterfsd --xlator-option georep-server.listen-port=24009 -s localhost...
       └ 19309 /usr/sbin/glusterfs -f /var/lib/glusterd/nfs/nfs-server.vol -p /var/lib/glusterd/...

打印以上信息,表示已经成功安装和启动成功