aix 安裝oracle11RAC

      網友投稿 898 2025-04-02

      1,系統初始化


      新建用戶:

      mkgroup -A id=54421 oinstall

      mkgroup -A id=54322 dba

      mkgroup -A id=54323 oper

      mkgroup -A id=54325 dgdba

      mkgroup -A id=54326 kmdba

      mkgroup -A id=54327 asmdba

      mkgroup -A id=54328 asmoper

      mkgroup -A id=54329 asmadmin

      mkgroup -A id=54330 racdba

      mkuser id='53322' pgrp='oinstall' groups='asmadmin,asmdba' home='/home/grid' grid

      mkuser id='53321' pgrp='oinstall' groups='dba,asmdba' home='/home/oracle' oracle

      /usr/bin/chuser capabilities=CAP_NUMA_ATTACH,CAP_BYPASS_RAC_VMM,CAP_PROPAGATE grid

      /usr/bin/chuser capabilities=CAP_NUMA_ATTACH,CAP_BYPASS_RAC_VMM,CAP_PROPAGATE oracle

      /usr/bin/lsuser -a capabilities grid

      /usr/bin/lsuser -a capabilities oracle

      修改系統參數:

      ioo -r -o aio_maxservers=65536

      /usr/sbin/chdev -l sys0 -a ncargs='1024'

      vmo -p -o minperm%=3

      vmo -p -o maxperm%=90

      vmo -p -o maxclient%=90

      vmo -p -o lru_file_repage=0

      vmo -p -o strict_maxclient=1

      vmo -p -o strict_maxperm=0

      /usr/sbin/no -o udp_sendspace=65536

      /usr/sbin/no -o udp_recvspace=655360

      /usr/sbin/no -o tcp_sendspace=65536

      /usr/sbin/no -o tcp_recvspace=65536

      /usr/sbin/no -o rfc1323=1

      /usr/sbin/no -o sb_max=1310720

      no -r -o ipqmaxlen=512

      /usr/sbin/no -p -o tcp_ephemeral_low=9000 -o tcp_ephemeral_high=65500

      /usr/sbin/no -p -o udp_ephemeral_low=9000 -o udp_ephemeral_high=6550

      修改磁盤權限:

      lsattr -El hdisk8|grep reserve

      lsattr -El hdisk9|grep reserve

      lsattr -El hdisk10|grep reserve

      chmod 660 /dev/rhdisk8

      aix 安裝oracle11RAC

      chmod 660 /dev/rhdisk9

      chmod 660 /dev/rhdisk10

      chdev -l hdisk8 -a reserve_policy=no_reserve

      chdev -l hdisk9 -a reserve_policy=no_reserve

      chdev -l hdisk10 -a reserve_policy=no_reserve

      chown grid:asmadmin /dev/rhdisk8

      chown grid:asmadmin /dev/rhdisk9

      chown grid:asmadmin /dev/rhdisk10

      修改u01目錄權限:

      Chown grid:oinstall /u01

      Hosts文件設置:

      10.0.248.181????? hxdb1

      10.0.248.183????? hxdb2

      192.168.128.11? hxdb1-priv

      192.168.128.12? hxdb2-priv

      10.0.248.182????? hxdb1-vip

      10.0.248.184????? hxdb2-vip

      10.0.248.185??? hxdb-scan

      2,grid安裝

      選擇高級安裝

      語言選擇

      輸入SCAN地址

      輸入主機信息

      選擇網絡信息

      選擇asm

      輸入磁盤組名稱

      輸入asm密碼:oracle

      選擇用戶組

      安裝路徑

      安裝預覽

      運行root.sh

      Hxdb01:

      root@hxdb1:/>/u01/app/11.2.0/grid/root.sh

      Performing root user operation for Oracle 11g

      The following environment variables are set as:

      ORACLE_OWNER= grid

      ORACLE_HOME=? /u01/app/11.2.0/grid

      Enter the full pathname of the local bin directory: [/usr/local/bin]:

      The contents of "dbhome" have not changed. No need to overwrite.

      The contents of "oraenv" have not changed. No need to overwrite.

      The contents of "coraenv" have not changed. No need to overwrite.

      Entries will be added to the /etc/oratab file as needed by

      Database Configuration Assistant when a database is created

      Finished running generic part of root script.

      Now product-specific root actions will be performed.

      Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params

      Creating trace directory

      User ignored Prerequisites during installation

      User grid has the required capabilities to run CSSD in realtime mode

      OLR initialization - successful

      root wallet

      root wallet cert

      root cert export

      peer wallet

      profile reader wallet

      pa wallet

      peer wallet keys

      pa wallet keys

      peer cert request

      pa cert request

      peer cert

      pa cert

      peer root cert TP

      profile reader root cert TP

      pa root cert TP

      peer pa cert TP

      pa peer cert TP

      profile reader pa cert TP

      profile reader peer cert TP

      peer user cert

      pa user cert

      Adding Clusterware entries to inittab

      CRS-2672: Attempting to start 'ora.mdnsd' on 'hxdb1'

      CRS-2676: Start of 'ora.mdnsd' on 'hxdb1' succeeded

      CRS-2672: Attempting to start 'ora.gpnpd' on 'hxdb1'

      CRS-2676: Start of 'ora.gpnpd' on 'hxdb1' succeeded

      CRS-2672: Attempting to start 'ora.cssdmonitor' on 'hxdb1'

      CRS-2672: Attempting to start 'ora.gipcd' on 'hxdb1'

      CRS-2676: Start of 'ora.cssdmonitor' on 'hxdb1' succeeded

      CRS-2676: Start of 'ora.gipcd' on 'hxdb1' succeeded

      CRS-2672: Attempting to start 'ora.cssd' on 'hxdb1'

      CRS-2672: Attempting to start 'ora.diskmon' on 'hxdb1'

      CRS-2676: Start of 'ora.diskmon' on 'hxdb1' succeeded

      CRS-2676: Start of 'ora.cssd' on 'hxdb1' succeeded

      ASM created and started successfully.

      Disk Group hxdbcrs created successfully.

      clscfg: -install mode specified

      Successfully accumulated necessary OCR keys.

      Creating OCR keys for user 'root', privgrp 'system'..

      Operation successful.

      CRS-4256: Updating the profile

      Successful addition of voting disk 400989a13f264fa4bfbc5b9b63f1ff30.

      Successful addition of voting disk 8a89f69a247b4fdcbf8ac5429e2b4b08.

      Successful addition of voting disk 892f04ce76ca4f83bf5c317767ae3b3b.

      Successfully replaced voting disk group with +hxdbcrs.

      CRS-4256: Updating the profile

      CRS-4266: Voting file(s) successfully replaced

      ##? STATE??? File Universal Id?? ?????????????File Name Disk group

      --? -----??? -----------------??????????????? --------- ---------

      ONLINE 400989a13f264fa4bfbc5b9b63f1ff30 (/dev/rhdisk10) [HXDBCRS]

      ONLINE 8a89f69a247b4fdcbf8ac5429e2b4b08 (/dev/rhdisk8) [HXDBCRS]

      ONLINE 892f04ce76ca4f83bf5c317767ae3b3b (/dev/rhdisk9) [HXDBCRS]

      Located 3 voting disk(s).

      CRS-2672: Attempting to start 'ora.asm' on 'hxdb1'

      CRS-2676: Start of 'ora.asm' on 'hxdb1' succeeded

      CRS-2672: Attempting to start 'ora.HXDBCRS.dg' on 'hxdb1'

      CRS-2676: Start of 'ora.HXDBCRS.dg' on 'hxdb1' succeeded

      CRS-2672: Attempting to start 'ora.registry.acfs' on 'hxdb1'

      CRS-2676: Start of 'ora.registry.acfs' on 'hxdb1' succeeded

      Configure Oracle Grid Infrastructure for a Cluster ... succeeded

      Hxdb02

      root@hxdb2:/>/u01/app/11.2.0/grid/root.sh

      Performing root user operation for Oracle 11g

      The following environment variables are set as:

      ORACLE_OWNER= grid

      ORACLE_HOME=? /u01/app/11.2.0/grid

      Enter the full pathname of the local bin directory: [/usr/local/bin]:

      The contents of "dbhome" have not changed. No need to overwrite.

      The contents of "oraenv" have not changed. No need to overwrite.

      The contents of "coraenv" have not changed. No need to overwrite.

      Entries will be added to the /etc/oratab file as needed by

      Database Configuration Assistant when a database is created

      Finished running generic part of root script.

      Now product-specific root actions will be performed.

      Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params

      Creating trace directory

      User ignored Prerequisites during installation

      User grid has the required capabilities to run CSSD in realtime mode

      OLR initialization - successful

      Adding Clusterware entries to inittab

      CRS-4402: The CSS daemon was started in exclusive mode but found an active CSS daemon on node hxdb1, number 1, and is terminating

      An active cluster was found during exclusive startup, restarting to join the cluster

      Configure Oracle Grid Infrastructure for a Cluster ... succeeded

      完成安裝

      3,Db安裝

      僅安裝數據庫軟件

      選擇主機信息

      語言選擇

      企業版安裝

      安裝路徑

      用戶組選擇

      安裝預覽

      完成安裝

      4,存儲遷移并啟動數據庫

      更改磁盤屬性:

      chown grid:asmadmin /dev/rhdiskXX

      chmod 660 /dev/rhdiskXX

      chdev -l hdiskXX -a reserve_policy=no_reserve

      掛在asm磁盤組:

      Asmcmd

      Mount datadg

      5,啟動數據庫

      Sqlplus / as sysdba

      Startup

      Oracle

      版權聲明:本文內容由網絡用戶投稿,版權歸原作者所有,本站不擁有其著作權,亦不承擔相應法律責任。如果您發現本站中有涉嫌抄襲或描述失實的內容,請聯系我們jiasou666@gmail.com 處理,核實后本網站將在24小時內刪除侵權內容。

      版權聲明:本文內容由網絡用戶投稿,版權歸原作者所有,本站不擁有其著作權,亦不承擔相應法律責任。如果您發現本站中有涉嫌抄襲或描述失實的內容,請聯系我們jiasou666@gmail.com 處理,核實后本網站將在24小時內刪除侵權內容。

      上一篇:ppt如何插入表格文件(ppt里怎么插表格文件)
      下一篇:使用 Python 的 ipaddress 模塊學習 IP 地址概念
      相關文章
      久久久久亚洲AV无码去区首| 亚洲精品成a人在线观看夫| 亚洲国产精品综合久久网络| 亚洲精品国产精品| 精品国产日韩久久亚洲| 亚洲国产成人久久77| 亚洲第一页在线视频| 亚洲国色天香视频| 久久狠狠高潮亚洲精品| 亚洲一区免费观看| 色婷婷六月亚洲婷婷丁香| 亚洲高清无在码在线无弹窗| 亚洲手机中文字幕| 亚洲国产一区在线观看| 亚洲制服丝袜中文字幕| 99久久婷婷国产综合亚洲| 亚洲色成人WWW永久在线观看| 亚洲色大成网站www永久男同| 亚洲精品亚洲人成在线播放| 亚洲天堂免费在线| 亚洲精品无码高潮喷水A片软| 亚洲精品又粗又大又爽A片| 亚洲av永久中文无码精品综合| 理论亚洲区美一区二区三区| 亚洲国产成人精品无码久久久久久综合 | 亚洲AV无码专区在线观看成人| 亚洲爆乳无码专区www| 亚洲AV成人精品日韩一区18p| 久久久久亚洲AV无码专区网站| 国产亚洲综合网曝门系列| 久久青青草原亚洲AV无码麻豆| 亚洲综合在线视频| 亚洲国产成人资源在线软件| 亚洲欧洲无卡二区视頻| 国产产在线精品亚洲AAVV| 相泽亚洲一区中文字幕| 亚洲AV综合色区无码一区爱AV| 老司机亚洲精品影院无码| 国产精品亚洲综合五月天| 亚洲精品9999久久久久无码 | 亚洲精品自在在线观看|