July 27, 2024

[ad_1]

This weblog is the fourth in a sequence and it follows the weblog Analyze Pacemaker occasions in Cloud Logging, which describes how one can set up and configure Google Cloud Ops Agent to stream Pacemaker logs of all of your excessive availability clusters to Cloud Logging. You possibly can analyze Pacemaker occasions occurring to any of your clusters in a single central place. However what in case you don’t have this agent put in and wish to know what occurred to your cluster?

Let’s take a look at this open supply python script logparser, which can enable you consolidate related Pacemaker logs from cluster nodes and filter the log entries for vital occasions similar to fencing or useful resource failure. It takes under log information as enter information and generates an output file of log entries in chronological order for vital occasions.

The way to use this script?

The script is on the market to obtain from this GitHub repository and helps a number of platforms.

Stipulations

This system requires Python three.6+. It could run on Linux, Home windows and MacOS. As step one, set up or replace your Python surroundings. Second, clone the GitHub repository as proven under.

[ad_2]

Source link