Testing with Shadow Configuration

[Note]For Experienced Administrators Only

Although the concept is easy, it is nevertheless recommended to use shadow configuration only, when you really need them and got some experience with High Availability.

A shadow configuration is used to test different configuration scenarios. If you have created several shadow configuration, you can test it one by one to see the effect of your changes.

The usual process looks like this:

  1. User starts the crm tool.

  2. You switch to the configure subcommand:

    crm(live)# configure
    crm(live)configure#
  3. Now you can make your changes. However, when you figure out that they are risky or you want to apply them later, you can save them into a new shadow configuration:

    crm(live)configure# cib new myNewConfig
    INFO: myNewConfig shadow CIB created
    crm(myNewConfig)configure# commit
  4. After you have created the shadow configuration, you can make your changes.

  5. To switch back to the live cluster configuration, use this command:

    crm(myNewConfig)configure# cib use
    crm(live)configure#