Re: [Gluster-users] FeedBack Requested : Changes to CLI output of 'peer status'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Tue, Aug 28, 2012 at 4:06 AM, Amar Tumballi <amarts@xxxxxxxxxx> wrote:
Hi,

Wanted to check if any one is using gluster CLI output of 'peer status' in their scripts/programs? If yes, let me know. If not, we are trying to make it more script friendly.

For example the current output would look something like:

-----
Hostname: 10.70.36.7
Uuid: c7283ee7-0e8d-4cb8-8552-a63ab05deaa7
State: Peer in Cluster (Connected)

Hostname: 10.70.36.6
Uuid: 5a2fdeb3-e63e-4e56-aebe-8b68a5abfcef
State: Peer in Cluster (Connected)

-----

New changes would make it look like :

-------
UUID                                      Hostname       Status
c7283ee7-0e8d-4cb8-8552-a63ab05deaa7      10.70.36.7     Connected
5a2fdeb3-e63e-4e56-aebe-8b68a5abfcef      10.70.36.6     Connected

-------

If anyone has better format, or want more information, let us know now. I would keep timeout for this mail as 3 more working days, and without any response, we will go ahead with the change.


I suggest we retain the current output of 'gluster peer status' as-is and implement the above proposed format in the output of 'gluster --mode=script peer status' (perhaps make it even more script friendly?). Since --mode=script is already a support cli switch it would be ideal to include this change under that itself. Handling of --xml would be independent issue.

If there are suggestions to the desired output format of 'gluster --mode=script peer status' from the users, it would be good to bring it up now.

Avati

[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux