1PACEMAKER(8)            System Administration Utilities           PACEMAKER(8)
2
3
4

NAME

6       Pacemaker - Part of the Pacemaker cluster resource manager
7

SYNOPSIS

9       crm_shadow <query>|<command> [options]
10

DESCRIPTION

12       crm_shadow - perform Pacemaker configuration changes in a sandbox
13
14       This  command  sets  up  an  environment  in  which configuration tools
15       (cibadmin, crm_resource, etc.) work offline instead of against  a  live
16       cluster, allowing changes to be previewed and tested for side-effects.
17

OPTIONS

19       -?, --help
20              This text
21
22       -$, --version
23              Version information
24
25       -V, --verbose
26              Increase debug output
27
28   Queries:
29       -w, --which
30              Indicate the active shadow copy
31
32       -p, --display
33              Display the contents of the active shadow copy
34
35       -E, --edit
36              Edit  the  contents of the active shadow copy with your favorite
37              $EDITOR
38
39       -d, --diff
40              Display the changes in the active shadow copy
41
42       -F, --file
43              Display the location of the active shadow copy file
44
45   Commands:
46       -c, --create=value
47              Create the named shadow copy of the active cluster configuration
48
49       -e, --create-empty=value
50              Create the named shadow copy with an  empty  cluster  configura‐
51              tion. Optional: --validate-with
52
53       -C, --commit=value
54              Upload the contents of the named shadow copy to the cluster
55
56       -D, --delete=value
57              Delete the contents of the named shadow copy
58
59       -r, --reset=value
60              Recreate named shadow copy from the active cluster configuration
61
62       -s, --switch=value
63              (Advanced) Switch to the named shadow copy
64
65   Additional Options:
66       -f, --force
67              (Advanced) Force the action to be performed
68
69       -b, --batch
70              (Advanced) Don't spawn a new shell
71
72       -a, --all
73              (Advanced) Upload entire CIB, including status, with --commit
74
75       -v, --validate-with=value
76              (Advanced) Create an older configuration version
77

EXAMPLES

79       Create a blank shadow configuration:
80
81              # crm_shadow --create-empty myShadow
82
83       Create a shadow configuration from the running cluster:
84
85              # crm_shadow --create myShadow
86
87       Display the current shadow configuration:
88
89              # crm_shadow --display
90
91       Discard the current shadow configuration (named myShadow):
92
93              # crm_shadow --delete myShadow --force
94
95       Upload  current  shadow configuration (named myShadow) to running clus‐
96       ter:
97
98              # crm_shadow --commit myShadow
99

AUTHOR

101       Written by Andrew Beekhof and the Pacemaker project contributors
102

REPORTING BUGS

104       Report bugs to users@clusterlabs.org
105
106
107
108Pacemaker 2.1.5-3.fc37           December 2022                    PACEMAKER(8)
Impressum