Register hardware in Lab Management

In this task, you add your hardware information to the hardware.conf file, located in the /etc/cubit/conf directory.

The result is that the names of the computer models and the CPUs that you own appear in the dropdown lists in the Lab Management Web Console. You use these hardware options as part of the specifications to configure the Client Nodes that you add to the Lab Management Domain.

Lab Management needs two pieces of information about your hardware:

Note: Because Solaris runs on x86 and SPARC machines, you must inform Lab Management of the correct network interface name to use. You should set this value even if you do not have current plans to run x86-based Solaris. Lab Management's default configuration in the hardware.conf file uses the value, <code> primary</code>, a reserved word in Solaris, which uses the first interface that it finds.
  1. Add your hardware information to the hardware.conf file, which is in ConfigParser format, the same as site.conf. For more information about the ConfigParser format, see "Customizing the site.conf File".
  2. For each hardware model, create one section such as:
    [HP DL320]
                            Solaris_Interface_Name=primary
                            LOM_Type=ilo
    Each square bracket entry becomes an entry in the hardware dropdown list in the Model Name field.
  3. Remove those entries that do not reflect the hardware options that you are using.
The following sample content illustrates the various types of hardware models that you can configure in the hardware.conf file:
                [HP DL320]
                Solaris_Interface_Name=primary
                LOM_Type=ilo
                [Sun V210]
                Solaris_Interface_Name=bge0
                LOM_Type=alom
                [NDE PC]
                Solaris_Interface_Name=primary
                LOM_Type=apc
                [Generic]
                Solaris_Interface_Name=primary
                LOM_Type=apc
                [VMware Virtual Guest]
                Vendor = VMware
                Solaris_Interface_Name=primary
                LOM_Type = vmctl
                [Solaris Zone]
                Vendor = Solaris
                Solaris_Interface_Name=primary
                LOM_Type = zone
            

You can add your own script to powercycle particular LOM types. Currently, for the apc LOM Type, for example, Lab Management runs the script to powercycle APC PDUs.

If you add new hardware models to the hardware.conf file, you should also make them accessible to the Lab Management Web Console. To accomplish this task, make sure that they are set in the <code>models</code> token in the Lab Management configuration file.