Replay tasks and vault settings
A few scenarios exist that prevent the Replay from operating correctly.
- Vault versioning
- Name index
- Recover listing
Figure 1 shows settings for the first three items on the vault configuration page in the DsNet Manager user interface.
If a scan does not complete successfully, make sure that you check the log file for errors and warnings. In some cases, you must modify the settings file as detailed in the errors and warning messages. The settings file is located at: /opt/ibm/metaocean/data/connections/cos/scan/scanner-settings.json
Table 1 shows the behavior for the Replay for different combinations of the four variables.
ID | Name index | Recovery listing | Versioned | Cloud Object Storage Replay behavior |
---|---|---|---|---|
0 | ✗ | ✗ | ✗ | ❎ Stop start-up and report error in config file: Error: Objects cannot be listed because Name Index and Recovery Index are both disabled. You might enable Recovery Listing on the vault or add this vault to the "exclude_vaults" list in the configuration file. For example:
|
1 | ✗ | ✗ | ✓ | ❎ Stop start-up and report error in config file: Error: Objects cannot be listed because Name Index and Recovery Index are both unavailable. You might enable Recovery Listing on the vault or add this vault to the "exclude_vaults" list in the configuration file. For example:
|
2 | ✗ | ✓ | ✗ | ☑ Object Listing is run. |
3 | ✗ | ✓ | ✓ | ☑ Object Listing runs. Only the most recent version of each object is listed. A warning is
logged: Warning: Versions cannot be listed as Name Index is unavailable. An
object scan is run and only the most recent version of each object is listed. You must add
Switching Name Index on does not enable scanning of a full version history. Objects created while Name Index is off is not present when it is enabled. |
4 | ✓ | ✗ | ✗ | ☑ Object Listing is run. |
5 | ✓ | ✗ | ✓ | ☑ Object Listing is run. |
6 | ✓ | ✓ | ✗ | ☑ Object Listing is run. |
7 | ✓ | ✓ | ✓ | ! Stop start-up and report warning: This is a versioned vault but version scanning is not possible as Recovery Listing is enabled. You might either disable Recovery Listing on the vault to allow version scanning, or rerun the Replay with the argument override-warnings: true to allow object scanning. |