linux:glusterfs:command
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux:glusterfs:command [2016/03/03 08:40] – [1 Melihat Versi GlusterFS] kbadmin | linux:glusterfs:command [2018/02/21 04:29] (current) – [1 Membuka Akses Untuk IP Address Tertentu] kbadmin | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Gluster Command / Perintah Dasar Gluster | + | ======= Gluster Command / Perintah Dasar ======= |
Daftar Gluster Command atau perintah dasar gluster kami tulis disini secara lengkap beserta penjelasannya | Daftar Gluster Command atau perintah dasar gluster kami tulis disini secara lengkap beserta penjelasannya | ||
Line 17: | Line 17: | ||
in all cases as published by the Free Software Foundation. | in all cases as published by the Free Software Foundation. | ||
</ | </ | ||
+ | ====== - Probe Commands ====== | ||
+ | ===== - Mengecek Koneksi Server ===== | ||
+ | < | ||
+ | gluster peer probe HOSTNAME | ||
+ | </ | ||
+ | ===== - Memutus Koneksi Server ===== | ||
+ | < | ||
+ | peer detach HOSTNAME | ||
+ | </ | ||
+ | |||
===== - Melihat Total Peer ===== | ===== - Melihat Total Peer ===== | ||
Peer artinya total server yang terhubung di glusterfs | Peer artinya total server yang terhubung di glusterfs | ||
Line 31: | Line 41: | ||
</ | </ | ||
Hasil diatas menandakan terdapat 1 server terhubung dengan nama stor2. | Hasil diatas menandakan terdapat 1 server terhubung dengan nama stor2. | ||
+ | |||
+ | ===== - Mengecek Status Koneksi per Server ===== | ||
+ | < | ||
+ | gluster --remote-host=HOSTNAME peer status | ||
+ | </ | ||
====== - Volume Command ====== | ====== - Volume Command ====== | ||
- | |||
===== - Membuat Volume Baru ===== | ===== - Membuat Volume Baru ===== | ||
Line 55: | Line 69: | ||
< | < | ||
gluster volume stop nama_volume | gluster volume stop nama_volume | ||
- | </ | ||
- | ====== - Brick Command ====== | ||
- | ===== - Menambah Brick ===== | ||
- | < | ||
- | volume add-brick VOLNAME NEW-BRICK | ||
</ | </ | ||
- | ===== Merubah Nama Volume ===== | + | ===== - Merubah Nama Volume ===== |
< | < | ||
gluster volume rename NAMA_VOLUME NAMA_BARU_VOLUME | gluster volume rename NAMA_VOLUME NAMA_BARU_VOLUME | ||
Line 81: | Line 90: | ||
< | < | ||
gluster volume status nama_volume | gluster volume status nama_volume | ||
+ | </ | ||
+ | ===== - Menampilkan Status Klien Terkoneksi Volume ===== | ||
+ | < | ||
+ | gluster volume status VOLUME_NAME clients | ||
</ | </ | ||
+ | ====== - Brick Command ====== | ||
+ | ===== - Menambah Brick ===== | ||
+ | < | ||
+ | volume add-brick VOLNAME NEW-BRICK | ||
+ | </ | ||
+ | |||
+ | ===== - Mengganti Brick ===== | ||
+ | < | ||
+ | gluster volume replace-brick VOLNAME (BRICK NEW-BRICK) start | pause | abort | status | ||
+ | </ | ||
+ | ===== - Menghapus Brick Pada Volume Tertentu ===== | ||
+ | < | ||
+ | gluster volume remove-brick VOLNAME [(replica COUNT)|(stripe COUNT)] BRICK | ||
+ | </ | ||
+ | ====== - Rebalance Commands ====== | ||
+ | ===== - Menjalankan Rebalance / Sinkronisasi Volume ===== | ||
+ | < | ||
+ | gluster volume rebalance VOLNAME start | ||
+ | </ | ||
+ | ===== - Menghentikan Proses Rebalance / Sinkronisasi ===== | ||
+ | < | ||
+ | gluster volume rebalance VOLNAME stop | ||
+ | </ | ||
+ | ===== - Melihat Status Rebalance ===== | ||
+ | < | ||
+ | gluster volume rebalance VOLNAME status | ||
+ | </ | ||
+ | |||
+ | ====== - Log Command ====== | ||
+ | ===== - Membuat Log Baru ===== | ||
+ | < | ||
+ | gluster volume log filename VOLNAME [BRICK] DIRECTORY | ||
+ | </ | ||
+ | ===== - Melihat Lokasi log ===== | ||
+ | < | ||
+ | volume log locate VOLNAME [BRICK] | ||
+ | </ | ||
+ | ===== - Log Rotate ===== | ||
+ | < | ||
+ | volume log rotate VOLNAME [BRICK] | ||
+ | </ | ||
+ | ====== - Mount ====== | ||
+ | ===== - Mounting Gluster Volume ===== | ||
+ | < | ||
+ | mount -t glusterfs HOSTNAME:/ | ||
+ | </ | ||
+ | |||
+ | ====== - Security ====== | ||
+ | ===== - Membuka Akses Untuk IP Address Tertentu ===== | ||
+ | Untuk membuka akses pada ip address tertentu harus tidak ada client yang terhubung dengan volume terkait | ||
+ | < | ||
+ | gluster volume set NAMA_VOLUME auth.allow IP_ADDRESS | ||
+ | </ | ||
+ | untuk melihat informasi auth.allow anda bisa menggunakan gluster volume info | ||
+ | <nspages -h1 -textPages=" | ||
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