How do I retrieve detailed information about MDM servers?

Note: The NSP system must be operational before these operations can be performed.

Steps
 

Open a terminal session to the NSP deployer VM.


Log in as the root or NSP admin user.


Enter the following:

# cd /opt/nsp/NSP-CN-DEP-release-ID/NSP-CN-release-ID/tools/mdm/bin/ ↵


Enter the following to show the MDM server roles, the number of NEs managed using MDM, and which MDM server is hosting which NE:

# ./server-load.bash --user username --pass password --detail ↵

where

username is the NSP username

password is the NSP password


The command output includes information such as the following:

{

    "mdmInstanceInfos": [

      {

           "name": mdm-server-0,

           "ipAddress": mdm-server-0.mdm-server-svc-headless.default.svc.cluster.local,

           "grpcPort": 30000,

           "status": Up,

           "neCount": 0,

           "neIds": null,

           "active": False

           "groupIds": [1, 2],

      },

      {

           "name": mdm-server-1,

           "ipAddress": mdm-server-1.mdm-server-svc-headless.default.svc.cluster.local,

           "grpcPort": 30000,

           "status": Up,

           "neCount": 2,

           "neIds": ["1.1.1.1", "1.1.1.2"],

           "active": True

           "groupId": 1,

      },

      {

           "name": mdm-server-2,

           "ipAddress": mdm-server-2.mdm-server-svc-headless.default.svc.cluster.local,

           "grpcPort": 30000,

           "status": Up,

           "neCount": 2,

           "neIds": ["1.1.1.3", "1.1.1.4"],

           "active": True

           "groupId": 2,

      }

    ]

}

End of steps