High Availability and Clusters

The following features, enhancements, and changes related to high availability are introduced in this Oracle Linux 9 release.

Deleting Several Resources With a Single pcs Command

You can now specify several resources at the same time when using the pcs resource delete, pcs resource remove, pcs stonith delete, and pcs stonith remove commands, so that you don't have to run the command repeatedly for each resource that you want to remove.

For example, you can run:

pcs resource delete service2 service3

--output-format Option Available for pcs Commands

The --output-format option is added to various pcs commands, to display output in different formats. The option accepts the following values:

  • text: displays output in plain text,

  • cmd: displays output as pcs commands to re-create the configuration,

  • json: displays output in JSON format for machine parsing.

The --output-format option can be used with the pcs stonith config and pcs stonith level config commands to display fencing level configuration.

The --output-format option can be used with the pcs tag command to display configured tags. For example:

pcs tag --output-format cmd