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) [modifiers]
10

DESCRIPTION

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

OPTIONS

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 configuration
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  the named shadow copy from the active cluster configu‐
61              ration
62
63       -s, --switch=value
64              (Advanced) Switch to the named shadow copy
65
66   Additional Options:
67       -f, --force
68              (Advanced) Force the action to be performed
69
70       -b, --batch
71              (Advanced) Don't spawn a new shell
72
73       -a, --all
74              (Advanced) Upload the entire CIB, including status, with  --com‐
75              mit
76

EXAMPLES

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

AUTHOR

100       Written by Andrew Beekhof
101

REPORTING BUGS

103       Report bugs to pacemaker@oss.clusterlabs.org
104
105
106
107Pacemaker 1.1.6-1.fc14          September 2011                    PACEMAKER(8)
Impressum