Git Product home page Git Product logo

oracle / ansible-database-migration-tool Goto Github PK

View Code? Open in Web Editor NEW
35.0 10.0 17.0 2.18 MB

Ansible Database Migration Tool utility has been developed with an objective to provide a quick and easy way to move Oracle Cloud Infrastructure Classic (OCI-C) databases to Oracle Cloud Infrastructure (OCI) without setting up DataGuard.

License: Universal Permissive License v1.0

Shell 2.69% Python 81.35% Jinja 15.96%
database migration oci oci-classic object-storage rman ansible automation oracle

ansible-database-migration-tool's People

Contributors

lfeldman avatar spavlusieva avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ansible-database-migration-tool's Issues

Source database has clonedb enabled, actions on target failed.

During the migration actions on the target's side have failed. Analysis in the target's alert log shows up:

(...) clonedb = TRUE service_names = "ORCL.602344925.oraclecloud.internal" clonedb_dir = "/u02/app/oracle/oradata/ORCL" (...) Errors in file /u01/app/oracle/diag/rdbms/orcl_syd1s3/ORCL/trace/ORCL_ora_3361.trc: ORA-17514: Access to clonedb bitmap file failed (...)

ADMT is failing with error below

TASK [target_restore_role : Download TDE file from OSS (non ExaCS)] *****************************************************************************************
[WARNING]: Consider using the get_url or uri module rather than running 'curl'. If you need to use command because get_url or uri is insufficient you can
add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message.

changed: [172.17.30.130]

TASK [target_restore_role : Unpack the source wallet on target TDE location (non ExaCS)] ********************************************************************
fatal: [172.17.30.130]: FAILED! => {"changed": false, "msg": "Failed to find handler for "/opt/oracle/dcs/commonstore/wallets/tde/SNDBX12C_iad169/_tde.tgz". Make sure the required command to extract the file is installed. Command "/bin/gtar" could not handle archive. Command "/bin/unzip" could not handle archive."}

PLAY RECAP **************************************************************************************************************************************************
172.17.30.130 : ok=19 changed=1 unreachable=0 failed=1 skipped=14 rescued=0 ignored=0

Both directory exist.

[oracle@sandbox12c bin]$ ls -lrt unzip
-rwxr-xr-x 2 root root 185576 Jun 9 2019 unzip
[oracle@sandbox12c bin]$ ls -lrt gtar
lrwxrwxrwx 1 root root 3 Jan 30 2020 gtar -> tar
[oracle@sandbox12c bin]$ exit

Restore on the target fails, archive logs missing in alertlog

Restore on the target has failed and I have noticed archive logs missing in the alert log:

(...) Errors in file /u01/app/oracle/diag/rdbms/orcl_syd1s3/ORCL/incident/incdir_41987/ORCL_ora_57047_i41987.trc: ORA-00308: cannot open archived log '/u03/ora_backup/flash_recovery_area/ORCL/archivelog/2020_06_09/o1_mf_1_75_hfyfy85o_.arc' ORA-27037: unable to obtain file status Linux-x86_64 Error: 2: No such file or directory (...)

It looks like entries in controlfile restored from OCI-C where ASM was not implemented. This archive log files should be treated with RMAN crosscheck command and delete obsolete/expired.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.