storage
element. A storage
element has no properties of its own, but may contain one or more storage-mapping
elements.
Table 10.14. Attributes of a storage-mapping Element
Attribute | Default | Description |
---|---|---|
id
|
| |
source-dir
|
| |
source-dir-root
|
|
The start of a path on the host’s filesystem that will be mapped into the container, using a different subdirectory on the host for each container instance. The subdirectory will be named the same as the replica name. Exactly one of
source-dir and source-dir-root must be specified in a storage-mapping .
|
target-dir
|
| |
options
|
|
Note
Note
primitive
, Pacemaker will automatically map the equivalent of source-dir=/etc/pacemaker/authkey target-dir=/etc/pacemaker/authkey
and source-dir-root=/var/log/pacemaker/bundles target-dir=/var/log
into the container, so it is not necessary to specify those paths in a storage-mapping
.
Important
PCMK_authkey_location
environment variable must not be set to anything other than the default of /etc/pacemaker/authkey
on any node in the cluster.
Important