Sample payload for Oracle software install records
Summarize
Summary of Sample payload for Oracle software install records
This payload example demonstrates how ServiceNow customers can populate theOracle Instance [cmdbcidborainstance]table with Oracle software install records sourced from third-party discovery tools. It enables integration of Oracle software and associated options into the CMDB, facilitating better software asset management and configuration tracking within the ServiceNow platform.
Show less
To utilize this, ensure the Enable scheduled jobs property is activated in the Properties page for the third-party Datasource Integration Framework. This allows the scheduled job SAM - Software Asset Connections to process records, populate software install fields, and create associated software install records automatically.
Key Features
- Oracle Instance Population: The payload specifies Oracle database instances, including attributes like name, edition, system ID (SID), and version.
- Oracle Options Association: Lists enabled Oracle database options (e.g., Armstrong, Aldrin, Collins) with their usage status to be linked to the Oracle instance.
- Related Infrastructure Mapping: Establishes relationships between Oracle instances and underlying infrastructure, such as Linux servers, with detailed server attributes (MAC address, IP address, CPU count, OS version, etc.).
- Relationship Definition: Defines parent-child relationships (e.g., Oracle instance “Runs on” Linux server) to accurately represent the environment topology within the CMDB.
Practical Application
ServiceNow customers can use this payload format to efficiently ingest Oracle software install data discovered externally into their CMDB. This ensures accurate asset records for Oracle databases and their options, enabling better visibility, compliance, and software asset management. The integration with scheduled jobs automates the creation and linking of software install records, reducing manual effort.
By implementing this, you can expect:
- Consistent and structured Oracle software install data within ServiceNow CMDB tables.
- Automated synchronization between third-party discovery sources and ServiceNow records.
- Improved tracking of Oracle database editions and options in use.
- Accurate infrastructure relationships supporting impact and dependency analysis.
A sample payload for Oracle publisher pack that populates the Oracle Instance [cmdb_ci_db_ora_instance] table with software install records from third-party discovery sources.
When the schedule job, SAM- Software Asset Connections, runs, it looks for records with null software installs, populates the software install field in the Oracle Instance table and creates the software install record associated to the instance.
The following is a sample payload to create software install records for Oracle in the Oracle Instance [cmdb_ci_db_ora_instance] table. The sample input contains a list of CIs and relationships that exist between these CIs. The payload states that there is an Oracle database server, Dev development 1969 with a standard edition. The Oracle database server has many Oracle options enabled such as Armstrong, Aldrin, Collins and runs on a Linux server.
{
'items': [
{
'className': 'cmdb_ci_db_ora_instance',
'related': [
{
'className': 'samp_oracle_options',
'values': {
"option": "Armstrong",
"currently_used": "true"
}
},
{
'className': 'samp_oracle_options',
'values': {
"option": "Aldrin",
"currently_used": "true"
}
},
{
'className': 'samp_oracle_options',
'values': {
"option": "Collins",
"currently_used": "true"
}
}
],
'values': {
'name': 'Dev development 1969',
'edition': 'Standard',
'sid': '1-2-569',
'version': '11.2'
}
},
{
'className': 'cmdb_ci_linux_server',
'values': {
'name': 'CI DATAI 6-002',
'mac_address': '4653XYZAA',
'ip_address': '10.10.10.8',
'asset_tag': 'HWR0003',
'assigned_to': 'a8f98bb0eb32010045e1a5115206fe3a',
'cpu_count': '16',
'cpu_manufacturer': '820351a1c0a8018b67c73d51c074097c',
'manufacturer': '820351a1c0a8018b67c73d51c074097c',
'os': 'Linux Red Hat',
'os_version': '2.6.9-22.0.1.ELsmp',
'ram': '2014'
}
}
],
'relations': [
{
'type': 'Runs on::Runs',
'parent': 0,
'child': 1
}
]
}| Element | Value | Description |
|---|---|---|
| className | cmdb_ci_db_ora_instance | Name of the related Oracle instance table. |
| className | samp_oracle_options | Name of the Oracle database option table. |
| option | Armstrong | Name of the Oracle database option. |
| currently_used | true | Indicates the Armstrong option is currently enabled. |
| className | samp_oracle_options | Name of the Oracle database option table. |
| option | Aldrin | Name of the Oracle database option |
| currently_used | true | Indicates the Aldrin option is currently enabled. |
| name | Dev Development 69 | Name of the Oracle database server |
| edition | standard | edition of the Oracle database server |
| sid | 1-2-569 | Oracle system ID |
| version | 11.2 | Version of the Oracle database server |
| className | cmdb_ci_linux_server | Name of the related Linux Server table. |
| mac address | 4653XYZAA | MAC address of the interface in the Linux server. |