ttwinss6809

updated

11 years ago

0

4563

August 5th, 2015 02:00

query the devices in sds

Hello experts.I know the ip address of the sds,but I don't konw how many devices are there in this sds.How can I query the devices by using scli?Thank you.

  • 3741

    0

    Posted August 9th, 2015 07:00

    ScaleIO cannot tell you which devices to add as SDS devices. You, as the sysadmin should know which hosts you have , which applications are installed on them, which devices are being used (contain partitions / FS formatted etc.) and which devices are free to be used for ScaleIO SDS.

    Example:

    If it's a Linux node, you can run fdisk -l command to see the device list on that host -> if all hosts are identical you can use the same devices for each SDS.

  • 3741

    0

    Posted August 5th, 2015 03:00

    Usage: scli --query_sds (--sds_id | --sds_name | --sds_ip )

    Description: Retrieve information about an SDS

    Parameters:

        --sds_id                        SDS ID

        --sds_name                    SDS Name

        --sds_ip                        SDS IP address

    Example of printout:

    scli --query_sds --sds_ip 10.76.30.115

    SDS 5aa9858a00000001 Name: 10.76.61.15-ESX

    Protection Domain: f809516300000000, Name: PD1

    DRL mode: Volatile

    IP information (total 2 IPs):

             1: 10.76.30.115     Role: All (SDS and SDC)

             2: 10.76.31.115     Role: All (SDS and SDC)

            Port: 7072

    RAM Read Cache information:

            9.2 GB (9429 MB) total size

            Cache is enabled

            RAM Read Cache memory allocation state is SUCCESSFUL

    Number of IO Buffers: 3

    Device information (total 18 devices):

             1: Name: ScaleIO-4994377f  Path: /dev/sdb  Original-path: /dev/sdb  ID: acb7471700010000

                    Storage Pool: sp_slow, Capacity: 108 GB Error-fixes: 0 scanned 0 MB, Compare errors: 0 State: Normal

             2: Name: ScaleIO-49943780  Path: /dev/sdc  Original-path: /dev/sdc  ID: acb7471800010001

                    Storage Pool: sp_slow, Capacity: 108 GB Error-fixes: 0 scanned 0 MB, Compare errors: 0 State: Normal

             3: Name: ScaleIO-49943781  Path: /dev/sdd  Original-path: /dev/sdd  ID: acb7471900010002

                    Storage Pool: sp_slow, Capacity: 108 GB Error-fixes: 0 scanned 0 MB, Compare errors: 0 State: Normal

             4: Name: ScaleIO-49943782  Path: /dev/sde  Original-path: /dev/sde  ID: acb7471a00010003

                    Storage Pool: sp_slow, Capacity: 108 GB Error-fixes: 0 scanned 0 MB, Compare errors: 0 State: Normal

             5: Name: ScaleIO-49943783  Path: /dev/sdf  Original-path: /dev/sdf  ID: acb7471b00010004

                    Storage Pool: sp_slow, Capacity: 108 GB Error-fixes: 0 scanned 0 MB, Compare errors: 0 State: Normal

             6: Name: ScaleIO-49943784  Path: /dev/sdg  Original-path: /dev/sdg  ID: acb7471c00010005

                    Storage Pool: sp_slow, Capacity: 108 GB Error-fixes: 0 scanned 0 MB, Compare errors: 0 State: Normal

             7: Name: ScaleIO-49943785  Path: /dev/sdh  Original-path: /dev/sdh  ID: acb7471d00010006

                    Storage Pool: sp_slow, Capacity: 108 GB Error-fixes: 0 scanned 0 MB, Compare errors: 0 State: Normal

             8: Name: ScaleIO-49943786  Path: /dev/sdi  Original-path: /dev/sdi  ID: acb7471e00010007

                    Storage Pool: sp_slow, Capacity: 108 GB Error-fixes: 0 scanned 0 MB, Compare errors: 0 State: Normal

             9: Name: ScaleIO-49943787  Path: /dev/sdj  Original-path: /dev/sdj  ID: acb7471f00010008

                    Storage Pool: sp_slow, Capacity: 108 GB Error-fixes: 0 scanned 0 MB, Compare errors: 0 State: Normal

            10: Name: ScaleIO-49943788  Path: /dev/sdk  Original-path: /dev/sdk  ID: acb7472000010009

                    Storage Pool: sp_slow, Capacity: 108 GB Error-fixes: 0 scanned 0 MB, Compare errors: 0 State: Normal

            11: Name: ScaleIO-49943789  Path: /dev/sdl  Original-path: /dev/sdl  ID: acb747210001000a

                    Storage Pool: sp_slow, Capacity: 108 GB Error-fixes: 0 scanned 0 MB, Compare errors: 0 State: Normal

            12: Name: ScaleIO-4994378a  Path: /dev/sdm  Original-path: /dev/sdm  ID: acb747220001000b

                    Storage Pool: sp_slow, Capacity: 108 GB Error-fixes: 0 scanned 0 MB, Compare errors: 0 State: Normal

            13: Name: ScaleIO-4994378b  Path: /dev/sdn  Original-path: /dev/sdn  ID: acb747230001000c

                    Storage Pool: sp_slow, Capacity: 108 GB Error-fixes: 0 scanned 0 MB, Compare errors: 0 State: Normal

            14: Name: ScaleIO-4994378c  Path: /dev/sdo  Original-path: /dev/sdo  ID: acb747240001000d

                    Storage Pool: sp_slow, Capacity: 108 GB Error-fixes: 0 scanned 0 MB, Compare errors: 0 State: Normal

            15: Name: ScaleIO-4994378d  Path: /dev/sdp  Original-path: /dev/sdp  ID: acb747250001000e

                    Storage Pool: sp_slow, Capacity: 108 GB Error-fixes: 0 scanned 0 MB, Compare errors: 0 State: Normal

            16: Name: ScaleIO-4994378e  Path: /dev/sdq  Original-path: /dev/sdq  ID: acb747260001000f

                    Storage Pool: sp_slow, Capacity: 108 GB Error-fixes: 0 scanned 0 MB, Compare errors: 0 State: Normal

            17: Name: ScaleIO-4994378f  Path: /dev/sdr  Original-path: /dev/sdr  ID: acb7472700010010

                    Storage Pool: sp_slow, Capacity: 108 GB Error-fixes: 0 scanned 0 MB, Compare errors: 0 State: Normal

            18: Name: ScaleIO-49862230  Path: /dev/sds  Original-path: /dev/sds  ID: acb7472c00010011

                    Storage Pool: sp_fast, Capacity: 859 GB Error-fixes: 0 scanned 0 MB, Compare errors: 0 State: Normal

    Membership-state: Joined; Connection-state: Connected; SDS-state: Normal; 0 devices with error

            2.6 TB (2712 GB) total capacity

            911.9 GB (933798 MB) unused capacity

            0 Bytes snapshots capacity

            1.7 TB (1708 GB) in-use capacity

            1.3 GB (1328 MB) thin capacity

            0 Bytes unreachable-unused capacity

            0 active moving-in fwd-rebuild jobs

            0 active moving-in bck-rebuild jobs

            0 active moving-in rebalance jobs

            0 active moving-out fwd-rebuild jobs

            0 active moving-out bck-rebuild jobs

            0 active moving-out rebalance jobs

            0 pending moving-in fwd-rebuild jobs

            0 pending moving-in bck-rebuild jobs

            0 pending moving-in rebalance jobs

            0 pending moving-out fwd-rebuild jobs

            0 pending moving-out bck-rebuild jobs

            0 pending moving-out rebalance jobs

            0 Bytes decreased capacity

            Primary-reads                            0 IOPS 0 Bytes per-second

            Primary-writes                           0 IOPS 204 Bytes per-second

            Secondary-reads                          0 IOPS 0 Bytes per-second

            Secondary-writes                         0 IOPS 0 Bytes per-second

            Backward-rebuild-reads                   0 IOPS 0 Bytes per-second

            Backward-rebuild-writes                  0 IOPS 0 Bytes per-second

            Forward-rebuild-reads                    0 IOPS 0 Bytes per-second

            Forward-rebuild-writes                   0 IOPS 0 Bytes per-second

            Rebalance-reads                          0 IOPS 0 Bytes per-second

            Rebalance-writes                         0 IOPS 0 Bytes per-second

  • 3741

    0

    Posted August 5th, 2015 04:00

    Another option is to install ScaleIO GUI (simple msi installation)

    Login -> go to BackEnd view -> sort by SDS -> expand the relevant SDS object in the table to see its devices.

  • 3741

    0

    Posted August 5th, 2015 19:00

    Thank you. In this way, I could get the devices that I have added to the sds.

    What I mean is  that  what I have known is the ip address, account and password of the sds, and I want to add devices to the sds. I don't want to log in every host  to check which device should I choose, so I want to query sds to choose the device in every host by scli.

  • avisud

    1 Message

    3161

    0

    Posted December 16th, 2019 23:00

    Querying SDS device is giving the input/output error

    Storage Pool: pool2, Capacity: 1787 GB Error-fixes: 0 scanned 0 MB, Compare errors: 0 State: Error

    How to solve this error.