AIX下RAC搭建(一)檢測系統內容

來源:互聯網
上載者:User

標籤:oracle   aix   rac   

AIX下RAC搭建系列

環境

節點

節點1

節點2

小機型號

IBM P-series 630

IBM P-series 630

主機名稱

AIX203

AIX204

交換器

SAN光纖交換器

儲存

SAN T3儲存

 

拓撲圖




搭建方式:

方式一

方式二

1.os: aix 5300-08

1.os: aix 5300-08

2.共用儲存:並發vg(concurrent vg) ---HACMP管理磁碟並髮捲組

2.共用儲存:RAW(裸裝置)---ASM管理

3.安裝CRS

3.安裝CRS

4.安裝ORACLE

4.安裝ORACLE


以下採取方式一進行搭建:

大綱流程如下:

第一部分:主機配置

一、檢測系統內容

二、網路設定

三、使用者和組

四、網路參數調整

五、時間同步

六、卷組


第二部分:安裝hacmp並配置

七、hacmp安裝並配置


第三部分:安裝CRS

八、安裝CRS


第四部分:安裝oracle軟體

九、安裝oracle


第五部分:配監聽、建立oracle資料庫

十、建立監聽

十一、dbca建庫

十二、驗證


開始本文:

AIX下RAC搭建(一)檢測系統內容

搭建rac環境預備:ping裝置

由於此實驗環境為無線串連,過程中會偶發訊號不穩定情況,為盡量避免此情況的發生,採用win下不間斷ping通裝置:

>ping 192.168.8.203-t

>ping 192.168.8.204-t

>ping 192.168.8.126-t

兩台節點互ping公用網卡IP:(參看網路設定)

[05:50:26 [email protected] /]#ping 192.168.8.204

[05:00:23 [email protected] /]#ping 192.168.8.203

 

一、檢測系統內容版本檢測

[04:14:[email protected] /]#oslevel -r

[03:24:[email protected] /]#oslevel -r


查看核心版本

[04:15:[email protected] /]#bootinfo -K

[03:26:[email protected] /]#bootinfo -K


檢測記憶體

[07:11:16 [email protected] /]#lsattr -El sys0 -a realmem

[06:20:35 [email protected] /]#lsattr -El sys0 -a realmem


檢測rootvg空間

[07:10:39 [email protected] /]#lsvg -p rootvg

[06:18:01 [email protected] /]#lsvg -p rootvg


[07:11:22 [email protected] /]#lsvg rootvg

[06:21:20 [email protected] /]#lsvg rootvg



查看交換分區

[04:21:[email protected] /]#lsps -a

[04:21:[email protected] /]#lsps -s

[03:27:[email protected] /]#lsps -a

[03:31:[email protected] /]#lsps -s


//交換分區一般為記憶體的2倍,適用既可以並不絕對,如這裡aix203隻設定了2.5g交換分區

//可以使用smit mkps建立交換分區

//注意:一定要把交換分區放在根卷上

 

查看檔案系統

[04:21:57 [email protected]/]#df -m

[03:31:[email protected] /]#df -m



//最好單獨建立檔案系統將其放在/u01下(單獨根卷下的分區),10g左右

//如果/u01單獨作為檔案系統,根不用擴太大空間,但如果/u01沒有單獨作為檔案系統,根至少要10g以上空間

//臨時檔案/tmp至少400M空閑空間(一般擴到1g左右)

//檔案系統使用率有超過80%的,立即進行擴容

 

查看所需的軟體包

[04:27:[email protected] /]#lslpp -l |grep bos.adt

[04:08:[email protected] /]#lslpp -l |grep bos.adt


[04:58:[email protected] /]#lslpp -l |grep bos.perf

[04:10:[email protected] /]#lslpp -l |grep bos.perf


[05:01:[email protected] /]#lslpp -l |grep rsct

[04:10:[email protected] /]#lslpp -l |grep rsct



[05:01:[email protected] /]#lslpp -l |grep dt

[04:11:[email protected] /]#lslpp -l |grep dt


[05:03:[email protected] /]#lslpp -l |grep xlC

[04:12:[email protected] /]#lslpp -l |grep xlC


查看補丁包安裝情況

[05:04:[email protected] /]#instfix -i -k "IY58143 IY59386 IY60930 IY66513"

[04:13:[email protected] /]#instfix -i -k "IY58143 IY59386 IY60930IY66513"


查看bos.clvm.enh軟體

//安裝bos.clvm* 用於vg的並發  ,構建並髮捲組(concurrent vg),由叢集軟體HACMP實現管理並髮捲組(底層磁碟管理),CRS的並發管理如vip 、instance並發管理。

//若沒有安裝bos.clvm.enh 軟體使用smit installp命令安裝(安裝包到disk盤中尋找)

[23:52:[email protected] /]#lslpp -L bos.clvm.enh

[23:52:[email protected] /]#lslpp -l |grep clvm

[23:45:[email protected] /]#lslpp -L bos.clvm.enh

[23:52:[email protected] /]#lslpp -l |grep clvm


調整核心參數

[04:20:[email protected] /]#smit system

[05:12:[email protected] /]#smit system



[05:05:[email protected] /]#smit chaio

[04:15:[email protected] /]#smit chaio


//開啟非同步IO


****************************************未完待續*********************************************


***********************************************聲明************************************************ 

原創作品,出自 “深藍的blog” 部落格,歡迎轉載,轉載時請務必註明出處(http://blog.csdn.net/huangyanlong)。

表述有錯誤之處,請您留言,不勝感激。

提醒:點擊目錄,更有助於您的查看。

*****************************************************************************************************











聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.