If your cloud resources are in an IBM cloud, create credentials that can access your IBM
account.
表 : 1. IBM credentials form
| Field |
Value |
| Name |
Unique name of the IBM credentials to register with the instance. |
| Order |
Order (sequence) in which Discovery tries this credential as it attempts to log on to devices. The smaller the number, the higher in the list
this credential appears. Establish credential order when using large numbers of credentials or when security locks out users after three failed login attempts. If all the credentials have the same order number (or none), the
instance tries the credentials in a random order. |
| Softlayer API User |
Softlayer cloud user name. |
| Softlayer API Key |
Softlayer API key. |
| Bluemix API Key |
Bluemix API key. |
Data collected by Service Mapping during top-down discovery
To include discovered
components into service instances, enable CI relationships used in tag-based discovery by Service Mapping. These CI relationships are available from the 1.0.68 release on the ServiceNow Store. For operational steps, see Tag-based discovery configuration.
Service Mapping uses tag-based discovery to create service instance maps including the Cloud components. The
Service Mapping application comes with the following preconfigured CI relationships used for tag-based discovery. These CI relationships are available from the 1.0.68 release on the
ServiceNow Store.
| CI |
Relationship |
CI |
| Configuration Item [cmdb_ci] |
Hosted on::Hosts |
Logical Datacenter [cmdb_ci_logical_datacenter] |
| Logical Datacenter [cmdb_ci_logical_datacenter] |
Hosted on::Hosts |
Cloud Service Account [cmdb_ci_cloud_service_account] |
IBM Cloud Discovery API list
表 : 2. Region
| CI Attributes |
IBM Constraints |
| object_id |
name |
| dns_domain |
domain |
| name |
alias |
| short_description |
display_name |
| region |
name |
表 : 3. cmdb_ci_availability_zone
| CI Attributes |
IBM Constraints |
| object_id |
id |
| short_description |
longName |
| name |
name |
| install_status |
statusId |
表 : 4. Location Group
(cmdb_ci_cloud_location_group)
| CI Attributes |
IBM Constraints |
| object_id |
id |
| short_description |
description |
| location_group_type_id |
locationGroupTypeId |
| name |
name |
| location_group_type |
locationGroupType.name |
表 : 5. Virtual Server (cmdb_ci_vm_instance)
| CI Attributes |
IBM Constraints |
| object_id |
id |
| cpus |
maxCpu/startCpus |
| memory |
maxMemory |
| disks |
<not mapped> |
| disks_size |
<not mapped> |
| nics |
<not mapped> |
| terminated_on |
<not mapped> |
| state |
statusId |
| termination_protection |
<not mapped> |
| short_description |
notes |
| name |
hostname |
| dns_domain |
domain |
| fqdn |
fullyQualifiedDomainName |
表 : 6. Image (cmdb_ci_os_template)
| CI Attributes |
IBM Constraints |
| cmdb_ci_os_template |
|
| image_type |
|
| guest_os |
|
| version |
|
| offer |
|
| OS Status |
|
| root_device_type |
|
| image_source |
|
| credentials |
|
| infuse_key |
|
| update_host_name |
|
| name |
name |
| object_id |
id |
| short_description |
description |
表 : 7. Add public key (cmdb_ci_cloud_key_pair)
| CI Attributes |
IBM Constraints |
| object_id |
id |
| finger_print |
fingerprint |
| created_date |
createDate |
| key |
key |
| name |
label |
| modify_date |
modifyDate |
| short_description |
notes |
表 : 8. Storage Volume (cmdb_ci_storage_volume)
| CI Attributes |
IBM Constraints |
| volume_id |
id |
| size |
capacityGb |
| size_bytes |
capacityGb |
| free_space |
<not mapped> |
| free_space_bytes |
<not mapped> |
| media_type |
<not mapped> |
| file_system |
<not mapped> |
| label |
serviceResourceName |
| lun ( Logical Unit Number ) |
<not mapped> |
| volume_container |
<not mapped> |
| state |
? |
| storage_type |
storageTypeId |
| protected_by |
<not mapped> |
| share_count |
<not mapped> |
| sharable |
FALSE |
| device |
guestId |
| delete_on_termination |
<not mapped> |
| mapping_type |
<not mapped> |
| object_id |
id |
| vdisk_id |
<not mapped> |
| storage_type |
nasType |
| name |
serviceResourceName |
表 : 9. Storage Volume Snapshot (cmdb_ci_storage_vol_snapshot)
| CI Attributes |
IBM Constraints |
| object_id |
id |
| capacity |
capacityGb |
| is_encrypted |
|
| volume_name |
serviceResourceName |
| storage_server |
|
| start_time |
|
| state |
|
| snapshotSizeBytes |
snapshotSizeBytes |
表 : 10. Network (cmdb_ci_network)
| CI Attributes |
IBM Constraints |
| state |
|
| cidr |
<not_mapped> |
| is_external |
true/false |
| netmask |
<not_mapped> |
| broadcast_address |
<not_mapped> |
| default_gateway |
<not_mapped> |
| is_shared |
<not_mapped> |
| is_dhcp_enabled |
<not_mapped> |
| scope |
<not_mapped> |
| max_ports |
<not_mapped> |
| terminated_on |
<not_mapped> |
| provided_contracts |
<not_mapped> |
| object_id |
id |
| access_port_vlan |
vlanNumber |
| <not_mapped> |
primarySubnetId |
| name |
vlanNumber |
| <not_mapped> |
accountId |
表 : 11. Subnet (cmdb_ci_cloud_subnet)
| CI Attributes |
IBM Constraints |
| subnet_mask |
netmask |
| cidr |
networkIdentifier +'/' + cidr |
| available_ip_count |
usableIpAddressCount |
| broadcast_address |
broadcastAddress |
| primary_dns |
<not mapped> |
| secondary_dns |
<not mapped> |
| tertiary_dns |
<not mapped> |
| is_dhcp_enabled |
<not mapped> |
| ipam_provider |
<not mapped> |
| domain_name |
<not mapped> |
| parent_domain_name |
<not mapped> |
| gateway |
gateway |
| route_table_association_id |
<not mapped> |
| state |
<not mapped> |
| <not mapped> |
modifyDate |
| <not mapped> |
version |
| <not mapped> |
networkVlanId |
| <not mapped> |
isCustomerRoutable |
| object_id |
id |
| <not mapped> |
broadcastAddress |
| <not mapped> |
isCustomerOwned |
| <not mapped> |
sortOrder |
| <not mapped> |
networkIdentifier |
| <not mapped> |
totalIpAddresses |
| <not mapped> |
addressSpace |
| category |
subnetType |
| name |
networkIdentifier +'/' + cidr |
表 : 12. Compute Security Group (cmdb_ci_compute_security_group)
| CI Attributes |
IBM Constraints |
| region |
<not_mapped> |
| object_id |
id |
| intld |
<not_mapped> |
| tenant_name |
<not_mapped> |
| state |
<not_mapped> |
| <not_mapped> |
port |
| <not_mapped> |
description |
| <not_mapped> |
createDate |
| <not_mapped> |
modifyDate |
| name |
name |
| short_description |
description |
表 : 13. New CI (cmdb_ci_compute_security_group_rule)
| CI Attributes |
IBM Constraints |
| created |
createDate |
| direction |
direction |
| ethertype |
ethertype |
| object_id |
id |
| updated |
modifyDate |
| portRangeMax |
portRangeMax |
| portRangeMin |
portRangeMin |
| protocol |
protocol |
| remoteGroupId |
remoteGroupId |
| securityGroupId |
securityGroupId |
表 : 14. Load Balancer (cmdb_ci_cloud_load_balancer)
| CI Attributes |
IBM Constraints |
| state |
"operatingStatus" |
| canonical_hosted_zone_id |
|
| canonical_hosted_zone_name |
|
| dns_name |
address |
| snat_ip_address |
|
| vlan |
|
| app_code |
|
| component_code |
|
| env_code |
|
| ip_address_pool |
|
|
"accountId" |
|
"address" |
|
"createDate" |
|
"description" |
| object_id |
"id" |
|
isPublic |
|
"locationId" |
|
"modifyDate" |
| name |
"name" |
|
"provisioningStatus" |
|
"useSystemPublicIpPool" |
|
"uuid" |
表 : 15. Load Balancer Service (cmdb_ci_lb_service)
| CI Attributes |
IBM Constraints |
| cmdb_ci_lb_service |
|
| pool |
|
| port |
protocolPort |
| last_port |
|
| input_url |
|
| host_name |
|
| back_end_port |
|
| front_end_port |
protocolPort |
| listener_protocol |
protocol |
| server_port |
|
| server_protocol |
|
| traffic_domain |
|
| ssl_certificate_id |
|
| object_id |
id |
| hit_count |
|
表 : 16. LB Health Service (cmdb_ci_lb_health_service exntends cmdb_ci_vm_object
)
| CI Attributes |
IBM Constraints |
| check_interval_sec |
interval |
| max_retries |
maxRetries |
| monitor_type |
monitorType |
| provisioning_status |
provisioningStatus |
| timeout_sec |
timeout |
| object_id |
id |
表 : 17. LB Pool (cmdb_ci_lb_pool)
| CI Attributes |
IBM Constraints |
|
createDate |
| load_balancing_method |
loadBalancingAlgorithm |
|
modifyDate |
|
protocol |
|
protocolPort |
| pool_status |
provisioningStatus |
| object_id |
uuid |
表 : 18. LB Pool Member (cmdb_ci_lb_pool_member)
| CI Attributes |
IBM Constraints |
| server_id |
address |
| object_id |
id |
|
createDate |
|
modifyDate |
|
provisioningStatus |
|
uuid |
|
weight |
表 : 19. Resource Group (cmdb_ci_resource_group)
| CI Attributes |
IBM Constraints |
| name |
name |
| need to see what is this? |
quota_id |
|
tags |
| object_id |
id |
表 : 20. Org (cmdb_ci_cloud_org)
| CI Attributes |
IBM Constraints |
| name |
name |
| url |
url |
| billing_enabled |
billing_enabled |
| quota_definition_url |
quota_definition_url |
| spaces_url |
spaces_url |
| guid |
guid |
| status |
status |
| object_id |
metadata.guid |
表 : 21. Org (cmdb_ci_cloud_space)
| CI Attributes |
IBM Constraints |
| name |
name |
| url |
url |
| object_id |
metadata.guid |
| allow_ssh |
allow_ssh |
| guid |
metadata.guid |