User Tools

Site Tools


linux:glusterfs:command

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:glusterfs:command [2016/03/03 08:40] – [1 Melihat Versi GlusterFS] kbadminlinux: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.
 </code> </code>
 +====== - Probe Commands ======
 +===== - Mengecek Koneksi Server =====
 +<code>
 +gluster peer probe HOSTNAME
 +</code>
 +===== - Memutus Koneksi Server =====
 +<code>
 +peer detach HOSTNAME
 +</code>
 +
 ===== - 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:
 </code> </code>
 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 =====
 +<code>
 +gluster --remote-host=HOSTNAME peer status
 +</code>
  
 ====== - Volume Command ====== ====== - Volume Command ======
- 
  
 ===== - Membuat Volume Baru ===== ===== - Membuat Volume Baru =====
Line 55: Line 69:
 <code> <code>
 gluster volume stop nama_volume gluster volume stop nama_volume
-</code> 
-====== - Brick Command ====== 
-===== - Menambah Brick ===== 
-<code> 
-volume add-brick VOLNAME NEW-BRICK  
 </code> </code>
  
-===== Merubah Nama Volume =====+===== Merubah Nama Volume =====
 <code> <code>
 gluster volume rename NAMA_VOLUME NAMA_BARU_VOLUME gluster volume rename NAMA_VOLUME NAMA_BARU_VOLUME
Line 81: Line 90:
 <code> <code>
 gluster volume status nama_volume gluster volume status nama_volume
 +</code>
 +===== - Menampilkan Status Klien Terkoneksi Volume =====
 +<code>
 +gluster volume status VOLUME_NAME clients
 </code> </code>
  
 +====== - Brick Command ======
 +===== - Menambah Brick =====
 +<code>
 +volume add-brick VOLNAME NEW-BRICK 
 +</code>
 +
 +===== - Mengganti Brick =====
 +<code>
 +gluster volume replace-brick VOLNAME (BRICK NEW-BRICK) start | pause | abort | status
 +</code>
 +===== - Menghapus Brick Pada Volume Tertentu =====
 +<code>
 +gluster volume remove-brick VOLNAME [(replica COUNT)|(stripe COUNT)] BRICK 
 +</code>
 +====== - Rebalance Commands ======
 +===== - Menjalankan Rebalance / Sinkronisasi Volume =====
 +<code>
 +gluster volume rebalance VOLNAME start
 +</code>
 +===== - Menghentikan Proses Rebalance / Sinkronisasi =====
 +<code>
 +gluster volume rebalance VOLNAME stop
 +</code>
 +===== - Melihat Status Rebalance =====
 +<code>
 +gluster volume rebalance VOLNAME status
 +</code>
 +
 +====== - Log Command ======
 +===== - Membuat Log Baru =====
 +<code>
 +gluster volume log filename VOLNAME [BRICK] DIRECTORY
 +</code>
 +===== - Melihat Lokasi log =====
 +<code>
 +volume log locate VOLNAME [BRICK]
 +</code>
 +===== - Log Rotate =====
 +<code>
 +volume log rotate VOLNAME [BRICK]
 +</code>
 +====== - Mount ======
 +===== - Mounting Gluster Volume =====
 +<code>
 +mount -t glusterfs HOSTNAME:/VOLUME_NAME /mount/path
 +</code>
 +
 +====== - Security ======
 +===== - Membuka Akses Untuk IP Address Tertentu =====
 +Untuk membuka akses pada ip address tertentu harus tidak ada client yang terhubung dengan volume terkait
 +<code>
 +gluster volume set NAMA_VOLUME auth.allow IP_ADDRESS
 +</code>
 +untuk melihat informasi auth.allow anda bisa menggunakan gluster volume info
  
 +<nspages -h1 -textPages="Related" -exclude:sidebar -exclude>
  
  
  

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

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