Oracle Study之-AIX6.1構(gòu)建Oracle 10gR2 RAC(3)
10年積累的成都網(wǎng)站制作、網(wǎng)站設(shè)計、外貿(mào)網(wǎng)站建設(shè)經(jīng)驗,可以快速應(yīng)對客戶對網(wǎng)站的新想法和需求。提供各種問題對應(yīng)的解決方案。讓選擇我們的客戶得到更好、更有力的網(wǎng)絡(luò)服務(wù)。我雖然不認識你,你也不認識我。但先網(wǎng)站策劃后付款的網(wǎng)站建設(shè)流程,更有市南免費網(wǎng)站建設(shè)讓你可以放心的選擇與我們合作。
一、配置共享存儲
[oracle@aix203 ~]$lsdev -c disk
hdisk0 Available 1S-08-00-8,0 Other SCSI Disk Drive
hdisk1 Available 1D-08-02 Other FC SCSI Disk Drive
[root@aix204 /]#lsdev -c disk
hdisk0 Available 1S-08-00-8,0 16 Bit LVD SCSI Disk Drive
hdisk1 Available 1D-08-02 Other FC SCSI Disk Drive
在aix203上創(chuàng)建卷組(并發(fā)卷組)
查看hacmp服務(wù):
[root@aix203 soft1]#l***c -a |grep cl
clcomd caa 5046426 active
clcomdES clcomdES 5767410 active
clstrmgrES cluster 3801194 active
gsclvmd 6488150 active
clconfd caa inoperative
nimsh nimclient inoperative
三、查看卷組并發(fā)狀態(tài)
[root@aix203 soft1]#lspv
hdisk0 000681aa6c0502a7 rootvg active
hdisk1 0008570c15134e9d rac10_vg concurrent
[root@aix203 soft1]#lsvg -l rac10_vg
rac10_vg: LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT rac_ocr raw 1 1 1 closed/syncd N/A rac_vote raw 1 1 1 closed/syncd N/A system raw 10 10 1 closed/syncd N/A sysaux raw 5 5 1 closed/syncd N/A users raw 5 5 1 closed/syncd N/A undotbs1 raw 5 5 1 closed/syncd N/A undotbs2 raw 5 5 1 closed/syncd N/A temp raw 5 5 1 closed/syncd N/A control1_1 raw 1 1 1 closed/syncd N/A control2_2 raw 1 1 1 closed/syncd N/A control3_3 raw 1 1 1 closed/syncd N/A spfile raw 1 1 1 closed/syncd N/A redo1_1 raw 1 1 1 closed/syncd N/A redo1_2 raw 1 1 1 closed/syncd N/A redo2_1 raw 1 1 1 closed/syncd N/A redo2_2 raw 1 1 1 closed/syncd N/A example raw 5 5 1 closed/syncd N/A index raw 5 5 1 closed/syncd N/A
[root@aix204 /]#lspv
hdisk0 0003504af4d8495b rootvg active
hdisk1 0008570c15134e9d rac10_vg concurrent
------- 卷組處于并發(fā)狀態(tài)后,hacmp配置成功 !
修改邏輯卷屬性:
[root@aix204 /]#cat chlv.sh
chown oracle:dba /dev/rac_ocr chown oracle:dba /dev/rac_vote chown oracle:dba /dev/system chown oracle:dba /dev/sysaux chown oracle:dba /dev/users chown oracle:dba /dev/undotbs1 chown oracle:dba /dev/undotbs2 chown oracle:dba /dev/temp chown oracle:dba /dev/control1_1 chown oracle:dba /dev/control2_2 chown oracle:dba /dev/control3_3 chown oracle:dba /dev/spfile chown oracle:dba /dev/redo1_1 chown oracle:dba /dev/redo1_2 chown oracle:dba /dev/redo2_1 chown oracle:dba /dev/redo2_2 chown oracle:dba /dev/example chown oracle:dba /dev/index chown oracle:dba /dev/rrac_ocr chown oracle:dba /dev/rrac_vote chown oracle:dba /dev/rsystem chown oracle:dba /dev/rsysaux chown oracle:dba /dev/rusers chown oracle:dba /dev/rundotbs1 chown oracle:dba /dev/rundotbs2 chown oracle:dba /dev/rtemp chown oracle:dba /dev/rcontrol1_1 chown oracle:dba /dev/rcontrol2_2 chown oracle:dba /dev/rcontrol3_3 chown oracle:dba /dev/rspfile chown oracle:dba /dev/rredo1_1 chown oracle:dba /dev/rredo1_2 chown oracle:dba /dev/rredo2_1 chown oracle:dba /dev/rredo2_2 chown oracle:dba /dev/rexample chown oracle:dba /dev/rindex chmod 660 /dev/rac_ocr chmod 660 /dev/rac_vote chmod 660 /dev/system chmod 660 /dev/sysaux chmod 660 /dev/users chmod 660 /dev/undotbs1 chmod 660 /dev/undotbs2 chmod 660 /dev/temp chmod 660 /dev/control1_1 chmod 660 /dev/control2_2 chmod 660 /dev/control3_3 chmod 660 /dev/spfile chmod 660 /dev/redo1_1 chmod 660 /dev/redo1_2 chmod 660 /dev/redo2_1 chmod 660 /dev/redo2_2 chmod 660 /dev/example chmod 660 /dev/index chmod 660 /dev/rrac_ocr chmod 660 /dev/rrac_vote chmod 660 /dev/rsystem chmod 660 /dev/rsysaux chmod 660 /dev/rusers chmod 660 /dev/rundotbs1 chmod 660 /dev/rundotbs2 chmod 660 /dev/rtemp chmod 660 /dev/rcontrol1_1 chmod 660 /dev/rcontrol2_2 chmod 660 /dev/rcontrol3_3 chmod 660 /dev/rspfile chmod 660 /dev/rredo1_1 chmod 660 /dev/rredo1_2 chmod 660 /dev/rredo2_1 chmod 660 /dev/rredo2_2 chmod 660 /dev/rexample chmod 660 /dev/rindex
[root@aix204 /]#sh chlv.sh
[root@aix204 /]#ls -l /dev |grep ocr
brw-rw---- 1 oracle dba 88, 1 Mar 15 16:01 rac_ocr
crw-rw---- 1 oracle dba 88, 1 Mar 15 16:08 rrac_ocr
[root@aix204 /]#ls -l /dev |grep vote
brw-rw---- 1 oracle dba 88, 2 Mar 15 16:01 rac_vote
crw-rw---- 1 oracle dba 88, 2 Mar 15 16:08 rrac_vote
[root@aix204 /]#