91超碰碰碰碰久久久久久综合_超碰av人澡人澡人澡人澡人掠_国产黄大片在线观看画质优化_txt小说免费全本

溫馨提示×

溫馨提示×

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

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

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

新野县| 新田县| 吉林省| 全椒县| 华亭县| 三都| 榆社县| 应用必备| 武义县| 林甸县| 景谷| 靖西县| 商水县| 翁牛特旗| 玉龙| 阜宁县| 会宁县| 朝阳区| 昌宁县| 根河市| 望城县| 尼木县| 南京市| 乐昌市| 高雄县| 巢湖市| 益阳市| 阳江市| 平塘县| 香格里拉县| 固阳县| 广宗县| 锦州市| 宝应县| 历史| 敖汉旗| 竹北市| 邯郸县| 望谟县| 赫章县| 兰西县|