centos 7.4 + udev + 12.2.0.1 + asm 单点安装
os: centos7.4
db: oracle 12.2.0.1 + asm
step 1:准备工作
修改ip
vi /etc/sysconfig/network-scripts/ifcfg-enp0s3
TYPE=Ethernet
PROXY_METHOD=none
BROWSER_ONLY=no
BOOTPROTO=static
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=no
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
IPV6_ADDR_GEN_MODE=stable-privacy
NAME=enp0s3
UUID=6f5fccd7-ded5-4a09-b1bd-634274c27ebc
DEVICE=enp0s3
ONBOOT=yes
IPADDR=192.168.56.100
GATEWAY=192.168.56.1
NETMASK=255.255.255.0
重启网络
systemctl status netowrk
systemctl restart netowrk
修改主机名
vi /etc/hostname
oradb
检查 shm 和 swap,shm 是oracle 的amm需要的
# df -h /dev/shm
# free -m
# vi /etc/fstab
tmpfs /dev/shm tmpfs defaults,size=1536m 0 0
关闭selinux:
临时修改:
set enforce 0
永久修改:
vi /etc/selinux/config
SELINUX=DISABLED
vi /etc/sysconfig/selinux
SELINUX=DISABLED
查看两个文件是ln -s 的关系:
/etc/sysconfig/selinux -> ../selinux/config
os 修改内核参数
vi /etc/sysctl.conf
#ORACLE SETTING
#kernel.shmall = 2097152
#kernel.shmmax = 536870912 # Bytes
kernel.shmmni = 4096
fs.aio-max-nr = 1048576
fs.file-max = 68116544
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 = 1048586
立即生效
sysctl -p
# lsipc
RESOURCE DESCRIPTION LIMIT USED USE%
MSGMNI Number of message queues 7900 0 0.00%
MSGMAX Max size of message (bytes) 8192 - -
MSGMNB Default max size of queue (bytes) 16384 - -
SHMMNI Shared memory segments 4096 10 0.24%
SHMALL Shared memory pages 18446744073692774399 304394 0.00%
SHMMAX Max size of shared memory segment (bytes) 18446744073692774399 - -
SHMMIN Min size of shared memory segment (bytes) 1 - -
SEMMNI Number of semaphore identifiers 128 4 3.12%
SEMMNS Total number of semaphores 32000 496 1.55%
SEMMSL Max semaphores per semaphore set. 250 - -
SEMOPM Max number of operations per semop(2) 100 - -
SEMVMX Semaphore max value 32767 - -
# sysctl -a |grep -i shm
kernel.shm_next_id = -1
kernel.shm_rmid_forced = 0
kernel.shmall = 18446744073692774399
kernel.shmmax = 18446744073692774399
kernel.shmmni = 4096
vm.hugetlb_shm_group = 0
# sysctl -a |grep -i sem
kernel.sem = 250 32000 100 128
kernel.sem_next_id = -1
vi /etc/pam.d/login
#ORACLE SETTING
session required /lib64/security/pam_limits.so
禁用ipv6
vi /etc/default/grub
ipv6.disable=1
执行下面命令,生成新的grub
grub2-mkconfig -o /boot/grub2/grub.cfg
lsmod | grep ipv6
禁用linux 的透明大页
#vi /etc/rc.local
echo 'never' > /sys/kernel/mm/transparent_hugepage/enabled
echo 'never' > /sys/kernel/mm/transparent_hugepage/defrag
或者在 grub 禁止
vi /etc/default/grub
transparent_hugepage=never
执行下面命令,生成新的grub
grub2-mkconfig -o /boot/grub2/grub.cfg
禁用numba
vi /etc/default/grub
numa=off
调整disk io Scheduler
查看
cat /sys/block/${ASM_DISK}/queue/scheduler
修改udev 配置文件
vi /etc/udev/rules.d/60-oracle-schedulers.rules
ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="0", ATTR{queue/scheduler}="deadline"
加载udev 配置文件
udevadm control --reload-rules
或者修改
vi /etc/default/grub
elevator=deadline
上面三步一次修改后,统一执行 grub2-mkconfig -o /boot/grub2/grub.cfg
获取RESULT,在 Linux 7下,可以使用如下命令:
/usr/lib/udev/scsi_id -g -u /dev/sdb
vi /etc/udev/rules.d/99-oracle-asmdevices.rules
KERNEL=="sd*", SUBSYSTEM=="block", PROGRAM=="/usr/lib/udev/scsi_id --whitelisted --replace-whitespace --device=/dev/$name", RESULT=="1ATA_VBOX_HARDDISK_VBc15c17be-e6e41f2d", SYMLINK+="asm-diskb", OWNER="grid", GROUP="asmadmin", MODE="0660"
重新加载分区表
/sbin/partprobe /dev/sdb
partprobe:
将磁盘分区表变化信息通知内核,请求操作系统重新加载分区表。
-d 不更新内核
-s 显示磁盘分区汇总信息
-h 显示帮助信息
-v 显示版本信息
用udevadm进行测试
udevadm test /sys/block/sdb
udevadm info --query=all --path=/sys/block/sdb
udevadm info --query=all --name=asm-diskb
启动udev
/usr/sbin/udevadm control --reload-rules
systemctl status systemd-udevd.service
systemctl enable systemd-udevd.service
检查设备是否正确绑定
# ls -l /dev/asm* /dev/sdb
lrwxrwxrwx 1 root root 3 Nov 29 18:17 /dev/asm-diskb -> sdb
brw-rw---- 1 grid asmadmin 8, 16 Nov 29 18:17 /dev/sdb
修改resolv.conf
# mv /etc/resolv.conf /etc/resolv.conf.20180320
禁用zeroconf
vi /etc/sysconfig/network
NOZEROCONF=yes
创建用户组
groupadd -g 10000 oinstall
groupadd -g 10001 dba
groupadd -g 10002 oper
groupadd -g 10003 asmadmin
groupadd -g 10004 asmdba
groupadd -g 10005 asmoper
groupadd -g 10006 backupdba
groupadd -g 10007 dgdba
groupadd -g 10008 kmdba
groupadd -g 10009 racdba
创建用户
useradd -u 10000 -g oinstall -G dba,oper,backupdba,dgdba,kmdba,asmdba,racdba oracle
useradd -u 10001 -g oinstall -G dba,asmadmin,asmdba,asmoper,racdba grid
id oracle
uid=10000(oracle)
gid=10000(oinstall)
groups=10000(oinstall),
10001(dba),
10002(oper),
10004(asmdba),
10006(backupdba),
10007(dgdba),
10008(kmdba),
10009(racdba)
id grid
uid=10001(grid)
gid=10000(oinstall)
groups=10000(oinstall),
10001(dba),
10003(asmadmin),
10004(asmdba),
10005(asmoper),
10009(racdba)
修改密码
passwd oracle
passwd grid
创建目录
mkdir -p /u01/app/gridbase/12.2.0/grid_1
mkdir -p /u01/app/grid/product/12.2.0/grid_1
mkdir -p /u01/app/oracle/product/12.2.0/db_1
chown -R grid:oinstall /u01
chown -R grid:oinstall /u01/app/gridbase
chown -R grid:oinstall /u01/app/grid
chown -R oracle:oinstall /u01/app/oracle
chmod -R 775 /u01/
grid 用户环境变量
vi /home/grid/.bash_profile
PS1="[`whoami`@`hostname`:"'$PWD]$'
umask 022
export ORACLE_BASE=/u01/app/gridbase/12.2.0/grid_1
export ORACLE_HOME=/u01/app/grid/product/12.2.0/grid_1
export ORACLE_SID=+ASM1
#export ORACLE_SID=+ASM2
export NLS_DATE_FORMAT='yyyy-mm-dd hh24:mi:ss'
export TNS_ADMIN=$ORACLE_HOME/network/admin
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
export PATH=$ORACLE_HOME/bin:$PATH
export TEMP=/tmp
export TMP=/tmp
export TMPDIR=/tmp
oracle 用户环境变量
vi /home/oracle/.bash_profile
PS1="[`whoami`@`hostname`:"'$PWD]$'
umask 022
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/12.2.0/db_1
export ORACLE_SID=rac01
#export ORACLE_SID=rac02
export TNS_ADMIN=/u01/app/grid/product/12.2.0/grid_1/network/admin
#export ORA_NLS10=$ORACLE_HOME/nls/data
export NLS_LANG=AMERICAN_AMERICA.AL32UTF8
export NLS_DATE_FORMAT='yyyy-mm-dd hh24:mi:ss'
export PATH=.:${PATH}:$HOME/bin:$ORACLE_HOME/bin
export PATH=${PATH}:/usr/bin:/bin:/usr/bin/X11:/usr/local/bin
export PATH=${PATH}:$ORACLE_BASE/common/oracle/bin
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:$ORACLE_HOME/oracm/lib
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/lib:/usr/lib:/usr/local/lib
export CLASSPATH=$ORACLE_HOME/JRE
export CLASSPATH=${CLASSPATH}:$ORACLE_HOME/jlib
export CLASSPATH=${CLASSPATH}:$ORACLE_HOME/rdbms/jlib
export CLASSPATH=${CLASSPATH}:$ORACLE_HOME/network/jlib
export TEMP=/tmp
export TMP=/tmp
export TMPDIR=/tmp
修改资源限制
vi /etc/security/limits.conf
#ORACLE SETTING
grid soft nproc 2047
grid hard nproc 65536
grid soft nofile 1024
grid hard nofile 65536
grid soft stack 10240
grid hard stack 32768
#at least 90 percent of the current RAM when HugePages memory is enabled and
#at least 3145728 KB (3 GB) when HugePages memory is disabled
grid soft memlock unlimited
grid hard memlock unlimited
oracle soft nproc 2047
oracle hard nproc 65536
oracle soft nofile 1024
oracle hard nofile 65536
oracle soft stack 10240
oracle hard stack 32768
#at least 90 percent of the current RAM when HugePages memory is enabled and
#at least 3145728 KB (3 GB) when HugePages memory is disabled
oracle soft memlock unlimited
oracle hard memlock unlimited
配置yum源,启用CentOS-Base.repo 和 CentOS-Media.repo
# cd /etc/yum.repos.d
# vi CentOS-Media.repo
[c7-media]
name=CentOS-$releasever - Media
baseurl=file:///mnt/cdrombak/
gpgcheck=0
enabled=1
gpgkey=file:///mnt/cdrombak/RPM-GPG-KEY-CentOS-7
yum 安装12.2.0.1 的依赖包
The following packages (or later versions) must be installed:
binutils-2.23.52.0.1-12.el7 (x86_64)
compat-libcap1-1.10-3.el7 (x86_64)
compat-libstdc++-33-3.2.3-71.el7 (i686)
compat-libstdc++-33-3.2.3-71.el7 (x86_64)
glibc-2.17-36.el7 (i686)
glibc-2.17-36.el7 (x86_64)
glibc-devel-2.17-36.el7 (i686)
glibc-devel-2.17-36.el7 (x86_64)
ksh
libaio-0.3.109-9.el7 (i686)
libaio-0.3.109-9.el7 (x86_64)
libaio-devel-0.3.109-9.el7 (i686)
libaio-devel-0.3.109-9.el7 (x86_64)
libgcc-4.8.2-3.el7 (i686)
libgcc-4.8.2-3.el7 (x86_64)
libstdc++-4.8.2-3.el7 (i686)
libstdc++-4.8.2-3.el7 (x86_64)
libstdc++-devel-4.8.2-3.el7 (i686)
libstdc++-devel-4.8.2-3.el7 (x86_64)
libxcb-1.9-5.el7 (i686)
libxcb-1.9-5.el7 (x86_64)
libX11-1.6.0-2.1.el7 (i686)
libX11-1.6.0-2.1.el7 (x86_64)
libXau-1.0.8-2.1.el7 (i686)
libXau-1.0.8-2.1.el7 (x86_64)
libXi-1.7.2-1.el7 (i686)
libXi-1.7.2-1.el7 (x86_64)
libXtst-1.2.2-1.el7 (i686)
libXtst-1.2.2-1.el7 (x86_64)
make-3.82-19.el7 (x86_64)
net-tools-2.0-0.17.20131004git.el7 (x86_64) (for Oracle RAC and Oracle Clusterware)
nfs-utils-1.3.0-0.21.el7.x86_64 (for Oracle ACFS)
smartmontools-6.2-4.el7 (x86_64)
sysstat-10.1.5-1.el7 (x86_64)
unixODBC-2.3.1 or later
yum install binutils compat-libcap1 compat-libstdc++-33 compat-libstdc++-33.i686 elfutils-libelf-devel gcc gcc-c++ glibc glibc*.i686 glibc-devel glibc-devel*.i686 ksh libgcc libgcc*.i686 libstdc++ libstdc++*.i686 libstdc++-devel libstdc++-devel*.i686 libaio libaio*.i686 libaio-devel libaio-devel*.i686 libXext libXext.i686 libXtst libXtst.i686 libX11 libX11.i686 libXau libXau.i686 libxcb libxcb.i686 libXi libXi.i686 make sysstat unixODBC unixODBC*.i686 unixODBC-devel unixODBC-devel*.i686 readline libtermcap-devel pdksh net-tools nfs-utils smartmontools libXp
禁止ntp服务
systemctl stop chronyd
systemctl disable chronyd
systemctl stop ntpd.service
systemctl disable ntpd.service
systemctl stop ntpdate.service
systemctl disable ntpdate.service
mv /etc/chrony.conf /etc/chrony.conf.bak
mv /etc/ntp.conf /etc/ntp.conf.bak
禁止avahi-daemon服务
avahi-daemon 服务会影响 oracle的多波通信,进而导致节点重启
因此,oracle环境下不能启用 avahi-daemon 服务
systemctl stop avahi-daemon.service
systemctl disable avahi-daemon.service
禁用其它一些服务
systemctl disable iptables.service
systemctl disable firewalld.service
systemctl disable cups.service
systemctl disable ip6tables.service
systemctl disable firstboot-graphical.service
systemctl disable postfix.service
systemctl disable NetworkManager.service
最后确保以下服务正常
systemctl enable crond.service
systemctl enable sshd.service
systemctl enable sysstat.service
systemctl enable network.service
重启os
reboot
step 2:安装 gi
下载linuxx64_12201_grid_home.zip
解压到grid用户下的$ORACLE_HOME
然后运行 gridSetup.sh
step 3:安装 db
下载 linuxx64_12201_database.zip 解压后安装
然后用 dbca 创建数据库,比较简单,过程省略
grid 用户的进程
$ps -fu grid|sort -k8
grid 3189 1 0 09:56 ? 00:00:00 asm_asmb_+ASM
grid 2642 1 0 09:56 ? 00:00:00 asm_ckpt_+ASM
grid 2556 1 0 09:56 ? 00:00:00 asm_clmn_+ASM
grid 2632 1 0 09:56 ? 00:00:00 asm_dbw0_+ASM
grid 2628 1 0 09:56 ? 00:00:04 asm_dia0_+ASM
grid 2619 1 0 09:56 ? 00:00:00 asm_diag_+ASM
grid 2586 1 0 09:56 ? 00:00:01 asm_gen0_+ASM
grid 2603 1 0 09:56 ? 00:00:01 asm_gen1_+ASM
grid 2662 1 0 09:56 ? 00:00:02 asm_gmon_+ASM
grid 2638 1 0 09:56 ? 00:00:00 asm_lgwr_+ASM
grid 2650 1 0 09:56 ? 00:00:00 asm_lreg_+ASM
grid 2591 1 0 09:56 ? 00:00:00 asm_mman_+ASM
grid 2673 1 0 09:56 ? 00:00:02 asm_mmnl_+ASM
grid 2669 1 0 09:56 ? 00:00:01 asm_mmon_+ASM
grid 2624 1 0 09:56 ? 00:00:01 asm_pman_+ASM
grid 2545 1 0 09:56 ? 00:00:00 asm_pmon_+ASM
grid 2566 1 0 09:56 ? 00:00:02 asm_psp0_+ASM
grid 2654 1 0 09:56 ? 00:00:00 asm_pxmn_+ASM
grid 2658 1 0 09:56 ? 00:00:00 asm_rbal_+ASM
grid 2646 1 0 09:56 ? 00:00:00 asm_smon_+ASM
grid 2576 1 0 09:56 ? 00:02:50 asm_vktm_+ASM
grid 10985 10984 0 14:46 pts/1 00:00:00 -bash
grid 20834 5288 0 15:07 ? 00:00:00 /bin/sh ./iosub.sh /u01/app/oracle/tfa/repository/suptools/oradb/oswbb/grid/archive/oswiostat/oradb_iostat_18.03.19.1500.dat iostat -xk 1 3 1
grid 20827 5288 0 15:07 ? 00:00:00 /bin/sh ./mpsub.sh /u01/app/oracle/tfa/repository/suptools/oradb/oswbb/grid/archive/oswmpstat/oradb_mpstat_18.03.19.1500.dat mpstat -P ALL 1 2 1
grid 5596 5288 0 10:06 ? 00:00:00 /bin/sh ./OSWatcherFM.sh 48 /u01/app/oracle/tfa/repository/suptools/oradb/oswbb/grid/archive
grid 5288 1 0 10:06 ? 00:00:05 /bin/sh ./OSWatcher.sh 30 48 NONE /u01/app/oracle/tfa/repository/suptools/oradb/oswbb/grid/archive
grid 20825 5288 0 15:07 ? 00:00:00 /bin/sh ./vmsub.sh /u01/app/oracle/tfa/repository/suptools/oradb/oswbb/grid/archive/oswvmstat/oradb_vmstat_18.03.19.1500.dat vmstat 1 3 1
UID PID PPID C STIME TTY TIME CMD
grid 20845 20834 0 15:07 ? 00:00:00 iostat -xk 1 3
grid 20837 20827 0 15:07 ? 00:00:00 mpstat -P ALL 1 2
grid 3193 1 0 09:56 ? 00:00:00 oracle+ASM_asmb_+asm (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
grid 3359 1 0 09:57 ? 00:00:00 oracle+ASM_asmb_rac01 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
grid 3052 1 0 09:56 ? 00:00:00 oracle+ASM (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
grid 9357 1 0 10:17 ? 00:00:00 oracle+ASM_o000_rac01 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
grid 20883 10985 0 15:07 pts/1 00:00:00 ps -fu grid
grid 20867 5288 0 15:07 ? 00:00:00 sleep 30
grid 20811 5596 0 15:07 ? 00:00:00 sleep 60
grid 20884 10985 0 15:07 pts/1 00:00:00 sort -k8
grid 1973 1 0 09:56 ? 00:00:20 /u01/app/grid/product/12.2.0/grid_1/bin/cssdagent
grid 1878 1 0 09:56 ? 00:00:17 /u01/app/grid/product/12.2.0/grid_1/bin/evmd.bin
grid 1956 1878 0 09:56 ? 00:00:16 /u01/app/grid/product/12.2.0/grid_1/bin/evmlogger.bin -o /u01/app/grid/product/12.2.0/grid_1/log/[HOSTNAME]/evmd/evmlogger.info -l /u01/app/grid/product/12.2.0/grid_1/log/[HOSTNAME]/evmd/evmlogger.log
grid 2013 1 0 09:56 ? 00:00:18 /u01/app/grid/product/12.2.0/grid_1/bin/ocssd.bin
grid 1585 1 0 09:55 ? 00:00:26 /u01/app/grid/product/12.2.0/grid_1/bin/ohasd.bin reboot
grid 1854 1 0 09:56 ? 00:01:01 /u01/app/grid/product/12.2.0/grid_1/bin/oraagent.bin
grid 1889 1 0 09:56 ? 00:00:00 /u01/app/grid/product/12.2.0/grid_1/bin/tnslsnr LISTENER -no_crs_notify -inherit
grid 20833 20825 0 15:07 ? 00:00:00 vmstat 1 3
oracle 用户的进程
$ps -fu oracle|sort -k8
UID PID PPID C STIME TTY TIME CMD
oracle 3555 1 0 09:57 ? 00:00:00 ora_aqpc_rac01
oracle 3352 1 0 09:57 ? 00:00:00 ora_asmb_rac01
oracle 3705 1 0 09:57 ? 00:00:16 ora_cjq0_rac01
oracle 3315 1 0 09:57 ? 00:00:05 ora_ckpt_rac01
oracle 3719 1 0 09:57 ? 00:00:00 oraclerac01 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
oracle 3240 1 0 09:56 ? 00:00:00 ora_clmn_rac01
oracle 3370 1 0 09:57 ? 00:00:00 ora_d000_rac01
oracle 3287 1 0 09:57 ? 00:00:05 ora_dbrm_rac01
oracle 3307 1 0 09:57 ? 00:00:00 ora_dbw0_rac01
oracle 3303 1 0 09:57 ? 00:00:07 ora_dia0_rac01
oracle 3275 1 0 09:57 ? 00:00:00 ora_diag_rac01
oracle 3356 1 0 09:57 ? 00:00:14 ora_fenc_rac01
oracle 3255 1 0 09:57 ? 00:00:01 ora_gen0_rac01
oracle 3267 1 0 09:57 ? 00:00:03 ora_gen1_rac01
oracle 3311 1 0 09:57 ? 00:00:00 ora_lgwr_rac01
oracle 3336 1 0 09:57 ? 00:00:00 ora_lreg_rac01
oracle 3388 1 0 09:57 ? 00:00:00 ora_mark_rac01
oracle 3259 1 0 09:57 ? 00:00:00 ora_mman_rac01
oracle 3366 1 0 09:57 ? 00:00:04 ora_mmnl_rac01
oracle 3362 1 0 09:57 ? 00:00:05 ora_mmon_rac01
oracle 9353 1 0 10:17 ? 00:00:18 ora_o000_rac01
oracle 3279 1 0 09:57 ? 00:00:00 ora_ofsd_rac01
oracle 3602 1 0 09:57 ? 00:00:00 ora_p000_rac01
oracle 3606 1 0 09:57 ? 00:00:00 ora_p001_rac01
oracle 3610 1 0 09:57 ? 00:00:00 ora_p002_rac01
oracle 3614 1 0 09:57 ? 00:00:00 ora_p003_rac01
oracle 3299 1 0 09:57 ? 00:00:01 ora_pman_rac01
oracle 3236 1 0 09:56 ? 00:00:00 ora_pmon_rac01
oracle 3244 1 0 09:56 ? 00:00:02 ora_psp0_rac01
oracle 3344 1 0 09:57 ? 00:00:00 ora_pxmn_rac01
oracle 3688 1 0 09:57 ? 00:00:00 ora_q002_rac01
oracle 3692 1 0 09:57 ? 00:00:00 ora_q003_rac01
oracle 3680 1 0 09:57 ? 00:00:00 ora_qm02_rac01
oracle 3348 1 0 09:57 ? 00:00:00 ora_rbal_rac01
oracle 3328 1 0 09:57 ? 00:00:00 ora_reco_rac01
oracle 3374 1 0 09:57 ? 00:00:00 ora_s000_rac01
oracle 3324 1 0 09:57 ? 00:00:00 ora_smco_rac01
oracle 3320 1 0 09:57 ? 00:00:00 ora_smon_rac01
oracle 3295 1 0 09:57 ? 00:00:00 ora_svcb_rac01
oracle 3378 1 0 09:57 ? 00:00:00 ora_tmon_rac01
oracle 3447 1 0 09:57 ? 00:00:00 ora_tt00_rac01
oracle 3451 1 0 09:57 ? 00:00:00 ora_tt01_rac01
oracle 3456 1 0 09:57 ? 00:00:00 ora_tt02_rac01
oracle 3291 1 0 09:57 ? 00:00:00 ora_vkrm_rac01
oracle 3249 1 0 09:56 ? 00:02:35 ora_vktm_rac01
oracle 19245 1 0 15:02 ? 00:00:00 ora_w000_rac01
oracle 3340 1 0 09:57 ? 00:00:00 ora_w001_rac01
oracle 19498 1 0 15:03 ? 00:00:00 ora_w002_rac01
oracle 27227 1 0 14:01 ? 00:00:00 ora_w003_rac01
oracle 19768 1 0 15:04 ? 00:00:00 ora_w004_rac01
oracle 18391 1 0 15:00 ? 00:00:00 ora_w005_rac01
oracle 18195 1 0 13:37 ? 00:00:00 ora_w006_rac01
oracle 18719 1 0 15:01 ? 00:00:00 ora_w007_rac01
一些信息
# cd /etc/systemd/system
# find ./ -name '*ora*'
./multi-user.target.wants/libstoragemgmt.service
./multi-user.target.wants/oracle-ohasd.service
./multi-user.target.wants/oracle-tfa.service
./graphical.target.wants/oracle-ohasd.service
./graphical.target.wants/oracle-tfa.service
./oracle-ohasd.service
./oracle-tfa.service
# ls -l |grep -i ora
-rw-r--r-- 1 root root 586 Dec 1 13:50 oracle-ohasd.service
-rw-r--r-- 1 root root 356 Jan 4 16:23 oracle-tfa.service
/etc/init.d/init.ohasd
/etc/init.d/init.tfa