Glustermg(Gluster Managerment Gateway) provides simple and powerful REST APIS for managing gluster storage cluster RPMS: glustermg-xxx.rpm: Management platform for rest api glustermg-backend-xxx.rpm:Scripts for get server and volume info
Any problems ,please connect me : hj3381157@sina.com
For this to work python
-
Version 2.6
-
Should be running on ns6.x or RHEl6.x or centos6.x
-
Glusterfs show be verion 3.4 or 3.5
Install the latest version of with the following command...
git clone git@github.com:hjimmy/glustermg.git
mysql> create database webpy;
mysql> GRANT ALL PRIVILEGES ON *.* TO 'gluster'@'localhost' IDENTIFIED BY 'neokylin123' WITH GRANT OPTION;
mysql> GRANT ALL PRIVILEGES ON *.* TO 'gluster'@'%' IDENTIFIED BY 'neokylin123' WITH GRANT OPTION;
mysql> flush privileges;
curl --request GET --user neoadmin:neokylin123 https://10.1.110.86:8445/glustermg/1.0.0alpha/clusters --insecure
For more info,read Gluster_Management_Gateway-1.0.0alpha-REST_API_Guide-en-US.pdf
Add public key to user
#git clone git@github.com:hjimmy/glustermg.git