Mostra la pàginaRevisions anteriorsQuè hi enllaçaExporta a PDFTorna dalt Aquesta pàgina és només de lectura. Podeu veure'n el codi font, però no podeu canviar-la. Consulteu el vostre administrador si penseu que això és degut a algun error. = glusterfs * [[linux:filesystem:glusterfs:vagrantpoc]] == links * [[https://docs.gluster.org/en/latest/Quick-Start-Guide/Quickstart/]] * [[https://kifarunix.com/install-and-setup-glusterfs-on-ubuntu-18-04/]] * [[https://www.cyberciti.biz/faq/howto-add-new-brick-to-existing-glusterfs-replicated-volume/]] * [[https://www.osradar.com/install-and-configure-glusterfs-debian-10/]] * [[https://www.server-world.info/en/note?os=Debian_10&p=glusterfs&f=1]] * [[https://www.server-world.info/en/note?os=Debian_10&p=glusterfs&f=4]] * [[https://docs.gluster.org/en/latest/CLI-Reference/cli-main/]] * [[https://docs.gluster.org/en/latest/Install-Guide/Install/]] == logs * [[https://docs.gluster.org/en/latest/Administrator%20Guide/Logging/]] * [[https://rajeshjoseph.gitbooks.io/test-guide/content/cluster/chap-Managing_Gluster_Logs.html]] * logrotation config: [[https://www.jamescoyle.net/how-to/807-advanced-glusterfs-log-rotation]] * ''/etc/logrotate.d/glusterfs-common'' * force logrotation: [[https://www.jamescoyle.net/how-to/679-simple-glusterfs-log-rotation]] * <code bash>gluster volume info all | grep "Volume Name"</code> * gluster volume log rotate VOL_NAME [BRICK]:<code>sudo gluster volume log rotate gv0 processing1:/exports/sdb1/brick1</code> * ''/var/log/glusterfs/bricks/exports-sdb1-brick1.log'' == commands * <code bash>/etc/init.d/glusterfs-server status</code> * config files:**/var/lib/glusterd** === generals <code bash>sudo gluster help</code> <code bash> glusterfs --version glusterfs 3.4.2 built on Jan 14 2014 18:05:35 Repository revision: git://git.gluster.com/glusterfs.git Copyright (c) 2006-2013 Red Hat, Inc. <http://www.redhat.com/> GlusterFS comes with ABSOLUTELY NO WARRANTY. It is licensed to you under your choice of the GNU Lesser General Public License, version 3 or any later version (LGPLv3 or later), or the GNU General Public License, version 2 (GPLv2), in all cases as published by the Free Software Foundation.</code> === volums <code bash> sudo gluster volume info Volume Name: gv0 Type: Replicate Volume ID: 39159af2-8a53-44f0-9379-43b86370302a Status: Started Number of Bricks: 1 x 2 = 2 Transport-type: tcp Bricks: Brick1: processing1:/exports/sdb1/brick1 Brick2: processing2:/exports/sda1/brick1 </code> <code bash> sudo gluster vol status Status of volume: gv0 Gluster process Port Online Pid ------------------------------------------------------------------------------ Brick processing1:/exports/sdb1/brick1 49152 Y 2130 Brick processing2:/exports/sda1/brick1 49152 Y 1822 NFS Server on localhost 2049 Y 2119 Self-heal Daemon on localhost N/A Y 2125 NFS Server on processing2 2049 Y 1829 Self-heal Daemon on processing2 N/A Y 1821 There are no active volume tasks </code> <code bash>gluster volume start gv0</code> <code bash>gluster volume list</code> === logs * <code bash>gluster volume log locate <VOLNAME></code> <- no funciona encara que apareix a la documentació * <code bash>gluster volume log rotate <VOLNAME> <BRICK></code> === peers * o TSP = Trusted Server Pool:<code bash>gluster pool list</code> * afegir un nou node (ja configurat):<code bash>gluster peer probe <HOSTNAME></code> * treure node:<code bash>gluster peer detach <HOSTNAME></code> * status dels nodes:<code bash>gluster peer status</code> linux/filesystem/glusterfs.txt Darrera modificació: 06/12/2020 03:39per mate