Hardware Specs:
Samsung 7 series ultrabook with 16 Gb memory with 16.6 Gb Swap
500 Gb SSD Drive
(ext4 filesystems)
(ext4 filesystems)
*Oracle pre-requisites check complained when my swap was less than 16 Gb
[root@laptopcentos oracle]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/centos-root 441G 21G 398G 5% /
devtmpfs 7.7G 0 7.7G 0% /dev
tmpfs 7.8G 3.8G 4.0G 49% /dev/shm
tmpfs 7.8G 9.0M 7.7G 1% /run
tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup
/dev/sda1 976M 188M 721M 21% /boot
tmpfs 1.6G 16K 1.6G 1% /run/user/1001
tmpfs 1.6G 16K 1.6G 1% /run/user/42
[root@laptopcentos oracle]#
[root@laptopcentos oracle]# swapon --summary
Filename Type Size Used Priority
/dev/dm-1 partition 17407996 165384 -1
[root@laptopcentos oracle]#
Installed Desktop version with GNOME
On a Fresh install of Centos 7 I did the following
- Enabled EPEL repository
http://www.cyberciti.biz/faq/installing-rhel-epel-repo-on-centos-redhat-7-x/
# yum install epel-release
# yum update
- Installed Google chrome (not necessary for Oracle Install)
http://www.cyberciti.biz/faq/howto-install-google-chrome-on-redhat-rhel-fedora-centos-linux/
wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
yum install ./google-chrome-stable_current_*.rpm
ORACLE 12c Install
Combined instructions from 2 sources
https://wiki.centos.org/HowTos/Oracle12onCentos7
and
http://dbaora.com/install-oracle-12c-release-1-12-1-on-centos-linux-7/
Oracle Software Download URL
http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.htmlAll steps below to be performed as ROOT
[root@laptopcentos oracle]# hostnamectl
Static hostname: laptopcentos.rakesh.com
Icon name: computer-laptop
Chassis: laptop
Machine ID: bf7f5303a7cb43389e2e2601b39646ee
Boot ID: e003b61477b94334ab8381f01c989a6c
Operating System: CentOS Linux 7 (Core)
CPE OS Name: cpe:/o:centos:centos:7
Kernel: Linux 3.10.0-327.36.1.el7.x86_64
Architecture: x86-64
[root@laptopcentos oracle]#
[root@laptopcentos oracle]# cat /etc/hostname
laptopcentos.rakesh.com
Edit /etc/hosts and add the hostname
127.0.0.1 lapcentos laptopcentos.rakesh.com localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
I will later add an entry for my wifi ip and ethernet ip
Leave the SELinux in enforcing mode as well as the firewall enabled
[root@laptopcentos oracle]# sestatus
SELinux status: enabled
SELinuxfs mount: /sys/fs/selinux
SELinux root directory: /etc/selinux
Loaded policy name: targeted
Current mode: enforcing
Mode from config file: enforcing
Policy MLS status: enabled
Policy deny_unknown status: allowed
Max kernel policy version: 28
Add the following kernel parameters to the /etc/sysctl.conf
kernel.shmmax = 8269242368
kernel.shmall = 2097152
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576
apply the changes
sysctl -p
sysctl -a
Specify limits for oracle user in the /etc/security/limits.conf
oracle soft nofile 1024
oracle hard nofile 65536
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft stack 10240
oracle hard stack 32768
Create required OS users and groups for Oracle Database.
groupadd oinstall
groupadd dba
useradd -g oinstall -G dba oracle
passwd oracle
* set the oracle password above
Download the oracle install zip files from the Oracle download site
Extract the zipped Oracle Database Software archives (linuxamd64_12102_database_1of2.zip, linuxamd64_12102_database_2of2.zip) to the /stage folder.
unzip linuxamd64_12102_database_1of2.zip -d /stage/
unzip linuxamd64_12102_database_2of2.zip -d /stage/
Modify permissions on /stage
chown -R oracle:oinstall /stage/
Create /u01 directory for Oracle software and /u02 for database files.
mkdir /u01 /u02
chown -R oracle:oinstall /u01 /u02
chown -R 775 /u01 /u02
chmod g+s /u01 /u02
Install required packages:
yum install \
binutils.x86_64 \
compat-libcap1.x86_64 \
gcc.x86_64 \
gcc-c++.x86_64 \
glibc.i686 \
glibc.x86_64 \
glibc-devel.i686 \
glibc-devel.x86_64 \
ksh \
compat-libstdc++-33 \
libaio.i686 \
libaio.x86_64 \
libaio-devel.i686 \
libaio-devel.x86_64 \
libgcc.i686 \
libgcc.x86_64 \
libstdc++.i686 \
libstdc++.x86_64 \
libstdc++-devel.i686 \
libstdc++-devel.x86_64 \
libXi.i686 \
libXi.x86_64 \
libXtst.i686 \
libXtst.x86_64 \
make.x86_64 \
sysstat.x86_64 \
unixODBC \
unixODBC-devel \
zlib-devel
Modify permissions on /stage
chown -R oracle:oinstall /stage/
Create /u01 directory for Oracle software and /u02 for database files.
mkdir /u01 /u02
chown -R oracle:oinstall /u01 /u02
chown -R 775 /u01 /u02
chmod g+s /u01 /u02
Install required packages:
yum install \
binutils.x86_64 \
compat-libcap1.x86_64 \
gcc.x86_64 \
gcc-c++.x86_64 \
glibc.i686 \
glibc.x86_64 \
glibc-devel.i686 \
glibc-devel.x86_64 \
ksh \
compat-libstdc++-33 \
libaio.i686 \
libaio.x86_64 \
libaio-devel.i686 \
libaio-devel.x86_64 \
libgcc.i686 \
libgcc.x86_64 \
libstdc++.i686 \
libstdc++.x86_64 \
libstdc++-devel.i686 \
libstdc++-devel.x86_64 \
libXi.i686 \
libXi.x86_64 \
libXtst.i686 \
libXtst.x86_64 \
make.x86_64 \
sysstat.x86_64 \
unixODBC \
unixODBC-devel \
zlib-devel
Another way is to check whats missing and install it (grep "not installed")
rpm -q --qf '%{NAME}-%{VERSION}-%{RELEASE}(%{ARCH})\n' binutils \
gcc \
gcc-c++ \
glibc \
glibc-common \
glibc-devel \
glibc-headers \
ksh \
libaio \
libaio-devel \
libgcc \
libstdc++ \
libstdc++-devel \
libXext \
libXtst \
libX11 \
libXau \
libXi \
make \
sysstat \
unixODBC \
unixODBC-devel \
zlib-devel \
compat-libcap1 \
compat-libstdc++-33
Now switch to oracle user
su - oracle
Edit the .bash_profile and add
# Oracle Settings
export TMP=/tmp
export ORACLE_HOSTNAME=laptopcentos.rakesh.com
export ORACLE_UNQNAME=AARAV
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/12.1.0/db_1
export ORACLE_SID=AARAV
PATH=/usr/sbin:$PATH:$ORACLE_HOME/bin
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib;
export CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib;
alias cdob='cd $ORACLE_BASE'
alias cdoh='cd $ORACLE_HOME'
alias tns='cd $ORACLE_HOME/network/admin'
alias envo='env | grep ORACLE'
export PATH
umask 022
Run Oracle Installer now
$ /stage/database/runInstaller
ignore the email warning once u click next
Changing permissions of /u01/app/oraInventory.
Adding read,write permissions for group.
Removing read,write,execute permissions for world.
Changing groupname of /u01/app/oraInventory to oinstall.
The execution of the script is complete.
[root@laptopcentos oracle]#
[root@laptopcentos oracle]# /u01/app/oracle/product/12.1.0/db_1/root.sh
Performing root user operation.
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/oracle/product/12.1.0/db_1
Enter the full pathname of the local bin directory: [/usr/local/bin]:
Copying dbhome to /usr/local/bin ...
Copying oraenv to /usr/local/bin ...
Copying coraenv to /usr/local/bin ...
Creating /etc/oratab file...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
[root@laptopcentos oracle]#
Now to Automatically Start/stop Oracle on boot/shutdown do
https://blogs.oracle.com/opal/entry/how_i_enable_autostarting_of1
Create file /etc/init.d/dbora
[root@laptopcentos init.d]# cat dbora
#! /bin/sh -x
#
# chkconfig: 2345 80 05
# description: start and stop Oracle Database Enterprise Edition on Oracle Linux 5 and 6
#
# In /etc/oratab, change the autostart field from N to Y for any
# databases that you want autostarted.
#
# Create this file as /etc/init.d/dbora and execute:
# chmod 750 /etc/init.d/dbora
# chkconfig --add dbora
# chkconfig dbora on
# Note: Change the value of ORACLE_HOME to specify the correct Oracle home
# directory for your installation.
# ORACLE_HOME=/u01/app/oracle/product/11.1.0/db_1
ORACLE_HOME=/u01/app/oracle/product/12.1.0/db_1
#
# Note: Change the value of ORACLE to the login name of the oracle owner
ORACLE=oracle
PATH=${PATH}:$ORACLE_HOME/bin
HOST=`hostname`
PLATFORM=`uname`
export ORACLE_HOME PATH
case $1 in
'start')
echo -n $"Starting Oracle: "
su $ORACLE -c "$ORACLE_HOME/bin/dbstart $ORACLE_HOME" &
;;
'stop')
echo -n $"Shutting down Oracle: "
su $ORACLE -c "$ORACLE_HOME/bin/dbshut $ORACLE_HOME" &
;;
'restart')
echo -n $"Shutting down Oracle: "
su $ORACLE -c "$ORACLE_HOME/bin/dbshut $ORACLE_HOME" &
sleep 5
echo -n $"Starting Oracle: "
su $ORACLE -c "$ORACLE_HOME/bin/dbstart $ORACLE_HOME" &
;;
*)
echo "usage: $0 {start|stop|restart}"
exit
;;
esac
exit
[root@laptopcentos init.d]#
[root@laptopcentos init.d]# chmod 750 /etc/init.d/dbora
[root@laptopcentos init.d]# chkconfig --add dbora
[root@laptopcentos init.d]# chkconfig dbora on
[root@laptopcentos init.d]# chkconfig --add dbora
[root@laptopcentos init.d]# chkconfig dbora on
FIREWALL
Login as root and verify the active zones
[root@laptopcentos init.d]# firewall-cmd --get-active-zones
public
interfaces: wlp1s0
Open the related ports
[root@laptopcentos init.d]# firewall-cmd --zone=public --add-port=1521/tcp --add-port=5500/tcp --add-port=5520/tcp --add-port=3938/tcp --permanent
success
[root@laptopcentos init.d]#
[root@laptopcentos init.d]# firewall-cmd --reload
success
[root@laptopcentos init.d]# firewall-cmd --list-ports
1521/tcp 5520/tcp 3938/tcp 5500/tcp
[root@laptopcentos init.d]#
Manage database with Oracle Enterprise Manager:
Login through command line (sqlplus)
[oracle@laptopcentos ~]$ sqlplus /nolog
SQL*Plus: Release 12.1.0.2.0 Production on Fri Sep 30 19:30:23 2016
Copyright (c) 1982, 2014, Oracle. All rights reserved.
SQL> connect / as sysdba
Connected.
SQL> show parameters
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
DBFIPS_140 boolean FALSE
O7_DICTIONARY_ACCESSIBILITY boolean FALSE
_catalog_foreign_restore boolean FALSE
active_instance_count integer
aq_tm_processes integer 1
archive_lag_target integer 0
asm_diskgroups string
asm_diskstring string
asm_power_limit integer 1
asm_preferred_read_failure_groups string
audit_file_dest string /u01/app/oracle/admin/AARAV/ad
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
ump
audit_sys_operations boolean TRUE
audit_syslog_level string
audit_trail string DB
awr_snapshot_time_offset integer 0
background_core_dump string partial
background_dump_dest string /u01/app/oracle/product/12.1.0
/db_1/rdbms/log
backup_tape_io_slaves boolean FALSE
bitmap_merge_area_size integer 1048576
blank_trimming boolean FALSE
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
buffer_pool_keep string
buffer_pool_recycle string
cell_offload_compaction string ADAPTIVE
cell_offload_decryption boolean TRUE
cell_offload_parameters string
cell_offload_plan_display string AUTO
cell_offload_processing boolean TRUE
cell_offloadgroup_name string
circuits integer
client_result_cache_lag big integer 3000
client_result_cache_size big integer 0
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
clonedb boolean FALSE
cluster_database boolean FALSE
cluster_database_instances integer 1
cluster_interconnects string
commit_logging string
commit_point_strength integer 1
commit_wait string
commit_write string
common_user_prefix string C##
compatible string 12.1.0.2.0
connection_brokers string ((TYPE=DEDICATED)(BROKERS=1)),
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
((TYPE=EMON)(BROKERS=1))
control_file_record_keep_time integer 7
control_files string /u02/app/oracle/oradata/AARAV/
control01.ctl, /u02/app/oracle
/recovery_area/AARAV/control02
.ctl
control_management_pack_access string DIAGNOSTIC+TUNING
core_dump_dest string /u01/app/oracle/diag/rdbms/aar
av/AARAV/cdump
cpu_count integer 4
create_bitmap_area_size integer 8388608
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
create_stored_outlines string
cursor_bind_capture_destination string memory+disk
cursor_sharing string EXACT
cursor_space_for_time boolean FALSE
db_16k_cache_size big integer 0
db_2k_cache_size big integer 0
db_32k_cache_size big integer 0
db_4k_cache_size big integer 0
db_8k_cache_size big integer 0
db_big_table_cache_percent_target string 0
db_block_buffers integer 0
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
db_block_checking string FALSE
db_block_checksum string TYPICAL
db_block_size integer 8192
db_cache_advice string ON
db_cache_size big integer 0
db_create_file_dest string
db_create_online_log_dest_1 string
db_create_online_log_dest_2 string
db_create_online_log_dest_3 string
db_create_online_log_dest_4 string
db_create_online_log_dest_5 string
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
db_domain string CENTOSLAPTOP.RAKESH.COM
db_file_multiblock_read_count integer 128
db_file_name_convert string
db_files integer 200
db_flash_cache_file string
db_flash_cache_size big integer 0
db_flashback_retention_target integer 1440
db_index_compression_inheritance string NONE
db_keep_cache_size big integer 0
db_lost_write_protect string NONE
db_name string AARAV
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
db_performance_profile string
db_recovery_file_dest string /u02/app/oracle/recovery_area
db_recovery_file_dest_size big integer 4560M
db_recycle_cache_size big integer 0
db_securefile string PREFERRED
db_ultra_safe string OFF
db_unique_name string AARAV
db_unrecoverable_scn_tracking boolean TRUE
db_writer_processes integer 1
dbwr_io_slaves integer 0
ddl_lock_timeout integer 0
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
deferred_segment_creation boolean TRUE
dg_broker_config_file1 string /u01/app/oracle/product/12.1.0
/db_1/dbs/dr1AARAV.dat
dg_broker_config_file2 string /u01/app/oracle/product/12.1.0
/db_1/dbs/dr2AARAV.dat
dg_broker_start boolean FALSE
diagnostic_dest string /u01/app/oracle
disk_asynch_io boolean TRUE
dispatchers string (PROTOCOL=TCP) (SERVICE=AARAVX
DB)
distributed_lock_timeout integer 60
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
dml_locks integer 2076
dnfs_batch_size integer 4096
dst_upgrade_insert_conv boolean TRUE
enable_ddl_logging boolean FALSE
enable_goldengate_replication boolean FALSE
enable_pluggable_database boolean TRUE
event string
exclude_seed_cdb_view boolean TRUE
fal_client string
fal_server string
fast_start_io_target integer 0
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
fast_start_mttr_target integer 0
fast_start_parallel_rollback string LOW
file_mapping boolean FALSE
fileio_network_adapters string
filesystemio_options string none
fixed_date string
gcs_server_processes integer 0
global_context_pool_size string
global_names boolean FALSE
global_txn_processes integer 1
hash_area_size integer 131072
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
heat_map string OFF
hi_shared_memory_address integer 0
hs_autoregister boolean TRUE
ifile file
inmemory_clause_default string
inmemory_force string DEFAULT
inmemory_max_populate_servers integer 0
inmemory_query string ENABLE
inmemory_size big integer 0
inmemory_trickle_repopulate_servers_ integer 1
percent
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
instance_groups string
instance_name string AARAV
instance_number integer 0
instance_type string RDBMS
instant_restore boolean FALSE
java_jit_enabled boolean TRUE
java_max_sessionspace_size integer 0
java_pool_size big integer 0
java_restrict string none
java_soft_sessionspace_limit integer 0
job_queue_processes integer 1000
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
large_pool_size big integer 0
ldap_directory_access string NONE
ldap_directory_sysauth string no
license_max_sessions integer 0
license_max_users integer 0
license_sessions_warning integer 0
listener_networks string
local_listener string LISTENER_AARAV
lock_name_space string
lock_sga boolean FALSE
log_archive_config string
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
log_archive_dest string
log_archive_dest_1 string
log_archive_dest_10 string
log_archive_dest_11 string
log_archive_dest_12 string
log_archive_dest_13 string
log_archive_dest_14 string
log_archive_dest_15 string
log_archive_dest_16 string
log_archive_dest_17 string
log_archive_dest_18 string
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
log_archive_dest_19 string
log_archive_dest_2 string
log_archive_dest_20 string
log_archive_dest_21 string
log_archive_dest_22 string
log_archive_dest_23 string
log_archive_dest_24 string
log_archive_dest_25 string
log_archive_dest_26 string
log_archive_dest_27 string
log_archive_dest_28 string
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
log_archive_dest_29 string
log_archive_dest_3 string
log_archive_dest_30 string
log_archive_dest_31 string
log_archive_dest_4 string
log_archive_dest_5 string
log_archive_dest_6 string
log_archive_dest_7 string
log_archive_dest_8 string
log_archive_dest_9 string
log_archive_dest_state_1 string enable
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
log_archive_dest_state_10 string enable
log_archive_dest_state_11 string enable
log_archive_dest_state_12 string enable
log_archive_dest_state_13 string enable
log_archive_dest_state_14 string enable
log_archive_dest_state_15 string enable
log_archive_dest_state_16 string enable
log_archive_dest_state_17 string enable
log_archive_dest_state_18 string enable
log_archive_dest_state_19 string enable
log_archive_dest_state_2 string enable
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
log_archive_dest_state_20 string enable
log_archive_dest_state_21 string enable
log_archive_dest_state_22 string enable
log_archive_dest_state_23 string enable
log_archive_dest_state_24 string enable
log_archive_dest_state_25 string enable
log_archive_dest_state_26 string enable
log_archive_dest_state_27 string enable
log_archive_dest_state_28 string enable
log_archive_dest_state_29 string enable
log_archive_dest_state_3 string enable
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
log_archive_dest_state_30 string enable
log_archive_dest_state_31 string enable
log_archive_dest_state_4 string enable
log_archive_dest_state_5 string enable
log_archive_dest_state_6 string enable
log_archive_dest_state_7 string enable
log_archive_dest_state_8 string enable
log_archive_dest_state_9 string enable
log_archive_duplex_dest string
log_archive_format string %t_%s_%r.dbf
log_archive_max_processes integer 4
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
log_archive_min_succeed_dest integer 1
log_archive_start boolean FALSE
log_archive_trace integer 0
log_buffer big integer 13000K
log_checkpoint_interval integer 0
log_checkpoint_timeout integer 1800
log_checkpoints_to_alert boolean FALSE
log_file_name_convert string
max_dispatchers integer
max_dump_file_size string unlimited
max_enabled_roles integer 150
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
max_shared_servers integer
max_string_size string STANDARD
memory_max_target big integer 6320M
memory_target big integer 6320M
nls_calendar string
nls_comp string BINARY
nls_currency string
nls_date_format string
nls_date_language string
nls_dual_currency string
nls_iso_currency string
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
nls_language string AMERICAN
nls_length_semantics string BYTE
nls_nchar_conv_excp string FALSE
nls_numeric_characters string
nls_sort string
nls_territory string AMERICA
nls_time_format string
nls_time_tz_format string
nls_timestamp_format string
nls_timestamp_tz_format string
noncdb_compatible boolean FALSE
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
object_cache_max_size_percent integer 10
object_cache_optimal_size integer 102400
olap_page_pool_size big integer 0
open_cursors integer 300
open_links integer 4
open_links_per_instance integer 4
optimizer_adaptive_features boolean TRUE
optimizer_adaptive_reporting_only boolean FALSE
optimizer_capture_sql_plan_baselines boolean FALSE
optimizer_dynamic_sampling integer 2
optimizer_features_enable string 12.1.0.2
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
optimizer_index_caching integer 0
optimizer_index_cost_adj integer 100
optimizer_inmemory_aware boolean TRUE
optimizer_mode string ALL_ROWS
optimizer_secure_view_merging boolean TRUE
optimizer_use_invisible_indexes boolean FALSE
optimizer_use_pending_statistics boolean FALSE
optimizer_use_sql_plan_baselines boolean TRUE
os_authent_prefix string ops$
os_roles boolean FALSE
parallel_adaptive_multi_user boolean TRUE
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
parallel_automatic_tuning boolean FALSE
parallel_degree_level integer 100
parallel_degree_limit string CPU
parallel_degree_policy string MANUAL
parallel_execution_message_size integer 16384
parallel_force_local boolean FALSE
parallel_instance_group string
parallel_io_cap_enabled boolean FALSE
parallel_max_servers integer 160
parallel_min_percent integer 0
parallel_min_servers integer 16
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
parallel_min_time_threshold string AUTO
parallel_server boolean FALSE
parallel_server_instances integer 1
parallel_servers_target integer 64
parallel_threads_per_cpu integer 2
pdb_file_name_convert string
pdb_lockdown string
pdb_os_credential string
permit_92_wrap_format boolean TRUE
pga_aggregate_limit big integer 5056M
pga_aggregate_target big integer 0
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
plscope_settings string IDENTIFIERS:NONE
plsql_ccflags string
plsql_code_type string INTERPRETED
plsql_debug boolean FALSE
plsql_optimize_level integer 2
plsql_v2_compatibility boolean FALSE
plsql_warnings string DISABLE:ALL
pre_page_sga boolean TRUE
processes integer 300
processor_group_name string
query_rewrite_enabled string TRUE
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
query_rewrite_integrity string enforced
rdbms_server_dn string
read_only_open_delayed boolean FALSE
recovery_parallelism integer 0
recyclebin string on
redo_transport_user string
remote_dependencies_mode string TIMESTAMP
remote_listener string
remote_login_passwordfile string EXCLUSIVE
remote_os_authent boolean FALSE
remote_os_roles boolean FALSE
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
replication_dependency_tracking boolean TRUE
resource_limit boolean TRUE
resource_manager_cpu_allocation integer 4
resource_manager_plan string
result_cache_max_result integer 5
result_cache_max_size big integer 16192K
result_cache_mode string MANUAL
result_cache_remote_expiration integer 0
resumable_timeout integer 0
rollback_segments string
sec_case_sensitive_logon boolean TRUE
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
sec_max_failed_login_attempts integer 3
sec_protocol_error_further_action string (DROP,3)
sec_protocol_error_trace_action string TRACE
sec_return_server_release_banner boolean FALSE
serial_reuse string disable
service_names string AARAV.CENTOSLAPTOP.RAKESH.COM
session_cached_cursors integer 50
session_max_open_files integer 10
sessions integer 472
sga_max_size big integer 6320M
sga_target big integer 0
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
shadow_core_dump string partial
shared_memory_address integer 0
shared_pool_reserved_size big integer 36071014
shared_pool_size big integer 0
shared_server_sessions integer
shared_servers integer 1
skip_unusable_indexes boolean TRUE
smtp_out_server string
sort_area_retained_size integer 0
sort_area_size integer 65536
spatial_vector_acceleration boolean FALSE
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
spfile string /u01/app/oracle/product/12.1.0
/db_1/dbs/spfileAARAV.ora
sql92_security boolean FALSE
sql_trace boolean FALSE
sqltune_category string DEFAULT
standby_archive_dest string ?/dbs/arch
standby_file_management string MANUAL
star_transformation_enabled string FALSE
statistics_level string TYPICAL
streams_pool_size big integer 0
tape_asynch_io boolean TRUE
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
temp_undo_enabled boolean FALSE
thread integer 0
threaded_execution boolean FALSE
timed_os_statistics integer 0
timed_statistics boolean TRUE
trace_enabled boolean TRUE
tracefile_identifier string
transactions integer 519
transactions_per_rollback_segment integer 5
undo_management string AUTO
undo_retention integer 900
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
undo_tablespace string UNDOTBS1
unified_audit_sga_queue_size integer 1048576
use_dedicated_broker boolean FALSE
use_indirect_data_buffers boolean FALSE
use_large_pages string TRUE
user_dump_dest string /u01/app/oracle/product/12.1.0
/db_1/rdbms/log
utl_file_dir string
workarea_size_policy string AUTO
xml_db_events string enable
SQL>
Starting Oracle Database 12c Multitenant PDBs
To also start all pluggable databases when the container database starts, you can do:
connect / as sysdba create or replace trigger sys.after_startup after startup on database begin execute immediate 'alter pluggable database all open'; end after_startup; /
To erase Oracle installed files in case of error and try to reinstall do the following;
[root@laptopcentos stage]# cd /u01
[root@laptopcentos u01]# ls -atlr
total 12
dr-xr-xr-x. 21 root root 4096 Sep 30 14:03 ..
drwxrwsr-x. 3 oracle oinstall 4096 Sep 30 16:45 .
drwxr-sr-x. 4 oracle oinstall 4096 Sep 30 16:51 app
[root@laptopcentos u01]# rm -fr app
[root@laptopcentos u01]# cd /u02
[root@laptopcentos u02]# ls -atlr
total 12
dr-xr-xr-x. 21 root root 4096 Sep 30 14:03 ..
drwxr-s---. 3 oracle oinstall 4096 Sep 30 16:54 app
drwxrwsr-x. 3 oracle oinstall 4096 Sep 30 16:54 .
[root@laptopcentos u02]# rm -fr app
[root@laptopcentos u02]# cd /usr/local/bin
[root@laptopcentos bin]# ls
coraenv dbhome oraenv
[root@laptopcentos bin]# rm -fr *
[root@laptopcentos bin]# cd /etc
[root@laptopcentos etc]# ls ora*
oraInst.loc oratab
[root@laptopcentos etc]# rm -fr ora*
[root@laptopcentos etc]#
Now go back to run the oracle installer.