리눅스 오라클 19c single 설치 전 체크리스트
참고문서
https://docs.oracle.com/en/database/oracle/oracle-database/19/ladbi/index.html
Database Installation Guide
docs.oracle.com
※ os 종류, 버전 별 요구사항이 다르니 설치 전 문서를 참고해야 함.
Server Hardware Checklist for Oracle Database Installation
■ Runlevel : 3 or 5
■ Server Display Cards : 최소 1024 x 768
■ Minimum RAM
- At least 1 GB RAM for Oracle Database installations. 2 GB RAM recommended.
- At least 8 GB RAM for Oracle Grid Infrastructure installations.
Operating System Checklist for Oracle Database Installation on Linux
OS 별 지원되는 커널 버전 확인
The following Linux x86-64 kernels are supported:
- Oracle Linux 9 with the Unbreakable Enterprise Kernel 7: 5.15.0-1.43.4.2.el9uek.x86_64 or later
Oracle Linux 9 with the Red Hat Compatible Kernel: 5.14.0-70.22.1.0.2.el9_0.x86_64 or later - Oracle Linux 8.8 with the Unbreakable Enterprise Kernel 7: 5.15.0-202.135.2.el8uek.x86_64 or later
Oracle Linux 8.1 with the Unbreakable Enterprise Kernel 6: 5.4.17-2011.0.7.el8uek.x86_64 or later
Oracle Linux 8 with the Red Hat Compatible kernel: 4.18.0-80.el8.x86_64 or later - Oracle Linux 7.4 with the Unbreakable Enterprise Kernel 4: 4.1.12-124.19.2.el7uek.x86_64 or later
Oracle Linux 7.4 with the Unbreakable Enterprise Kernel 5: 4.14.35-1818.1.6.el7uek.x86_64 or later
Oracle Linux 7.7 with the Unbreakable Enterprise Kernel 6: 5.4.17-2011.4.4.el7uek.x86_64 or later
Oracle Linux 7.5 with the Red Hat Compatible Kernel: 3.10.0-862.11.6.el7.x86_64 or later - Red Hat Enterprise Linux 9: 5.14.0-70.22.1.el9_0.x86_64 or later
- Red Hat Enterprise Linux 8: 4.18.0-80.el8.x86_64 or later
- Red Hat Enterprise Linux 7.5: 3.10.0-862.11.6.el7.x86_64 or later
- SUSE Linux Enterprise Server 15: 4.12.14-23-default or later
- SUSE Linux Enterprise Server 12 SP3: 4.4.162-94.72-default or later
※ Disable Transparent HugePages
Oracle recommends that you disable Transparent HugePages and use standard HugePages for enhanced performance.
Server Configuration Checklist for Oracle Database Installation
● /tmp 디렉토리 최소 1GB 할당
● 스왑 크기 할당(서버 메모리에 따라 다름)
- Between 1 GB and 2 GB: 1.5 times the size of the RAM
- Between 2 GB and 16 GB: Equal to the size of the RAM
- More than 16 GB: 16 GB
Supported Oracle Linux 9 Distributions for x86-64
Starting with Oracle Database 19c Release 19.19, the following minimum versions are supported:
- Oracle Linux 9 with the Unbreakable Enterprise Kernel 7: 5.15.0-1.43.4.2.el9uek.x86_64 or later
- Oracle Linux 9 with the Red Hat Compatible Kernel: 5.14.0-70.22.1.0.2.el9_0.x86_64 or later
Note: Oracle recommends that you update Oracle Linux to the latest available version and release level.
※ 필요 패키지
bc
binutils
compat-openssl11
elfutils-libelf
fontconfig
glibc
glibc-devel
ksh
libaio
libasan
liblsan
libX11
libXau
libXi
libXrender
libXtst
libxcrypt-compat
libgcc
libibverbs
libnsl
librdmacm
libstdc++
libxcb
libvirt-libs
make
policycoreutils
policycoreutils-python-utils
smartmontools
sysstat
Supported Oracle Linux 8 Distributions for x86-64
Minimum supported versions:
- Oracle Linux 8.1 with the Unbreakable Enterprise Kernel 6: 5.4.17-2011.0.7.el8uek.x86_64 or later
- Oracle Linux 8 with the Red Hat Compatible Kernel: 4.18.0-80.el8.x86_64 or later
Starting with Oracle Database 19c Release 19.24, the following minimum version is supported:
- Oracle Linux 8.8 with the Unbreakable Enterprise Kernel 7: 5.15.0-202.135.2.el8uek.x86_64 or later
Note:Oracle recommends that you update Oracle Linux to the latest available version and release level.
※ 필요 패키지
bc
binutils
compat-openssl10
elfutils-libelf
elfutils-libelf-devel
fontconfig
glibc
glibc-devel
ksh
libaio
libaio-devel
libXrender
libX11
libXau
libXi
libXtst
libgcc
libnsl
librdmacm
libstdc++
libstdc++-devel
libxcb
libibverbs
libasan
liblsan
make
policycoreutils
policycoreutils-python-utils
smartmontools
sysstat
Supported Oracle Linux 7 Distributions for x86-64
Minimum supported versions:
- Oracle Linux 7.4 with the Unbreakable Enterprise Kernel 4: 4.1.12-124.19.2.el7uek.x86_64 or later
- Oracle Linux 7.4 with the Unbreakable Enterprise Kernel 5: 4.14.35-1818.1.6.el7uek.x86_64 or later
- Oracle Linux 7.7 with the Unbreakable Enterprise Kernel 6: 5.4.17-2011.4.4.el7uek.x86_64 or later
- Oracle Linux 7.5 with the Red Hat Compatible Kernel: 3.10.0-862.11.6.el7.x86_64 or later
Note: Oracle recommends that you update Oracle Linux to the latest available version and release level.
※ 필요 패키지
bc
binutils
compat-libcap1
compat-libstdc++-33
elfutils-libelf
elfutils-libelf-devel
fontconfig-devel
glibc
glibc-devel
ksh
libaio
libaio-devel
libXrender
libXrender-devel
libX11
libXau
libXi
libXtst
libgcc
libstdc++
libstdc++-devel
libxcb
make
policycoreutils
policycoreutils-python
smartmontools
sysstat
● os 커널 파라미터 설정
/etc/sysctl.conf 파일 수정
fs.file-max : 6815744
|
시스템 전체에서 최대로 열 수 있는 파일 개수
|
kernel.sem = 250 32000 100 128
|
semmsl semmns semopm, semmni[1]
|
kernel.shmmni = 4096
|
최대 세마포어 세트 수, 공유 메모리 식별자 개수
|
kernel.shmall = 2097152
|
최대 공유 메모리 크기 설정(페이지)
|
kernel.shmmax = 2147483648
|
공유 메모리 세그먼트의 최대 크기 설정(바이트 단위)
|
kernel.panic_on_oops = 1
|
1이면 opps 또는 bug 조건이 발생했을 때 패닉 상태로 처리(0은 반대)
|
net.core.rmem_default = 262144
|
TCP 수신 버퍼 크기의 기본값 설정
|
net.core.rmem_max = 4194304
|
TCP 수신 버퍼 크기의 최대값 설정
|
net.core.wmem_default = 262144
|
소켓 출력 큐의 기본 값 조정 (TCP 송신 버퍼 크기)
|
net.core.wmem_max = 1048576
|
소켓 출력 큐의 최대 값 조정 (TCP 송신 버퍼 크기)
|
fs.aio-max-nr = 1048576
|
허가된 최대 동시 요청 수
|
net.ipv4.ip_local_port_range = 9000 65500
|
새 접속에서 사용할 수 있는 포트의 사용 가능 범위
|
semmsl : 세마포어 세트당 세마포어 최대 개수
semmns : 시스템 전체에 대한 세마포어 최대 개수
semopm : 시스템 호출 별 수행될 수 있는 세마포어 작업 수
semmni : 시스템 전체에 대한 세마포어 세트 최대 개수
● 유저 리소스 제한 설정

/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
oracle soft memlock unlimited
oracle hard memlock unlimited
soft : 새로운 프로그램 생성했을 때 적용되는 기본값
hard : 최대값
|