Proxmox ve with Glusterfs step by step note

Discussion in 'VMware, VirtualBox, Citrix' started by thx0701tw, Mar 2, 2018.

  1. thx0701tw

    thx0701tw Member

    Joined:
    Dec 2, 2016
    Messages:
    31
    Likes Received:
    10
    Add sources list
    "nano /etc/apt/sources.list
    deb [arch=amd64] Index of /pub/gluster/glusterfs/LATEST/Debian/stretch/amd64/apt stretch main"

    Increase the key
    "wget -O - https://download.gluster.org/pub/gluster/glusterfs/3.13/rsa.pub | apt-key add -"

    Set zpool Type:
    "zfs set acltype=posixacl RAID/DATA"

    Setup nano / etc / hosts increase gluster fs ip:
    "10.0.1.50 pve-gf 10.0.1.51 pve2-gf"

    Installation Kit:
    "apt install glusterfs-server"

    Binding machine:
    "gluster peer probe 10.0.1.50 gluster peer probe 10.0.1.51"

    Gluster status command
    "gluster peer status"

    Status show
    "Number of Peers: 2 Hostname: pve Uuid: afffc8___________7345f9d5 State: Peer in Cluster (Connected) Hostname: pve2 Uuid: a62____________e9f9f1d State: Peer in Cluster (Connected)"

    Create a directory copy mode:
    "gluster volume create DATA transport tcp replica 2 r730-gf:/RAID/DATA r230-gf:/RAID/DATA force"

    Enabled Glusterfs
    "gluster volume start DATA"


    Set storage pool:

    ”gluster volume set DATA performance.cache-size 256MB gluster volume set DATA network.ping-timeout 5 gluster volume set DATA cluster.server-quorum-type server gluster volume set DATA cluster.quorum-type fixed gluster volume set DATA cluster.quorum-count 2 gluster volume set DATA cluster.eager-lock on gluster volume set DATA network.remote-dio enable gluster volume set DATA cluster.eager-lock enable gluster volume set DATA performance.stat-prefetch off gluster volume set DATA performance.io-cache off gluster volume set DATA performance.read-ahead off gluster volume set DATA performance.quick-read off gluster volume set DATA performance.readdir-ahead on "

    After the completion of the Web GUI to save the new GlusterFS can be used

    Add a new storage pool, you need to manually hit the name of the storage pool and the server / server order will not mount:

    In R730 ( node 1 ) above, enter on the map. And to R230 (note 2 )above, the order of two to exchange play.

    [​IMG]
     
    #1
    Patrick and niekbergboer like this.
  2. Caleb

    Caleb Member

    Joined:
    Nov 16, 2015
    Messages:
    39
    Likes Received:
    8
    I was between cephfs and glusterfs... however the more I research glusterfs for bulk storage, the more I like it. I am considering setting up glusterfs on my Proxmox cluster and using an arbiter. Do you have any experience with arbiters in glusterfs? How stable has your build been?
     
    #2
Similar Threads: Proxmox Glusterfs
Forum Title Date
VMware, VirtualBox, Citrix Anyone Running Proxmox 5.0 on Supermicro X9DRI-LN4F? Oct 27, 2017
VMware, VirtualBox, Citrix Simple Question about Proxmox KVM and CPU Cores allocation Oct 4, 2017
VMware, VirtualBox, Citrix Solaris guest proxmox issues with kvm Sep 2, 2017
VMware, VirtualBox, Citrix SR-IOV issues with Proxmox 4.4 Jan 1, 2017
VMware, VirtualBox, Citrix Proxmox VM as Steam in-home stream server Dec 16, 2016

Share This Page