2621788
ORCL
3
버전 비교
키
- 이 줄이 추가되었습니다.
- 이 줄이 삭제되었습니다.
- 서식이 변경되었습니다.
코드 블럭 | ||
---|---|---|
| ||
chkconfig --level 123456 xinetd off chkconfig --level 123456 sendmail off chkconfig --level 123456 cups off chkconfig --level 123456 cups-config-daemon off chkconfig --level 123456 smartd off chkconfig --level 123456 isdn off chkconfig --level 123456 pcmcia off chkconfig --level 123456 iptables off |
펼치기 | ||
---|---|---|
|
코드 블럭 | ||
---|---|---|
| ||
rpm -q binutils-* rpm -q compat-db-4* rpm -q control-center-2* rpm -q gcc-3* rpm -q gcc-c++-3* rpm -q glibc-2* rpm -q glibc-common-2* rpm -q gnome-libs-1* rpm -q libstdc++-3* rpm -q libstdc++-devel-3* rpm -q make-3* |
펼치기 | ||
---|---|---|
|
코드 블럭 | ||||
---|---|---|---|---|
| ||||
### Public 10.0.1.101 rac1.localdomain rac1 10.0.1.102 rac2.localdomain rac2 ### Private 10.0.5.101 rac1-priv.localdomain rac1-priv 10.0.5.102 rac2-priv.localdomain rac2-priv ### Virtual 10.0.1.111 rac1-vip.localdomain rac1-vip 10.0.1.112 rac2-vip.localdomain rac2-vip |
펼치기 | ||
---|---|---|
|
코드 블럭 | ||||
---|---|---|---|---|
| ||||
# Controls whether core dumps will append the PID to the core filename. # Useful for debugging multi-threaded applications. kernel.core_uses_pid = 1 fs.file-max = 327679 kernel.msgmni = 2878 kernel.msgmax = 8192 kernel.msgmnb = 65536 kernel.sem = 250 32000 100 142 kernel.shmmni = 4096 kernel.shmall = 1073741824 kernel.shmmax = 4294967295 net.core.rmem_default = 262144 # For 11g recommended value for net.core.rmem_max is 4194304 # net.core.rmem_max = 4194304 # For 10g uncomment the following line, comment other entries for this parameter and re-run sysctl -p # net.core.rmem_max=2097152 net.core.wmem_default = 262144 net.core.wmem_max = 262144 fs.aio-max-nr = 3145728 net.ipv4.ip_local_port_range = 1024 65000 vm.lower_zone_protection = 100 |
펼치기 | ||
---|---|---|
|
코드 블럭 | ||||
---|---|---|---|---|
| ||||
oracle soft nofile 131072 oracle hard nofile 131072 oracle soft nproc 131072 oracle hard nproc 131072 oracle soft core unlimited oracle hard core unlimited oracle soft memlock 3500000 oracle hard memlock 3500000 |
코드 블럭 | ||||
---|---|---|---|---|
| ||||
session required pam_limits.so |
코드 블럭 | ||||
---|---|---|---|---|
| ||||
if [ \$USER = "oracle" ]; then if [ \$SHELL = "/bin/ksh" ]; then ulimit -p 16384 ulimit -n 65536 else ulimit -u 16384 -n 65536 fi umask 022 fi |
코드 블럭 | ||||
---|---|---|---|---|
| ||||
options hangcheck-timer hangcheck_tick=30 hangcheck_margin=180 |
코드 블럭 | ||||
---|---|---|---|---|
| ||||
/sbin/modprobe hangcheck-timer |
코드 블럭 | ||
---|---|---|
| ||
# groupadd oinstall # groupadd dba groupadd oper # useradd -g oinstall -G dba,oper,vboxsf oracle usermod -g oinstall -G dba,oper,vboxsf oracle passwd oracle |
펼치기 | ||
---|---|---|
|
코드 블럭 | ||
---|---|---|
| ||
mkdir -p /u01/app/oracle chown -R oracle:oinstall /u01 |
펼치기 | ||
---|---|---|
|
코드 블럭 | ||||
---|---|---|---|---|
| ||||
PATH=$PATH:$HOME/bin:/u01/app/11.1.0/crs/bin |
코드 블럭 | ||||
---|---|---|---|---|
| ||||
export TMP=/tmp export TMPDIR=$TMP export EDITOR=vi export ORACLE_HOSTNAME=rac1 # rac2.localdomain export ORACLE_UNQNAME=racdb export ORACLE_BASE=/u01/app/oracle export CRS_HOME=/u01/app/11.1.0/crs export DB_HOME=$ORACLE_BASE/product/11.1.0/db_1 export ORACLE_HOME=$DB_HOME export ORACLE_SID=racdb1 # racdb2 export ORACLE_TERM=xterm export BASE_PATH=/usr/sbin:$PATH export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/OPatch:$CRS_HOME/bin:$BASE_PATH export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib export CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib export NLS_LANG=AMERICAN_KOREA.AL32UTF8 if [ $USER = "oracle" ]; then if [ $SHELL = "/bin/ksh" ]; then ulimit -p 16384 ulimit -n 65536 else ulimit -u 16384 -n 65536 fi fi |
코드 블럭 | ||||||
---|---|---|---|---|---|---|
| ||||||
export ORACLE_SID=+ASM1 # +ASM2
export ORACLE_HOME=$CRS_HOME
export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/OPatch:$CRS_HOME/bin:$BASE_PATH
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
export CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib |
코드 블럭 | ||||||
---|---|---|---|---|---|---|
| ||||||
export ORACLE_SID=racdb1 # racdb2
export ORACLE_HOME=$DB_HOME
export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/OPatch:$GRID_HOME/bin:$BASE_PATH
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
export CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib |
코드 블럭 | ||||||
---|---|---|---|---|---|---|
| ||||||
alias crs_env='. ~/.crs_env'
alias db_env='. ~/.db_env'
alias ss='sqlplus / as sysdba'
alias ltr='ls -ltr' |