[Bugs] [Bug 1164079] [Tracker] RDMA support in glusterfs

bugzilla at redhat.com bugzilla at redhat.com
Wed Feb 18 13:02:16 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1164079



--- Comment #58 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/9191 committed in master by Kaushal M
(kaushal at redhat.com) 
------
commit 692dd7e83cc8a1c85581dda3f752d5ea3b184f8c
Author: Mohammed Rafi KC <rkavunga at redhat.com>
Date:   Mon Nov 24 17:07:02 2014 +0530

    cli: volume status for tcp,rdma type volume display only tcp port

    For tcp,rdma type voumes, there will be two ports, one for tcp
    and one for rdma. But volume status command only display tcp port.
    By this change, adding an extra column for rdma port and changing
    the port to tcp port.

    Eg:

    >gluster volume status pathy

    >For tcp,rdma type volume

    Status of volume: patchy
    Gluster process                             TCP Port RDMA Port  Online  Pid
   
------------------------------------------------------------------------------
    Brick brickname                             49152    49153      Y      
14158

    >For rdma type volume

    Status of volume: patchy
    Gluster process                             TCP Port RDMA Port  Online  Pid
   
------------------------------------------------------------------------------
    Brick brickname                             0        49153      Y      
14158

    For tcp type volume

    Status of volume: patchy
    Gluster process                             TCP Port RDMA Port  Online  Pid
   
------------------------------------------------------------------------------
    Brick brickname                             49152    0          Y      
14158

    >gluster volume status patchy detail

    Status of volume: xcube2
   
------------------------------------------------------------------------------
    Brick                : Brick brickname
    TCP Port             : 49152
    RDMA Port            : 49153
    Online               : Y
    Pid                  : 14158
    File System          : ext4
    Device               :
    /dev/mapper/luks-2099dd4a-0050-4cae-ad7b-c6a0498c4e88
    Mount Options        : rw,seclabel,relatime,data=ordered
    Inode Size           : 256
    Disk Space Free      : 31.1GB
    Total Disk Space     : 47.9GB
    Inode Count          : 3203072
    Free Inodes          : 2926789

    >gluster volume status xcube --xml

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <cliOutput>
      <opRet>0</opRet>
      <opErrno>0</opErrno>
      <opErrstr>(null)</opErrstr>
      <volStatus>
        <volumes>
          <volume>
            <volName>xcube</volName>
            <nodeCount>2</nodeCount>
            <node>
              <hostname>hostname</hostname>
              <path>/home/brick1</path>
              <peerid>2d7bcb95-3d26-4d4f-b3c6-e2ee01b71662</peerid>
              <status>1</status>
              <port>49152</port>
              <ports>
                <tcp>49152</tcp>
                <rdma>N/A</rdma>
              </ports>
              <pid>5657</pid>
            </node>
            <node>
              <hostname>NFS Server</hostname>
              <path>localhost</path>
              <peerid>2d7bcb95-3d26-4d4f-b3c6-e2ee01b71662</peerid>
              <status>1</status>
              <port>2049</port>
              <ports>
                <tcp>2049</tcp>
                <rdma>N/A</rdma>
              </ports>
              <pid>5665</pid>
            </node>
            <tasks/>
          </volume>
        </volumes>
      </volStatus>
    </cliOutput>

    Change-Id: I81aab226edbd400d29cd3f510af4f344dd99ba51
    BUG: 1164079
    Signed-off-by: Mohammed Rafi KC <rkavunga at redhat.com>
    Reviewed-on: http://review.gluster.org/9191
    Reviewed-by: Atin Mukherjee <amukherj at redhat.com>
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Kaushal M <kaushal at redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=b9fCBrSYeQ&a=cc_unsubscribe


More information about the Bugs mailing list