---
sourceDocument: Yokohama IT Operations Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/yokohama/it-operations-management

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama IT Operations Management

ft:clusterId :

    - itom

bundleId :

    - itom

workflow :

    - Technology


---

# Linux Pacemaker Cluster

# Linux Pacemaker Cluster discovery {#ariaid-title1}

* Release version: Yokohama
* 
* Updated January 30, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read

The ServiceNow
Discovery application uses the Linux Pacemaker Cluster discovery pattern to find
high-availability cluster data and populate the CMDB with
the discovered information. Discovering some of these resources may require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.
This pattern is an extension section of the [Linux Server](https://servicenow-prod.fluidtopics.net/tbWHQ8W2tJRHRooeehDOHA "Discovery and Service Mapping applications use probes and patterns to discover and map information about Linux computers and servers. The information is populated in the CMDB. 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. Discovery uses the pattern to run horizontal discovery.

You can use this pattern on the ServiceNow AI Platform® using the Madrid release or later.

## Request apps on the Store {#linux-pacemaker-cluster-discovery__section_jj1_md3_slb}

Visit the [ServiceNow Store](https://store.servicenow.com/sn_appstore_store.do#!/store/home) website to view all the available apps and for information about submitting requests to the store. For cumulative release notes information for all released apps, see the [ServiceNow Store version history release notes](https://www.servicenow.com/docs/r/store-release-notes/sn-store-release-notes.html).{#linux-pacemaker-cluster-discovery__inline-send-to-store}

## Prerequisites {#linux-pacemaker-cluster-discovery__section_lpl_441_cmb}

* Configure [SSH credentials](https://www.servicenow.com/docs/access?context=r_SSHCredentialsForm&version=yokohama&pubname=yokohama-platform-security&ft:locale=en-US) for the Linux server.
* Provide a user with permissions to read the following files:
  * `/etc/hosts`
  * `/etc/corosync/corosync.conf`
  * `/var/lib/heartbeat/crm/cib.xml`, or `/var/lib/pacemaker/cib/cib.xml` from Linux SP3
  {#linux-pacemaker-cluster-discovery__ul_lm1_b2b_cmb}
* Provide a user with permissions to run the following commands:`ps -ef | grep
  corosync | grep -v grep`

  `ps -ef | grep pacemaker | grep -v
  grep`

  `ifconfig | grep 'inet addr:' |awk '{print $1, $2
  }'`

  `hostname -s`

  `hostname
  -f`
{#linux-pacemaker-cluster-discovery__ul_r3g_ggb_cmb}

## Data collected by Discovery during horizontal discovery {#linux-pacemaker-cluster-discovery__section_e55_fp1_cmb}

The discovered data includes the following tables and fields.{#linux-pacemaker-cluster-discovery__table_dtp_hp1_cmb__entry__2}

| Table and field | Description |
|-|-|
| Main CI - UNIX Cluster \[cmdb_ci_unix_cluster\] ||
| name | Cluster name. |
| cluster_id | Cluster ID. Contains the nodes ID. |
| cluster_type | Cluster type. |
| cluster_status | Cluster status: Online/offline. |
| cluster_version | Cluster version. |
| UNIX Cluster Resource \[cmdb_ci_unix_cluster_resource\] ||
| name | Resource name. |
| resource_type | Resource type. |
| resource_status | Resource status. For example, Started. |
| ip_address | IP address of the machine where the resource is running. |
| fqdn | FQDN of the machine where the resource is running. |
| Cluster Virtual IP \[cmdb_ci_cluster_vip\] ||
| name | Cluster VIP name. |
| ip_address | IP address of the VIP. |
| Cluster Resource Group \[cmdb_ci_cluster_resource_group\] ||
| name | Resource group name. |
| node | Resource group node. |
| resource_group_status | Resource group status. |
| server | Resource group server. |
| fqdn | FQDN of the machine where the resource group is running. |
| UNIX Cluster Node \[cmdb_ci_unix_cluster_node\] ||
| name | Node name and node ID. |
| node_status | Node status. |
| node_state | Node state. |
| fqdn | FQDN of the machine where the node is running. |
[ ]

{#linux-pacemaker-cluster-discovery__table_dtp_hp1_cmb}  
The Dependency Views map shows discovered load balancer CIs and the relationships between them.  

## CI relationships {#linux-pacemaker-cluster-discovery__section_bqt_mp1_cmb}

These relationships are created to support Linux Pacemaker Cluster discovery:{#linux-pacemaker-cluster-discovery__table_p3n_pp1_cmb__entry__3}

| CI | Relationship | CI |
|-|-|-|
| cmdb_ci_unix_cluster | Hosts::Hosted on | cmdb_ci_linux_server |
| cmdb_ci_unix_cluster_node | Hosted on::Hosts | cmdb_ci_linux_server |
| cmdb_ci_unix_cluster_node | Cluster of::Cluster | cmdb_ci_unix_cluster |
| cmdb_ci_cluster_vip | Uses::Used by | cmdb_ci_unix_cluster_node |
| cmdb_ci_cluster_vip | Virtualized by::Virtualized | cmdb_ci_unix_cluster |
| cmdb_ci_unix_cluster_resource | Defines resources for::Gets resources from | cmdb_ci_unix_cluster |
| cmdb_ci_unix_cluster_resource | Defines resources for::Gets resources from | cmdb_ci_unix_cluster_node |
| cmdb_ci_cluster_resource_group | Contains::Contained by | cmdb_ci_unix_cluster |
| cmdb_ci_cluster_resource_group | Contains::Contained by | cmdb_ci_unix_cluster_node |
| cmdb_ci_cluster_resource_group | Contains::Contained by | cmdb_ci_unix_cluster_resource |
[ ]

{#linux-pacemaker-cluster-discovery__table_p3n_pp1_cmb}

