亚洲激情专区-91九色丨porny丨老师-久久久久久久女国产乱让韩-国产精品午夜小视频观看

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

Oracle RAC和SCAN同時對外提供服務的配制方法

發布時間:2020-08-11 06:48:32 來源:ITPUB博客 閱讀:116 作者:kisslfcr 欄目:關系型數據庫
1,  tnsnames.ora on two nodes:
RACTEST =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = racscan.test.com)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = RACTEST.test.com)
    )
  )






RAC1_LOCAL = 
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = rac1vip.test.com)(PORT = 1529))
  )




RAC2_LOCAL = 
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = rac2vip.test.com)(PORT = 1529))
  )




RAC_REMOTE =
          (DESCRIPTION= 
            (ADDRESS_LIST=
                (ADDRESS=(PROTOCOL=tcp)(HOST=rac1vip.test.com)(PORT=1529))
                (ADDRESS=(PROTOCOL=tcp)(HOST=rac2vip.test.com)(PORT=1529))
            )
          )






RAC_BALANCE=
        (DESCRIPTION= 
            (ADDRESS_LIST=
                (LOAD_BALANCE=YES)
                (FAILOVER=YES)
                (ADDRESS=(PROTOCOL=tcp)(HOST=rac1vip.test.com)(PORT=1529))
                (ADDRESS=(PROTOCOL=tcp)(HOST=rac2vip.test.com)(PORT=1529))
            )
            (CONNECT_DATA=
                (SERVICE_NAME=RACTEST.test.com)
            )
        )




2,listener.ora on two nodes:
node1:RAC= 
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = rac1vip.test.com)(PORT = 1529))
)




SID_LIST_RAC=
(SID_LIST=
(SID_DESC = (ORACLE_HOME =/dbfs/app/oracle/product/11.2.0/dbhome_1)(SID_NAME=RACTEST1))
)


node2:RAC= 
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = rac2vip.test.com)(PORT = 1529))
)




SID_LIST_RAC=
(SID_LIST=
(SID_DESC = (ORACLE_HOME =/dbfs/app/oracle/product/11.2.0/dbhome_1)(SID_NAME=RACTEST2))
)




3,  參數:
node1:
SQL> show parameter local_listener
NAME     TYPE VALUE
------------------------------------ ----------- ------------------------------
local_listener     string RAC1_LOCAL


SQL> show parameter remote_listener
NAME     TYPE VALUE
------------------------------------ ----------- ------------------------------
remote_listener     string racscan.test.com:1521


------------------------------------ ----------- --------------------------------------------------------------------------------------------------------------------------------------------------------------


node2:
SQL> show parameter local_listener
NAME     TYPE VALUE
------------------------------------ ----------- ------------------------------
local_listener     string RAC2_LOCAL


SQL> show parameter remote_listener
NAME     TYPE VALUE
------------------------------------ ----------- ------------------------------
remote_listener     string racscan.test.com:1521


4,參數文件:
pfile:
[oratest@rac1 dbs]$ cat initRACTEST1.ora
spfile='+DATA/RACTEST/spfileractest.ora'


[oratest@rac2 dbs]$ cat initRACTEST2.ora
spfile='+DATA/RACTEST/spfileractest.ora'
根據pfile創建spfile:
create spfile='+DATA/RACTEST/spfileractest.ora' from pfile;


5, 參數修改命令:
alter system set local_listener='RAC1_LOCAL' sid='RACTEST1' scope=both;
alter system set local_listener='RAC2_LOCAL' sid='RACTEST2' scope=both;
向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

绵阳市| 泰顺县| 丽水市| 明星| 裕民县| 淮安市| 海林市| 库伦旗| 北辰区| 澄城县| 蚌埠市| 仁怀市| 清河县| 三门峡市| 永康市| 拉萨市| 曲周县| 丰城市| 黄龙县| 靖边县| 阳江市| 岗巴县| 会泽县| 铜川市| 资兴市| 商水县| 西丰县| 彰化县| 清水县| 江西省| 平陆县| 富民县| 芦溪县| 炉霍县| 托克托县| 房产| 宁陵县| 板桥市| 绩溪县| 渭源县| 绥棱县|