Oracle Database Preinstallation RPMとは?【実行ログ付き】

  • URLをコピーしました!
Oracle AI Database

LinuxディストリビューションがOracle LinuxまたはRed Hat Enterprise Linuxで、Oracle Linuxサポートを使用している場合は、Oracle Database Preinstallation RPMをインストールすることが推奨されています。

Oracle Database Preinstallation RPMは、Oracle Grid InfrastructureおよびOracle Databaseのインストール前の構成タスクを自動で実行してくれます。

本記事は、Oracle Database Preinstallation RPMを実際にインストールし、OS上でどのような変更(自動実行)が入るのかを検証します。

この記事でわかること
  • Oracle Database Preinstallation RPMが必要な理由
  • Oracle Database Preinstallation RPMの具体的な自動実行の内容
目次

Oracle Database Preinstall RPMのインストール

まずは、Oracle Database Preinstallation RPMのインストール実行結果です。

[root@OracleSingle19c ~]# dnf install oracle-database-preinstall-19c
Last metadata expiration check: 1:57:25 ago on Sun 26 Jul 2026 03:38:51 AM GMT.
Dependencies resolved.
==============================================================================================================================================================
 Package                                           Architecture              Version                               Repository                            Size
==============================================================================================================================================================
Installing:
 oracle-database-preinstall-19c                    x86_64                    1.0-2.el9                             ol9_appstream                         35 k
Installing dependencies:
 initscripts                                       x86_64                    10.11.8-4.0.1.el9                     ol9_baseos_latest                    285 k
 ksh                                               x86_64                    3:1.0.6-15.0.1.el9                    ol9_appstream                        885 k
 libICE                                            x86_64                    1.0.10-8.el9                          ol9_appstream                         71 k
 libSM                                             x86_64                    1.2.3-10.el9                          ol9_appstream                         42 k
 libX11-xcb                                        x86_64                    1.8.12-1.el9                          ol9_appstream                         10 k
 libXcomposite                                     x86_64                    0.4.5-7.el9                           ol9_appstream                         29 k
 libXi                                             x86_64                    1.7.10-8.el9                          ol9_appstream                         40 k
 libXinerama                                       x86_64                    1.1.4-10.el9                          ol9_appstream                         15 k
 libXmu                                            x86_64                    1.1.3-8.el9                           ol9_appstream                         79 k
 libXrandr                                         x86_64                    1.5.2-8.el9                           ol9_appstream                         28 k
 libXt                                             x86_64                    1.2.0-6.el9                           ol9_appstream                        180 k
 libXtst                                           x86_64                    1.2.3-16.el9                          ol9_appstream                         21 k
 libXv                                             x86_64                    1.0.11-16.el9                         ol9_appstream                         19 k
 libXxf86dga                                       x86_64                    1.1.5-8.el9                           ol9_appstream                         21 k
 libXxf86vm                                        x86_64                    1.1.4-18.el9                          ol9_appstream                         19 k
 libaio-devel                                      x86_64                    0.3.111-13.el9                        ol9_appstream                         11 k
 libdmx                                            x86_64                    1.1.4-14.el9                          ol9_appstream                         15 k
 libnsl                                            x86_64                    2.34-272.0.1.el9_8                    ol9_baseos_latest                     73 k
 libstdc++-devel                                   x86_64                    11.5.0-14.0.1.el9                     ol9_appstream                        3.1 M
 lm_sensors-libs                                   x86_64                    3.6.0-10.el9                          ol9_appstream                         42 k
 sysstat                                           x86_64                    12.5.4-11.0.2.el9                     ol9_appstream                        540 k
 xorg-x11-utils                                    x86_64                    7.5-40.el9                            ol9_appstream                        123 k
 xorg-x11-xauth                                    x86_64                    1:1.1-10.el9                          ol9_appstream                         36 k

Transaction Summary
==============================================================================================================================================================
Install  24 Packages

Total download size: 5.6 M
Installed size: 20 M
Is this ok [y/N]: y

<省略>                   

Complete!

上記の結果、Oracle Database Preinstallation RPMは無事にインストールされました。

具体的な自動実行の内容

Oracle公式ドキュメントは、Oracle Database Preinstallation RPMをインストールすると、主に次を自動実行すると説明されています。

自動実行される構成タスク
  1. Oracle Grid InfrastructureおよびOracle Databaseのインストールに必要な追加のRPMパッケージが自動的にダウンロードおよびインストールされ、依存性が解決されます。
  2. oracleユーザーが作成され、関連グループが作成されます。
  3. 必要に応じて、sysctl.confの設定、システム起動パラメータおよびドライバ・パラメータの値が、Oracle Preinstallation RPMプログラムの推奨値に基づいて設定されます。
  4. ハードリソース制限およびソフトリソース制限を設定します。
  5. カーネル・バージョンに応じて、他の推奨パラメータを設定します。
  6. Linux x86_64マシンのカーネルでnuma=offを設定します。

引用元:Oracle公式ドキュメント

ここからは実際にOracle Database Preinstallation RPMをインストールすることによる変化について詳しく解説していきます。

Oracle Grid InfrastructureおよびOracle Databaseのインストールに必要な追加のRPMパッケージが自動的にダウンロードおよびインストールされ、依存性が解決されます。

Oracle Database Preinstallation RPMインストール前は、compat-openssl11/ksh/libasan/liblsan/libXi/libnsl/librdmacm/libvirt-libs/sysstatが未導入でしたが、インストール後は依存関係のパッケージが自動的に導入されました。

[root@OracleSingle19c ~]# # Oracle Database Preinstallation RPMインストール前
[root@OracleSingle19c ~]# rpm -q 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
bc-1.07.1-14.el9.x86_64
binutils-2.35.2-72.0.1.el9.x86_64
package compat-openssl11 is not installed   # 未インストール
elfutils-libelf-0.194-1.el9.x86_64
fontconfig-2.14.0-2.el9_1.x86_64
glibc-2.34-272.0.1.el9_8.x86_64
glibc-devel-2.34-272.0.1.el9_8.x86_64
package ksh is not installed                # 未インストール
libaio-0.3.111-13.el9.x86_64
package libasan is not installed            # 未インストール
package liblsan is not installed            # 未インストール
libX11-1.8.12-1.el9.x86_64
libXau-1.0.9-8.el9.x86_64
package libXi is not installed              # 未インストール
libXrender-0.9.10-16.el9.x86_64
package libXtst is not installed    未インストール
libxcrypt-compat-4.4.18-3.el9.x86_64
libgcc-11.5.0-14.0.1.el9.x86_64
libibverbs-61.0-2.el9.x86_64
package libnsl is not installed  # 未インストール
package librdmacm is not installed  # 未インストール
libstdc++-11.5.0-14.0.1.el9.x86_64
libxcb-1.13.1-9.el9.x86_64
package libvirt-libs is not installed  # 未インストール
make-4.3-8.el9.x86_64
policycoreutils-3.6-5.el9.x86_64
policycoreutils-python-utils-3.6-5.el9.noarch
smartmontools-7.2-10.0.1.el9.x86_64
package sysstat is not installed  # 未インストール
[root@OracleSingle19c ~]# # Oracle Database Preinstallation RPMインストール後
[root@OracleSingle19c ~]# rpm -q 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
bc-1.07.1-14.el9.x86_64
binutils-2.35.2-72.0.1.el9.x86_64
package compat-openssl11 is not installed
elfutils-libelf-0.194-1.el9.x86_64
fontconfig-2.14.0-2.el9_1.x86_64
glibc-2.34-272.0.1.el9_8.x86_64
glibc-devel-2.34-272.0.1.el9_8.x86_64
ksh-1.0.6-15.0.1.el9.x86_64
libaio-0.3.111-13.el9.x86_64
package libasan is not installed
package liblsan is not installed
libX11-1.8.12-1.el9.x86_64
libXau-1.0.9-8.el9.x86_64
libXi-1.7.10-8.el9.x86_64
libXrender-0.9.10-16.el9.x86_64
libXtst-1.2.3-16.el9.x86_64
libxcrypt-compat-4.4.18-3.el9.x86_64
libgcc-11.5.0-14.0.1.el9.x86_64
libibverbs-61.0-2.el9.x86_64
libnsl-2.34-272.0.1.el9_8.x86_64
package librdmacm is not installed
libstdc++-11.5.0-14.0.1.el9.x86_64
libxcb-1.13.1-9.el9.x86_64
package libvirt-libs is not installed
make-4.3-8.el9.x86_64
policycoreutils-3.6-5.el9.x86_64
policycoreutils-python-utils-3.6-5.el9.noarch
smartmontools-7.2-10.0.1.el9.x86_64
sysstat-12.5.4-11.0.2.el9.x86_64

oracleユーザーが作成され、関連グループが作成されます。

Oracle Database Preinstallation RPMインストール後は、oracleユーザ及び関連OSグループが作成されました。

[root@OracleSingle19c ~]# # Oracle Database Preinstallation RPMインストール前
[root@OracleSingle19c ~]# cat /etc/passwd | grep oracle
[root@OracleSingle19c ~]# # 出力結果なし

[root@OracleSingle19c ~]# cat /etc/group | grep -e "oinstall\|dba\|oper\|backupdba\|dgdba\|kmdba\|racdba"
[root@OracleSingle19c ~]# # 出力結果なし
[root@OracleSingle19c ~]# # Oracle Database Preinstallation RPMインストール後
[root@OracleSingle19c ~]# cat /etc/passwd | grep oracle
oracle:x:54321:54321::/home/oracle:/bin/bash

[root@OracleSingle19c ~]# cat /etc/group | grep -e "oinstall\|dba\|oper\|backupdba\|dgdba\|kmdba\|racdba"
oinstall:x:54321:oracle
dba:x:54322:oracle
oper:x:54323:oracle
backupdba:x:54324:oracle
dgdba:x:54325:oracle
kmdba:x:54326:oracle
racdba:x:54330:oracle

必要に応じて、sysctl.confの設定、システム起動パラメータおよびドライバ・パラメータの値が、Oracle Preinstallation RPMプログラムの推奨値に基づいて設定されます。

Oracle Database Preinstallation RPMインストール後に、/etc/sysctl.confにOracle推奨のカーネルパラメータが追記されました。

[root@OracleSingle19c ~]# # Oracle Database Preinstallation RPMインストール前
[root@OracleSingle19c ~]# cat /etc/sysctl.conf
# sysctl settings are defined through files in
# /usr/lib/sysctl.d/, /run/sysctl.d/, and /etc/sysctl.d/.
#
# Vendors settings live in /usr/lib/sysctl.d/.
# To override a whole file, create a new file with the same in
# /etc/sysctl.d/ and put new settings there. To override
# only specific settings, add a file with a lexically later
# name in /etc/sysctl.d/ and put new settings there.
#
# For more information, see sysctl.conf(5) and sysctl.d(5).
kernel.unknown_nmi_panic = 1
[root@OracleSingle19c ~]# # Oracle Database Preinstallation RPMインストール後
[root@OracleSingle19c ~]# cat /etc/sysctl.conf
# sysctl settings are defined through files in
# /usr/lib/sysctl.d/, /run/sysctl.d/, and /etc/sysctl.d/.
#(中略)

# oracle-database-preinstall-19c setting for fs.file-max is 6815744
fs.file-max = 6815744

# oracle-database-preinstall-19c setting for kernel.sem is '250 32000 100 128'
kernel.sem = 250 32000 100 128

# oracle-database-preinstall-19c setting for kernel.shmmni is 4096
kernel.shmmni = 4096

# oracle-database-preinstall-19c setting for kernel.shmall is 1073741824 on x86_64
kernel.shmall = 1073741824

# oracle-database-preinstall-19c setting for kernel.shmmax is 4398046511104 on x86_64
kernel.shmmax = 4398046511104

# oracle-database-preinstall-19c setting for kernel.panic_on_oops is 1 per Orabug 19212317
kernel.panic_on_oops = 1

# oracle-database-preinstall-19c setting for net.core.rmem_default is 262144
net.core.rmem_default = 262144

# oracle-database-preinstall-19c setting for net.core.rmem_max is 4194304
net.core.rmem_max = 4194304

# oracle-database-preinstall-19c setting for net.core.wmem_default is 262144
net.core.wmem_default = 262144

# oracle-database-preinstall-19c setting for net.core.wmem_max is 1048576
net.core.wmem_max = 1048576

# oracle-database-preinstall-19c setting for net.ipv4.conf.all.rp_filter is 2
net.ipv4.conf.all.rp_filter = 2

# oracle-database-preinstall-19c setting for net.ipv4.conf.default.rp_filter is 2
net.ipv4.conf.default.rp_filter = 2

# oracle-database-preinstall-19c setting for fs.aio-max-nr is 1048576
fs.aio-max-nr = 1048576

# oracle-database-preinstall-19c setting for net.ipv4.ip_local_port_range is 9000 65535
net.ipv4.ip_local_port_range = 9000 65535

# oracle-database-preinstall-19c setting for vm.hugetlb_shm_group is gid of primary group of 'oracle' user
vm.hugetlb_shm_group = 54321

sysctl -aで実際にカーネルパラメータに反映されていることを確認できます。

[root@OracleSingle19c ~]# # Oracle Database Preinstallation RPMインストール後
[root@OracleSingle19c ~]# sysctl -a | grep -E 'fs.file-max|fs.aio-max-nr|kernel.sem |kernel.shm|net.core.wmem|net.ipv4.ip_local_port_range|vm.hugetlb_shm_group'
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.sem = 250	32000	100	128
kernel.shmall = 1073741824
kernel.shmmax = 4398046511104
kernel.shmmni = 4096
net.core.wmem_default = 262144
net.core.wmem_max = 1048576
net.ipv4.ip_local_port_range = 9000	65535
vm.hugetlb_shm_group = 54321

また、設定内容は/etc/sysctl.d/にもコピーされます。

[root@OracleSingle19c ~]# # Oracle Database Preinstallation RPMインストール後
[root@OracleSingle19c ~]# ls /etc/sysctl.d/
99-initial-sysctl.conf                          # インストール前のsysctl.confバックアップ
99-oracle-database-preinstall-19c-sysctl.conf   # 設定後のsysctl.confのコピー
99-sysctl.conf


リソース制限の設定(/etc/security/limits.d/)

Oracle Database Preinstallation RPMインストール後、新しいファイルが作成され、oracleユーザー向けに各種リソース制限が設定されました。

[root@OracleSingle19c ~]# # Oracle Database Preinstallation RPMインストール前
[root@OracleSingle19c ~]# ls /etc/security/limits.d/
[root@OracleSingle19c ~]# # oracle関連のファイルなし
# Oracle Database Preinstallation RPMインストール後
[root@OracleSingle19c ~]# cat /etc/security/limits.d/oracle-database-preinstall-19c.conf

# oracle-database-preinstall-19c setting for nofile soft limit is 1024
oracle   soft   nofile    1024

# oracle-database-preinstall-19c setting for nofile hard limit is 65536
oracle   hard   nofile    65536

# oracle-database-preinstall-19c setting for nproc soft limit is 16384
# refer orabug15971421 for more info.
oracle   soft   nproc    16384

# oracle-database-preinstall-19c setting for nproc hard limit is 16384
oracle   hard   nproc    16384

# oracle-database-preinstall-19c setting for stack soft limit is 10240KB
oracle   soft   stack    10240

# oracle-database-preinstall-19c setting for stack hard limit is 32768KB
oracle   hard   stack    32768

# oracle-database-preinstall-19c setting for memlock hard limit is maximum of 128GB on x86_64 or 3GB on x86 OR 90 % of RAM
oracle   hard   memlock    134217728

# oracle-database-preinstall-19c setting for memlock soft limit is maximum of 128GB on x86_64 or 3GB on x86 OR 90% of RAM
oracle   soft   memlock    134217728

# oracle-database-preinstall-19c setting for data soft limit is 'unlimited'
oracle   soft   data    unlimited

# oracle-database-preinstall-19c setting for data hard limit is 'unlimited'
oracle   hard   data    unlimited

注意: memlockの値は「128GB」と「実装メモリの90%」のうち大きい方が動的に設定されます。スクリプト内のmax_memlock=$(( total_ram * 9 / 10 ))で計算されます。


ブートパラメータの設定(/etc/default/grub)

インストール前後で/etc/default/grubのGRUB_CMDLINE_LINUXに差分があり、インストール後はnuma=offとtransparent_hugepage=neverが追記されました。

[root@OracleSingle19c ~]# # Oracle Database Preinstallation RPMインストール前
[root@OracleSingle19c ~]# cat /etc/default/grub
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_DISABLE_RECOVERY="true"
GRUB_ENABLE_BLSCFG=true
GRUB_TERMINAL="console"
GRUB_CMDLINE_LINUX="LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200 rd.luks=0 rd.md=0 rd.dm=0 rd.lvm.vg=ocivolume rd.lvm.lv=ocivolume/root rd.net.timeout.dhcp=10 rd.net.timeout.carrier=5 rd.iscsi.param=node.session.timeo.replacement_timeout=6000 net.ifnames=1 nvme_core.shutdown_timeout=10 ipmi_si.tryacpi=0 ipmi_si.trydmi=0 libiscsi.debug_libiscsi_eh=1 loglevel=4 crash_kexec_post_notifiers crashkernel=1G-64G:448M,64G-:512M netroot=iscsi rd.iscsi.firmware=1"
[root@OracleSingle19c ~]# # Oracle Database Preinstallation RPMインストール後
[root@OracleSingle19c ~]# cat /etc/default/grub
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_DISABLE_RECOVERY="true"
GRUB_ENABLE_BLSCFG=true
GRUB_TERMINAL="console"
GRUB_CMDLINE_LINUX="LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200 rd.luks=0 rd.md=0 rd.dm=0 rd.lvm.vg=ocivolume rd.lvm.lv=ocivolume/root rd.net.timeout.dhcp=10 rd.net.timeout.carrier=5 rd.iscsi.param=node.session.timeo.replacement_timeout=6000 net.ifnames=1 nvme_core.shutdown_timeout=10 ipmi_si.tryacpi=0 ipmi_si.trydmi=0 libiscsi.debug_libiscsi_eh=1 loglevel=4 crash_kexec_post_notifiers crashkernel=1G-64G:448M,64G-:512M netroot=iscsi rd.iscsi.firmware=1 numa=off transparent_hugepage=never"

grubby –update-kernel=ALLにより、システム上の全カーネルに一括でブートパラメータが追加されます。

[root@OracleSingle19c ~]# # Oracle Database Preinstallation RPMインストール前
[root@OracleSingle19c ~]# grubby --info=ALL | grep args
args="ro LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200 rd.luks=0 rd.md=0 rd.dm=0 rd.lvm.vg=ocivolume rd.lvm.lv=ocivolume/root rd.net.timeout.dhcp=10 rd.net.timeout.carrier=5 rd.iscsi.param=node.session.timeo.replacement_timeout=6000 net.ifnames=1 nvme_core.shutdown_timeout=10 ipmi_si.tryacpi=0 ipmi_si.trydmi=0 libiscsi.debug_libiscsi_eh=1 loglevel=4 crash_kexec_post_notifiers crashkernel=1G-64G:448M,64G-:512M netroot=iscsi rd.iscsi.firmware=1"
args="ro $tuned_params LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200 rd.luks=0 rd.md=0 rd.dm=0 rd.lvm.vg=ocivolume rd.lvm.lv=ocivolume/root rd.net.timeout.dhcp=10 rd.net.timeout.carrier=5 rd.iscsi.param=node.session.timeo.replacement_timeout=6000 net.ifnames=1 nvme_core.shutdown_timeout=10 ipmi_si.tryacpi=0 ipmi_si.trydmi=0 libiscsi.debug_libiscsi_eh=1 loglevel=4 crash_kexec_post_notifiers crashkernel=1G-64G:448M,64G-:512M netroot=iscsi rd.iscsi.firmware=1"
args="ro $tuned_params LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200 rd.luks=0 rd.md=0 rd.dm=0 rd.lvm.vg=ocivolume rd.lvm.lv=ocivolume/root rd.net.timeout.dhcp=10 rd.net.timeout.carrier=5 rd.iscsi.param=node.session.timeo.replacement_timeout=6000 net.ifnames=1 nvme_core.shutdown_timeout=10 ipmi_si.tryacpi=0 ipmi_si.trydmi=0 libiscsi.debug_libiscsi_eh=1 loglevel=4 crash_kexec_post_notifiers crashkernel=1G-64G:448M,64G-:512M netroot=iscsi rd.iscsi.firmware=1"
[root@OracleSingle19c ~]# # Oracle Database Preinstallation RPMインストール後
[root@OracleSingle19c ~]# grubby --info=ALL | grep args
args="ro LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200 rd.luks=0 rd.md=0 rd.dm=0 rd.lvm.vg=ocivolume rd.lvm.lv=ocivolume/root rd.net.timeout.dhcp=10 rd.net.timeout.carrier=5 rd.iscsi.param=node.session.timeo.replacement_timeout=6000 net.ifnames=1 nvme_core.shutdown_timeout=10 ipmi_si.tryacpi=0 ipmi_si.trydmi=0 libiscsi.debug_libiscsi_eh=1 loglevel=4 crash_kexec_post_notifiers crashkernel=1G-64G:448M,64G-:512M netroot=iscsi rd.iscsi.firmware=1 numa=off transparent_hugepage=never"
args="ro $tuned_params LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200 rd.luks=0 rd.md=0 rd.dm=0 rd.lvm.vg=ocivolume rd.lvm.lv=ocivolume/root rd.net.timeout.dhcp=10 rd.net.timeout.carrier=5 rd.iscsi.param=node.session.timeo.replacement_timeout=6000 net.ifnames=1 nvme_core.shutdown_timeout=10 ipmi_si.tryacpi=0 ipmi_si.trydmi=0 libiscsi.debug_libiscsi_eh=1 loglevel=4 crash_kexec_post_notifiers crashkernel=1G-64G:448M,64G-:512M netroot=iscsi rd.iscsi.firmware=1 numa=off transparent_hugepage=never"
args="ro $tuned_params LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200 rd.luks=0 rd.md=0 rd.dm=0 rd.lvm.vg=ocivolume rd.lvm.lv=ocivolume/root rd.net.timeout.dhcp=10 rd.net.timeout.carrier=5 rd.iscsi.param=node.session.timeo.replacement_timeout=6000 net.ifnames=1 nvme_core.shutdown_timeout=10 ipmi_si.tryacpi=0 ipmi_si.trydmi=0 libiscsi.debug_libiscsi_eh=1 loglevel=4 crash_kexec_post_notifiers crashkernel=1G-64G:448M,64G-:512M netroot=iscsi rd.iscsi.firmware=1 numa=off transparent_hugepage=never"

構成タスクの自動実行ログの確認方法

Oracle Database Preinstallation RPMによる構成タスクの自動実行内容は、下記のファイルに出力されます。

ログ出力先: /var/log/oracle-database-preinstall-19c/backup/<タイムスタンプ>/orakernel.log

[root@OracleSingle19c ~]# cat /var/log/oracle-database-preinstall-19c/backup/Jul-26-2026-05-36-21/orakernel.log 
Adding group oinstall with gid 54321
Adding group dba with gid 54322
Adding group oper with gid 54323
Adding group backupdba with gid 54324
Adding group dgdba with gid 54325
Adding group kmdba with gid 54326
Adding group racdba with gid 54330
Adding user oracle with user id 54321, initial login group oinstall, supplementary groups oinstall,dba,oper,backupdba,dgdba,kmdba,racdba and  home directory /home/oracle
Changing ownership of /home/oracle to oracle:oinstall
Please set password for user - oracle
uid=54321(oracle) gid=54321(oinstall) groups=54321(oinstall),54322(dba),54323(oper),54324(backupdba),54325(dgdba),54326(kmdba),54330(racdba)
User creation passed 

Saving a copy of the initial sysctl.conf
Verifying  kernel parameters as per Oracle recommendations...
Trying to remove instances of  - setting for fs.file-max is
Adding fs.file-max = 6815744 
Trying to remove instances of  - setting for kernel.sem is
Adding kernel.sem = 250 32000 100 128 
Trying to remove instances of  - setting for kernel.shmmni is
Adding kernel.shmmni = 4096 
Trying to remove instances of  - setting for kernel.shmall is
Adding kernel.shmall = 1073741824 
Trying to remove instances of  - setting for kernel.shmmax is
Adding kernel.shmmax = 4398046511104 
Trying to remove instances of  - setting for kernel.panic_on_oops is
Adding kernel.panic_on_oops = 1 
Trying to remove instances of  - setting for net.core.rmem_default is
Adding net.core.rmem_default = 262144 
Trying to remove instances of  - setting for net.core.rmem_max is
Adding net.core.rmem_max = 4194304 
Trying to remove instances of  - setting for net.core.wmem_default is
Adding net.core.wmem_default = 262144 
Trying to remove instances of  - setting for net.core.wmem_max is
Adding net.core.wmem_max = 1048576 
Trying to remove instances of  - setting for net.ipv4.conf.all.rp_filter is
Adding net.ipv4.conf.all.rp_filter = 2 
Trying to remove instances of  - setting for net.ipv4.conf.default.rp_filter is
Adding net.ipv4.conf.default.rp_filter = 2 
Trying to remove instances of  - setting for fs.aio-max-nr is
Adding fs.aio-max-nr = 1048576 
Trying to remove instances of  - setting for net.ipv4.ip_local_port_range is
Adding net.ipv4.ip_local_port_range = 9000 65535 
Trying to remove instances of  - setting for vm.hugetlb_shm_group is
Adding vm.hugetlb_shm_group = 54321 
Setting kernel parameters as per oracle recommendations...
Altered file /etc/sysctl.conf
Saved a copy of the current file in /etc/sysctl.d/99-oracle-database-preinstall-19c-sysctl.conf
Check /etc/sysctl.d for backups
Verification & setting of kernel parameters passed 

Setting user limits using /etc/security/limits.d/oracle-database-preinstall-19c.conf

Verifying oracle user OS limits as per Oracle recommendations...
Adding oracle soft nofile  1024
Adding oracle hard nofile  65536
Adding oracle soft nproc  16384
Adding oracle hard nproc  16384
Adding oracle soft stack  10240
Adding oracle hard stack  32768
Adding oracle hard memlock  134217728
Adding oracle soft memlock  134217728
Adding oracle soft data  unlimited
Adding oracle hard data  unlimited
Setting oracle user OS limits as per Oracle recommendations...
Altered file /etc/security/limits.d/oracle-database-preinstall-19c.conf
Original file backed up at /var/log/oracle-database-preinstall-19c/backup/Jul-26-2026-05-36-21
Verification & setting of user limits passed 

Saving a copy of /etc/default/grub in /var/log/oracle-database-preinstall-19c/backup/Jul-26-2026-05-36-21...
Verifying kernel boot parameters as per Oracle recommendations...
INFO: Current Kernel configuration
index=0
kernel="/boot/vmlinuz-5.14.0-687.22.1.el9_8.x86_64"
args="ro LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200 rd.luks=0 rd.md=0 rd.dm=0 rd.lvm.vg=ocivolume rd.lvm.lv=ocivolume/root rd.net.timeout.dhcp=10 rd.net.timeout.carrier=5 rd.iscsi.param=node.session.timeo.replacement_timeout=6000 net.ifnames=1 nvme_core.shutdown_timeout=10 ipmi_si.tryacpi=0 ipmi_si.trydmi=0 libiscsi.debug_libiscsi_eh=1 loglevel=4 crash_kexec_post_notifiers crashkernel=1G-64G:448M,64G-:512M netroot=iscsi rd.iscsi.firmware=1"
root="/dev/mapper/ocivolume-root"
initrd="/boot/initramfs-5.14.0-687.22.1.el9_8.x86_64.img $tuned_initrd"
title="Oracle Linux Server (5.14.0-687.22.1.el9_8.x86_64) 9.8"
id="3ed972301d8a41a5b87f540f5e485d2c-5.14.0-687.22.1.el9_8.x86_64"
index=1
kernel="/boot/vmlinuz-6.12.0-204.92.4.3.1.el9uek.x86_64"
args="ro $tuned_params LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200 rd.luks=0 rd.md=0 rd.dm=0 rd.lvm.vg=ocivolume rd.lvm.lv=ocivolume/root rd.net.timeout.dhcp=10 rd.net.timeout.carrier=5 rd.iscsi.param=node.session.timeo.replacement_timeout=6000 net.ifnames=1 nvme_core.shutdown_timeout=10 ipmi_si.tryacpi=0 ipmi_si.trydmi=0 libiscsi.debug_libiscsi_eh=1 loglevel=4 crash_kexec_post_notifiers crashkernel=1G-64G:448M,64G-:512M netroot=iscsi rd.iscsi.firmware=1"
root="/dev/mapper/ocivolume-root"
initrd="/boot/initramfs-6.12.0-204.92.4.3.1.el9uek.x86_64.img $tuned_initrd"
title="Oracle Linux Server (6.12.0-204.92.4.3.1.el9uek.x86_64 with Unbreakable Enterprise Kernel) 9.8"
id="d78e0bd684b3acdc0361bda2f90634e7-6.12.0-204.92.4.3.1.el9uek.x86_64"
index=2
kernel="/boot/vmlinuz-0-rescue-d78e0bd684b3acdc0361bda2f90634e7"
args="ro $tuned_params LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200 rd.luks=0 rd.md=0 rd.dm=0 rd.lvm.vg=ocivolume rd.lvm.lv=ocivolume/root rd.net.timeout.dhcp=10 rd.net.timeout.carrier=5 rd.iscsi.param=node.session.timeo.replacement_timeout=6000 net.ifnames=1 nvme_core.shutdown_timeout=10 ipmi_si.tryacpi=0 ipmi_si.trydmi=0 libiscsi.debug_libiscsi_eh=1 loglevel=4 crash_kexec_post_notifiers crashkernel=1G-64G:448M,64G-:512M netroot=iscsi rd.iscsi.firmware=1"
root="/dev/mapper/ocivolume-root"
initrd="/boot/initramfs-0-rescue-d78e0bd684b3acdc0361bda2f90634e7.img $tuned_initrd"
title="Oracle Linux Server (0-rescue-d78e0bd684b3acdc0361bda2f90634e7 with Unbreakable Enterprise Kernel) 9.8"
id="d78e0bd684b3acdc0361bda2f90634e7-0-rescue"
INFO: Executing grubby --update-kernel=ALL args=numa=off
INFO: numa=off already present in /etc/default/grub

Setting /sys/kernel/mm/transparent_hugepage/enabled to never

Setting /sys/kernel/mm/transparent_hugepage/defrag to never

INFO: Executing grubby --update-kernel=ALL args=transparent_hugepage=never
INFO: transparent_hugepage=never already present in /etc/default/grub

INFO: grubby --info=ALL
index=0
kernel="/boot/vmlinuz-5.14.0-687.22.1.el9_8.x86_64"
args="ro LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200 rd.luks=0 rd.md=0 rd.dm=0 rd.lvm.vg=ocivolume rd.lvm.lv=ocivolume/root rd.net.timeout.dhcp=10 rd.net.timeout.carrier=5 rd.iscsi.param=node.session.timeo.replacement_timeout=6000 net.ifnames=1 nvme_core.shutdown_timeout=10 ipmi_si.tryacpi=0 ipmi_si.trydmi=0 libiscsi.debug_libiscsi_eh=1 loglevel=4 crash_kexec_post_notifiers crashkernel=1G-64G:448M,64G-:512M netroot=iscsi rd.iscsi.firmware=1 numa=off transparent_hugepage=never"
root="/dev/mapper/ocivolume-root"
initrd="/boot/initramfs-5.14.0-687.22.1.el9_8.x86_64.img $tuned_initrd"
title="Oracle Linux Server (5.14.0-687.22.1.el9_8.x86_64) 9.8"
id="3ed972301d8a41a5b87f540f5e485d2c-5.14.0-687.22.1.el9_8.x86_64"
index=1
kernel="/boot/vmlinuz-6.12.0-204.92.4.3.1.el9uek.x86_64"
args="ro $tuned_params LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200 rd.luks=0 rd.md=0 rd.dm=0 rd.lvm.vg=ocivolume rd.lvm.lv=ocivolume/root rd.net.timeout.dhcp=10 rd.net.timeout.carrier=5 rd.iscsi.param=node.session.timeo.replacement_timeout=6000 net.ifnames=1 nvme_core.shutdown_timeout=10 ipmi_si.tryacpi=0 ipmi_si.trydmi=0 libiscsi.debug_libiscsi_eh=1 loglevel=4 crash_kexec_post_notifiers crashkernel=1G-64G:448M,64G-:512M netroot=iscsi rd.iscsi.firmware=1 numa=off transparent_hugepage=never"
root="/dev/mapper/ocivolume-root"
initrd="/boot/initramfs-6.12.0-204.92.4.3.1.el9uek.x86_64.img $tuned_initrd"
title="Oracle Linux Server (6.12.0-204.92.4.3.1.el9uek.x86_64 with Unbreakable Enterprise Kernel) 9.8"
id="d78e0bd684b3acdc0361bda2f90634e7-6.12.0-204.92.4.3.1.el9uek.x86_64"
index=2
kernel="/boot/vmlinuz-0-rescue-d78e0bd684b3acdc0361bda2f90634e7"
args="ro $tuned_params LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200 rd.luks=0 rd.md=0 rd.dm=0 rd.lvm.vg=ocivolume rd.lvm.lv=ocivolume/root rd.net.timeout.dhcp=10 rd.net.timeout.carrier=5 rd.iscsi.param=node.session.timeo.replacement_timeout=6000 net.ifnames=1 nvme_core.shutdown_timeout=10 ipmi_si.tryacpi=0 ipmi_si.trydmi=0 libiscsi.debug_libiscsi_eh=1 loglevel=4 crash_kexec_post_notifiers crashkernel=1G-64G:448M,64G-:512M netroot=iscsi rd.iscsi.firmware=1 numa=off transparent_hugepage=never"
root="/dev/mapper/ocivolume-root"
initrd="/boot/initramfs-0-rescue-d78e0bd684b3acdc0361bda2f90634e7.img $tuned_initrd"
title="Oracle Linux Server (0-rescue-d78e0bd684b3acdc0361bda2f90634e7 with Unbreakable Enterprise Kernel) 9.8"
id="d78e0bd684b3acdc0361bda2f90634e7-0-rescue"
INFO: Boot parameters will be effected on next reboot
INFO: Altered file /etc/default/grub
INFO: Copy of the changed file is in - /etc/default/grub-oracle-database-preinstall-19c.orabackup
INFO: Copy of the original file is in - /var/log/oracle-database-preinstall-19c/backup/Jul-26-2026-05-36-21
Verification & setting of boot parameters passed 

Setting parameters in /etc/sysconfig/network is not relevant for 19
Setting /etc/sysconfig/network parameters passed 

Taking a backup of old config files under /var/log/oracle-database-preinstall-19c/backup/Jul-26-2026-05-36-21 

まとめ

Oracle Database Preinstallation RPMは、Oracle Grid InfrastructureおよびOracle Databaseのインストール前の構成タスクを自動で実行してくれます。

インストールによって変化する対象をまとめると以下のとおりです。

自動実行される構成タスク
  1. Oracle Grid InfrastructureおよびOracle Databaseのインストールに必要な追加のRPMパッケージが自動的にダウンロードおよびインストールされ、依存性が解決されます。
  2. oracleユーザーが作成され、関連グループが作成されます。
  3. 必要に応じて、sysctl.confの設定、システム起動パラメータおよびドライバ・パラメータの値が、Oracle Preinstallation RPMプログラムの推奨値に基づいて設定されます。
  4. ハードリソース制限およびソフトリソース制限を設定します。
  5. カーネル・バージョンに応じて、他の推奨パラメータを設定します。
  6. Linux x86_64マシンのカーネルでnuma=offを設定します。

引用元:Oracle公式ドキュメント

具体的に自動実行された内容を確認したい場合は、以下のパスのログで追跡できます。

ログ出力先: /var/log/oracle-database-preinstall-19c/backup/<タイムスタンプ>/orakernel.log

最後までご愛読ありがとうございました。

よかったらシェアしてね!
  • URLをコピーしました!
  • URLをコピーしました!
目次