Solaris 10(x86)構(gòu)建Oracle 10g RAC之--安裝CRS
創(chuàng)新互聯(lián)長(zhǎng)期為近千家客戶提供的網(wǎng)站建設(shè)服務(wù),團(tuán)隊(duì)從業(yè)經(jīng)驗(yàn)10年,關(guān)注不同地域、不同群體,并針對(duì)不同對(duì)象提供差異化的產(chǎn)品和服務(wù);打造開放共贏平臺(tái),與合作伙伴共同營(yíng)造健康的互聯(lián)網(wǎng)生態(tài)環(huán)境。為肥鄉(xiāng)企業(yè)提供專業(yè)的成都做網(wǎng)站、網(wǎng)站設(shè)計(jì),肥鄉(xiāng)網(wǎng)站改版等技術(shù)服務(wù)。擁有十余年豐富建站經(jīng)驗(yàn)和眾多成功案例,為您定制開發(fā)。
系統(tǒng)環(huán)境:
操作系統(tǒng):Solaris 10(x86-64)
Cluster: Oracle CRS 10.2.0.1.0
Oracle: Oracle 10.2.0.1.0
如圖所示:RAC 系統(tǒng)架構(gòu)
二、CRS 安裝
Cluster Ready Service是Oracle 構(gòu)建RAC,負(fù)責(zé)集群資源管理的軟件,在搭建RAC中必須首先安裝.
安裝需采用圖形化方式,以O(shè)racle用戶的身份安裝(在node1上):
解壓CRS安裝包:
[oracle@node1:/export/home/oracle]$ unzip 10201_clusterware_solx86_64.zip
跳過系統(tǒng)環(huán)境檢測(cè):
[oracle@node1:/export/home/oracle/clusterware]$ ./runInstaller -ignoreSysPrereps
注意:以上安裝路徑為CRS安裝路徑
添加node2信息
修改網(wǎng)絡(luò)屬性
指定OCR磁盤位置
指定VOTE磁盤位置
運(yùn)行腳本:(所有node)
[root@node1:/]# /export/home/ora10/oraInventory/orainstRoot.sh Changing permissions of /export/home/ora10/oraInventory to 770. Changing groupname of /export/home/ora10/oraInventory to oinstall. The execution of the script is complete [root@node2:/]# /export/home/ora10/oraInventory/orainstRoot.sh Changing permissions of /export/home/ora10/oraInventory to 770. Changing groupname of /export/home/ora10/oraInventory to oinstall. The execution of the script is complete
[root@node1:/]# /export/home/crs_1/root.sh Checking to see if Oracle CRS stack is already configured Setting the permissions on OCR backup directory Setting up NS directories Oracle Cluster Registry configuration upgraded successfully Successfully accumulated necessary OCR keys. Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897. node <nodenumber>: <nodename> <private interconnect name> <hostname> node 1: node1 node1-priv node1 node 2: node2 node2-priv node2 Creating OCR keys for user 'root', privgrp 'root'.. Operation successful. Now formatting voting device: /oracle/vote Format of 1 voting devices complete. Startup will be queued to init within 30 seconds. Adding daemons to inittab Expecting the CRS daemons to be up within 600 seconds. CSS is active on these nodes. node1 CSS is inactive on these nodes. node2 Local node checking complete. Run root.sh on remaining nodes to start CRS daemons. [root@node2:/]# /export/home/crs_1/root.sh Checking to see if Oracle CRS stack is already configured Setting the permissions on OCR backup directory Setting up NS directories Oracle Cluster Registry configuration upgraded successfully clscfg: EXISTING configuration version 3 detected. clscfg: version 3 is 10G Release 2. Successfully accumulated necessary OCR keys. Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897. node <nodenumber>: <nodename> <private interconnect name> <hostname> node 1: node1 node1-priv node1 node 2: node2 node2-priv node2 clscfg: Arguments check out successfully. NO KEYS WERE WRITTEN. Supply -force parameter to override. -force is destructive and will destroy any previous cluster configuration. Oracle Cluster Registry for cluster has already been initialized Startup will be queued to init within 30 seconds. Adding daemons to inittab Expecting the CRS daemons to be up within 600 seconds. CSS is active on these nodes. node1 node2 CSS is active on all nodes. Waiting for the Oracle CRSD and EVMD to start Oracle CRS stack installed and running under init(1M) Running vipca(silent) for configuring nodeapps Creating VIP application resource on (2) nodes... Creating GSD application resource on (2) nodes... Creating ONS application resource on (2) nodes... Starting VIP application resource on (2) nodes... Starting GSD application resource on (2) nodes... Starting ONS application resource on (2) nodes... Done.
@腳本運(yùn)行成功 !
查看CRS服務(wù)和資源信息:
[root@node2:/]# vi /etc/profile export PATH=$PATH:/export/home/crs_1/bin [root@node1:/]# crsctl check crs CSS appears healthy CRS appears healthy EVM appears healthy [root@node1:/]# crs_stat -t Name Type Target State Host ------------------------------------------------------------ ora.node1.gsd application ONLINE ONLINE node1 ora.node1.ons application ONLINE ONLINE node1 ora.node1.vip application ONLINE ONLINE node1 ora.node2.gsd application ONLINE ONLINE node2 ora.node2.ons application ONLINE ONLINE node2 ora.node2.vip application ONLINE ONLINE node2 [root@node2:/]# crsctl check crs CSS appears healthy CRS appears healthy EVM appears healthy [root@node2:/]# crs_stat -t Name Type Target State Host ------------------------------------------------------------ ora.node1.gsd application ONLINE ONLINE node1 ora.node1.ons application ONLINE ONLINE node1 ora.node1.vip application ONLINE ONLINE node1 ora.node2.gsd application ONLINE ONLINE node2 ora.node2.ons application ONLINE ONLINE node2 ora.node2.vip application ONLINE ONLINE node2
@至此,CRS安裝成功!
分享題目:Solaris10(x86)構(gòu)建Oracle10gRAC之--安裝CRS
網(wǎng)站鏈接:http://muchs.cn/article40/gjsjeo.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供動(dòng)態(tài)網(wǎng)站、做網(wǎng)站、外貿(mào)網(wǎng)站建設(shè)、商城網(wǎng)站、、外貿(mào)建站
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來源: 創(chuàng)新互聯(lián)