Google Cloud Platform (GCP) Memorystore discovery using patterns
Discovery and Service Mapping Patterns uses the Google Cloud Platform (GCP) - Memorystore DB pattern to discover Memorystore for Memcached and Memorystore for Redis 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 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) - Memorystore 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 |
|---|---|
| Name [name] | Name of the cluster. |
| Cluster ID [cluster_id] | ID of the cluster. |
| Install Status [install_status] | Install status of the cluster. Default value is Installed. |
| Operational status [operational_status] | Operational status of the cluster. Default value is Operational. |
| Cluster Status [cluster_status] | Current state of this cluster. For example: READY or STOPPED. |
| Cluster Type [cluster_type] | Type of the cluster: Redis Cluster. |
| Disk Space (GB) [disk_space] | Disk space in gigabytes (GB). |
| IAM Authentication Enabled [iam_authentication_enabled] | Determines whether the IAM authentication is enabled. Possible values are true or false. |
| Node Count [node_count] | Number of replica nodes per shard. |
| Deletion Protection Enabled [deletion_protection_enabled] | Determines whether the deletion protection is enabled. Possible values are true or false. |
| Asset tag [asset_tag] | NodeType of a Redis cluster node. For example: REDIS_SHARED_CORE_NANO or REDIS_HIGHMEM_MEDIUM. |
| Field | Description |
|---|---|
| Object ID [object_id] | Unique name of the resource in this scope, including the project and location. |
| Name [name] | Unique name of the resource, parsed from the Object ID. |
| Type [type] | Type of database. Possible values are memcache-instance or redis-instance. |
| Install Status [install_status] | Install status of the database. Default value is Installed. |
| Operational status [operational_status] | Operational status of the database. Default value is Operational. |
| State [state] | State of the database. Possible values are Available or Terminated. |
| Fully qualified domain name [fqdn] | Fully qualified domain name (FQDN) for the resource type. |
| IP Address [ip_address] | Hostname or IP address of the exposed endpoint used by clients to connect to the service. |
On the Dependency Views map, you can view all discovered Memorystore for Memcached or Memorystore for Redis resources in your organization and the relationships between them.
CI relationships
Discovery creates these relationships to support the Memorystore discovery.
| CI | Relationship | CI |
|---|---|---|
| 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 | Availability Zone [cmdb_ci_availability_zone] |
| Cloud DataBase Cluster [cmdb_ci_cloud_db_cluster] | Extends from | Cluster [cmdb_ci_cluster] |
| Cloud DataBase Cluster [cmdb_ci_cloud_db_cluster] | Hosted on::Hosts | Google Datacenter [cmdb_ci_google_datacenter] |
| 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] |
| Key Value [cmdb_key_value] | References | Cloud DataBase [cmdb_ci_cloud_database] |
Tag discovery
The Google Cloud Platform (GCP) - Memorystore DB 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 Cloud DataBase [cmdb_ci_cloud_database] table. |