lean-delivery / ansible-role-oracle-db

Apache License 2.0
20 stars 13 forks source link

Oracle Database role

License Build Status Build Status Galaxy Ansible Ansible

Summary

This role installs and configures oracle database (Oracle RDBMS 11g2 & Oracle RDBMS 12c & Oracle 11g2 XE) and all associated software/configurations for this (packages, limits, swap size and etc).

Requirements

About Oracle Database Express Edition (XE)

It is a free-to-use entry-level version of Oracle Database available for a number of platforms. It provides a subset of EE functionality (not including features such as managed backup and recovery, high availability and replication), is community-supported and comes with its own license terms. XE imposes the following restrictions : maximum of 1 CPU, 1 GB of RAM and 11 GB of user data for 11g.

About Enterprise Manager Express

According to Oracle, Enterprise Manager Database Control is no longer available in Oracle Database 12c. You can use Enterprise Manager Cloud Control 12c or the EM Express 12c to manage Oracle Database 12c databases.

EM Express is an built-in component and requires no seperate installation or license. Think of it as a light-weight or limited version of Enterprise Manager Cloud Control. It can be accessed via url:

https://hostname:portnumber/em/

Where hostname is the name or IP of the Oracle database server, portnumber is the port EM Express is running on. To get portnumber, run below query:

SQL> SELECT DBMS_XDB_CONFIG.GETHTTPSPORT() FROM DUAL;

Usually, portnumber is 5500.

See more about EM Express in below links:

Getting Started with Oracle Enterprise Manager Express

Introduction to Oracle Enterprise Manager Database Express

Important note!

Role use next mechanism for identify a swap file size:

Default place for swap file is root directory / .

If you want change size you swap file, please use variable oracle_db_swap_count in your playbook.

Role Variables

Example Playbook

License

Apache

Author Information

authors: