Step by Step Oracle RAC on Veritas DBE/AC( 九 )


(SERVICE_NAME = MODosE)
(PRESENTATION = http://HRService)
)
)

LISTENER_ORADB2 =
(ADDRESS = (PROTOCOL = TCP)(HOST = rac2)(PORT = 1521))


ORADB2 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = rac2)(PORT = 1521))
(CONNECT_DATA = https://www.rkxy.com.cn/dnjc/
(SERVICE_NAME = oradb)
(INSTANCE_NAME = oradb2)
)
)

LISTENER_ORADB1 =
(ADDRESS = (PROTOCOL = TCP)(HOST = rac1)(PORT = 1521))


ORADB1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = rac1)(PORT = 1521))
(CONNECT_DATA = https://www.rkxy.com.cn/dnjc/
(SERVICE_NAME = oradb)
(INSTANCE_NAME = oradb1)
)
)

ORADB =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = rac1)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = rac2)(PORT = 1521))
(LOAD_BALANCE = yes)
)
(CONNECT_DATA = https://www.rkxy.com.cn/dnjc/
(SERVER = DEDICATED)
(SERVICE_NAME = oradb)
(FAILOVER_MODE=
(TYPE=select)
(METHOD=basic)
)
)
)

二十七、 在rac1上的文件/opt/oracle/.profile文件加入如下:
ORACLE_SID=oradb1
export ORACLE_SID


二十八、 在rac1上的文件/opt/oracle/.profile文件加入如下:
ORACLE_SID=oradb2
export ORACLE_SID

推荐阅读