glusterfs on centos 7
[root@localhost ~]# cat /etc/hosts
192.168.0.106 glusterfs
[root@gluster ~]# gluster volume info
Volume Name: dist-volume
Type: Distribute
Volume ID: 3a058a6b-09ee-4b3e-91df-e487367ad6f2
Status: Started
Snapshot Count: 0
Number of Bricks: 2
Transport-type: tcp
Bricks:
Brick1: 192.168.0.106:/distfs
Brick2: 192.168.0.108:/dist
Options Reconfigured:
transport.address-family: inet
nfs.disable: on
[root@gluster ~]# gluster volume status
Status of volume: dist-volume
Gluster process TCP Port RDMA Port Online Pid
------------------------------------------------------------------------------
Brick 192.168.0.106:/distfs 49152 0 Y 20595
Brick 192.168.0.108:/dist 49152 0 Y 7211
Task Status of Volume dist-volume
------------------------------------------------------------------------------
There are no active volume tasks
[root@gluster ~]#
192.168.0.106 glusterfs
[root@localhost yum.repos.d]# yum install centos-release-gluster -y
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: centos.mirrors.estointernet.in
* centos-sclo-rh: centos.mirrors.estointernet.in
* centos-sclo-sclo: centos.mirrors.estointernet.in
* epel: repos.del.extreme-ix.org
* extras: centos.mirrors.estointernet.in
* updates: centos.mirrors.estointernet.in
Resolving Dependencies
--> Running transaction check
---> Package centos-release-gluster6.noarch 0:1.0-1.el7.centos will be installed
--> Processing Dependency: centos-release-storage-common for package: centos-release-gluster6-1.0-1.el7.centos.noarch
--> Running transaction check
---> Package centos-release-storage-common.noarch 0:2-2.el7.centos will be installed
--> Finished Dependency Resolution
Dependencies Resolved
===============================================================================================================================
Package Arch Version Repository Size
===============================================================================================================================
Installing:
centos-release-gluster6 noarch 1.0-1.el7.centos extras 4.3 k
Installing for dependencies:
centos-release-storage-common noarch 2-2.el7.centos extras 5.1 k
Transaction Summary
===============================================================================================================================
Install 1 Package (+1 Dependent package)
Total download size: 9.4 k
Installed size: 2.0 k
Downloading packages:
(1/2): centos-release-gluster6-1.0-1.el7.centos.noarch.rpm | 4.3 kB 00:00:00
(2/2): centos-release-storage-common-2-2.el7.centos.noarch.rpm | 5.1 kB 00:00:00
-------------------------------------------------------------------------------------------------------------------------------
Total 21 kB/s | 9.4 kB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : centos-release-storage-common-2-2.el7.centos.noarch 1/2
Installing : centos-release-gluster6-1.0-1.el7.centos.noarch 2/2
Verifying : centos-release-gluster6-1.0-1.el7.centos.noarch 1/2
Verifying : centos-release-storage-common-2-2.el7.centos.noarch 2/2
Installed:
centos-release-gluster6.noarch 0:1.0-1.el7.centos
Dependency Installed:
centos-release-storage-common.noarch 0:2-2.el7.centos
Complete!
[root@localhost yum.repos.d]# yum -y install glusterfs glusterfs-fuse glusterfs-server
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: centos.mirrors.estointernet.in
* centos-gluster6: centos.mirrors.estointernet.in
* centos-sclo-rh: centos.mirrors.estointernet.in
* centos-sclo-sclo: centos.mirrors.estointernet.in
* epel: repos.del.extreme-ix.org
* extras: centos.mirrors.estointernet.in
* updates: centos.mirrors.estointernet.in
centos-gluster6 | 2.9 kB 00:00:00
centos-gluster6/7/x86_64/primary_db | 86 kB 00:00:00
Resolving Dependencies
--> Running transaction check
---> Package glusterfs.x86_64 0:6.5-1.el7 will be installed
--> Processing Dependency: glusterfs-libs = 6.5-1.el7 for package: glusterfs-6.5-1.el7.x86_64
--> Processing Dependency: libglusterfs.so.0()(64bit) for package: glusterfs-6.5-1.el7.x86_64
--> Processing Dependency: libgfxdr.so.0()(64bit) for package: glusterfs-6.5-1.el7.x86_64
--> Processing Dependency: libgfrpc.so.0()(64bit) for package: glusterfs-6.5-1.el7.x86_64
---> Package glusterfs-fuse.x86_64 0:6.5-1.el7 will be installed
--> Processing Dependency: glusterfs-client-xlators = 6.5-1.el7 for package: glusterfs-fuse-6.5-1.el7.x86_64
---> Package glusterfs-server.x86_64 0:6.5-1.el7 will be installed
--> Processing Dependency: glusterfs-cli = 6.5-1.el7 for package: glusterfs-server-6.5-1.el7.x86_64
--> Processing Dependency: glusterfs-api = 6.5-1.el7 for package: glusterfs-server-6.5-1.el7.x86_64
--> Processing Dependency: libgfapi.so.0(GFAPI_PRIVATE_6.1)(64bit) for package: glusterfs-server-6.5-1.el7.x86_64
--> Processing Dependency: libgfapi.so.0(GFAPI_PRIVATE_6.0)(64bit) for package: glusterfs-server-6.5-1.el7.x86_64
--> Processing Dependency: libgfapi.so.0(GFAPI_PRIVATE_3.7.0)(64bit) for package: glusterfs-server-6.5-1.el7.x86_64
--> Processing Dependency: libgfapi.so.0(GFAPI_PRIVATE_3.4.0)(64bit) for package: glusterfs-server-6.5-1.el7.x86_64
--> Processing Dependency: libgfapi.so.0(GFAPI_6.0)(64bit) for package: glusterfs-server-6.5-1.el7.x86_64
--> Processing Dependency: libgfapi.so.0(GFAPI_3.7.4)(64bit) for package: glusterfs-server-6.5-1.el7.x86_64
--> Processing Dependency: libgfapi.so.0(GFAPI_3.7.0)(64bit) for package: glusterfs-server-6.5-1.el7.x86_64
--> Processing Dependency: libgfapi.so.0(GFAPI_3.6.0)(64bit) for package: glusterfs-server-6.5-1.el7.x86_64
--> Processing Dependency: libgfapi.so.0(GFAPI_3.5.1)(64bit) for package: glusterfs-server-6.5-1.el7.x86_64
--> Processing Dependency: libgfapi.so.0(GFAPI_3.4.2)(64bit) for package: glusterfs-server-6.5-1.el7.x86_64
--> Processing Dependency: libgfapi.so.0(GFAPI_3.4.0)(64bit) for package: glusterfs-server-6.5-1.el7.x86_64
--> Processing Dependency: liburcu-cds.so.6()(64bit) for package: glusterfs-server-6.5-1.el7.x86_64
--> Processing Dependency: liburcu-bp.so.6()(64bit) for package: glusterfs-server-6.5-1.el7.x86_64
--> Processing Dependency: libgfapi.so.0()(64bit) for package: glusterfs-server-6.5-1.el7.x86_64
--> Running transaction check
---> Package glusterfs-api.x86_64 0:6.5-1.el7 will be installed
---> Package glusterfs-cli.x86_64 0:6.5-1.el7 will be installed
---> Package glusterfs-client-xlators.x86_64 0:6.5-1.el7 will be installed
---> Package glusterfs-libs.x86_64 0:6.5-1.el7 will be installed
---> Package userspace-rcu.x86_64 0:0.10.0-3.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
===============================================================================================================================
Package Arch Version Repository Size
===============================================================================================================================
Installing:
glusterfs x86_64 6.5-1.el7 centos-gluster6 637 k
glusterfs-fuse x86_64 6.5-1.el7 centos-gluster6 153 k
glusterfs-server x86_64 6.5-1.el7 centos-gluster6 1.3 M
Installing for dependencies:
glusterfs-api x86_64 6.5-1.el7 centos-gluster6 111 k
glusterfs-cli x86_64 6.5-1.el7 centos-gluster6 205 k
glusterfs-client-xlators x86_64 6.5-1.el7 centos-gluster6 856 k
glusterfs-libs x86_64 6.5-1.el7 centos-gluster6 420 k
userspace-rcu x86_64 0.10.0-3.el7 centos-gluster6 93 k
Transaction Summary
===============================================================================================================================
Install 3 Packages (+5 Dependent packages)
Total download size: 3.7 M
Installed size: 16 M
Downloading packages:
warning: /var/cache/yum/x86_64/7/centos-gluster6/packages/glusterfs-fuse-6.5-1.el7.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID e451e5b5: NOKEY
Public key for glusterfs-fuse-6.5-1.el7.x86_64.rpm is not installed
(1/8): glusterfs-fuse-6.5-1.el7.x86_64.rpm | 153 kB 00:00:00
(2/8): glusterfs-api-6.5-1.el7.x86_64.rpm | 111 kB 00:00:00
(3/8): glusterfs-6.5-1.el7.x86_64.rpm | 637 kB 00:00:00
(4/8): userspace-rcu-0.10.0-3.el7.x86_64.rpm | 93 kB 00:00:00
(5/8): glusterfs-libs-6.5-1.el7.x86_64.rpm | 420 kB 00:00:00
(6/8): glusterfs-server-6.5-1.el7.x86_64.rpm | 1.3 MB 00:00:00
(7/8): glusterfs-cli-6.5-1.el7.x86_64.rpm | 205 kB 00:00:03
(8/8): glusterfs-client-xlators-6.5-1.el7.x86_64.rpm | 856 kB 00:00:24
-------------------------------------------------------------------------------------------------------------------------------
Total 156 kB/s | 3.7 MB 00:00:24
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage
Importing GPG key 0xE451E5B5:
Userid : "CentOS Storage SIG (http://wiki.centos.org/SpecialInterestGroup/Storage) <security@centos.org>"
Fingerprint: 7412 9c0b 173b 071a 3775 951a d4a2 e50b e451 e5b5
Package : centos-release-storage-common-2-2.el7.centos.noarch (@extras)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : glusterfs-libs-6.5-1.el7.x86_64 1/8
Installing : glusterfs-6.5-1.el7.x86_64 2/8
Installing : glusterfs-client-xlators-6.5-1.el7.x86_64 3/8
Installing : glusterfs-fuse-6.5-1.el7.x86_64 4/8
Installing : glusterfs-api-6.5-1.el7.x86_64 5/8
Installing : glusterfs-cli-6.5-1.el7.x86_64 6/8
Installing : userspace-rcu-0.10.0-3.el7.x86_64 7/8
Installing : glusterfs-server-6.5-1.el7.x86_64 8/8
Verifying : glusterfs-cli-6.5-1.el7.x86_64 1/8
Verifying : userspace-rcu-0.10.0-3.el7.x86_64 2/8
Verifying : glusterfs-6.5-1.el7.x86_64 3/8
Verifying : glusterfs-fuse-6.5-1.el7.x86_64 4/8
Verifying : glusterfs-api-6.5-1.el7.x86_64 5/8
Verifying : glusterfs-server-6.5-1.el7.x86_64 6/8
Verifying : glusterfs-libs-6.5-1.el7.x86_64 7/8
Verifying : glusterfs-client-xlators-6.5-1.el7.x86_64 8/8
Installed:
glusterfs.x86_64 0:6.5-1.el7 glusterfs-fuse.x86_64 0:6.5-1.el7 glusterfs-server.x86_64 0:6.5-1.el7
Dependency Installed:
[root@localhost yum.repos.d]# firewall-cmd --zone=public --add-port=24009/tcp --permanent
success
[root@localhost yum.repos.d]# firewall-cmd --zone=public --add-service=nfs --add-service=samba --add-service=samba-client --permanent
success
[root@localhost yum.repos.d]# firewall-cmd --zone=public --add-port=111/tcp --add-port=139/tcp --add-port=445/tcp --add-port=965/tcp --add-port=2049/tcp --add-port=38465-38469/tcp --add-port=631/tcp --add-port=111/udp --add-port=963/udp --add-port=49152-49251/tcp --permanent
success
[root@localhost yum.repos.d]# firewall-cmd --reload
success
[root@localhost yum.repos.d]#
[root@glusterfs ~]# gluster peer probe 192.168.0.108
peer probe: success. Host 192.168.0.108 port 24007 already in peer list
[root@glusterfs ~]# gluster peer status
Number of Peers: 1
Hostname: 192.168.0.108
Uuid: b0db5226-7894-4700-b91e-0a9fbc61b0bf
State: Peer in Cluster (Connected)
[root@glusterfs ~]# gluster pool list
UUID Hostname State
b0db5226-7894-4700-b91e-0a9fbc61b0bf 192.168.0.108 Connected
7b8c3167-f240-4411-8053-e770dc9f2b5a localhost Connected
[root@glusterfs ~]#
[root@glusterfs ~]# gluster volume create dist-volume 192.168.0.106:/distfs 192.168.0.108:/dist force
volume create: dist-volume: success: please start the volume to access data
[root@glusterfs ~]# gluster volume start dist-volume
volume start: dist-volume: success
[root@glusterfs ~]# gluster volume info
Volume Name: dist-volume
Type: Distribute
Volume ID: 3a058a6b-09ee-4b3e-91df-e487367ad6f2
Status: Started
Snapshot Count: 0
Number of Bricks: 2
Transport-type: tcp
Bricks:
Brick1: 192.168.0.106:/distfs
Brick2: 192.168.0.108:/dist
Options Reconfigured:
transport.address-family: inet
nfs.disable: on
[root@glusterfs ~]# gluster volume status
Status of volume: dist-volume
Gluster process TCP Port RDMA Port Online Pid
------------------------------------------------------------------------------
Brick 192.168.0.106:/distfs 49152 0 Y 20595
Brick 192.168.0.108:/dist 49152 0 Y 7211
Task Status of Volume dist-volume
------------------------------------------------------------------------------
There are no active volume tasks
[root@glusterfs ~]#
volume create: dist-volume: success: please start the volume to access data
[root@glusterfs ~]# gluster volume start dist-volume
volume start: dist-volume: success
[root@glusterfs ~]# gluster volume info
Volume Name: dist-volume
Type: Distribute
Volume ID: 3a058a6b-09ee-4b3e-91df-e487367ad6f2
Status: Started
Snapshot Count: 0
Number of Bricks: 2
Transport-type: tcp
Bricks:
Brick1: 192.168.0.106:/distfs
Brick2: 192.168.0.108:/dist
Options Reconfigured:
transport.address-family: inet
nfs.disable: on
[root@glusterfs ~]# gluster volume status
Status of volume: dist-volume
Gluster process TCP Port RDMA Port Online Pid
------------------------------------------------------------------------------
Brick 192.168.0.106:/distfs 49152 0 Y 20595
Brick 192.168.0.108:/dist 49152 0 Y 7211
Task Status of Volume dist-volume
------------------------------------------------------------------------------
There are no active volume tasks
[root@glusterfs ~]#
[root@localhost ~]# cat /etc/hosts
192.168.0.108 gluster
[root@localhost yum.repos.d]# yum install centos-release-gluster -y
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirrors.piconets.webwerks.in
* epel: repos.del.extreme-ix.org
* extras: mirrors.piconets.webwerks.in
* updates: mirrors.piconets.webwerks.in
https://download.gluster.org/pub/gluster/glusterfs/3.7/LATEST/EPEL.repo/epel-7/x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below wiki article
https://wiki.centos.org/yum-errors
If above article doesn't help to resolve this issue please use https://bugs.centos.org/.
https://download.gluster.org/pub/gluster/glusterfs/3.7/LATEST/EPEL.repo/epel-7/noarch/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
Resolving Dependencies
--> Running transaction check
---> Package centos-release-gluster6.noarch 0:1.0-1.el7.centos will be installed
--> Processing Dependency: centos-release-storage-common for package: centos-release-gluster6-1.0-1.el7.centos.noarch
--> Running transaction check
---> Package centos-release-storage-common.noarch 0:2-2.el7.centos will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=======================================================================================
Package Arch Version Repository Size
=======================================================================================
Installing:
centos-release-gluster6 noarch 1.0-1.el7.centos extras 4.3 k
Installing for dependencies:
centos-release-storage-common noarch 2-2.el7.centos extras 5.1 k
Transaction Summary
=======================================================================================
Install 1 Package (+1 Dependent package)
Total download size: 9.4 k
Installed size: 2.0 k
Downloading packages:
(1/2): centos-release-gluster6-1.0-1.el7.centos.noarch.rpm | 4.3 kB 00:00:00
(2/2): centos-release-storage-common-2-2.el7.centos.noarch.rpm | 5.1 kB 00:00:00
---------------------------------------------------------------------------------------
Total 25 kB/s | 9.4 kB 00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : centos-release-storage-common-2-2.el7.centos.noarch 1/2
Installing : centos-release-gluster6-1.0-1.el7.centos.noarch 2/2
Verifying : centos-release-gluster6-1.0-1.el7.centos.noarch 1/2
Verifying : centos-release-storage-common-2-2.el7.centos.noarch 2/2
Installed:
centos-release-gluster6.noarch 0:1.0-1.el7.centos
Dependency Installed:
centos-release-storage-common.noarch 0:2-2.el7.centos
Complete!
[root@localhost yum.repos.d]# yum -y install glusterfs glusterfs-fuse glusterfs-server
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirrors.piconets.webwerks.in
* centos-gluster6: mirrors.piconets.webwerks.in
* epel: repos.del.extreme-ix.org
* extras: mirrors.piconets.webwerks.in
* updates: mirrors.piconets.webwerks.in
centos-gluster6 | 2.9 kB 00:00:00
https://download.gluster.org/pub/gluster/glusterfs/3.7/LATEST/EPEL.repo/epel-7/x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below wiki article
https://wiki.centos.org/yum-errors
If above article doesn't help to resolve this issue please use https://bugs.centos.org/.
https://download.gluster.org/pub/gluster/glusterfs/3.7/LATEST/EPEL.repo/epel-7/noarch/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
centos-gluster6/7/x86_64/primary_db | 86 kB 00:00:00
Resolving Dependencies
--> Running transaction check
---> Package glusterfs.x86_64 0:3.12.2-47.2.el7 will be updated
--> Processing Dependency: glusterfs(x86-64) = 3.12.2-47.2.el7 for package: glusterfs-api-3.12.2-47.2.el7.x86_64
---> Package glusterfs.x86_64 0:6.5-1.el7 will be an update
--> Processing Dependency: glusterfs-libs = 6.5-1.el7 for package: glusterfs-6.5-1.el7.x86_64
---> Package glusterfs-fuse.x86_64 0:3.12.2-47.2.el7 will be updated
---> Package glusterfs-fuse.x86_64 0:6.5-1.el7 will be an update
--> Processing Dependency: glusterfs-client-xlators = 6.5-1.el7 for package: glusterfs-fuse-6.5-1.el7.x86_64
---> Package glusterfs-server.x86_64 0:6.5-1.el7 will be installed
--> Processing Dependency: glusterfs-cli = 6.5-1.el7 for package: glusterfs-server-6.5-1.el7.x86_64
--> Processing Dependency: liburcu-cds.so.6()(64bit) for package: glusterfs-server-6.5-1.el7.x86_64
--> Processing Dependency: liburcu-bp.so.6()(64bit) for package: glusterfs-server-6.5-1.el7.x86_64
--> Running transaction check
---> Package glusterfs-api.x86_64 0:3.12.2-47.2.el7 will be updated
---> Package glusterfs-api.x86_64 0:6.5-1.el7 will be an update
---> Package glusterfs-cli.x86_64 0:3.12.2-47.2.el7 will be updated
---> Package glusterfs-cli.x86_64 0:6.5-1.el7 will be an update
---> Package glusterfs-client-xlators.x86_64 0:3.12.2-47.2.el7 will be updated
---> Package glusterfs-client-xlators.x86_64 0:6.5-1.el7 will be an update
---> Package glusterfs-libs.x86_64 0:3.12.2-47.2.el7 will be updated
---> Package glusterfs-libs.x86_64 0:6.5-1.el7 will be an update
---> Package userspace-rcu.x86_64 0:0.10.0-3.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=======================================================================================
Package Arch Version Repository Size
=======================================================================================
Installing:
glusterfs-server x86_64 6.5-1.el7 centos-gluster6 1.3 M
Updating:
glusterfs x86_64 6.5-1.el7 centos-gluster6 637 k
glusterfs-fuse x86_64 6.5-1.el7 centos-gluster6 153 k
Installing for dependencies:
userspace-rcu x86_64 0.10.0-3.el7 centos-gluster6 93 k
Updating for dependencies:
glusterfs-api x86_64 6.5-1.el7 centos-gluster6 111 k
glusterfs-cli x86_64 6.5-1.el7 centos-gluster6 205 k
glusterfs-client-xlators x86_64 6.5-1.el7 centos-gluster6 856 k
glusterfs-libs x86_64 6.5-1.el7 centos-gluster6 420 k
Transaction Summary
=======================================================================================
Install 1 Package (+1 Dependent package)
Upgrade 2 Packages (+4 Dependent packages)
Total download size: 3.7 M
Downloading packages:
No Presto metadata available for centos-gluster6
warning: /var/cache/yum/x86_64/7/centos-gluster6/packages/glusterfs-api-6.5-1.el7.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID e451e5b5: NOKEY
Public key for glusterfs-api-6.5-1.el7.x86_64.rpm is not installed
(1/8): glusterfs-api-6.5-1.el7.x86_64.rpm | 111 kB 00:00:00
(2/8): glusterfs-6.5-1.el7.x86_64.rpm | 637 kB 00:00:00
(3/8): glusterfs-cli-6.5-1.el7.x86_64.rpm | 205 kB 00:00:00
(4/8): glusterfs-fuse-6.5-1.el7.x86_64.rpm | 153 kB 00:00:00
(5/8): glusterfs-client-xlators-6.5-1.el7.x86_64.rpm | 856 kB 00:00:00
(6/8): glusterfs-libs-6.5-1.el7.x86_64.rpm | 420 kB 00:00:00
(7/8): userspace-rcu-0.10.0-3.el7.x86_64.rpm | 93 kB 00:00:00
(8/8): glusterfs-server-6.5-1.el7.x86_64.rpm | 1.3 MB 00:00:00
---------------------------------------------------------------------------------------
Total 2.4 MB/s | 3.7 MB 00:01
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage
Importing GPG key 0xE451E5B5:
Userid : "CentOS Storage SIG (http://wiki.centos.org/SpecialInterestGroup/Storage) <security@centos.org>"
Fingerprint: 7412 9c0b 173b 071a 3775 951a d4a2 e50b e451 e5b5
Package : centos-release-storage-common-2-2.el7.centos.noarch (@extras)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Updating : glusterfs-libs-6.5-1.el7.x86_64 1/14
Updating : glusterfs-6.5-1.el7.x86_64 2/14
Updating : glusterfs-client-xlators-6.5-1.el7.x86_64 3/14
Updating : glusterfs-fuse-6.5-1.el7.x86_64 4/14
Updating : glusterfs-api-6.5-1.el7.x86_64 5/14
Updating : glusterfs-cli-6.5-1.el7.x86_64 6/14
Installing : userspace-rcu-0.10.0-3.el7.x86_64 7/14
Installing : glusterfs-server-6.5-1.el7.x86_64 8/14
Cleanup : glusterfs-api-3.12.2-47.2.el7.x86_64 9/14
Cleanup : glusterfs-fuse-3.12.2-47.2.el7.x86_64 10/14
Cleanup : glusterfs-3.12.2-47.2.el7.x86_64 11/14
Cleanup : glusterfs-client-xlators-3.12.2-47.2.el7.x86_64 12/14
Cleanup : glusterfs-cli-3.12.2-47.2.el7.x86_64 13/14
Cleanup : glusterfs-libs-3.12.2-47.2.el7.x86_64 14/14
Verifying : glusterfs-cli-6.5-1.el7.x86_64 1/14
Verifying : glusterfs-6.5-1.el7.x86_64 2/14
Verifying : glusterfs-fuse-6.5-1.el7.x86_64 3/14
Verifying : glusterfs-api-6.5-1.el7.x86_64 4/14
Verifying : glusterfs-server-6.5-1.el7.x86_64 5/14
Verifying : userspace-rcu-0.10.0-3.el7.x86_64 6/14
Verifying : glusterfs-libs-6.5-1.el7.x86_64 7/14
Verifying : glusterfs-client-xlators-6.5-1.el7.x86_64 8/14
Verifying : glusterfs-api-3.12.2-47.2.el7.x86_64 9/14
Verifying : glusterfs-client-xlators-3.12.2-47.2.el7.x86_64 10/14
Verifying : glusterfs-3.12.2-47.2.el7.x86_64 11/14
Verifying : glusterfs-fuse-3.12.2-47.2.el7.x86_64 12/14
Verifying : glusterfs-cli-3.12.2-47.2.el7.x86_64 13/14
Verifying : glusterfs-libs-3.12.2-47.2.el7.x86_64 14/14
Installed:
glusterfs-server.x86_64 0:6.5-1.el7
Dependency Installed:
userspace-rcu.x86_64 0:0.10.0-3.el7
Updated:
glusterfs.x86_64 0:6.5-1.el7 glusterfs-fuse.x86_64 0:6.5-1.el7
Dependency Updated:
glusterfs-api.x86_64 0:6.5-1.el7 glusterfs-cli.x86_64 0:6.5-1.el7
glusterfs-client-xlators.x86_64 0:6.5-1.el7 glusterfs-libs.x86_64 0:6.5-1.el7
Complete!
[root@localhost yum.repos.d]#
[root@localhost yum.repos.d]# firewall-cmd --zone=public --add-port=24009/tcp --permanent
success
[root@localhost yum.repos.d]# firewall-cmd --zone=public --add-service=nfs --add-service=samba --add-service=samba-client --permanent
success
[root@localhost yum.repos.d]# firewall-cmd --zone=public --add-port=111/tcp --add-port=139/tcp --add-port=445/tcp --add-port=965/tcp --add-port=2049/tcp --add-port=38465-38469/tcp --add-port=631/tcp --add-port=111/udp --add-port=963/udp --add-port=49152-49251/tcp --permanent
success
[root@localhost yum.repos.d]# firewall-cmd --reload
success
[root@localhost yum.repos.d]#
[root@gluster ~]# gluster peer probe 192.168.0.106
peer probe: success.
[root@gluster ~]# gluster peer status
Number of Peers: 1
Hostname: 192.168.0.106
Uuid: 7b8c3167-f240-4411-8053-e770dc9f2b5a
State: Peer in Cluster (Connected)
[root@gluster ~]# gluster pool list
UUID Hostname State
7b8c3167-f240-4411-8053-e770dc9f2b5a 192.168.0.106 Connected
b0db5226-7894-4700-b91e-0a9fbc61b0bf localhost Connected
[root@gluster ~]#
[root@gluster ~]# gluster volume info
Volume Name: dist-volume
Type: Distribute
Volume ID: 3a058a6b-09ee-4b3e-91df-e487367ad6f2
Status: Started
Snapshot Count: 0
Number of Bricks: 2
Transport-type: tcp
Bricks:
Brick1: 192.168.0.106:/distfs
Brick2: 192.168.0.108:/dist
Options Reconfigured:
transport.address-family: inet
nfs.disable: on
[root@gluster ~]# gluster volume status
Status of volume: dist-volume
Gluster process TCP Port RDMA Port Online Pid
------------------------------------------------------------------------------
Brick 192.168.0.106:/distfs 49152 0 Y 20595
Brick 192.168.0.108:/dist 49152 0 Y 7211
Task Status of Volume dist-volume
------------------------------------------------------------------------------
There are no active volume tasks
[root@gluster ~]#
Comments
Post a Comment