PACEMAKER(8)

🌸 NAME 🌸

Pacemaker β€” literally part of the Pacemaker cluster resource manager, bestie. That's the whole vibe.


✨ SYNOPSIS ✨

crm_shadow <query>|<command> [options]

πŸ’– DESCRIPTION πŸ’–

Okay so the tea is: this command lets you do Pacemaker configuration changes in a sandbox. Like a little play area. A test kitchen. 🧚

It sets up an environment where your config tools (cibadmin, crm_resource, etc.) work offline instead of against a live cluster β€” so you can preview your changes and test them for side effects before they touch anything real. No cap, it's giving "rehearse before the main character moment." πŸ‘‘


πŸŽ€ OPTIONS πŸŽ€

πŸ’… Help Options:

  • -h, --help β€” Shows the help options. The classic.
  • --help-all β€” Shows, like, all of the help options. Everything. The whole menu.
  • --help-output β€” Shows output help.
  • --help-queries β€” Shows query help.
  • --help-commands β€” Shows command help.
  • --help-additional β€” Shows additional options.

🌈 Output Options:

  • --output-as=FORMAT β€” Pick your output format, one of: text (that's the default, btw) or xml.
  • --output-to=DEST β€” Say where the output goes β€” a file name, or - for stdout. 🫢

πŸ¦‹ Queries:

  • -w, --which β€” Tells you which shadow copy is currently active.
  • -p, --display β€” Displays what's actually inside the active shadow copy.
  • -d, --diff β€” Displays the changes in the active shadow copy. The glow-up report. ✨
  • -F, --file β€” Displays the location of the active shadow copy's file.

πŸ”₯ Commands:

  • -c, --create=name β€” Creates the named shadow copy of the active cluster configuration.
  • -e, --create-empty=name β€” Creates the named shadow copy with an empty cluster configuration. Optional add-on: --validate-with
  • -C, --commit=name β€” Uploads the contents of the named shadow copy to the cluster. Sending it, fr.
  • -D, --delete=name β€” Deletes the contents of the named shadow copy. Bye bestie. πŸ’€
  • -E, --edit β€” Edits the contents of the active shadow copy with your favorite $EDITOR.
  • -r, --reset=name. Required: --force. β€” Recreates the named shadow copy from the active cluster configuration. And yes, --force is required, it's literally in the name. πŸ™ˆ
  • -s, --switch=name β€” (Advanced) Switches to the named shadow copy.

πŸ‘‘ Additional Options:

  • -f, --force β€” (Advanced) Forces the action to be performed. Like, makes it happen.
  • -b, --batch β€” (Advanced) Don't spawn a new shell.
  • -a, --all β€” (Advanced) Uploads the entire CIB, including status, with --commit.
  • -v, --validate-with β€” (Advanced) Creates an older configuration version.

πŸ“ Application Options:

  • -$, --version β€” Displays the software version and exits.
  • -V, --verbose β€” Increases debug output. You can specify this multiple times, so go off. πŸ”₯

⭐ EXAMPLES ⭐

Create a blank shadow configuration:

# crm_shadow --create-empty myShadow

Create a shadow configuration from the running cluster:

# crm_shadow --create myShadow

Display the current shadow configuration:

# crm_shadow --display

Discard the current shadow configuration (named myShadow):

# crm_shadow --delete myShadow --force

Upload current shadow configuration (named myShadow) to running cluster:

# crm_shadow --commit myShadow

πŸ’œ AUTHOR πŸ’œ

Written by Andrew Beekhof and the Pacemaker project contributors. Icons. Legends. 🫢


And that's the whole page, bestie! This one's from Pacemaker 3.0.3+20260728.7052..., dated September 2026 β€” so you know it's fresh. Go forth and sandbox responsibly. πŸ’–βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from