Viewing and Reattempting Failed Uploads
Configure Oracle Autonomous Health Framework to display and reattempt to upload the failed uploads.
The tools store the values in the collection_dir/outfiles/check_env.out file to record if the previous database upload was successful or not.
The following example shows that database upload has been set up, but the last upload was unsuccessful:
DATABASE_UPLOAD_SETUP=1
DATABASE_UPLOAD_STATUS=0
To view and reattempt failed uploads:
To view failed collections, use the
-checkfaileduploadsoption.orachk -checkfaileduploadsexachk -checkfaileduploadsFor example:
$ orachk -checkfaileduploads List of failed upload collections /home/oracle/orachk_myserver_042016_232011.zip /home/oracle/orachk_myserver_042016_231732.zip /home/oracle/orachk_myserver_042016_230811.zip /home/oracle/orachk_myserver_042016_222227.zip /home/oracle/orachk_myserver_042016_222043.zipTo reattempt collection upload, use the
-uploadfailedoptionSpecify either all to upload all collections or a comma-delimited list of collections:
orachk -uploadfailed all|list of failed collectionsexachk -uploadfailed all|list of failed collectionsFor example:
orachk -uploadfailed "/home/oracle/orachk_myserver_042016_232011.zip, /home/oracle/orachk_myserver_042016_231732.zip"Note:
You cannot upload collections uploaded earlier because of the SQL unique constraint.