GCP Storage pattern-based discovery
Summarize
Summary of GCP Storage Pattern-Based Discovery
The GCP Storage pattern-based discovery feature in ServiceNow enables customers to identify and map Google Cloud Platform (GCP) persistent disks and snapshots within their cloud environment. To utilize this feature, customers may need to update to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.
Show less
Key Features
- Discovery and Data Collection: Automatically collects data related to GCP resources such as persistent disks, snapshots, and their associated metadata, which is then populated in the Configuration Management Database (CMDB).
- Data Structure: GCP storage discovery involves several key tables, including Cloud Service Account, Availability Zone, Google Datacenter, Storage Volume, and Storage Volume Snapshot, each containing essential details such as names, IDs, and operational states of the resources.
- CI Relationships: Establishes relationships among various configuration items (CIs) to provide a comprehensive view of how GCP storage resources interact with one another and their environments.
- Tag Discovery: Collects labels (tags) from GCP resources and populates them into the Key Value table for better organization and identification of storage volumes and snapshots.
Key Outcomes
By implementing GCP Storage pattern-based discovery, ServiceNow customers can enhance their cloud resource visibility and management capabilities. This leads to improved operational efficiency, accurate tracking of storage resources, and better alignment of cloud infrastructure with business needs.
Discovery and Service Mapping Patterns finds GCP persistent disks and snapshots 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) - Storage 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 unique identifier for the persistent disk. |
| Name [name] | The name of the persistent disk. |
| Volume ID [volume_id] | The unique identifier for the persistent disk. |
| Storage type [storage_type] | The type of persistent disk. For example: pd-standard, pd-balanced, or pd-ssd. |
| Size bytes [size_bytes] | The size of the persistent disk in bytes. |
| State [state] | The operational state of the disk. For example: Available, In Use, or Terminated. |
| Install Status [install_status] | Install status of the resource. Default value is Installed. |
| Description [short_description] | The description of the persistent disk. |
| Field | Description |
|---|---|
| Object ID [object_id] | The unique identifier for the snapshot. |
| Name [name] | The name of the snapshot. |
| Volume Name [volume_name] | The name of the source persistent disk. |
| Capacity [capacity] | The storage size of the snapshot in bytes. |
| Field | Description |
|---|---|
| Disks size (GB) [disks_size] | The total size of all attached disks in gigabytes (GB). |
CI relationships
The Google Cloud Platform (GCP) - Storage pattern creates these relationships to support GCP storage discovery.
| CI | Relationship | CI |
|---|---|---|
| Storage Volume [cmdb_ci_storage_volume] | Hosted on::Hosts | Google Datacenter [cmdb_ci_google_datacenter] |
| Availability Zone [cmdb_ci_availability_zone] | Contains::Contained by | Storage Volume [cmdb_ci_storage_volume] |
| Storage Volume Snapshot [cmdb_ci_storage_vol_snapshot] | Hosted on::Hosts | Cloud Service Account [cmdb_ci_cloud_service_account] |
| Storage Volume [cmdb_ci_storage_volume] | Replicates to::Replicated by | Storage Volume Snapshot [cmdb_ci_storage_vol_snapshot] |
| Storage Volume Snapshot [cmdb_ci_storage_vol_snapshot] | Provisioned From::Provisioned | Storage Volume [cmdb_ci_storage_volume] |
| Key Value [cmdb_key_value] | References | Storage Volume [cmdb_ci_storage_volume] |
| Key Value [cmdb_key_value] | References | Storage Volume Snapshot [cmdb_ci_storage_vol_snapshot] |
| Google Datacenter [cmdb_ci_google_datacenter] | Hosted on::Hosts | Cloud Service Account [cmdb_ci_cloud_service_account] |
| Google Datacenter [cmdb_ci_google_datacenter] | Contains::Contained by | Availability Zone [cmdb_ci_availability_zone] |
GCP Tag discovery
The Google Cloud Platform (GCP) - Storage pattern collects labels and populates them in two entries in the Key Value [cmdb_key_value] table. One entry references the Storage Volume table, the other entry references the Storage Volume Snapshot table.
| Field | Description |
|---|---|
| Key [key] | The label key. |
| Value [value] | The label value. |
| Configuration item [configuration_item] | References the Storage Volume [cmdb_ci_storage_volume] table. |
| Configuration item [configuration_item] | References the Storage Volume Snapshot [cmdb_ci_storage_vol_snapshot] table. |