Project to install Oracle Database 12c, create and configure an instance using scripts.
These scripts assume that the Hardware, Software and the Kernel Parameters pre-requisites have all been met for the Oracle Database. You can review these pre-requisites on the Oracle Database Documentation website.
Apart from these requirements, these scripts use python to perform its tasks. This means that the all product installs, configuration, domain creation and configuration commands will be run from a python shell. Note that Python 2.6 or later must be installed on the servers for the scripts to work properly.
To install the Oracle Database Software, download the zip archives and make it available in the installer_location. There is no need to extract the software; the script will take care of it.
There is a wrapper script available that you can use to execute one or more scripts in order. The usage of the script is as follows:
/usr/bin/python main.py [-?ipc] -l installers_patches_location -o oracle_base [-h oracle_home] [-n global-database-name] [-w password_file] [--sid sid] [--hostname host_name] [--rsp_file response_file] [--tmp_loc tmp_location] [--inst_group install_group] [--dba_group dba_group] [--oper_group oper_group] [--backupdba_group backupdba_group] [--dgdba_group dgdba_group] [--kmdba_group kmdba_group] [--inventory_loc inventory_loc] [--ocmrsp_file ocm_response_file] [--sys_password sys_password] [--system_password system_password] [--delete] [--start | --stop]
If you want to have more fine grained control on the install and configure process, you could use the individual scripts. The usage of these scripts is shown below:
To install the software:
/usr/bin/python install_db.py [-?] -l installers_location -o oracle_base [-h oracle_home] [--hostname host_name] [--rsp_file install_response_file] [--tmp_loc tmp_location] [--inst_group install_group] [--dba_group dba_group] [--oper_group oper_group] [--backupdba_group backupdba_group] [--dgdba_group dgdba_group] [--kmdba_group kmdba_group] [--inventory_loc inventory_loc]
To patch the database software:
/usr/bin/python patch_db.py [-?] -l patches_location -o oracle_base [-h oracle_home] [--ocmrsp_file ocm_response_file]
To manage listeners:
/usr/bin/python create_listener.py [-?] -o oracle_base [-h oracle_home] [--delete] [--rsp_file netca_response_file]
To manage instances:
/usr/bin/python create_instance.py [-?] -o oracle_base [-h oracle_home] [-n global-database-name] [-w password_file] [--sys_password sys_password] [--system_password system_password] [--sid sid] [--delete] [--rsp_file dbca_response_file]
This program is free software: you can redistribute it and/or modify it as long as you retain the name of the original author and under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.