It sounds like you're putting ACFS through its paces before making the big jump. Testing for IO sustainability is a smart move—DBFS and ACFS handle contention very differently, so getting those benchmarks now will save you a headache during the actual cutover.
Here is your content organized with H2 headings to improve scannability while keeping your original text and code exactly as provided.
I am currently working on project to migrate GoldenGate trail from Oracle Database File System (DBFS) to Oracle Automatic Storage Management Cluster File System (ACFS). The migration is performed in two phases. This is the first phase, in which I create ACFS and synchronize DBFS to ACFS. The rationale is to test if ACFS can sustain IO before actual migration and to ensure there are no issues with ACFS configuration.
Environment: [code] GoldenGate trail from DBFS resides at /ggdata01/FS1 (source) GoldenGate trail from ACFS resides at /ggdata02/FS1 (target) [/code]
Currently, rsync is being used with the following parameters: [code] -v: verbose -r: recursive -p: preserve permissions -o: preserve owner -g: preserve group -t: preserve modifications time --delete-after [/code]
Syntax to copy all directories and files from /ggdata01/FS1 to /ggdata02/FS1. Any files deleted from /ggdata01/FS1 will be deleted at /ggdata02/FS1 after rsync has completed.
[code]
Check for differences between two directories. File cpe is expected to be different as this is continuously changed at source while GoldenGate processes are running.
[code]
Why did diff take so long and what was causing the delay? As it turns out, there are 1277 files from dirdat directory to compare between source and target.
[code]
Why are there so many files? Currently, the trail size is 200M which is too small; hence, many files are created. If the trail size is increased to 500M then there will be only 511 trail files (1277*200/500). Also, there is a gap from source ih000302802 vs target ih000302713 as more trails were generated while diff was running for 86m.
[code]
Due to the duration for rsync to complete, it is scheduled to run every two hours at even hours, i.e. 00:00 2:00, 04:00, etc...
[code]
script to sync dbfs to acfs for goldengate - dinh - July 17, 2019
0 */2 * * * /home/oracle/working/dinh/acfs_ggdata02_rsync.sh > /tmp/rsync_acfs_ggdata01_to_ggdata02.log 2>&1 [/code]
Email log as attachment: [code]
In conclusion, rsync is a very good feature to use for synchronization and it was used for DBFS to ACFS migration.
Ready to optimize your Oracle Database for the future?