Format of a cluster snapshot

The cluster snapshot utility stores the data it saves in two separate files created in the directory /usr/es/sbin/cluster/snapshots: the ODM data file and the Cluster state information file.

ODM Data File (.odm)
This file contains all the data stored in the PowerHA® SystemMirror® Configuration Database object classes for the cluster. This file is given a user-defined basename with the .odm file extension. Because the Configuration Database information is largely the same on every cluster node, the cluster snapshot saves the values from only one node.
Cluster State Information File (.info)
This file contains the output from standard AIX® and PowerHA SystemMirror system management commands. This file is given the same user-defined basename file with the .info file extension. Output from custom snapshot methods is appended to this file.

Cluster snapshot ODM data file

The cluster snapshot Configuration Database data file is an ASCII text file divided into three delimited sections:

Version section
This section identifies the version of the cluster snapshot. The characters <VER identify the start of this section; the characters </VER identify the end of this section. The version number is set by the cluster snapshot software.
Description section
This section contains user-defined text that describes the cluster snapshot. You can specify up to 255 characters of descriptive text. The characters <DSC identify the start of this section; the characters </DSC identify the end of this section.
ODM data section
This section contains the PowerHA SystemMirror Configuration Database object classes in generic AIX ODM stanza format. The characters <ODM identify the start of this section; the characters </ODM identify the end of this section.

The following is an excerpt from a sample cluster snapshot Configuration Database data file showing some of the ODM stanzas that are saved.

<VER
1.0
</VER

<DSC
My Cluster Snapshot
</DSC

<ODM

PowerHA SystemMirror cluster:
id = 97531
name = "Breeze1"
nodename = "mynode"
sec_level = "Standard"
last_node_ids = "2,3"
highest_node_id = 3
last_network_ids = "3,6"
highest_network_id = 6
last_site_ides = " "
highest_site_id = 0
handle = 3
cluster_version = 5
reserved1 = 0
reserved2 = 0
wlm_subdir = " "

PowerHA SystemMiror node:
name = "mynode"
object = "VERBOSE_LOGGING"
value = "high"
.
.
.
</ODM