GlusterFS服务总结一下就是启动守护进程一个、卷组进程两个,挂载进程一个;端口分别是守护进程端口24007,卷组进程端口49152,后续端口+1.
/usr/sbin/glusterd -p /var/run/glusterd.pid --log-level INFO
端口:24007,111
/usr/sbin/glusterfsd -s glusterfs-nodes-01 --volfile-id zzy.glusterfs-nodes-01.glusterfs-zzy -p /var/run/gluster/vols/zzy/glusterfs-nodes-01-glusterfs-zzy.pid -S /var/run/gluster/31c02248ffc86608.socket --brick-name /glusterfs/zzy -l /var/log/glusterfs/bricks/glusterfs-zzy.log --xlator-option *-posix.glusterd-uuid=f2295e80-8b9a-4cc1-bdc2-1ae5c89fdafc --process-name brick --brick-port 49152 --xlator-option zzy-server.listen-port=49152
端口:49152
/usr/sbin/glusterfs -s localhost --volfile-id shd/zzy -p /var/run/gluster/shd/zzy/zzy-shd.pid -l /var/log/glusterfs/glustershd.log -S /var/run/gluster/78e6d8ba530b2cec.socket --xlator-option *replicate*.node-uuid=f2295e80-8b9a-4cc1-bdc2-1ae5c89fdafc --process-name glustershd --client-pid=-6
这是一个监控进程!
/usr/sbin/glusterfsd -s glusterfs-nodes-01 --volfile-id uusafe.glusterfs-nodes-01.glusterfs-uusafe -p /var/run/gluster/vols/uusafe/glusterfs-nodes-01-glusterfs-uusafe.pid -S /var/run/gluster/04672df42c2d0842.socket --brick-name /glusterfs/uusafe -l /var/log/glusterfs/bricks/glusterfs-uusafe.log --xlator-option *-posix.glusterd-uuid=f2295e80-8b9a-4cc1-bdc2-1ae5c89fdafc --process-name brick --brick-port 49153 --xlator-option uusafe-server.listen-port=49153
端口:49153
/usr/sbin/glusterfs --process-name fuse --volfile-server=glusterfs-nodes-01 --volfile-id=zzy /zzy /usr/sbin/glusterfs --process-name fuse --volfile-server=glusterfs-nodes-01 --volfile-id=uusafe /uusafe
gluster volume status all Status of volume: uusafe Gluster process TCP Port RDMA Port Online Pid ------------------------------------------------------------------------------ Brick glusterfs-nodes-01:/glusterfs/uusafe 49153 0 Y 3738 Brick glusterfs-nodes-02:/glusterfs/uusafe 49153 0 Y 3495 Self-heal Daemon on localhost N/A N/A Y 3706 Self-heal Daemon on glusterfs-nodes-02 N/A N/A Y 3469 Task Status of Volume uusafe ------------------------------------------------------------------------------ There are no active volume tasks Status of volume: zzy Gluster process TCP Port RDMA Port Online Pid ------------------------------------------------------------------------------ Brick glusterfs-nodes-01:/glusterfs/zzy 49152 0 Y 3685 Brick glusterfs-nodes-02:/glusterfs/zzy 49152 0 Y 3448 Self-heal Daemon on localhost N/A N/A Y 3706 Self-heal Daemon on glusterfs-nodes-02 N/A N/A Y 3469 Task Status of Volume zzy ------------------------------------------------------------------------------ There are no active volume tasks
gluster volume info Volume Name: uusafe Type: Replicate Volume ID: 77b5eb26-1be9-4edd-ace2-8505f8b6051d Status: Started Snapshot Count: 0 Number of Bricks: 1 x 2 = 2 Transport-type: tcp Bricks: Brick1: glusterfs-nodes-01:/glusterfs/uusafe Brick2: glusterfs-nodes-02:/glusterfs/uusafe Options Reconfigured: performance.client-io-threads: off nfs.disable: on storage.fips-mode-rchecksum: on transport.address-family: inet Volume Name: zzy Type: Replicate Volume ID: 1c85cc79-9aec-4267-90be-bd6b12900d4c Status: Started Snapshot Count: 0 Number of Bricks: 1 x 2 = 2 Transport-type: tcp Bricks: Brick1: glusterfs-nodes-01:/glusterfs/zzy Brick2: glusterfs-nodes-02:/glusterfs/zzy Options Reconfigured: performance.client-io-threads: off nfs.disable: on storage.fips-mode-rchecksum: on transport.address-family: inet