Discovery Flow

This section describes the discovery flow of the Oracle VM Server for SPARC Technology by Shell job.

General

  • Discovery is performed by using the shell of the control domain

  • The single command ldm of the control domain provides most of the required configuration information

  • Guest domains:

    • Are completely isolated.

    • May have no network connectivity to control domain.

    • Can have an OS different from Solaris.

      Note For versions of LDOM below 2.0, and for guest OS different from Solaris, it is not possible to know whether it is a guest domain or a regular host.

      Accordingly, no specific discovery by guest domains is performed.

  • Only domains that are in active or bound states are discovered, since for domains in other states the configuration may be incomplete or stale.

Oracle VM Server for SPARC Technology by Shell Job Flow

  • Get version of Logical Domains Manager

    The ldm command is executed to get the version of Logical Domains Manager. See Obtaining version information of Logical Domains manager. To run ldm:

    • Make sure the ldm command is present, otherwise it is not a control domain and further discovery is impossible.

    • Get the proper path to the ldm command, which can be located under /opt/SUNWldm/bin/ldm or /usr/sbin/ldm.

  • Get configuration of all bound domains

    The ldm command is executed to get the full configuration of all bound domains. See Listing configuration of bound domains.

  • Get general networking configuration

    Standard networking discovery is performed, which involves the following commands:

    • netstat

    • ifconfig

    • dladm

    For more information see UNIX-Based Processes.

  • Get names of interfaces that were created by virtual switches in domain

    Each virtual switch that is created in the domain, creates additional virtual interfaces (usually named vsw<number>). By bringing these interfaces up, the parent domain can establish connectivity to its switch. To get the names of such interfaces an additional find command is run. See Finding the interfaces created by virtual switches in domains.

  • Get number of cores per physical CPU

    Information about physical cores is taken from the command /usr/sbin/prtpicl -c other | grep CORE. After that, the normal approach for CPU discovery on Solaris is followed. For more information, see How to Discover Host Resources and Applications.