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       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 Options:
20       -h, --help
21              Show help options
22
23       --help-all
24              Show all help options
25
26       --help-output
27              Show output help
28
29       --help-queries
30              Show query help
31
32       --help-commands
33              Show command help
34
35       --help-additional
36              Show additional options
37
38   Output Options:
39       --output-as=FORMAT
40              Specify output format as one of: text (default), xml
41
42       --output-to=DEST
43              Specify file name for output (or "-" for stdout)
44
45       --text-fancy
46              Use more highly formatted output (requires --output-as=text)
47
48   Queries:
49       -w, --which
50              Indicate the active shadow copy
51
52       -p, --display
53              Display the contents of the active shadow copy
54
55       -d, --diff
56              Display the changes in the active shadow copy
57
58       -F, --file
59              Display the location of the active shadow copy file
60
61   Commands:
62       -c, --create=name
63              Create the named shadow copy of the active cluster configuration
64
65       -e, --create-empty=name
66              Create  the  named  shadow copy with an empty cluster configura‐
67              tion.  Optional: --validate-with
68
69       -C, --commit=name
70              Upload the contents of the named shadow copy to the cluster
71
72       -D, --delete=name
73              Delete the contents of the named shadow copy
74
75       -E, --edit
76              Edit the contents of the active shadow copy with  your  favorite
77              $EDITOR
78
79       -r, --reset=name
80              Recreate named shadow copy from the active cluster configuration
81
82       -s, --switch=name
83              (Advanced) Switch to the named shadow copy
84
85   Additional Options:
86       -f, --force
87              (Advanced) Force the action to be performed
88
89       -b, --batch
90              (Advanced) Don't spawn a new shell
91
92       -a, --all
93              (Advanced) Upload entire CIB, including status, with --commit
94
95       -v, --validate-with
96              (Advanced) Create an older configuration version
97
98   Application Options:
99       -$, --version
100              Display software version and exit
101
102       -V, --verbose
103              Increase debug output (may be specified multiple times)
104

EXAMPLES

106       Create a blank shadow configuration:
107
108              # crm_shadow --create-empty myShadow
109
110       Create a shadow configuration from the running cluster
111
112              # crm_shadow --create myShadow
113
114       Display the current shadow configuration:
115
116              # crm_shadow --display
117
118       Discard the current shadow configuration (named myShadow):
119
120              # crm_shadow --delete myShadow --force
121
122       Upload  current  shadow configuration (named myShadow) to running clus‐
123       ter:
124
125              # crm_shadow --commit myShadow
126

AUTHOR

128       Written by Andrew Beekhof and the Pacemaker project contributors
129
130
131
132Pacemaker 2.1.7-0.3.rc2.fc38     November 2023                    PACEMAKER(8)
Impressum