Thursday, August 8, 2019

OAC: Downloading Snapshots Throwing Error: “A connection to the server has failed.(status=504)”

On Oracle Analytics Cloud (OAC) 18.2.1 version,

Unable to download the snapshot and failed with the following error - "A connection to the server has failed" as shown below




As a workaround, metadata command line utilities can be used to export the bar from source and import the bar on the target VM.
  1. Take a snapshot of the system as it exists now.
  2. Restore the snapshot that needs to be migrated.

Detailed Steps:
  1. SSH into the source OAC VM and run a command line utility to generate/export a BAR file.
  2. Use the below command to generate/export the snapshot bar file.
cd /bi/app/public/bin
Example:
./export_archive bootstrap /u01/app/oracle/tools/home/oracle/exportdir/ --loglevel DEBUG --logdir /u01/app/oracle/tools/home
This will prompt for a password to use in order to encrypt the BAR file (The same as that of the bar file generation that occurs on Analytics Console UI page)

      3. Copy this BAR file into the target OAC VM.
      4. Restore the BAR on the target.


cd /bi/app/public/bin
Example:
./import_archive bootstrap /u01/app/oracle/tools/home/oracle/exportdir/1536578078486/bootstrap.bar --loglevel DEBUG --logdir /u01/app/oracle/tools/home/oracle/logdir/

     5. On the source, go back to SAC UI and restore to the backup snapshot created by step 1.

No comments:

Post a Comment