Oracle Solaris LDOM discovery
Summarize
Summary of Oracle Solaris LDOM Discovery
Oracle Solaris LDOM Discovery enables customers to utilize patterns for discovering resources within the Solaris Logical Domain (LDOM) infrastructure. This functionality is integrated into the ServiceNow AI Platform from the Washington DC release onward and facilitates horizontal discovery of LDOM data.
Show less
Key Features
- The Solaris LDOM infrastructure pattern automatically triggers during Solaris Server discovery, checking for an LDOM controller.
- The Solaris LDOM shared library pattern modifies the Serial Number (SN) for LDOM machines to ensure consistency with the infrastructure pattern.
- Discovery requires the update of the Discovery and Service Mapping Patterns application from the ServiceNow Store.
Prerequisites
Users must have the necessary permissions to execute specific commands for both the Solaris LDOM infrastructure and shared library patterns. Key commands include:
sudo /usr/sbin/virtinfo -asudo /usr/sbin/ldm -Vhostnamesvcs ldmdsudo /usr/sbin/ldm list-rsrc-group -asudo /usr/sbin/sneep -T | grep ChassisSerialNumber 2> /dev/null/usr/sbin/prtdiag -v | awk '/Chassis Serial/{getline; getline; print}'sudo /usr/sbin/ldm list
Key Outcomes
The discovery process gathers important data, including:
- ldomversion: The version of LDOM installed on the controller.
- ldomrole: Indicates whether the LDOM is a "controller" or "guest".
- ldomstate: The state of the LDOM implementation.
- serialnumber: The serial number of the machines.
- virtual: Indicates if the LDOM controller is a virtual machine.
- ram: The memory available on the controller.
- cpucorecount: The number of CPU cores on the controller.
Effective use of these patterns allows customers to maintain accurate configuration management data for their Solaris LDOM environments, enhancing visibility and operational efficiency.
Discovery uses the Solaris Logical Domain (LDOM) infrastructure pattern and Solaris LDOM shared library pattern to find all LDOM data. Discovering some of these resources requires updating the Discovery and Service Mapping Patterns application from the ServiceNow Store.
Discovery uses these patterns to run horizontal discovery. You can use the patterns on the ServiceNow AI Platform using the Washington DC release or later.
The Solaris LDOM infrastructure pattern is triggered automatically on Solaris Server discovery. The pattern verifies if there is an LDOM controller, and stops running if it doesn't find a controller.
The Solaris LDOM shared library pattern is run as an Extension Section to the Solaris Server pattern. The pattern modifies the Serial Number (SN) on LDOM machines so that it matches the SN populated by the Solaris LDOM infrastructure pattern. For further information about Solaris Server, see Solaris discovery.
Visit the ServiceNow Store website to view all the available apps and for information about submitting requests to the store. For cumulative release notes information for all released apps, see the ServiceNow Store version history release notes.
Prerequisites
- LDOM commands when running the Solaris LDOM infrastructure pattern
- Ensure the relevant users have permissions to execute the following used commands for
the Solaris LDOM infrastructure pattern:
- "sudo /usr/sbin/virtinfo -a”
- "sudo /usr/sbin/ldm -V”
- "hostname”
- "svcs ldmd”
- "sudo /usr/sbin/ldm list-rsrc-group -a”
- "sudo /usr/sbin/sneep -T | grep ChassisSerialNumber 2> /dev/null”
- "/usr/sbin/prtdiag -v | awk '/Chassis Serial/{getline; getline; print}'"
- "sudo /usr/sbin/ldm list"
Note:Some of these commands are used with conditions, and will not be executed on each discovery. For example, the main way to get the SN for servers is by using the ‘sneep’ command. However, this is not available by default on Solaris servers, so ‘prtdiag’ is used as an alternative method to get the SN.
- Important LDOM commands when running the Solaris LDOM shared library pattern
- Ensure the relevant users have permissions to execute the following used commands for
the Solaris LDOM shared library pattern:
- "sudo /usr/sbin/virtinfo -a”
- "sudo /usr/sbin/sneep -T | grep ChassisSerialNumber 2> /dev/null”
- "hostname”
Data collected by Discovery during horizontal discovery
The data discovered by both patterns includes the following tables and fields.
| Table and field | Description |
|---|---|
| Solaris Server [cmdb_ci_solaris_server] | |
| ldom_version | The LDOM version installed on the LDOM controller. |
| ldom_role | The LDOM role; "controller” or "guest”. |
| ldom_state | The state of the LDOM implementation on the LDOM controller. |
| serial_number | The serial number of the machines. |
| virtual | Whether or not a virtual machine (for Guest VMs) is used for the LDOM controller. |
| ram | The memory available on the LDOM controller. |
| cpu_core_count | The number of CPU cores on the LDOM controller. |
CI relationships
| CI | Relationship | CI |
|---|---|---|
| LDOM controller | Hosted on::Hosts | LDOM Guest VM |