[Gluster-devel] [Gluster-users] Need suggestion to change out put of volume status command

Gmail einstcrazy at gmail.com
Thu Nov 27 03:41:32 UTC 2014


I vote 3
在 2014年11月27日,上午9:23,Franco Broi <franco.broi at iongeo.com> 写道:

> 
> Not adding an extra column is least likely to break any scripts that
> currently parse the status output by splitting on spaces.
> 
> On Wed, 2014-11-26 at 20:27 +0530, Atin Mukherjee wrote: 
>> I would vote for 2nd one.
>> 
>> ~Atin
>> 
>> On 11/26/2014 06:49 PM, Mohammed Rafi K C wrote:
>>> 
>>> 
>>> Hi All,
>>> 
>>> We are planning to change the volume status command to show RDMA port for
>>> tcp,rdma volumes. We have four output designs in mind , those are,
>>> 
>>> 1)Modify Port column as TCP,RDMA Ports
>>> Eg:
>>> 
>>> Status of volume: xcube
>>> Gluster process                            TCP,RDMA Port    Online    Pid
>>> --------------------------------------------------------------------------------
>>> Brick 192.168.44.108:/home/brick           49157,49158       Y        6030
>>> NFS Server on localhost                    2049              Y        6532
>>> Self-heal Daemon on localhost              N/A               N        6234
>>> 
>>> 2)Change entry in port as TCP-XXXXX,RDMA-XXXXX
>>> 
>>> Eg:
>>> 
>>> 
>>> Status of volume: xcube
>>> Gluster process                            Port                  Online    Pid
>>> ---------------------------------------------------------------------------------
>>> Brick 192.168.44.108:/home/brick           TCP-49157,RDMA-49158  Y         6030
>>> NFS Server on localhost                    TCP-2049              Y         6532
>>> Self-heal Daemon on localhost              N/A                   N         6234
>>> 
>>> 3)Instead of column port add two other port as TCP Port and RDMA Port
>>> 
>>> Eg:
>>> 
>>> 
>>> Status of volume: xcube
>>> Gluster process                          TCP Port  RDMA Port   Online    Pid
>>> -------------------------------------------------------------------------------
>>> Brick 192.168.44.108:/home/brick         49157     49158          Y      6030
>>> NFS Server on localhost                  2049                     Y      6532
>>> Self-heal Daemon on localhost            N/A                      N      6234
>>> 
>>> 4) Make an extra row appending ".rdma" with brick name for rdma port
>>> 
>>> Eg:
>>> 
>>> 
>>> Status of volume: xcube
>>> Gluster process                                 Port     Online   Pid
>>> ------------------------------------------------------------------------
>>> Brick 192.168.44.108:/home/brick                49157    Y        6030
>>> Brick 192.168.44.108:/home/brick.rdma           49157    Y        6030
>>> NFS Server on localhost                         2049     Y        6532
>>> Self-heal Daemon on localhost                   N/A      N       6234
>>> 
>>> Please give your comments regarding this designs, or if you have better
>>> idea in mind , feel free to share it.
>>> 
>>> Best Regards
>>> Rafi KC
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> Gluster-devel mailing list
>>> Gluster-devel at gluster.org
>>> http://supercolony.gluster.org/mailman/listinfo/gluster-devel
>>> 
>> _______________________________________________
>> Gluster-users mailing list
>> Gluster-users at gluster.org
>> http://supercolony.gluster.org/mailman/listinfo/gluster-users
> 
> 



More information about the Gluster-devel mailing list