If a redundancy level is forced, every operation is redirected to the redundancy segment that represents that level.
In case of write operations, no redundancy data is written (since you write directly on a redundancy segment that
does not have other redundancy segments). This is a debug function, so use it with caution!
If the forced redundancy level is set within an operation property (stopprop), the redundancy level will then
overwrite the one that has been set using this function (for that particular operation).

Mandatory Parameters

Parameter Name Data Type Description
vid integer Volume ID
force_red_level integer Forced_red Level of redundancy that should be used for reading/writing. Level 1 selects the master segment. Example: it enables the 'normal' behaviour, including red. write operations and automatic recovery (copy-on-demand) for read operations. A higher level selects the corresponding redundancy segment.

Optional Parameters

Parameter Name Data Type Description
vname string Name of an existing volume

Substitute Parameters

The below table describes what parameters can be substituted for another parameter.

Parameter Name Substitute Parameter
vid vname
vname vid

Allowed Users

There are no defined allowed users.

Allowed Groups

The following groups are allowed to run this job:

  • root


The following code snippets show how to use this job using both Python (via XML-RPC) and on the command-line using confd_client.