How to deploy GlusterFS on XCP-NG Cluster
1.8 هزار بار بازدید -
3 سال پیش
-
In this video, I configure
In this video, I configure shared storage on the Xcp-ng cluster with Glusterfs. All my servers have similar hardware so deploying shared storage with glusterfs was an easy choice. This makes building highly available systems easy with xcp-ng and later expanding storage.
More info about Glusterfs:
https://docs.gluster.org/en/latest/Qu...
Commands for setting up Glusterfs on XCP-ng server pool:
yum install glusterfs-server -y
systemctl start glusterd
systemctl enable glusterd
iptables -I INPUT -p all -s server-ip-address -j ACCEPT
iptables-save angled bracktets /etc/sysconfig/iptables
gluster peer probe server2
gluster peer probe server3
fdisk /dev/sdb
yum install xfsprogs -y
mkfs.xfs /dev/sdb1 -f
mkdir -p /glusterfs/ssd
blkid /dev/sdb1
UUID=uuid /glusterfs xfs defaults 0 1
gluster volume create ssd replica 3 server1:/glusterfs/ssd/disk server2:/glusterfs/ssd/disk server3:/glusterfs/ssd/disk
gluster volume start ssd
xe sr-create content-type=user type=GlusterFS name-label=”NAME OF REPOSITORY” shared=true device-config:server=FIRST_GLUSTERFS_NODE:/GLUSTERFS_VOLUME_FOR_XCP device-config:backupservers=SECOND_GLUSTERFS_NODE:THIRD_GLUSTERFS_NODE (extra device-config:fetchattempts=2)
Support channel: https://www.seevid.ir/c/HeikkiKoivi...
#xcpng #storage #glusterfs
More info about Glusterfs:
https://docs.gluster.org/en/latest/Qu...
Commands for setting up Glusterfs on XCP-ng server pool:
yum install glusterfs-server -y
systemctl start glusterd
systemctl enable glusterd
iptables -I INPUT -p all -s server-ip-address -j ACCEPT
iptables-save angled bracktets /etc/sysconfig/iptables
gluster peer probe server2
gluster peer probe server3
fdisk /dev/sdb
yum install xfsprogs -y
mkfs.xfs /dev/sdb1 -f
mkdir -p /glusterfs/ssd
blkid /dev/sdb1
UUID=uuid /glusterfs xfs defaults 0 1
gluster volume create ssd replica 3 server1:/glusterfs/ssd/disk server2:/glusterfs/ssd/disk server3:/glusterfs/ssd/disk
gluster volume start ssd
xe sr-create content-type=user type=GlusterFS name-label=”NAME OF REPOSITORY” shared=true device-config:server=FIRST_GLUSTERFS_NODE:/GLUSTERFS_VOLUME_FOR_XCP device-config:backupservers=SECOND_GLUSTERFS_NODE:THIRD_GLUSTERFS_NODE (extra device-config:fetchattempts=2)
Support channel: https://www.seevid.ir/c/HeikkiKoivi...
#xcpng #storage #glusterfs
3 سال پیش
در تاریخ 1400/07/11 منتشر شده
است.
1,864
بـار بازدید شده