OCI virtual machine pattern-based discovery

reference australia Updated Sep 10, 2026 4 min read oracle-vm-pattern.md
Raw file servicenow.com

Discovery and Service Mapping Patterns finds OCI virtual machines (VMs) in your cloud environment. Discovering some of these resources might require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.

Pattern-based discovery and mapping requirements

  • Verify the REST API permissions

    Download the Cloud Discovery patterns spreadsheet so you can grant user permissions required for running the Discovery patterns. In addition to permissions, the spreadsheet also includes useful information such as pattern names, types, CI Classes, and links to vendor documentation. New patterns are available quarterly, so check periodically to be sure you have the latest version of the spreadsheet.

  • Verify the OCI discovery prerequisites

    For more information, see the prerequisites section in Oracle Cloud Infrastructure (OCI) discovery.

  • Configure the Discovery schedule to support GovCloud

    Discovering OCI GovCloud accounts requires using a datacenter URL when setting up an OCI service account. For more information, see Create OCI service accounts.

Data collected by Discovery during horizontal discovery

Discovery populates the data in the CMDB when running the Oracle OCI - Virtual Machine (LP) pattern.

Field

Description

Name [name]

The display name of the VM instance.

Object ID [object_id]

A unique identifier, allocated by Oracle OCI for this resource.

CPUs [cpus]

The number of Oracle CPU (OCPUs) available to the instance.

Memory (MB) [memory]

The amount of memory available to the instance, in gigabytes.

IP Address [ip_address]

The private IP address of the primary network interface attached to the instance.

State [state]

The current state of the virtual machine instance. For example: on, off, starting, stopping, scheduled, terminated, or error.

Install Status [install_status]

Install status of the resource. Default value is Installed.

Operational status [operational_status]

Operational status of the resource. Default value is Operational.

Field

Description

Object ID [object_id]

A unique identifier, allocated by Oracle OCI for this image.

Provider [provider]

The cloud provider, which is OCI.This field is only populated in the Cloud Image [cmdb_ci_cloud_os_image] table.

**Note:** When using the Image \[cmdb\_ci\_os\_template\] table to store Cloud OS images, you may notice an unusually large number of records. To avoid this issue, you can store the discovered OS images in the Cloud Image \[cmdb\_ci\_cloud\_os\_image\] table. For more information, see [Enable Cloud OS Image discovery](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-operations-management/discovery-and-service-mapping-patterns/enable-cloud-os-image-discovery-pattern.md).

CI relationships and references

The Oracle OCI - Virtual Machine (LP) pattern creates the following relationships and references to support OCI VM discovery. References link to records in other tables and don't appear in the CI Relationship [cmdb_rel_ci] table.

CI Relationship CI
Virtual Machine Instance [cmdb_ci_vm_instance] Hosted on::Hosts OCI Datacenter [cmdb_ci_oci_datacenter]
Availability Zone [cmdb_ci_availability_zone] Contains::Contained by Virtual Machine Instance [cmdb_ci_vm_instance]
Virtual Machine Instance [cmdb_ci_vm_instance] DR provided by::Provides DR for Availability Zone [cmdb_ci_availability_zone]
Virtual Machine Instance [cmdb_ci_vm_instance] Provisioned From::Provisioned Image [cmdb_ci_os_template] or Cloud Image [cmdb_ci_cloud_os_image]
Image [cmdb_ci_os_template] or Cloud Image [cmdb_ci_cloud_os_image] Hosted on::Hosts OCI Datacenter [cmdb_ci_oci_datacenter]
Server [cmdb_ci_server] Virtualized by::Virtualizes Virtual Machine Instance [cmdb_ci_vm_instance]
Virtual Machine Instance [cmdb_ci_vm_instance] Use End Point To::Use End Point From VNIC Endpoint [cmdb_ci_endpoint_vnic]
VNIC Endpoint [cmdb_ci_endpoint_vnic] Implement End Point To::Implement End Point From Cloud Mgmt Network Interface [cmdb_ci_nic]
Virtual Machine Instance [cmdb_ci_vm_instance] Provisioned From::Provisioned Cloud Hardware Type [cmdb_ci_cloud_hardware_type]
CI Field Referenced CI
Key Value [cmdb_key_value] Configuration item [configuration_item] Virtual Machine Instance [cmdb_ci_vm_instance]

OCI tag discovery

The Oracle OCI - Virtual Machine (LP) pattern collects tags and populates them in the Key Value [cmdb_key_value] table.

Field Description
Key [key] Tag name.
Value [value] Tag value.
Configuration item [configuration_item] References the Virtual Machine Instance [cmdb_ci_vm_instance] table.

OCI BYOL discovery

Starting with Discovery and Service Mapping Patterns version 1.35.1, the pattern extension section discovers the following license types for Windows VMs:

  • Bring Your Own License (BYOL)
  • License included

The pattern stores the license type and model in the Key Value [cmdb_key_value] table.

Field

Description

Key [key]

The license type key, which is Windows_OS_License_Type_automatic.

Value [value]

The license model, which is one of the following:- BYOL

  • License Included

Configuration item [configuration_item]

References the Virtual Machine Instance [cmdb_ci_vm_instance] table.

**Parent Topic:**[Oracle Cloud Infrastructure \(OCI\) discovery](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-operations-management/discovery-and-service-mapping-patterns/oracle-cloud-infrastructure-discovery.md)
Keywords Oracle OCI Virtual MachineOracle discoveryOracle patternsvirtual machine pattern
Search documentation
Search document titles and file paths on the australia branch