linux:glusterfs:command
This is an old revision of the document!
Table of Contents
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.
2. 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.
Volume Command
1. 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
2. Menghapus Volume
gluster delete NAMA_VOLUME
3. Menjalankan Volume
gluster volume start nama_volume
4. Menghentikan Volume
gluster volume stop nama_volume
Brick Command
1. Menambah Brick
volume add-brick VOLNAME NEW-BRICK
Merubah Nama Volume
gluster volume rename NAMA_VOLUME NAMA_BARU_VOLUME
2. Menampilkan Semua Volume
gluster volume info all
3. Menampilkan Volume tertentu
gluster volume info nama_volume
4. Menampilkan Status Volume
gluster volume status nama_volume
Layanan
Harga Domain .COM | Harga Domain .ID | Shared Hosting | Email Hosting | MySQL Hosting |linux/glusterfs/command.1457012427.txt.gz · Last modified: 2016/03/03 08:40 by kbadmin