Oracle RAC???????
???????????? ???????[ 2015/5/25 11:49:47 ] ???????????????
????Oracle RAC??????????????????????????????????л?????????RAC???????????????Щ???????????????й???????
????1?? ??????????
????RAC???????????????????????????????????????μ???????RAC????????????????????????????????????????????????RAC??????????????????????RAC?з????????????????????????????????????????????????????
????1. RAC???????????
?????????????????????????????????????RAC?????????????????????κι????????????????????????κ????????????????????tnsnames.ora????????????????????ü??ɡ???????Linux???????????н????
??????1?? ???/etc/hosts???
??????/etc/hosts???????RAC?????????IP????????????????磺
????192.168.12.231 node-rac1
????192.168.12.232 node-rac2
????192.168.12.230 node-vip1
????192.168.12.240 node-vip2
??????2?? ??RAC??????service_names
????[oracle@node-rac1 ~]$ sqlplus "/as sysdba"
????SQL*Plus: Release 11.1.0.6.0 - Production on Sun Sep 12 22:05:53 2010
????Copyright (c) 1982?? 2007?? Oracle. All rights reserved.
????Connected to:
????Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
????With the Partitioning?? Real Application Clusters?? OLAP?? Data Mining
????and Real Application Testing options
????NAME TYPE VALUE
????---------------------- -------------- -------------
????service_names string racdb
?????????????????????????RAC??????????????????????RAC?????????????????????????????SERVICE_NAME?????????“SERVICE_NAME = racdb”
??????3?? ???Oracle?????????????tnsnames.ora
RACDB=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = node-vip2)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = node-vip1)(PORT = 1521))
(LOAD_BALANCE = yes)
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = racdb)
)
)
??????????????????????£?
????LOAD_BALANCE = yes?????????????????????????????“LOAD_BALANCE = no”??????????????????????????????“LOAD_BALANCE = yes”?????????????SQLNet????????ADDRESS_LIST?б??е??????????????????????????????????????????????????????“LOAD_BALANCE = no”?????SQLNet????ADDRESS_LIST?б??е??????????????????????????????ü?????
????SERVICE_NAME = racdb?????“racdb“??RAC????????????????????????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11