Solaris 10下遷移10G RAC (四)
本文是這次遷移工作的第四部分:安裝資料庫軟體。
安裝資料庫軟體
安裝完clusterware後,就可以進行安裝資料庫的操作了。
檢查當前系統是否滿足安裝資料庫的條件
bash-3.00$ ./runcluvfy.sh stage -pre dbinst -n pre1,pre2
Performing pre-checks for database installation
Checking node reachability...
Node reachability check passed from node "pre1".
Checking user equivalence...
User equivalence check passed for user "oracle".
Checking administrative privileges...
User existence check passed for "oracle".
Group existence check passed for "oinstall".
Membership check for user "oracle" in group "oinstall" [as Primary] passed.
Group existence check passed for "dba".
Membership check for user "oracle" in group "dba" passed.
Administrative privileges check passed.
Checking node connectivity...
Node connectivity check passed for subnet "172.0.2.0" with node(s) pre2,pre1.
Node connectivity check passed for subnet "10.0.0.0" with node(s) pre2,pre1.
Suitable interfaces for VIP on subnet "172.0.2.0":
pre2 ce0:172.0.2.3 ce0:172.0.2.4
pre1 ce0:172.0.2.1 ce0:172.0.2.2
Suitable interfaces for the private interconnect on subnet "10.0.0.0":
pre2 ce1:10.0.0.2
pre1 ce1:10.0.0.1
Node connectivity check passed.
Checking system requirements for 'database'...
Total memory check passed.
Free disk space check passed.
Swap space check passed.
System architecture check passed.
Operating system version check passed.
Package existence check passed for "SUNWarc".
Package existence check passed for "SUNWbtool".
Package existence check passed for "SUNWhea".
Package existence check passed for "SUNWlibm".
Package existence check passed for "SUNWlibms".
Package existence check passed for "SUNWsprot".
Package existence check passed for "SUNWsprox".
Package existence check passed for "SUNWtoo".
Package existence check passed for "SUNWi1of".
Package existence check passed for "SUNWi1cs".
Package existence check passed for "SUNWi15cs".
Package existence check passed for "SUNWxwfnt".
Package existence check passed for "SUNWlibC".
Package existence check failed for "SUNWscucm:3.1".
Check failed on nodes:
pre2,pre1
Package existence check failed for "SUNWudlmr:3.1".
Check failed on nodes:
pre2,pre1
Package existence check failed for "SUNWudlm:3.1".
Check failed on nodes:
pre2,pre1
Package existence check failed for "ORCLudlm:Dev_Release_06/11/04,_64bit_3.3.4.8_reentrant".
Check failed on nodes:
pre2,pre1
Package existence check failed for "SUNWscr:3.1".
Check failed on nodes:
pre2,pre1
Package existence check failed for "SUNWscu:3.1".
Check failed on nodes:
pre2,pre1
Kernel parameter check failed for "SEMMNI".
Check failed on nodes:
pre2,pre1
Kernel parameter check failed for "SEMMNS".
Check failed on nodes:
pre2,pre1
Kernel parameter check failed for "SEMMSL".
Check failed on nodes:
pre2,pre1
Kernel parameter check failed for "SEMVMX".
Check failed on nodes:
pre2,pre1
Kernel parameter check failed for "SHMMAX".
Check failed on nodes:
pre2,pre1
Kernel parameter check failed for "SHMMIN".
Check failed on nodes:
pre2,pre1
Kernel parameter check failed for "SHMMNI".
Check failed on nodes:
pre2,pre1
Kernel parameter check failed for "SHMSEG".
Check failed on nodes:
pre2,pre1
Group existence check passed for "dba".
Group existence check passed for "oinstall".
User existence check passed for "oracle".
User existence check passed for "nobody".
System requirement failed for 'database'
Checking CRS integrity...
Checking daemon liveness...
Liveness check passed for "CRS daemon".
Checking daemon liveness...
Liveness check passed for "CSS daemon".
Checking daemon liveness...
Liveness check passed for "EVM daemon".
Checking CRS health...
CRS health check passed.
CRS integrity check passed.
Checking node application existence...
Checking existence of VIP node application (required)
Check passed.
Checking existence of ONS node application (optional)
Check passed.
Checking existence of GSD node application (optional)
Check passed.
Pre-check for database installation was unsuccessful on all the nodes.
從返回的資訊來看,失敗的地方可以分為兩個部分:
第一部分是包檢測失敗,這個原因在前面已經講過了,不會影響安裝,可以忽略。
第二部分是系統核心引數檢測有問題,實際上我已經在/etc/system中設定了相關的核心引數,並且已經生肖,我估計是因為solaris10中,runcluvfy.sh檢測的是資源控制器中設定的引數,而不是/etc/system中設定的引數,所以會報錯。如果你確定已經正確地在/etc/system中設定了合理的引數,則這個錯誤問題不大,不會影響安裝。
正式開始安裝oracle software
在pre1上以root執行:
# xhost +
access control disabled, clients can connect from any host
# su - oracle
Sun Microsystems Inc. SunOS 5.10 Generic January 2005
$ bash
bash-3.00$ export DISPLAY=172.0.2.1:1.0
bash-3.00$ cd /backup/soft/database/
bash-3.00$ ls
10gr2_db_sol.cpio install runInstaller welcome.html
doc response stage
bash-3.00$ ./runInstaller
在介面中選擇自定義安裝、下一步,選擇oracle主目錄
下一步,選擇需要安裝的節點,這裡把所有節點都選擇(pre1),
下一步,選擇需要安裝的元件
下一步,oracle進行一系列的檢查,都透過後點選下一步
選擇系統組(dba)
下一步,選擇安裝內容,這裡需要用ASM,所以選擇第二項,oracle會自動先安裝oracle software,然後再安裝ASM。
下一步,開始安裝,oracle在第一個節點安裝結束後,會自動把檔案複製到其他節點中。
安裝完軟體後,需要配置監聽,配置完監聽後,oracle會自動執行dbca,配置ASM,
輸入sys密碼,
設定引數檔案的路徑,因為現在還沒有共享儲存,故選擇第一個IFILE,注意把路徑修改至:
$ORACLE_HOME/dbs/init+ASM.ora
下一步,oracle開始建立ASM例項,例項建立完畢後,進入ASM DISKGROUP設定介面:
輸入DISK GROUP名稱:DATA
選擇外部冗餘
在/dev/rdsk/c3t0d0s6、/dev/rdsk/c3t0d2s6前打勾,把這兩個分割槽作為ASM磁碟組的磁碟,點選下一步建立磁碟組。
下一步,點選finish。
Oracle還會彈出一個介面要求建庫,這裡打算用其他地方恢復一個資料庫到本地,所以直接選擇cancel,
最後需要在所有節點以root使用者執行一個指令碼:
bash-3.00# /oracle/app/product/10.2/database/root.sh
Running Oracle10 root.sh script...
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /oracle/app/product/10.2/database
Enter the full pathname of the local bin directory: [/usr/local/bin]:
Creating /usr/local/bin directory...
Copying dbhome to /usr/local/bin ...
Copying oraenv to /usr/local/bin ...
Copying coraenv to /usr/local/bin ...
Creating /var/opt/oracle/oratab file...
Entries will be added to the /var/opt/oracle/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
至此,oracle軟體安裝完畢。來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/231499/viewspace-63865/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Solaris 10下遷移10G RAC (八)
- Solaris 10下遷移10G RAC (六)
- Solaris 10下遷移10G RAC (七)
- Solaris 10下遷移10G RAC (三)
- Solaris 10下遷移10G RAC (二)
- Solaris 10下遷移10G RAC (一)
- Solaris 10下遷移10G RAC (五)
- ORACLE 10g RAC 遷移共享儲存Oracle 10g
- RAC 10g下從裸裝置遷移到ASMASM
- Solaris10下安裝Oracle1106RAC環境(四)Oracle
- Oracle RAC 10g for Solaris環境解除安裝(二)Oracle
- Oracle RAC 10g for Solaris環境解除安裝(一)Oracle
- redhat enterprise 4下遷移oracle 10g到asmRedhatOracle 10gASM
- Solaris10下Silent模式安裝Oracle1106RAC環境(四)模式Oracle
- Linux 下Oracle 10G RAC 管理LinuxOracle 10g
- 【OCM】Oracle Database 10g: RAC for Administrators(四)OracleDatabase
- VMWARE+linux+oracle 10g RAC 之四LinuxOracle 10g
- solaris 10下的oracle 10g 自動啟動指令碼Oracle 10g指令碼
- ORACLE 10G ASM非歸檔模式下使用RMAN遷移一例Oracle 10gASM模式
- 10g RAC下安裝10.2.0.4補丁
- oracle 10g rac hacmp 遷移到asm實驗步驟Oracle 10gACMASM
- Oracle 10g 安裝及單例項遷移到RACOracle 10g單例
- [RAC]ORACLE Database 10g RAC for Administrators學習筆記(四)OracleDatabase筆記
- DB遷移RAC環境
- oracle 10g rac on solaris 10 x86_配置共享儲存_利用vmware server 1.0.6Oracle 10gServer
- solaris10_oracle10g_asm_non_asm遷移資料庫測試OracleASM資料庫
- 安裝Oracle11.2 RAC for Solaris10 sparc64(四)Oracle
- 10g RAC on AIXAI
- Oracle 10g在solaris 10下的自動執行指令碼薦Oracle 10g指令碼
- 非歸檔模式下遷移10g單機庫到新的儲存上模式
- Solaris裸裝置安裝三節點RAC102(四)
- Install Oracle 10g on Solaris 10 simple recordOracle 10g
- Solaris8上安裝RAC10202環境(四)
- Oracle RAC 遷移替換 OCR 盤Oracle
- 使用RMAN遷移單庫到RAC
- Oracle 10g RAC NFSOracle 10gNFS
- Oracle 10g RAC TAFOracle 10g
- Solaris10下安裝Oracle1106RAC環境(五)Oracle