Google Cloud Platform (GCP) Memorystore discovery using patterns
Summarize
Summary of Google Cloud Platform (GCP) Memorystore discovery using patterns
The Google Cloud Platform (GCP) - Memorystore DB pattern enables ServiceNow customers to discover Memorystore for Memcached and Memorystore for Redis instances during horizontal discovery. This pattern integrates discovered data into the CMDB, allowing visibility into cloud database clusters, instances, and their environment within GCP. To use this pattern effectively, customers should ensure they have met GCP discovery prerequisites and have the latest Discovery and Service Mapping Patterns application installed.
Show less
Key Features
- Discovery of Memorystore resources: Detects Memcached and Redis instances, clusters, availability zones, datacenters, and cloud service accounts.
- Comprehensive CMDB population: Populates multiple CMDB tables including Cloud Service Account, Availability Zone, Google Datacenter, Cloud Database Cluster, Cloud Database, and Key Value for tags.
- Data attributes collected: Includes project identifiers, datacenter details, cluster and database status, types, node counts, disk space, IAM authentication status, IP addresses, and fully qualified domain names (FQDN).
- Dependency and relationship mapping: Automatically creates CI relationships such as hosting, replication, containment, and references among discovered components, enhancing dependency views for Memorystore resources.
- Tag discovery and management: Collects resource tags and stores them in the Key Value table, linked to Cloud Database configuration items for improved resource classification and management.
Key Outcomes
- Enhanced visibility: ServiceNow customers gain detailed insight into their GCP Memorystore deployments and their operational statuses directly within the CMDB.
- Accurate dependency mapping: Visualization of Memorystore instances and clusters with their relationships supports impact analysis and service mapping.
- Improved asset management: Inclusion of tags and detailed attributes enables better categorization and governance of cloud database resources.
- Streamlined discovery process: By leveraging pattern-based discovery, customers can automate and maintain up-to-date configuration data for their GCP Memorystore services.
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 components 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. |