DB Serverinitialisierung
This commit is contained in:
BIN
roles/db1913/files/.18cEE_SoftOnly.rsp.swp
Normal file
BIN
roles/db1913/files/.18cEE_SoftOnly.rsp.swp
Normal file
Binary file not shown.
17
roles/db1913/files/19cEE_SoftOnly.rsp
Executable file
17
roles/db1913/files/19cEE_SoftOnly.rsp
Executable file
@ -0,0 +1,17 @@
|
||||
oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v19.0.0
|
||||
oracle.install.option=INSTALL_DB_SWONLY
|
||||
UNIX_GROUP_NAME=oinstall
|
||||
INVENTORY_LOCATION={{ oracle_inventory }}
|
||||
ORACLE_HOME={{ oracle_home }}
|
||||
ORACLE_BASE={{ oracle_base }}
|
||||
oracle.install.db.InstallEdition=EE
|
||||
oracle.install.db.OSDBA_GROUP=dba
|
||||
oracle.install.db.OSOPER_GROUP=oper
|
||||
oracle.install.db.OSBACKUPDBA_GROUP=oinstall
|
||||
oracle.install.db.OSDGDBA_GROUP=oinstall
|
||||
oracle.install.db.OSKMDBA_GROUP=oinstall
|
||||
oracle.install.db.OSRACDBA_GROUP=dba
|
||||
SECURITY_UPDATES_VIA_MYORACLESUPPORT=false
|
||||
DECLINE_SECURITY_UPDATES=true
|
||||
oracle.installer.autoupdates.option=SKIP_UPDATES
|
||||
|
31
roles/db1913/files/bash_profile
Normal file
31
roles/db1913/files/bash_profile
Normal file
@ -0,0 +1,31 @@
|
||||
# Oracle Settings
|
||||
export TMP=/tmp
|
||||
|
||||
export ORACLE_HOSTNAME=centos
|
||||
export ORACLE_UNQNAME=ORA19C
|
||||
export ORACLE_BASE=/u01/app/oracle
|
||||
export ORACLE_HOME=/u01/app/oracle/product/19.3.0/db100
|
||||
export ORACLE_SID=ORA19C
|
||||
|
||||
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'
|
||||
|
||||
umask 022
|
||||
|
||||
if [ $USER = "oracle" ]; then
|
||||
if [ $SHELL = "/bin/ksh" ]; then
|
||||
ulimit -u 16384
|
||||
ulimit -n 65536
|
||||
else
|
||||
ulimit -u 16384 -n 65536
|
||||
fi
|
||||
fi
|
||||
|
||||
envo
|
61
roles/db1913/files/limits.conf
Normal file
61
roles/db1913/files/limits.conf
Normal file
@ -0,0 +1,61 @@
|
||||
# /etc/security/limits.conf
|
||||
#
|
||||
#Each line describes a limit for a user in the form:
|
||||
#
|
||||
#<domain> <type> <item> <value>
|
||||
#
|
||||
#Where:
|
||||
#<domain> can be:
|
||||
# - a user name
|
||||
# - a group name, with @group syntax
|
||||
# - the wildcard *, for default entry
|
||||
# - the wildcard %, can be also used with %group syntax,
|
||||
# for maxlogin limit
|
||||
# - NOTE: group and wildcard limits are not applied to root.
|
||||
# To apply a limit to the root user, <domain> must be
|
||||
# the literal username root.
|
||||
#
|
||||
#<type> can have the two values:
|
||||
# - "soft" for enforcing the soft limits
|
||||
# - "hard" for enforcing hard limits
|
||||
#
|
||||
#<item> can be one of the following:
|
||||
# - core - limits the core file size (KB)
|
||||
# - data - max data size (KB)
|
||||
# - fsize - maximum filesize (KB)
|
||||
# - memlock - max locked-in-memory address space (KB)
|
||||
# - nofile - max number of open file descriptors
|
||||
# - rss - max resident set size (KB)
|
||||
# - stack - max stack size (KB)
|
||||
# - cpu - max CPU time (MIN)
|
||||
# - nproc - max number of processes
|
||||
# - as - address space limit (KB)
|
||||
# - maxlogins - max number of logins for this user
|
||||
# - maxsyslogins - max number of logins on the system
|
||||
# - priority - the priority to run user process with
|
||||
# - locks - max number of file locks the user can hold
|
||||
# - sigpending - max number of pending signals
|
||||
# - msgqueue - max memory used by POSIX message queues (bytes)
|
||||
# - nice - max nice priority allowed to raise to values: [-20, 19]
|
||||
# - rtprio - max realtime priority
|
||||
# - chroot - change root to directory (Debian-specific)
|
||||
#
|
||||
#<domain> <type> <item> <value>
|
||||
#
|
||||
|
||||
#* soft core 0
|
||||
#root hard core 100000
|
||||
#* hard rss 10000
|
||||
#@student hard nproc 20
|
||||
#@faculty soft nproc 20
|
||||
#@faculty hard nproc 50
|
||||
#ftp hard nproc 0
|
||||
#ftp - chroot /ftp
|
||||
#@student - maxlogins 4
|
||||
|
||||
* soft nofile 2048
|
||||
* hard nofile 65536
|
||||
* soft stack 10250
|
||||
* hard stack 10250
|
||||
|
||||
# End of file
|
11
roles/db1913/files/sysctl.conf
Normal file
11
roles/db1913/files/sysctl.conf
Normal file
@ -0,0 +1,11 @@
|
||||
fs.aio-max-nr = 1048576
|
||||
fs.file-max = 6815744
|
||||
kernel.shmall = 2097152
|
||||
kernel.shmmax = 4294967295
|
||||
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
|
Reference in New Issue
Block a user