阿里云上oracle 11g rac部署
1 环境规划
1.1 物理环境规划
ECS 类型 | 服务器类型 | 服务器配置 | 操作系统版本 | Oracle 版本 |
阿里云 | g7se | 8C 32G | CentOS 7.9 | 11.2.0.4.0 |
1.2 磁盘规划
DBNAME | HOSTNAME | ASM 磁盘组 | SIZE |
orcl | rac1 rac2 | OCR | 20G |
20G | |||
20G | |||
DATA | 300G | ||
ARCH | 100G |
1.3 网络规划
host | public ip | vip | priv ip | scan ip |
rac1 | 172.16.10.1 | 172.16.10.3 | 172.16.20.1 | 172.16.10.5 |
rac2 | 172.16.10.2 | 172.16.10.4 | 172.16.20.2 |
2 阿里云资源创建
2.1 创建 VPC
vpc: 172.16.0.0/12
2.2 创建交换机
交换机1:172.16.10.0/24
交换机2:172.16.20.0/24
2.3 创建 ECS
系统盘:40G
数据盘:100G
自定义密码:root/rootrac_211125
2.4 创建辅助网卡
单独创建弹性网卡作为辅助网卡,可以指定 IP。
2.5 创建高可用虚拟IP
专有网络--高可用虚拟IP
2.6 配置 keepalived
阿里云 HaVip配合 keepalived 才能实现高可用主备双机,但是 RAC 自带 VIP 的管理功能,可以不用配置 keepalived。
2.7 创建共享磁盘并挂载
3 环境配置
3.1 配置网卡 eth1
ip add vi /etc/sysconfig/network-scripts/ifcfg-eth1 DEVICE=eth1 BOOTPROTO=dhcp ONBOOT=yes TYPE=Ethernet USERCTL=yes PEERDNS=no IPV6INIT=no PERSISTENT_DHCLIENT=yes HWADDR=00:16:3e:17:**:** # ip add 获取的 eth1 的 mac 地址 DEFROUTE=no # 表示网卡接口不是默认路由。为避免在启动(ifup)辅助弹性网卡时改变 ECS 实例活动的默认路由,不要将 eth1 设置为默认路由 service network restart |
3.2 修改主机名
节点1: hostname rac1 vi /etc/hostname rac1 节点2: hostname rac2 vi /etc/hostname rac2 |
3.3 关闭防火墙、selinux
阿里云默认已关闭
service firewalld status getenforce |
3.4 关闭系统自带的时钟同步服务
systemctl stop chronyd.service systemctl disable chronyd.service systemctl status chronyd.service mv /etc/chrony.conf /etc/chrony.conf.bak mv /etc/ntp.conf /etc/ntp.conf.bak --即使 ntpd 服务不存在,但配置文件依然要删除,否则 RAC 会报错 CRS-2409 |
3.5 关闭透明大页
cat /sys/kernel/mm/transparent_hugepage/enabled [always] madvise never --临时关闭,重启后会失效 echo never > /sys/kernel/mm/transparent_hugepage/enabled cat /sys/kernel/mm/transparent_hugepage/enabled always madvise [never] --永久关闭 chmod 744 /etc/rc.d/rc.local vi /etc/rc.d/rc.local echo never > /sys/kernel/mm/transparent_hugepage/enabled |
3.6 配置 /etc/hosts 文件
阿里云服务器删除实例名那一行,否则节点识别会出现问题
cat <<EOF >>/etc/hosts # public ip 172.16.10.1 rac1 172.16.10.2 rac2 # vip 172.16.10.3 rac1-vip 172.16.10.4 rac2-vip # priv ip 172.16.20.1 rac1-priv 172.16.20.2 rac2-priv # scan ip 172.16.10.5 scan EOF |
3.7 配置内核参数
cat <<EOF >>/etc/sysctl.conf fs.aio-max-nr = 1048576 fs.file-max = 6815744 kernel.shmall = 32*0.9*1024*1024*1024/4096 kernel.shmmax = 32*0.9*1024*1024*1024 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 EOF /sbin/sysctl -p # 使更改生效 |
3.8 为 oracle 和 grid 用户设置 shell 限制
cat <<EOF >>/etc/security/limits.conf oracle soft nproc 2047 oracle hard nproc 16384 oracle soft nofile 1024 oracle hard nofile 65536 grid soft nproc 2047 grid hard nproc 16384 grid soft nofile 1024 grid hard nofile 65536 EOF |
3.9 配置 swap
swap 推荐设置如下: RAM Swap Space 1-2G 1.5times 2-16G equal >16G 16G dd if=/dev/zero of=/swapfile bs=8192 count=2M mkswap /swapfile # 格式化 swap chown root:root /swapfile chmod 0600 /swapfile swapon /swapfile # 激活 swap swapon -s # 查看是否生效 重启时自动挂载 swap vi /etc/fstab /swapfile swap swap defaults 0 0 |
3.10 挂载数据盘
su - root mkfs -t ext4 /dev/nvme1n1 mkdir /u01 vi /etc/fstab /dev/nvme1n1 /u01 ext4 defaults 0 0 mount -a |
3.11 新建用户、组
groupadd oinstall groupadd dba groupadd oper groupadd asmadmin groupadd asmdba groupadd asmoper useradd -g oinstall -G dba,oper,asmadmin,asmdba,asmoper -s /bin/bash -d /home/grid grid useradd -g oinstall -G dba,oper,asmadmin,asmdba,asmoper -s /bin/bash -d /home/oracle oracle mkdir -p /u01/app/grid mkdir -p /u01/app/11.2.0/grid mkdir -p /u01/app/oracle mkdir -p /u01/soft chown -R grid:oinstall /u01 chown -R oracle:oinstall /u01/app/oracle chmod -R 775 /u01 passwd grid passwd oracle |
3.12 配置用户环境变量
3.12.1 配置 grid 用户环境变量
节点2 ORACLE_SID=+ASM2 [grid@rac1 ~]$ cat <<EOF >>.bash_profile umask 022 export ORACLE_SID=+ASM1 export ORACLE_BASE=/u01/app/grid export ORACLE_HOME=/u01/app/11.2.0/grid export PATH=\$PATH:\$ORACLE_HOME/bin alias sqlplus='rlwrap sqlplus' EOF |
3.12.2 配置 oracle 用户环境变量
节点2 ORACLE_SID=orcl2 [oracle@rac1 ~]$ cat <<EOF >>.bash_profile umask 022 export ORACLE_SID=orcl1 export ORACLE_BASE=/u01/app/oracle export ORACLE_HOME=\$ORACLE_BASE/product/11.2.0/dbhome_1 export PATH=\$PATH:\$ORACLE_HOME/bin export LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib:\$ORACLE_HOME/lib alias sqlplus='rlwrap sqlplus' EOF |
3.13 配置 SSH 用户等效性
3.13.1 grid 用户下配置 ssh 等效性
# 创建密钥(2个节点) ssh-keygen -t rsa cd ~/.ssh cat id_rsa.pub >>authorized_keys # 将 rac2 的密钥添加到 rac1 [grid@rac1 ~]$ ssh grid@rac2 cat /home/grid/.ssh/authorized_keys >>/home/grid/.ssh/authorized_keys # 将 rac1 的密钥添加到 rac2 [grid@rac1 ~]$ scp /home/grid/.ssh/authorized_keys grid@rac2:/home/grid/.ssh/ # 测试(2个节点) 目的是在 known_hosts 中添加记录 ssh rac1 date # 提示的时候输入 yes ssh rac2 date ssh rac1-priv date ssh rac2-priv date |
3.13.2 oracle 用户下配置 ssh 等效性
# 创建密钥(2个节点) ssh-keygen -t rsa cd ~/.ssh cat id_rsa.pub >>authorized_keys # 将 rac2 的密钥添加到 rac1 [oracle@rac1 ~]$ ssh oracle@rac2 cat /home/oracle/.ssh/authorized_keys >>/home/oracle/.ssh/authorized_keys # 将 rac1 的密钥添加到 rac2 [oracle@rac1 ~]$ scp /home/oracle/.ssh/authorized_keys oracle@rac2:/home/oracle/.ssh/ # 测试(2个节点) 目的是在 known_hosts 中添加记录 ssh rac1 date # 提示的时候输入 yes ssh rac2 date ssh rac1-priv date ssh rac2-priv date |
3.14 安装依赖包(2个节点)
pdksh 在 redhat 上叫 ksh
psmisc 有的补丁会用到,不安装打补丁时会报错 Missing command :fuser
root# yum -y install binutils compat-libcap1 compat-libstdc++-33 elfutils-libelf elfutils-libelf-devel gcc gcc-c++ glibc glibc-common glibc-devel glibc-headers ksh libaio libaio-devel libgcc libstdc++ libstdc++-devel make sysstat unixODBC unixODBC-devel psmisc |
4 共享存储配置
4.1 在节点1上磁盘分区,分区结果如下。
[root@rac1 ~]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT nvme0n1 259:0 0 40G 0 disk └─nvme0n1p1 259:2 0 40G 0 part / nvme1n1 259:8 0 100G 0 disk /u01 nvme2n1 259:5 0 300G 0 disk └─nvme2n1p1 259:7 0 300G 0 part nvme3n1 259:9 0 20G 0 disk └─nvme3n1p1 259:10 0 20G 0 part nvme4n1 259:11 0 20G 0 disk └─nvme4n1p1 259:12 0 20G 0 part nvme5n1 259:4 0 20G 0 disk └─nvme5n1p1 259:6 0 20G 0 part nvme6n1 259:1 0 100G 0 disk └─nvme6n1p1 259:3 0 100G 0 part |
4.2 上传 ASM 软件包到 /u01/soft 目录
rac2 的软件包是 grid 用户通过 scp 免密复制过来的,所以属主是 grid:oinstall。
[root@rac1 soft]# ll oracleasm* -rwxr-xr-x 1 root root 19360 Nov 29 18:22 oracleasmlib-2.0.12-1.el7.x86_64.rpm -rwxr-xr-x 1 root root 86908 Nov 29 18:22 oracleasm-support-2.1.11-2.el7.x86_64.rpm [root@rac2 soft]# ll oracleasm* -rwxr-xr-x 1 grid oinstall 19360 Nov 30 15:20 oracleasmlib-2.0.12-1.el7.x86_64.rpm -rwxr-xr-x 1 grid oinstall 86908 Nov 30 15:20 oracleasm-support-2.1.11-2.el7.x86_64.rpm |
4.3 安装 ASM 组件(2个节点)
只需要安装 oracleasmlib 和 oracleasm-support 即可(安装没有顺序)
# 先安装依赖包 yum install -y kmod-oracleasm rpm -ivh oracleasmlib-2.0.12-1.el7.x86_64.rpm rpm -ivh oracleasm-support-2.1.11-2.el7.x86_64.rpm |
4.4 配置 ASMLIB(2个节点)
[root@rac1 ~]# oracleasm configure -i Configuring the Oracle ASM library driver. This will configure the on-boot properties of the Oracle ASM library driver. The following questions will determine whether the driver is loaded on boot and what permissions it will have. The current values will be shown in brackets ('[]'). Hitting <ENTER> without typing an answer will keep that current value. Ctrl-C will abort. Default user to own the driver interface []: grid Default group to own the driver interface []: asmdba Start Oracle ASM library driver on boot (y/n) [n]: y Scan for Oracle ASM disks on boot (y/n) [y]: y Writing Oracle ASM library driver configuration: done |
4.5 初始化 asmlib(2个节点)
[root@rac1 ~]# oracleasm init Creating /dev/oracleasm mount point:/dev/oracleasm Loading module "oracleasm":oracleasm Configuring "oracleasm" to use device physical block size Mounting ASMlib driver filesystem:/dev/oracleasm |
4.6 验证如下即为安装成功(2个节点)
[root@rac1 ~]# oracleasm status Checking if ASM is loaded: yes Checking if /dev/oracleasm is mounted: yes |
4.7 创建 ASM 磁盘(节点1)
oracleasm createdisk OCR1 /dev/nvme3n1p1 oracleasm createdisk OCR2 /dev/nvme4n1p1 oracleasm createdisk OCR3 /dev/nvme5n1p1 oracleasm createdisk DATA /dev/nvme2n1p1 oracleasm createdisk ARCH /dev/nvme6n1p1 |
5 介质安装前准备(节点1)
# 用 grid 用户上传软件包到 /u01/soft 目录 # GI 和 DB p13390677_112040_Linux-x86-64_1of7.zip p13390677_112040_Linux-x86-64_2of7.zip p13390677_112040_Linux-x86-64_3of7.zip # gi 安装之前的准备,必须提前配置 p19404309_112040_Linux-x86-64.zip # OPatch p6880880_112000_Linux-x86-64.zip # GI 补丁 p18370031_112040_Linux-x86-64.zip # EM 补丁 p19692824_112040_Linux-x86-64.zip # 解压软件包 su - grid unzip p13390677_112040_Linux-x86-64_1of7.zip unzip p13390677_112040_Linux-x86-64_2of7.zip chown -R oracle:oinstall database/ unzip p13390677_112040_Linux-x86-64_3of7.zip # 替换解压后的 grid 和 database 目录的 cvu 文件 unzip p19404309_112040_Linux-x86-64.zip grid 用户执行: cd /u01/soft/ cd b19404309 cp grid/cvu_prereq.xml /u01/soft/grid/stage/cvu oracle 用户执行: cd /u01/soft/ cd b19404309 cp database/cvu_prereq.xml /u01/soft/database/stage/cvu |
6 安装集群软件
阿里云环境需要先配置组播
6.1 安装预检查
预检查加入了 fixup 参数,如果是操作系统的参数不正确会在 /tmp 目录下生成调整脚本,使用 root 用户两节点执行即可。
[grid@rac1 ~]$ cd /u01/soft/grid [grid@rac1 grid]$ ./runcluvfy.sh stage -pre crsinst -n rac1,rac2 -fixup -verbose > check.txt [grid@rac1 grid]$ cat check.txt |grep failed |
6.2 编辑响应文件
[grid@rac1 ~]$ cat <<EOF >grid.rsp oracle.install.responseFileVersion=/oracle/install/rspfmt_crsinstall_response_schema_v11_2_0 ORACLE_HOSTNAME=rac1 INVENTORY_LOCATION=/u01/app/oraInventory SELECTED_LANGUAGES=en,zh_CN oracle.install.option=CRS_CONFIG ORACLE_BASE=/u01/app/grid ORACLE_HOME=/u01/app/11.2.0/grid oracle.install.asm.OSDBA=asmdba oracle.install.asm.OSOPER=asmoper oracle.install.asm.OSASM=asmadmin oracle.install.crs.config.gpnp.scanName=scan oracle.install.crs.config.gpnp.scanPort=1521 oracle.install.crs.config.clusterName=rac oracle.install.crs.config.gpnp.configureGNS=false oracle.install.crs.config.gpnp.gnsSubDomain= oracle.install.crs.config.gpnp.gnsVIPAddress= oracle.install.crs.config.autoConfigureClusterNodeVIP=false oracle.install.crs.config.clusterNodes=rac1:rac1-vip,rac2:rac2-vip oracle.install.crs.config.networkInterfaceList=eth0:172.16.10.0:1,eth1:172.16.20.0:2 oracle.install.crs.config.storageOption=ASM_STORAGE oracle.install.crs.config.sharedFileSystemStorage.diskDriveMapping= oracle.install.crs.config.sharedFileSystemStorage.votingDiskLocations= oracle.install.crs.config.sharedFileSystemStorage.votingDiskRedundancy=NORMAL oracle.install.crs.config.sharedFileSystemStorage.ocrLocations= oracle.install.crs.config.sharedFileSystemStorage.ocrRedundancy=NORMAL oracle.install.crs.config.useIPMI=false oracle.install.crs.config.ipmi.bmcUsername= oracle.install.crs.config.ipmi.bmcPassword= oracle.install.asm.SYSASMPassword=oracle oracle.install.asm.diskGroup.name=OCR oracle.install.asm.diskGroup.redundancy=NORMAL oracle.install.asm.diskGroup.AUSize=4 oracle.install.asm.diskGroup.disks=/dev/oracleasm/disks/OCR1,/dev/oracleasm/disks/OCR2,/dev/oracleasm/disks/OCR3 oracle.install.asm.diskGroup.diskDiscoveryString=/dev/oracleasm/disks/* oracle.install.asm.monitorPassword=oracle oracle.install.crs.upgrade.clusterNodes= oracle.install.asm.upgradeASM=false oracle.installer.autoupdates.option=SKIP_UPDATES oracle.installer.autoupdates.downloadUpdatesLoc= AUTOUPDATES_MYORACLESUPPORT_USERNAME= AUTOUPDATES_MYORACLESUPPORT_PASSWORD= PROXY_HOST= PROXY_PORT= PROXY_USER= PROXY_PWD= PROXY_REALM= EOF |
6.3 静默安装
安装过程中提示执行 root 脚本,先不执行,进行下一步安装 GI 补丁。
[grid@rac1 ~]$ /u01/soft/grid/runInstaller -ignorePrereq -force -silent -responseFile /home/grid/grid.rsp -showProgress |
6.4 安装 GI 补丁(2个节点)
GI 在启动 ohas 服务时,会使用 service 去启动,但是 RHEL 7 改变了 init 的管理方式,出现了兼容性上的问题,导致服务无法正常启动,所以这里先不执行脚本,安装补丁 patch 18370031。
su - grid # 升级 OPatch cd $ORACLE_HOME mv OPatch/ OPatch.bak cd /u01/soft unzip p6880880_112000_Linux-x86-64.zip -d $ORACLE_HOME # 解压补丁 unzip p18370031_112040_Linux-x86-64.zip # 安装补丁,提示的时候输入 y $ORACLE_HOME/OPatch/opatch napply -oh $ORACLE_HOME -local /u01/soft/18370031/ # 查询已安装补丁 $ORACLE_HOME/OPatch/opatch lsinventory |
6.5 执行 root 脚本
[root@rac1~]# /u01/app/oraInventory/orainstRoot.sh [root@rac2~]# /u01/app/oraInventory/orainstRoot.sh [root@rac1~]# /u01/app/11.2.0/grid/root.sh # 节点1 root.sh 脚本执行成功后,登录 grid 用户修改 ASM 心跳 [grid@rac1 ~]$ sqlplus / as sysasm SQL> alter system set cluster_interconnects = '172.16.20.1' scope=spfile sid='+ASM1'; SQL> alter system set cluster_interconnects = '172.16.20.2' scope=spfile sid='+ASM2'; # 节点1重启 crs 使心跳参数生效 [root@rac1~]# /u01/app/11.2.0/grid/bin/crsctl stop crs [root@rac1~]# /u01/app/11.2.0/grid/bin/crsctl start crs # 节点1 crs 启动成功后,节点2再执行 root.sh 脚本 [root@rac2~]# /u01/app/11.2.0/grid/root.sh |
6.6 执行后续脚本,进行相关配置
这一步包括监听的配置。
[grid@rac1 ~]$ /u01/app/11.2.0/grid/cfgtoollogs/configToolAllCommands RESPONSE_FILE=/home/grid/grid.rsp |
7 安装数据库软件
7.1 编辑响应文件
[oracle@rac1 ~]$ cat <<EOF >>db.rsp oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v11_2_0 oracle.install.option=INSTALL_DB_SWONLY ORACLE_HOSTNAME=rac1 UNIX_GROUP_NAME=oinstall INVENTORY_LOCATION=/u01/app/oracle/oraInventory SELECTED_LANGUAGES=en ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1 ORACLE_BASE=/u01/app/oracle/ oracle.install.db.InstallEdition=EE oracle.install.db.EEOptionsSelection=false oracle.install.db.optionalComponents=oracle.rdbms.partitioning:11.2.0.4.0,oracle.oraolap:11.2.0.4.0,oracle.rdbms.dm:11.2.0.4.0,oracle.rdbms.dv:11.2.0.4.0,oracle.rdbms.lbac:11.2.0.4.0,oracle.rdbms.rat:11.2.0.4.0 oracle.install.db.DBA_GROUP=dba oracle.install.db.OPER_GROUP=oper oracle.install.db.CLUSTER_NODES=rac1,rac2 oracle.install.db.isRACOneInstall=false oracle.install.db.racOneServiceName= oracle.install.db.config.starterdb.type=GENERAL_PURPOSE oracle.install.db.config.starterdb.globalDBName= oracle.install.db.config.starterdb.SID= oracle.install.db.config.starterdb.characterSet=AL32UTF8 oracle.install.db.config.starterdb.memoryOption=false oracle.install.db.config.starterdb.memoryLimit= oracle.install.db.config.starterdb.installExampleSchemas=false oracle.install.db.config.starterdb.enableSecuritySettings=true oracle.install.db.config.starterdb.password.ALL= oracle.install.db.config.starterdb.password.SYS= oracle.install.db.config.starterdb.password.SYSTEM= oracle.install.db.config.starterdb.password.SYSMAN= oracle.install.db.config.starterdb.password.DBSNMP= oracle.install.db.config.starterdb.control=DB_CONTROL oracle.install.db.config.starterdb.gridcontrol.gridControlServiceURL= oracle.install.db.config.starterdb.automatedBackup.enable=false oracle.install.db.config.starterdb.automatedBackup.osuid= oracle.install.db.config.starterdb.automatedBackup.ospwd= oracle.install.db.config.starterdb.storageType= oracle.install.db.config.starterdb.fileSystemStorage.dataLocation= oracle.install.db.config.starterdb.fileSystemStorage.recoveryLocation= oracle.install.db.config.asm.diskGroup= oracle.install.db.config.asm.ASMSNMPPassword= MYORACLESUPPORT_USERNAME= MYORACLESUPPORT_PASSWORD= SECURITY_UPDATES_VIA_MYORACLESUPPORT=false DECLINE_SECURITY_UPDATES=true PROXY_HOST= PROXY_PORT= PROXY_USER= PROXY_PWD= PROXY_REALM= COLLECTOR_SUPPORTHUB_URL= oracle.installer.autoupdates.option=SKIP_UPDATES oracle.installer.autoupdates.downloadUpdatesLoc= AUTOUPDATES_MYORACLESUPPORT_USERNAME= AUTOUPDATES_MYORACLESUPPORT_PASSWORD= EOF |
7.2 静默安装
[oracle@rac1 ~]$ /u01/soft/database/runInstaller -ignorePrereq -force -silent -responseFile /home/oracle/db.rsp -showProgress |
7.3 执行 root 脚本
[root@rac1~]# /u01/app/oracle/product/11.2.0/dbhome_1/root.sh [root@rac2~]# /u01/app/oracle/product/11.2.0/dbhome_1/root.sh |
7.4 安装 oracle 补丁(2个节点)
su - oracle # 升级 OPatch cd $ORACLE_HOME mv OPatch/ OPatch.bak cd /u01/soft unzip p6880880_112000_Linux-x86-64.zip -d $ORACLE_HOME # 解压补丁 unzip p19692824_112040_Linux-x86-64.zip # 安装补丁,提示的时候输入 y,安装完成时提示 OPatch Session completed with warnings,忽略即可。 cd 19692824/ $ORACLE_HOME/OPatch/opatch apply # 查询已安装补丁 $ORACLE_HOME/OPatch/opatch lsinventory |
8 创建 ASM 磁盘组
8.1 节点1创建磁盘组
su - grid sqlplus / as sysasm create diskgroup DATA external redundancy disk '/dev/oracleasm/disks/DATA' attribute 'compatible.asm' = '11.2'; create diskgroup ARCH external redundancy disk '/dev/oracleasm/disks/ARCH' attribute 'compatible.asm' = '11.2'; |
8.2 节点2挂载
su - grid sqlplus / as sysasm alter diskgroup DATA mount; alter diskgroup ARCH mount; |
9 创建实例
9.1 编辑响应文件
[oracle@rac1 ~]$ cat <<EOF >>dbca.rsp [GENERAL] RESPONSEFILE_VERSION = "11.2.0" OPERATION_TYPE = "createDatabase" [CREATEDATABASE] GDBNAME=orcl SID=orcl NODELIST=rac1,rac2 TEMPLATENAME = /u01/app/oracle/product/11.2.0/dbhome_1/assistants/dbca/templates/General_Purpose.dbc SYSPASSWORD = oracle SYSTEMPASSWORD = oracle DATAFILEDESTINATION = +DATA STORAGETYPE=ASM DISKGROUPNAME=DATA CHARACTERSET = "AL32UTF8" TOTALMEMORY = "20480" EOF |
9.2 静默安装
9.2.1 静默安装
[oracle@rac1 ~]$ dbca -silent -responseFile /home/oracle/dbca.rsp |