Oracle 12c RAC construction four: Oracle Database deployment

Not in the text description, let's take a look at the picture

Preliminary preparation

  1. Download and unzip the file
cd /opt/
unzip p17694377_121020_Linux-x86-64_1of8.zip
unzip p17694377_121020_Linux-x86-64_2of8.zip
  1. ASM disk deployment
    Create the Disk Group disks needed by the instance in advance
su - grid
asmca

Insert picture description here

Insert picture description here

Insert picture description here
Follow the steps above to create other Disk Groups
Insert picture description here

Deployment configuration

./runInstaller

Insert picture description here

Insert picture description here

Insert picture description here

Insert picture description here

Insert picture description here

Insert picture description here

Insert picture description here

Insert picture description here

Insert picture description here

Insert picture description here

Insert picture description here

Insert picture description here

Insert picture description here

Insert picture description here

Patch deployment

<omitted>

Instance creation

dbca

Insert picture description here

Insert picture description here

Insert picture description here

Insert picture description here

Insert picture description here

Insert picture description here

Insert picture description here

Insert picture description here

Insert picture description here

Insert picture description here

Insert picture description here

Insert picture description here

Insert picture description here

Insert picture description here

Insert picture description here

Insert picture description here

Insert picture description here

Insert picture description here

Insert picture description here

After deployment

  • Parameter adjustment
ALTER SYSTEM SET AUDIT_TRAIL=NONE SCOPE=SPFILE SID='*';	-- 关闭审计
ALTER SYSTEM SET DEFERRED_SEGMENT_CREATION=FALSE SCOPE=BOTH SID='*';-- 关闭段创建延迟
ALTER PROFILE DEFAULT LIMIT FAILED_LOGIN_ATTEMPTS UNLIMITED;--设置登录次数为无限
ALTER SYSTEM SET CONTROL_FILE_RECORD_KEEP_TIME=31 SCOPE=BOTH SID='*';-- 控制文件内容保存时间
ALTER SYSTEM SET MAX_DUMP_FILE_SIZE='2048M' SCOPE=BOTH SID='*';	-- Dump文件size最大值
ALTER SYSTEM SET PROCESSES=2048 SCOPE=SPFILE SID='*';-- 最大进程数
ALTER SYSTEM SET "_UNDO_AUTOTUNE"=FALSE SCOPE=BOTH SID='*';-- 关闭UNDO自动调优的功能
ALTER SYSTEM SET "_USE_ADAPTIVE_LOG_FILE_SYNC"=FALSE SCOPE=BOTH SID='*';-- 关闭自适应日志同步功能
ALTER DATABASE ADD SUPPLEMENTAL LOG DATA;-- 打开附加日志,便于进行故障后数据找回
  • Restart service
srvctl stop/start database -d orcl

Guess you like

Origin blog.csdn.net/weixin_38623994/article/details/106359870