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

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

 



On 26/11/14 18:49, 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

If it is tcp only volume or rdma only volume, it will show "49157,0" for the first one and "TCP-49157 , RDMA-0" for the second or vice-versa , which is not an optimal, it is better
to show only available ports for that volume in the `port column`.
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

From the user point of this gives better understanding of the rdma port.Although it may effect
current test scripts which parse the volume status command
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

May be ,it looks like weird one showing two brick process with same pid.But this change is only for tcp,rdma volumes, in other cases it will continue with existing volume status
command. So it won't effect any current test scripts
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@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-devel

_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-users




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

  Powered by Linux