It will be able to find your old files, but any new files will be flat file and managed by the application virtually.
Original Message:
Sent: Wed April 30, 2025 09:16 PM
From: Surender Balasundaram
Subject: MAS Migrate Attachments with same folder structure using mxe.cosnestedfile = 1
Hi Alexey, IBM article for mxe.cosnestedfile is not working as expected as per the documentation.
What we are planning to achieve is mx 7.6 C:\docklinks\Attachments to MAS 9 S3 <RootBucket>/Attachments folder. Amazon S3 allows us to create sub-folders from Bucket and makes the sub-folder name as part of key of that file.
In your recommended article, they are renaming the file in NFS and uploading it in root bucket, instead of creating a sub-folder Attachments. What we think it IBM is not supporting the sub-folders and we won't be able to retain the same folder structure as in NFS for migrated documents. It is confirmed by Prashanth in above thread.
Thanks,
Suren
------------------------------
Surender Balasundaram
Asset Data Coordinator
Downer
Sydney NSW
Original Message:
Sent: Wed April 30, 2025 07:27 PM
From: Alexey Potanin
Subject: MAS Migrate Attachments with same folder structure using mxe.cosnestedfile = 1
Hi guys,
Based on the article, IBM clearly states that mxe.cosnestedfile property (to support S3 bucket with folders) is working only for migrated attachments
It is important to notice that S3 for attachments does not support to upload new attachments to folders and sub-folders. The files are always uploaded to the root of the COS. That makes the maintenance of Manage Folders path not necessary, as this information is not considered for COS configuration. S3 expects all files to be in the top level directory as a result any files in lower directory levels will not be found by Maximo.
Existing files that were migrated from older Maximo environments with the original sub-folders structure may be located by Manage in S3. To deal with this set the mxe.cosnestedfile system property to 1. This allows documents in lower directories to be found by Manage.
Though I still don't understand how you could get a folder structure with S3 bucket as a storage for attachments :(
For people moving from NFS to S3 bucket I would recommend reading following article: https://www.naviam.io/resources/blog/prepare-for-mas-utilizing-s3-storage-for-attached-documents-in-7-6-1
------------------------------
Alexey Potanin
Original Message:
Sent: Wed April 30, 2025 04:10 AM
From: Surender Balasundaram
Subject: MAS Migrate Attachments with same folder structure using mxe.cosnestedfile = 1
Hi Alexey,
We have enabled the doclinks log, but it shows all the path and filename correctly.
But, we think it might be a product bug on OOB class class file - com.ibm.tivoli.maximo.oslc.provider.COSAttachmentStorage method getAttachment. It is not able to find the fileName if there are nestedFolder of more than 1 hierarchy.
So, we want to check with the community if anyone has migrated the documents from mx 7.6 NFS folder to MAS - Amazon s3 bucket with same folder structure along with mxe.cosnestedfile = 1
Thanks,
Suren
------------------------------
Surender Balasundaram
Asset Data Coordinator
Downer
Sydney NSW
Original Message:
Sent: Tue April 29, 2025 06:46 PM
From: Alexey Potanin
Subject: MAS Migrate Attachments with same folder structure using mxe.cosnestedfile = 1
Hi Surender,
I have not tried this property so I am just guessing you are following steps in the article https://www.ibm.com/support/pages/collecting-data-s3-storage-attachments, right?
What do you get in the Maximo logs?
If you turn on a development mode in the browser, do you get any error?
Regards, Alexey
------------------------------
Alexey Potanin
Original Message:
Sent: Mon April 28, 2025 10:55 PM
From: Surender Balasundaram
Subject: MAS Migrate Attachments with same folder structure using mxe.cosnestedfile = 1
Hi Team,
Did anyone migrate attachments from file server in Maximo 7.6.x to MAS 9.0.8 Amazon S3 with same folder structure by setting a new system property mxe.cosnestedfile = 1 ?
We tried using this property mxe.cosnestedfile = 1 and migrated the existing attachment using same folder structure. MAS is not able to open the document, but we are able to read the document using the standalone automation script. We have set the docinfo.urlname to correct one.
The documents uploaded to root bucket from maximo is working fine. But not the migrated documents inside folders.
We think it might be a product bug. Kindly provide any inputs.
Thanks,
Suren
------------------------------
Surender Balasundaram
Asset Data Coordinator
Downer
Sydney NSW
------------------------------