Giter Club home page Giter Club logo

glusterfs-config's Introduction

glusterfs-config

Step by step to setup

fsidk -l /dev/sdb pvcreate /dev/sdb1 vgcreate vg_proxmox /dev/sdb1 lvcreate --name lv_proxmox -l 100%vg vg_proxmox mkfs -t xfs -f -i size=512 -n size=8192 -L PROXMOX /dev/vg_proxmox/lv_proxmox mkdir -p /data/proxmox nano /etc/fstab

/dev/mapper/vg_proxmox-lv_proxmox /data/proxmox xfs defaults 0 0

mount -a mount | grep proxmox

apt-get install glusterfs-server glusterfs-client reboot now systemctl start glusterd

gluster peer probe 10.X.X.X (NODE IP)

gluster volume create gfs-volume-proxmox transport tcp replica 2 10.X.X.X:/data/proxmox 10.X.X.X:/data/proxmox force

gluster volume start gfs-volume-proxmox

gluster volume info

To add more Gluster bricks

gluster volume add-brick gfs-volume-proxmox replica 3 10.X.X.X:/data/proxmox force

Add Gluster storage to Proxmox

In Proxmox web interface select "Datacenter" > "Storage" > "Add" > "GlusterFS"

Enter an ID and two of the three server IP addresses (i.e from above)

Enter the volume name from above (i.e. "gfs-volume-proxmox")

To configure Debian-based systems to automatically start the glusterd service every time the system boots, enter the following from the command line:

systemctl enable glusterd

glusterfs-config's People

Contributors

rafaelb13 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.