Manual HADR data collection

If you suspect that there is congestion within HADR, you can manually collect HADR related data by issuing the db2fodc command with the -hadr parameter for use in troubleshooting HADR.
To manually collect HADR related data, run the following command on the primary or standby host:
db2fodc -hadr -db dbname
This command invokes the db2cos_hadr (db2cos_hadr.bat on Windows) script and places the collected data in the FODC_Hadr_timestamp_hostname_Primary|Standby|Standard directory, which is created in the DIAGPATH directory.

The FODC_Hadr_timestamp_hostname_Primary, Standby, or Standard directory is created in the DIAGPATH directory. You can modify the db2cos_hadr script and place it in the sqllib/adm/directory directory so that this script is used when HADR data collection is started.