User Tools

Site Tools


linux:glusterfs:command

This is an old revision of the document!


Gluster Command / Perintah Dasar Gluster

Daftar Gluster Command atau perintah dasar gluster kami tulis disini secara lengkap beserta penjelasannya

1. Melihat Versi GlusterFS

glusterfsd --version

Hasil yang keluar

glusterfs 3.7.6 built on Nov  9 2015 15:19:41
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.

Volume Command

1. Melihat Total Peer

Peer artinya total server yang terhubung di glusterfs

gluster peer status

Hasilnya

Number of Peers: 1

Hostname: stor2
Uuid: f10c357e-34ef-4a48-a674-f960309f417f
State: Peer in Cluster (Connected)

Hasil diatas menandakan terdapat 1 server terhubung dengan nama stor2.

2. Membuat Volume Baru

gluster volume create nama_volume hostname:/path/.brick/ 

anda bisa menggunakan fungsi force untuk memaksakan pembuatan volume contoh seperti ini

gluster volume create nama_volume hostname:/path/.brick/ force

3. Menghapus Volume

gluster delete NAMA_VOLUME

4. Menjalankan Volume

gluster volume start nama_volume

5. Menghentikan Volume

gluster volume stop nama_volume

Merubah Nama Volume

gluster volume rename NAMA_VOLUME NAMA_BARU_VOLUME

6. Menampilkan Semua Volume

gluster volume info all

7. Menampilkan Volume tertentu

gluster volume info nama_volume

8. Menampilkan Status Volume

gluster volume status nama_volume

Layanan

Harga Domain .COM | Harga Domain .ID | Shared Hosting | Email Hosting | MySQL Hosting |
linux/glusterfs/command.1457012318.txt.gz · Last modified: 2016/03/03 08:38 by kbadmin

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki