Different database tasks with Ansible.
- NOTE
! Make sure any Licence requirements from your side. Please do modify based on your own setup. This is purely based on my own lab setup. You can ask me any questions in relate to these playbooks - if you fork and modify to merge - let me know.
https://docs.oracle.com/en/database/oracle/oracle-database/21/install-and-upgrade.html
https://docs.oracle.com/en/database/oracle/oracle-database/21/ladbi/index.html
Required Oracle Software: Download the Oracle software from OTN or MOS depending on your support status. Oracle binaries are staged from the "edelivery: Oracle Database 21c Software (64-bit)". They have to be manually downloaded and made available for this article to apply
http://www.oracle.com/technetwork/indexes/downloads/index.html
- OS: OEL 7.5
- Ansible: ansible 2.7.6
- Database Version: Oracle 21.3 Linux64
roles | tasks |
---|---|
dbsoftware21c_install | To Install Oracle SI database Software - multiple servers at a time |
cdb_create_21c | To deploy an empty Container Database (CDB) |
pdb21c_create | To deploy pluggable database (PDB) to an existing CDB |
sbdb21c_create | To create a physical Standby database and setup Data Guard Broker |
racgi21c_install | To Install Oracle Grid Infrastructure Installation |
racdbsoft21c_install | To Install Oracle RAC software installation |
racdb21c_create | To create Two Node RACDB ~21C |
racdb21c_patch_apply | To apply GI Release Update and Database Release Update ~21C October 2021 |
racgi_ss_21c_install | Oracle Grid Infrastructure for a Standalone Server |
oracleclient21c_install | Deployment of Oracle Database 21c Client for Linux x86–64 |
RAC database upgrade / Downgrade [ using flashback] | https://github.com/asiandevs/RAC18CUpgradeDowngrade |
Oracle Cloud File System [ACFS] setup | https://github.com/asiandevs/racdb_createacfs |
Oracle Database Client Installation | https://github.com/asiandevs/Oracle_Database_Client_Installation |
Linux setup for Oracle Software Installation | https://github.com/asiandevs/oraclelinuxsetup |
Jenkins CI/CD - Deployment of Oracle RDBMS software Installation and Create Oracle Database | https://github.com/asiandevs/oradbjenkins |
Docker image -- Oracle Database 19c (19.3) Enterprise Edition | https://hub.docker.com/r/banglamon/oracle193db |
- NOTE
! Please do modify based on your own setup. This is purely based on my own lab setup.