1PACEMAKER(8) System Administration Utilities PACEMAKER(8)
2
3
4
6 Pacemaker - Part of the Pacemaker cluster resource manager
7
9 crm_shadow (query|command) [modifiers]
10
12 crm_shadow - Perform configuration changes in a sandbox before updating
13 the live cluster.
14
15 Sets up an environment in which configuration tools (cibadmin,
16 crm_resource, etc) work offline instead of against a live cluster,
17 allowing changes to be previewed and tested for side-effects.
18
20 -?, --help
21 This text
22
23 -$, --version
24 Version information
25
26 -V, --verbose
27 Increase debug output
28
29 Queries:
30 -w, --which
31 Indicate the active shadow copy
32
33 -p, --display
34 Display the contents of the active shadow copy
35
36 -E, --edit
37 Edit the contents of the active shadow copy with your favorite
38 $EDITOR
39
40 -d, --diff
41 Display the changes in the active shadow copy
42
43 -F, --file
44 Display the location of the active shadow copy file
45
46 Commands:
47 -c, --create=value
48 Create the named shadow copy of the active cluster configuration
49
50 -e, --create-empty=value
51 Create the named shadow copy with an empty cluster configura‐
52 tion. Optional: --validate-with
53
54 -C, --commit=value
55 Upload the contents of the named shadow copy to the cluster
56
57 -D, --delete=value
58 Delete the contents of the named shadow copy
59
60 -r, --reset=value
61 Recreate the named shadow copy from the active cluster configu‐
62 ration
63
64 -s, --switch=value
65 (Advanced) Switch to the named shadow copy
66
67 Additional Options:
68 -f, --force
69 (Advanced) Force the action to be performed
70
71 -b, --batch
72 (Advanced) Don't spawn a new shell
73
74 -a, --all
75 (Advanced) Upload the entire CIB, including status, with --com‐
76 mit
77
78 -v, --validate-with=value
79 (Advanced) Create an older configuration version
80
82 Create a blank shadow configuration:
83
84 # crm_shadow --create-empty myShadow
85
86 Create a shadow configuration from the running cluster:
87
88 # crm_shadow --create myShadow
89
90 Display the current shadow configuration:
91
92 # crm_shadow --display
93
94 Discard the current shadow configuration (named myShadow):
95
96 # crm_shadow --delete myShadow
97
98 Upload the current shadow configuration (named myShadow) to the running
99 cluster:
100
101 # crm_shadow --commit myShadow
102
104 Written by Andrew Beekhof
105
107 Report bugs to users@clusterlabs.org
108
109
110
111Pacemaker 1.1.18-3.el6 June 2018 PACEMAKER(8)