GCP Spanner pattern-based discovery
Summarize
Summary of GCP Spanner Pattern-Based Discovery
The GCP Spanner pattern-based discovery identifies GCP Spanner instances and databases within your cloud environment. To ensure optimal functionality, it may be necessary to update the Discovery and Service Mapping Patterns application from the ServiceNow Store to the latest version.
Show less
Key Features
- Discovery Requirements: Confirm that prerequisites for GCP discovery are met as outlined in the Google Cloud Platform (GCP) Cloud discovery using Patterns section.
- Data Population: The discovery process collects data and populates the Configuration Management Database (CMDB) with relevant information about GCP resources, including cloud service accounts, availability zones, datacenters, and databases.
- CI Relationships: The GCP - Spanner DB pattern establishes relationships between various configuration items (CIs) such as Google Datacenters, Availability Zones, Cloud Databases, and Databases.
- Tag Discovery: Tags associated with GCP resources are collected and stored in the Key Value table, enhancing resource identification and management.
Key Outcomes
By implementing the GCP Spanner pattern-based discovery, you can effectively monitor and manage your GCP Spanner resources, ensuring accurate data representation in the CMDB. This capability supports improved resource management and operational efficiencies in your cloud environment.
Discovery and Service Mapping Patterns finds GCP Spanner instances and databases on your cloud environment. 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 GCP discovery prerequisites section in Google Cloud Platform (GCP) Cloud discovery using Patterns.
Data collected by Discovery during horizontal discovery
Discovery populates the data in the CMDB when running the Google Cloud Platform (GCP) - Spanner DB pattern.
| Field | Description |
|---|---|
| Account Id [account_id] | Name of the project used for the discovery. |
| Object ID [object_id] | Name of the project used for the discovery. |
| Datacenter Type [datacenter_type] | Datacenter type: Google Datacenter [cmdb_ci_google_datacenter]. |
| Field | Description |
|---|---|
| Name [name] | Name of the availability zone. |
| Description [short_description] | Description of the availability zone. |
| State [state] | State of the Availability Zone. Possible values are Available or Terminated. |
| Field | Description |
|---|---|
| Name [name] | Datacenter or region name. |
| Region [region] | Datacenter or region name. |
| Object ID [object_id] | Unique identifier allocated by GCP for this resource. |
| Description [short_description] | Datacenter or region description. |
| Field | Description |
|---|---|
| Object ID [object_id] | The full resource name of the Spanner instance. |
| Name [name] | The display name of the Spanner instance. |
| 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. |
| State [state] | The state of the Spanner instance. |
| Type [type] | The type of cloud database resource. |
| Node Count [node_count] | The number of nodes allocated to the Spanner instance. |
| Processing Units [processing_units] | The number of processing units allocated to the Spanner instance. |
| Fully qualified domain name [fqdn] | The fully qualified domain name (FQDN) for the Spanner instance. |
| Field | Description |
|---|---|
| Name [name] | The name of the Spanner database. |
| Type [type] | The type of database. |
| Install Status [install_status] | Install status of the resource. Default value is Installed. |
CI relationships
The Google Cloud Platform (GCP) - Spanner DB pattern creates these relationships to support GCP Spanner discovery.
| CI | Relationship | CI |
|---|---|---|
| Google Datacenter [cmdb_ci_google_datacenter] | Contains::Contained by | Availability Zone [cmdb_ci_availability_zone] |
| Google Datacenter [cmdb_ci_google_datacenter] | Hosted on::Hosts | Cloud Service Account [cmdb_ci_cloud_service_account] |
| Cloud DataBase [cmdb_ci_cloud_database] | Contains::Contained by | Database [cmdb_ci_database] |
| Cloud DataBase [cmdb_ci_cloud_database] | Hosted on::Hosts | Google Datacenter [cmdb_ci_google_datacenter] |
| Cloud DataBase [cmdb_ci_cloud_database] | Replicates to::Replicated by | Google Datacenter [cmdb_ci_google_datacenter] |
| Key Value [cmdb_key_value] | References | Cloud DataBase [cmdb_ci_cloud_database] |
GCP Tag discovery
The Google Cloud Platform (GCP) - Spanner DB 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 Cloud DataBase [cmdb_ci_cloud_database] table. |