Oracle Data Guard創建物理Standby數據庫
創建物理備庫
機器名 a
IP:
Net_Name a
SID a
DB_UNIQUE_NAME a
注
主節點listener
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=
(GLOBAL_DBNAME=a
(ORACLE_HOME=/u
(SID_NAME=a
)
)
LISTENER =
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST=
(ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY))
)
備節點listener
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=
(GLOBAL_DBNAME=a
(ORACLE_HOME=/u
(SID_NAME=a
)
)
LISTENER =
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST=
(ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY))
)
a
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST =
)
(CONNECT_DATA =
(SERVICE_NAME = a
)
)
a
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST =
)
(CONNECT_DATA =
(SERVICE_NAME = a
)
)
步驟
archive log list;
步驟
alter database archivelog;
步驟
archive log list;
orapwd file=
alter database add standby logfile
group
group
group
group
注意
非常類似
redologs 的時候完全可以借鑒創建 online redologs 的思路
除些之外呢
From:http://tw.wingwit.com/Article/program/Oracle/201311/19009.html