Alibaba Cloud virtual machine (VM) pattern-based discovery
Discovery and Service Mapping Patterns uses the Alibaba - Virtual Machine (LP) pattern to discover VMs during horizontal discovery. Discovering some of these resources may 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 Alibaba Cloud discovery prerequisites section in Alibaba Cloud discovery using patterns.
Data collected by Discovery during horizontal discovery
Discovery populates the data in the CMDB when running the Alibaba - Virtual Machine (LP) pattern.
| Field | Description |
|---|---|
| Name [name] | Name of the instance. |
| Object ID [object_id] | Instance ID. |
| State [state] | Status of the instance. For example: Running or Stopped. |
| CPUs [cpus] | Number of Virtual Central Processing Units (vCPUs). |
| Memory (MB) [memory] | Memory size in megabytes (MB). |
| Disks [disks] | Number of local disks attached to the instance. |
| Guest OS Name [guest_os_fullname] | Type of the operating system (OS) of the instance. Possible values are Windows or Linux. |
| Install Status [install_status] | Install status of the instance. Default value is Installed. |
| Operational status [operational_status] | Operational status of the instance. Default value is Operational. |
| Network adapters [nics] | Elastic Network Interfaces (ENIs) attached to the instance. |
| Field | Description |
|---|---|
| Name [name] | Name of the ENI. |
| Object ID [object_id] | ID of the ENI. |
| MAC Address [mac_address] | MAC address of the ENI. |
| Private IP [private_ip] | Private IP address of the ENI. |
| IP Address [ip_address] | Public IP addresses of instances. |
| Primary [primary] | A Boolean indicating whether a network interface is primary or secondary. |
| Node ID [node_id] | Instance ID. |
| Field | Description |
|---|---|
| Object ID [object_id] | ID of the image.
|
| Provider [provider] | Image cloud provider: Alibaba. |
| Field | Description |
|---|---|
| Object ID [object_id] | ID of the instance type. |
| Provider [provider] | Image cloud provider: Alibaba. |
CI relationships
Discovery creates these relationships to support the Alibaba Cloud virtual machine discovery.
| CI | Relationship | CI |
|---|---|---|
| Virtual Machine Instance [cmdb_ci_vm_instance] | Implement End Point To::Implement End Point From | Cloud Mgmt Network Interface [cmdb_ci_nic] |
| Virtual Machine Instance [cmdb_ci_vm_instance] | Hosted on::Hosts | Alibaba Datacenter [cmdb_ci_alibaba_datacenter] |
| Availability Zone [cmdb_ci_availability_zone] | Contains::Contained by | Virtual Machine Instance [cmdb_ci_vm_instance] |
| Virtual Machine Instance [cmdb_ci_vm_instance] | Provisioned From::Provisioned | Cloud Image [cmdb_ci_cloud_os_image] |
| Virtual Machine Instance [cmdb_ci_vm_instance] | Provisioned From::Provisioned | Cloud Hardware Type [cmdb_ci_cloud_hardware_type] |
| Cloud Image [cmdb_ci_cloud_os_image] | Hosted on::Hosts | Alibaba Datacenter [cmdb_ci_alibaba_datacenter] |
| Key Value [cmdb_key_value] | References | Virtual Machine Instance [cmdb_ci_vm_instance] |
Tag discovery
The Alibaba - Virtual Machine (LP) pattern collects tags and populates them in the Key Value [cmdb_key_value] table.
| Field | Description |
|---|---|
| Key [key] | Tag key. |
| Value [value] | Tag value. |
| Configuration item [configuration_item] | References the Virtual Machine Instance [cmdb_ci_vm_instance] table. |