OracleStudy之-AIX6.1构建Oracle10gR2RAC(3)
Oracle Study之-AIX6.1构建Oracle 10gR2 RAC(3)
10年积累的成都网站制作、网站设计、外贸网站建设经验,可以快速应对客户对网站的新想法和需求。提供各种问题对应的解决方案。让选择我们的客户得到更好、更有力的网络服务。我虽然不认识你,你也不认识我。但先网站策划后付款的网站建设流程,更有市南免费网站建设让你可以放心的选择与我们合作。
一、配置共享存储
[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上创建卷组(并发卷组)
查看hacmp服务:
[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
三、查看卷组并发状态
[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
------- 卷组处于并发状态后,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 /]#
本文名称:OracleStudy之-AIX6.1构建Oracle10gR2RAC(3)
文章起源:http://pwwzsj.com/article/jccpic.html