Enabling/Disabling HDR

In the system configuration, you can enable HDR by first turning on the system’s collection function, then choosing the records you want to capture, and finally setting up server(s) to which you want records sent.

The main collect configuration (found within the main system configuration) allows you to create global settings that:

  • Enable or disable HDR at boot time
  • Set the sample rate in seconds, or the time between sample individual collections
  • Set the time, in seconds, between individual pushes to designated servers (configured in the push receiver configuration accessed via the collect configuration)
  • Set the time you want the collect to start and stop; time is entered in year, month, day, hours, minutes, and seconds

You also configure settings for each group of data you want to collect, and the push receiver (server) to which you want data sent.

For more information about configuring HDR on the OCSBC, see the Configuring HDR section.

Protocol Use

You can configure HDR to send files using File Transfer Protocol (FTP) or Secure File Transfer Protocol (SFTP) for added security. FTP is the default.

Note:

Public key authentication is not available when you choose SFTP. Instead, the OCSBC uses password authentication. However, for SFTP to work, it is still required that you load the SFTP’s host public key on the OCSBC.

About the CSV File

When HDR is enabled, statistical records are forwarded from the OCSBC to push servers that send the data (in standard format) to a receiving server for viewing in a comma-separated value (CSV) file on the server. Before pushing a file, the collector creates the directory by group name for which the statistic belongs (for example, fan, sip-client, system, etc.), if the directory does not exist from a previous push.

The collector can push multiple CSV files per directory. Each file is formatted as <Unix timestamp>.csv (for example, 1302041977.csv). The first record of each file is a header containing the attribute name. For example, in the System directory, a file name of 13020441977.csv can contain the header names of CPU Utilization, Memory Utilization, Health Score, Redundancy State, etc. The collector appends a Timestamp heading attribute to the beginning of every record as well. You can open the CSV file for viewing with any application that reads a CSV file format. For more information about the CSV file, see HDR Data.

Note:

The records in a CSV file may display differently, depending on the record data included in the file, and the method used to open the file. For more information about the display of record data in a CSV file, see Appendix A, CSV File Data Formats.

Collection Interval and Push

In your HDR configuration, you can set parameters that allow you to:

  • Select the groups for record collection
  • Set the frequency of record collection
  • Set the frequency of off-box record collection

After configuring and enabling HDR, the OCSBC forwards group records to push servers that send the data to a receiving server. The number of records in a push equals the push interval divided by the sample interval time multiplied by the number of groups, plus one:

push interval ÷ sample interval time x number of groups +1 header record per group = number of records in a push

For example, if you set a push interval time of 60 minutes and a sample interval time of 5 minutes, with 10 groups, the OCSBC would send 120 group records plus 10 header records (for a total of 130 records) for each push:

[(60 ÷ 5) x 10] +10 = 130

You can configure an option parameter (disabled by default) that instructs the OCSBC to send a trap when data has been successfully pushed. This trap is defined in the ap-smgmt.mib. It contains the name of the node that successfully pushed the HDR file to an HDR server, a unique file name for the HDR file that was pushed, and the IP address of the push receiver (configured in the global collection configuration). For more information about the HDR SNMP traps, see the product-specific OCSBC MIB Reference Guide.

Note:

After each push, the OCSBC clears (deletes) all records. The OCSBCSD also clears files on system reboot, and after three consecutive push failures.