Linux Red Hat cluster discovery
Discovery can find Linux Red Hat clusters that offer high availability and load balancing.
Required credentials
Configure SSH credentials.
Additional requirements
You also need permissions to read the /etc/hosts/ and /etc/cluster/cluster.conf file, which associates host names with IP addresses.
The following commands are run for Oracle clusterware:
| Command |
|---|
| ``ps -ef | grep corosync | grep -v grep`` |
| `clustat -x` |
| `ifconfig | grep 'inet addr:' |awk '{print $1, $2 }'` |
| `hostname -s` |
| `hostname -s` |
Sudo permission to run: sudo /u01/app/12.1.0.2/grid/bin/ocrcheck | egrep -v 'error|return code'
Classifier, probes, and pattern
| Classifier | Probes | Pattern |
|---|---|---|
| Linux\(Unix classification\) | Horizontal discovery probe: launches patterns | These patterns are an extension of the Linux Server pattern: - UNIX Cluster - Linux Red hat cluster - Linux - Red Hat Cluster The pattern uses the `clustat -x` command and looks at this cluster configuration file: `/etc/cluster/cluster.conf` |
Data collected
| Table | Labels and field names |
|---|---|
| Unix Cluster \[cmdb\_ci\_unix\_cluster\] | Name \[name\] Cluster status \[cluster\_status\] Cluster type \[cluster\_type\] IP address \[ip\_address\] Cluster ID \[cluster\_id\] Cluster version \[cluster\_version\] |
| Unix Cluster Node \[cmdb\_ci\_unix\_cluster\_node\] | Name \[name\] Node state \[node\_state\] IP address \[ip\_address\] Node status \[node\_status\] |
| Unix Cluster Resource \[cmdb\_ci\_unix\_cluster\_resource\] | Name \[name\] Resource type \[resource\_type\] Resource status \[resource\_status\] Properties \[properties\] |
| Cluster Virtual IP \[cmdb\_ci\_cluster\_vip\] | Name \[name\] IP address \[ip\_address\] Cluster ID \[cluster\_id\] |
Relationships
| CI | Relationship | CI |
|---|---|---|
| Unix Cluster \[cmdb\_ci\_unix\_cluster\] | Virtualizes::Virtualized by | Cluster Virtual IP \[cmdb\_ci\_cluster\_vip\] |
| Unix Cluster Resource \[cmdb\_ci\_unix\_cluster\_resource\] | Defines resources for::Gets resources from | Unix Cluster Node \[cmdb\_ci\_unix\_cluster\_node\] |
| Cluster Virtual IP \[cmdb\_ci\_cluster\_vip\] | Uses::Used by | Unix Cluster Node \[cmdb\_ci\_unix\_cluster\_node\] |
| Unix Cluster Node \[cmdb\_ci\_unix\_cluster\_node\] | Cluster of::Cluster | Unix Cluster \[cmdb\_ci\_unix\_cluster\] |
| Unix Cluster Node \[cmdb\_ci\_unix\_cluster\_node\] | Hosted on:Hosts | Unix Cluster \[cmdb\_ci\_unix\_cluster\] |
| Unix Cluster Resource \[cmdb\_ci\_unix\_cluster\_resource\] | Defines resources for::Gets resources from | Unix Cluster \[cmdb\_ci\_unix\_cluster\] |
| Unix Cluster \[cmdb\_ci\_unix\_cluster\] | Hosts::Hosted on | Linux Server \[cmdb\_ci\_linux\_server\] |
| Unix Cluster Node \[cmdb\_ci\_unix\_cluster\_node\] | Hosted on::Hosts | Linux Server \[cmdb\_ci\_linux\_server\] |