Solaris裸裝置安裝三節點RAC102(三)
利用裸裝置安裝Solaris上的三節點Oracle 10.2 RAC。
這一篇主要討論ORACLE的軟體安裝。
Solaris裸裝置安裝三節點RAC102(一):http://yangtingkun.itpub.net/post/468/512772
Solaris裸裝置安裝三節點RAC102(二):http://yangtingkun.itpub.net/post/468/512835
在上一篇文章中已經將CLUSTERWARE軟體安裝完畢,下面準備安裝資料庫。
首先檢查系統是否滿足資料庫的安裝需求:
# su - oracle
Sun Microsystems Inc. SunOS 5.8 Generic Patch October 2001
$ cd /data/cluster_disk/cluvfy
bash-2.03$ ./runcluvfy.sh stage -pre dbinst -n racnode1,racnode2,racnode3
Performing pre-checks for database installation
Checking node reachability...
Node reachability check passed from node "racnode1".
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.25.0.0" with node(s) racnode3,racnode2,racnode1.
Node connectivity check passed for subnet "172.25.198.0" with node(s) racnode3,racnode2,racnode1.
Node connectivity check passed for subnet "10.0.0.0" with node(s) racnode3,racnode2,racnode1.
Suitable interfaces for the private interconnect on subnet "172.25.0.0":
racnode3 ce0:172.25.198.226
racnode2 ce0:172.25.198.223
racnode1 ce0:172.25.198.222
Suitable interfaces for the private interconnect on subnet "172.25.198.0":
racnode3 ce0:172.25.198.227
racnode2 ce0:172.25.198.225
racnode1 ce0:172.25.198.224
ERROR:
Could not find a suitable set of interfaces for VIPs.
Node connectivity check failed.
Checking system requirements for 'database'...
Total memory check passed.
Free disk space check passed.
Swap space check failed.
Check failed on nodes:
racnode3,racnode2,racnode1
System architecture check passed.
Operating system version check failed.
Check failed on nodes:
racnode3
Operating system patch check failed for "112760-05".
Check failed on nodes:
racnode3,racnode2,racnode1
Operating system patch check failed for "108993-45".
Check failed on nodes:
racnode3
Operating system patch check failed for "113800-06".
Check failed on nodes:
racnode3,racnode2,racnode1
Operating system patch check failed for "112763-13".
Check failed on nodes:
racnode3,racnode2,racnode1
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:
racnode3,racnode2,racnode1
Package existence check failed for "SUNWudlmr:3.1".
Check failed on nodes:
racnode3,racnode2,racnode1
Package existence check failed for "SUNWudlm:3.1".
Check failed on nodes:
racnode3,racnode2,racnode1
Package existence check failed for "ORCLudlm:Dev_Release_06/11/04,_64bit_3.3.4.8_reentrant".
Check failed on nodes:
racnode3,racnode2,racnode1
Package existence check failed for "SUNWscr:3.1".
Check failed on nodes:
racnode3,racnode2,racnode1
Package existence check failed for "SUNWscu:3.1".
Check failed on nodes:
racnode3,racnode2,racnode1
Kernel parameter check failed for "SEMMNI".
Check failed on nodes:
racnode3,racnode2
Kernel parameter check failed for "SEMMNS".
Check failed on nodes:
racnode3,racnode2
Kernel parameter check failed for "SEMMSL".
Check failed on nodes:
racnode3,racnode2
Kernel parameter check failed for "SEMVMX".
Check failed on nodes:
racnode3,racnode2
Kernel parameter check failed for "SHMMAX".
Check failed on nodes:
racnode3
Kernel parameter check failed for "SHMMIN".
Check failed on nodes:
racnode3
Kernel parameter check failed for "SHMMNI".
Check failed on nodes:
racnode3
Kernel parameter check failed for "SHMSEG".
Check failed on nodes:
racnode3
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.
上一篇文章已經提到了VIP的錯誤原因。其實現在VIP已經繫結上了,但是oracle仍然沒有認出來。接著的swap空間不足的錯誤可以忽略,在第一篇文章中已經進行了檢查,系統中有足夠的swap空間。接著報了4個補丁沒有打,但是系統中目前安裝了這4個補丁,但是安裝的版本比Oracle需要的更高,估計Oracle沒有認出來。下面在對一些系統包進行檢查時失敗,這些包是和SunCluster有關的包,由於安裝RAC準備使用Oracle的Clusterware,因此這些錯誤也可以忽略。最後一個錯誤是關於系統核心引數設定的。這寫設定racnode1和racnode2完全一致,而只報了racnode2和racnode3的設定有問題,懷疑是Oracle的檢查程式的問題。
由於上面所有的錯誤都是可以忽略的,下面開始資料庫的安裝:將Oracle的安裝檔案解壓,利用cpio –idmv < 10gr2_db_sol.cpio命令展開。
在安裝之前,需要將已經配置好的所有裸裝置授權給Oracle使用者,使得Oracle使用者有足夠的空間來建立資料庫。在racnode1上:
# chown oracle:oinstall /dev/rdsk/c2t3d0s1
# chown oracle:oinstall /dev/rdsk/c2t3d0s3
# chown oracle:oinstall /dev/rdsk/c2t3d0s4
# chown oracle:oinstall /dev/rdsk/c2t3d0s5
# chown oracle:oinstall /dev/rdsk/c2t3d0s6
# chown oracle:oinstall /dev/rdsk/c2t3d1s1
.
.
.
# chown oracle:oinstall /dev/rdsk/c2t3d5s5
# chown oracle:oinstall /dev/rdsk/c2t3d5s6
# chown oracle:oinstall /dev/rdsk/c2t3d5s7
在racnode2上:
# chown oracle:oinstall /dev/rdsk/c2t500601603022E66Ad0s1
# chown oracle:oinstall /dev/rdsk/c2t500601603022E66Ad0s3
# chown oracle:oinstall /dev/rdsk/c2t500601603022E66Ad0s4
# chown oracle:oinstall /dev/rdsk/c2t500601603022E66Ad0s5
# chown oracle:oinstall /dev/rdsk/c2t500601603022E66Ad0s6
# chown oracle:oinstall /dev/rdsk/c2t500601603022E66Ad1s1
.
.
.
# chown oracle:oinstall /dev/rdsk/c2t500601603022E66Ad5s6
# chown oracle:oinstall /dev/rdsk/c2t500601603022E66Ad5s7
下面可以開始安裝了,啟動Xmanager,登陸racnode1執行:
# xhost +
access control disabled, clients can connect from any host
su - oracle
Sun Microsystems Inc. SunOS 5.8 Generic Patch October 2001
$ cd /data/disk1
$ ./runInstaller
啟動圖形介面後,點選next。選擇企業版,選擇簡體中文語句,點選next。
設定OraDb10g_home1,由於設定了初始化引數ORACLE_HOME,Oracle自動會將/data/oracle/product/10.2/database填入,直接點選next。
然後進入cluster安裝模式,選擇cluster安裝,將racnode2和racnode3選上,然後點選next。
系統會執行檢查程式,檢查是否滿足安裝RAC資料庫的需求,檢查成功後點選next。
下面有三個選擇,一個是建立資料庫,一個是配置Automatic Storage Management,最後是隻安裝軟體。由於打算使用裸裝置,這裡選擇只安裝軟體。
工具配置完成後,使用root在三個節點上執行root指令碼:
# /data/oracle/product/10.2/database/root.sh
Running Oracle10 root.sh script...
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /data/oracle/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.
點選ok,點選exit,軟體安裝完成。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/4227/viewspace-686478/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Solaris裸裝置安裝三節點RAC102(六)
- Solaris裸裝置安裝三節點RAC102(五)
- Solaris裸裝置安裝三節點RAC102(四)
- Solaris裸裝置安裝三節點RAC102(二)
- Solaris裸裝置安裝三節點RAC102(一)
- 安裝三節點RAC11202 on Solaris10 sparc64(三)
- udev 裸裝置 安裝racdev
- linux裸裝置三種對映方式Linux
- 【Solaris】Virtualbox 安裝 Oracle Solaris 10(三) 安裝完成後初始配置Oracle
- oracle安裝使用裸裝置問題Oracle
- 安裝三節點RAC11202 on Solaris10 sparc64(二)
- 安裝三節點RAC11202 on Solaris10 sparc64(一)
- 字元裝置、塊裝置、裸裝置、RAW裝置 .字元
- 三、安裝並配置Kubernetes Node節點
- 字元裝置、塊裝置與裸裝置字元
- 用裸裝置安裝RAC 10g
- 安裝 oracle 10g rac 與 裸裝置Oracle 10g
- Linux裝置節點Linux
- oracle11Gr2安裝ASM,使用裸裝置OracleASM
- 裸裝置、字元裝置、塊裝置不全面比較字元
- 建立裸裝置庫
- 裸裝置與塊裝置的區別
- raw 裸裝置資料檔案更改其他raw裸裝置位置
- Solaris培訓第三章:安裝Solaris作業系統(轉)作業系統
- AIX中的裸裝置AI
- oracle 裸裝置(轉載)Oracle
- 為ASM生成裸裝置ASM
- linux裸裝置操作Linux
- 三、rman 資料庫遷移--從檔案系統到裸裝置資料庫
- Oracle RAC安裝前的磁碟分割槽及裸裝置配置Oracle
- 基於裸裝置檔案格式安裝oracle資料庫Oracle資料庫
- solaris mysql 安裝 解除安裝MySql
- 三、Docker安裝Docker
- 記錄一則AIX使用裸裝置安裝OracleRAC的問題AIOracle
- 安裝clusterware報告對裸裝置沒有操作許可權
- Linux裸裝置總結Linux
- 【儲存】裸裝置和OracleOracle
- linux下新增裸裝置Linux