Oracle Solaris LDOM discovery
Summarize
Summary of Oracle Solaris LDOM Discovery
Oracle Solaris LDOM discovery enables customers to identify and manage Solaris Logical Domain (LDOM) resources effectively. Utilizing the Solaris LDOM infrastructure and shared library patterns, the discovery process runs automatically during Solaris Server discovery, ensuring that all relevant LDOM data is captured. It is essential to update to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store to facilitate this discovery.
Show less
Key Features
- The Solaris LDOM infrastructure pattern automatically checks for LDOM controllers and halts if none are found.
- The shared library pattern modifies the Serial Number (SN) of LDOM machines for consistency with the infrastructure pattern.
- Discovery utilizes specific commands that require user permissions to gather accurate LDOM data.
Key Outcomes
Successful execution of Solaris LDOM discovery results in the collection of critical data, including:
- ldomversion: The installed LDOM version on the controller.
- ldomrole: Indicates whether the LDOM is a controller or a guest.
- ldomstate: Reflects the implementation state of the LDOM controller.
- serialnumber: Serial number of the machines.
- virtual: Identifies if a virtual machine is utilized for the LDOM controller.
- ram: Memory available on the LDOM controller.
- cpucorecount: Number of CPU cores on the LDOM controller.
Additionally, relationships between the LDOM controller and guest VMs are established, allowing for comprehensive management and oversight of resources within the ServiceNow platform.
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 may require updating to the latest version of 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 Australia 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 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 |