Skip to content

kadalu/glusterd_plus_ruby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Glusterd Plus - Ruby SDK

Install

Install Glusterd Plus SDK by running the following command.

gem install glusterd_plus

Start Glusterd Plus Service

Start the Glusterd Plus service(If not started) in at least one node of the Cluster.

systemctl start glusterp

Usage

Peers management

require "glusterd_plus"

conn = GlusterdPlus::Connection.new("http://localhost:3000")

conn.add_peer("server2.gluster")
puts conn.list_peers

conn.peer("server2.gluster").remove

Releases

No releases published

Packages

No packages published

Languages