gluster volume info --xml
Interfaces for Gluster Management
Feb 9, 2016
1 minute read.
gluster
glusterfsblog
Gluster provides CLIs to manage the Cluster, which can be
programmatly consumed by passing --xml
option. For example,
But Gluster CLIs are not enough for managing from remote place or to integrate with third party Management/Monitoring applications like Cockpit, Skyring, Nagios etc. We need more interfaces to enable integration with these tools.
Language bindings for Gluster CLI commands
Ansible APIs for Gluster
Storaged Gluster APIs
REST APIs for Gluster
Common API format to integrate with Web applications. Any web application can easily communicate with Gluster using HTTP calls.
For example, Web application can send HTTP POST request to Start the Volume
curl -X POST \
-H "content-type: application/json" \
-H "Date: Tue, 09 Feb 2016 12:38:10 +0000" \
-H "Authorization: HMAC_SHA256 MyApp:g0b1IOmdRMOlPs2f5D4UJPgng9tNUuY0k+c+ee/k2Hk=" \
http://hostname/v1/volumes/gv1/start
Status: In progress. Watch this space for more update about this feature :)
Are you using any interface for managing Gluster? Please share your experiences.
About Aravinda Vishwanathapura
Co-Founder & CTO at Kadalu Technologies, Creator of Sanka, Creator of Chitra, GlusterFS core team member, Maintainer of Kadalu Storage