Verifying deployment

Verify that the gateway deployment process was completed successfully.

Procedure

Use one of the following commands to verify NVMe-oF gateway deployment.
  • Use the nvme-gw show command to list the details of the gateways that were created during deployment.
    For more information about deployment, see Deploying the NVMe-oF gateway.
    ceph nvme-gw show NVME-OF_POOL_NAME GATEWAY_GROUP_NAME
    The following example is for the nvmeof_pool01 pool for gateway group group1.
    Note: Until the first subsystem is created the following output displays:
    • Availability outputs as "CREATED"
    • ana states outputs as STANDBY for both gateways.
    [root@host01 ~]#  ceph nvme-gw show nvmeof_pool01 group1
    {
        "epoch": 94,
        "pool": "nvmeof_pool01",
        "group": "group1",
        "features": "LB",
        "rebalance_ana_group": 2,
        "num gws": 2,
        "GW-epoch": 22,
        "Anagrp list": "[ 2 1 ]",
        "num-namespaces": 18,
        "Created Gateways:": [
            {
                "gw-id": "client.nvmeof.nvmeof_pool01.group1.ceph-user-8-1-ooib5v-node10.pwfmzj",
                "anagrp-id": 1,
                "num-namespaces": 9,
                "performed-full-startup": 1,
                "Availability": "AVAILABLE",
                "num-listeners": 2,
                "ana states": " 1: STANDBY ,  2: ACTIVE "
            },
            {
                "gw-id": "client.nvmeof.nvmeof_pool01.group1.ceph-user-8-1-ooib5v-node11.crlkfw",
                "anagrp-id": 2,
                "num-namespaces": 9,
                "performed-full-startup": 1,
                "Availability": "AVAILABLE",
                "num-listeners": 2,
                "ana states": " 1: ACTIVE ,  2: STANDBY "
            },
        ]
    }
  • Verify by using the ceph orch ps command.
    Make sure that all deployed gateways are in the running state.
    ceph orch ps | grep nvmeof
  • Verify by using the ceph orch ls command.
    For more information, see Checking service status.