Listing the existing device classes

Before you edit AOC definitions and reinstantiate the topology, list the device classes that are currently in use.

About this task

You list existing device classes by querying the ncp_model databases. The query returns the names of the classes to which devices in the current topology have been instantiated. Substitute your domain name and username where NCOMS and admin are specified.

Procedure

  1. Log into the OQL Service Provider using the following command:

    ncp_oql -domain NCOMS -username admin -service ncim

    You can also issue this query using the Management Database Access page.
  2. Specify the relevant password when prompted.
  3. Type the following query:

    select * from entityClass;

    go

    The following table shows an example of the output of this query:

    Table 1. Query results
    Class identifier Class name Super class identifier Class type Manager name
    1 Core Core PrecisionIP
    2 EndNode 1 EndNode PrecisionIP
    1815493792 Brother 2 PhysicalHost PrecisionIP
    1899974822 BrotherPrinter 1815493792 Printer PrecisionIP
    1367768986 HPOfficePro85xx 2 Printer PrecisionIP
    200 PhysicalHost 2 EndNode PrecisionIP
    163 AIX® 200 Router PrecisionIP
    3 HPPrinter 200 EndNode PrecisionIP
    202 HypervisorHost 200 HypervisorHost PrecisionIP
    209 PowerHyperHost 202 HypervisorHost PrecisionIP
    210 VMWareHyperHost 202 HypervisorHost PrecisionIP
    4 Linux™ 200 EndNode PrecisionIP
    117 NoSNMPAccess 200 EndNode PrecisionIP
    211 PowerVMControl 200 EndNode PrecisionIP
    129 Sun 200 EndNode PrecisionIP
    134 Windows™ 200 EndNode PrecisionIP
    161 zOS 200 EndNode PrecisionIP
    201 VirtualHost 2 VirtualMachine PrecisionIP
    207 VirtualAIXHost 201 VirtualMachine PrecisionIP
    206 VirtualLinuxHost 201 VirtualMachine PrecisionIP
    205 VirtualSolarisHost 201 VirtualMachine PrecisionIP
    204 VirtualWindowsHost 201 VirtualMachine PrecisionIP
    138 InferredDevice 1 NetworkDevice PrecisionIP
    85 InferredCE 138 Router PrecisionIP
    86 InferredHub 138 Switch PrecisionIP