ADMINISTERING
HCL Domino does not currently provide an automated way to move DAOS objects from tier 2 storage to tier 1 storage. The following steps describe how to revert manually.
About this task
The overall steps are as follows. See the detailed steps for more information.
1. Disable DAOS tier 2.
2. Verify that there are objects in tier 2.
3. Copy all tier 2 objects to tier 1 storage.
4. Perform a quick resync.
5. Verify that DAOS no longer has tier 2 references.
6. Delete tier 2 objects.
7. Perform a full resync.
Procedure
1. Disable DAOS tier 2 storage:
b. Restart the Domino server on which you made the change:
Verify that the output says DAOS Tier2 is Disabled.
Note: Although tier 2 is disabled, existing objects that are stored there can still be downloaded by Domino, because its object index is still aware that those objects are stored in tier 2. No additional objects will be pushed to tier 2 at this point, though.
If the output indicates that there are no tier 2 objects, skip the remaining steps in this procedure. The following example output indicates that there are 32 tier 2 objects:
[1998:0002-082C] DAOS TIERED STORAGE SUMMARY[1998:0002-082C] TIER 1 STORAGE:[1998:0002-082C] OBJECTS - 0[1998:0002-082C] MB - 0 MB[1998:0002-082C] TIER 2 STORAGE:[1998:0002-082C] OBJECTS - 32[1998:0002-082C] MB - 70 MB[1998:0002-082C] TOTAL STORAGE :[1998:0002-082C] OBJECTS - 32[1998:0002-082C] MB - 70 MB[1998:0002-082C] AVERAGE AGE - 1521 days
b. To gather additional required information, issue the following command at the server console:
Gather the following information from the command output:
Note: The case must match exactly for the source path, and on non-Windows systems, for the target path.
For example:
aws s3 --profile dominocos ls s3://aws-hcl-dominocos/obj/96A6456FB0F12AE91178C9A8AE0DAB7DB6F1130D/ 96A6456FB0F12AE91178C9A8AE0DAB7DB6F1130D/ --recursive
Example output that lists two objects. You are likely to have more.
2019-10-09 15:55:02 1777421 obj/96A6456FB0F12AE91178C9A8AE0DAB7DB6F1130D/ 96A6456FB0F12AE91178C9A8AE0DAB7DB6F1130D/ 040E4598A2A287490B8DD7784FEB7150B876313E001B1D64.nlo2019-10-09 15:55:01 1771669 obj/96A6456FB0F12AE91178C9A8AE0DAB7DB6F1130D/ 96A6456FB0F12AE91178C9A8AE0DAB7DB6F1130D/ 0E597BF9C316422FCA869567755CD882C8DCC469001B06EC.nlo
aws s3 --profile dominocos cp s3://aws-hcl-dominocos/obj/96A6456FB0F12AE91178C9A8AE0DAB7DB6F1130D/ 96A6456FB0F12AE91178C9A8AE0DAB7DB6F1130D/ C:\Domino\MyServer\Data\DAOS\0001 --recursive
Example console output:
download: s3://aws-hcl-dominocos/obj/96A6456FB0F12AE91178C9A8AE0DAB7DB6F1130D/ 96A6456FB0F12AE91178C9A8AE0DAB7DB6F1130D/ 1FAE990C593D66B44923C1C0E41740F9628DDD170000D902.nlo to .\ 1FAE990C593D66B44923C1C0E41740F9628DDD170000D902.nlodownload:s3://aws-hcl-dominocos/obj/96A6456FB0F12AE91178C9A8AE0DAB7DB6F1130D/ 96A6456FB0F12AE91178C9A8AE0DAB7DB6F1130D/ 11FCA4B81120D5650D67C9427C80D6B8256AFCF30000D902.nlo to .\ 11FCA4B81120D5650D67C9427C80D6B8256AFCF30000D902.nlo
This causes DAOS to refresh its index of objects in both tier 1 and tier 2 but does not do a full resync. If you issue a tell daosmgr status command, the results showcatalogState = RESYNCING. DAOS continues to operate in this state, but doesn't prune any deleted objects.
The output should indicate 0 tier 2 objects, for example:
[1D1C:0002-6170] DAOS TIERED STORAGE SUMMARY[1D1C:0002-6170] TIER 1 STORAGE:[1D1C:0002-6170] OBJECTS - 32[1D1C:0002-6170] MB - 70 MB[1D1C:0002-6170] TIER 2 STORAGE:[1D1C:0002-6170] OBJECTS - 0[1D1C:0002-6170] MB - 0 MB[1D1C:0002-6170] TOTAL STORAGE :[1D1C:0002-6170] OBJECTS - 32[1D1C:0002-6170] MB - 70 MB[1D1C:0002-6170] AVERAGE AGE - 1521 days
aws s3 --profile dominocos rm s3://aws-hcl-dominocos/obj/96A6456FB0F12AE91178C9A8AE0DAB7DB6F1130D/ 96A6456FB0F12AE91178C9A8AE0DAB7DB6F1130D/ --recursive
delete:s3://aws-hcl-dominocos/obj/96A6456FB0F12AE91178C9A8AE0DAB7DB6F1130D/ 96A6456FB0F12AE91178C9A8AE0DAB7DB6F1130D/ 040E4598A2A287490B8DD7784FEB7150B876313E001B1D64.nlodelete:s3://aws-hcl-dominocos/obj/96A6456FB0F12AE91178C9A8AE0DAB7DB6F1130D/ 96A6456FB0F12AE91178C9A8AE0DAB7DB6F1130D/ 11FCA4B81120D5650D67C9427C80D6B8256AFCF30000D902.nlo