Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Linux Pacemaker Cluster discovery

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 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

Visit the ServiceNow Store 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.

Prerequisites

  • Configure SSH credentials 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
  • 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

Data collected by Discovery during horizontal discovery

The discovered data includes the following tables and fields.

Table and fieldDescription
Main CI - UNIX Cluster [cmdb_ci_unix_cluster]
nameCluster name.
cluster_idCluster ID. Contains the nodes ID.
cluster_typeCluster type.
cluster_statusCluster status: Online/offline.
cluster_versionCluster version.
UNIX Cluster Resource [cmdb_ci_unix_cluster_resource]
nameResource name.
resource_typeResource type.
resource_statusResource status. For example, Started.
ip_addressIP address of the machine where the resource is running.
fqdnFQDN of the machine where the resource is running.
Cluster Virtual IP [cmdb_ci_cluster_vip]
nameCluster VIP name.
ip_addressIP address of the VIP.
Cluster Resource Group [cmdb_ci_cluster_resource_group]
nameResource group name.
nodeResource group node.
resource_group_statusResource group status.
serverResource group server.
fqdnFQDN of the machine where the resource group is running.
UNIX Cluster Node [cmdb_ci_unix_cluster_node]
nameNode name and node ID.
node_statusNode status.
node_stateNode state.
fqdnFQDN of the machine where the node is running.

The Dependency Views map shows discovered load balancer CIs and the relationships between them.

Image omitted: linux-pacemaker-cluster-dep-view.png
CIs and connections on a Dependency Views map

CI relationships

These relationships are created to support Linux Pacemaker Cluster discovery:

CIRelationshipCI
cmdb_ci_unix_clusterHosts::Hosted oncmdb_ci_linux_server
cmdb_ci_unix_cluster_nodeHosted on::Hostscmdb_ci_linux_server
Cluster of::Clustercmdb_ci_unix_cluster
cmdb_ci_cluster_vipUses::Used bycmdb_ci_unix_cluster_node
Virtualized by::Virtualizedcmdb_ci_unix_cluster
cmdb_ci_unix_cluster_resourceDefines resources for::Gets resources fromcmdb_ci_unix_cluster
Defines resources for::Gets resources fromcmdb_ci_unix_cluster_node
cmdb_ci_cluster_resource_groupContains::Contained bycmdb_ci_unix_cluster
Contains::Contained bycmdb_ci_unix_cluster_node
Contains::Contained bycmdb_ci_unix_cluster_resource

Parent Topic:Available on-premise discovery patterns