Bo's Oracle Station

查看: 4037|回复: 0

课程第50/51/52次(2018-10-26星期五、2018-10-29星期一和2018-11-02星期五)

[复制链接]

1005

主题

1469

帖子

1万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
12012
发表于 2018-10-26 20:06:04 | 显示全部楼层 |阅读模式

  1. [oracle@station11 ~]$ srvctl stop instance -db racdb -node station12  -force
  2. [oracle@station11 ~]$ srvctl status database -db racdb
  3. Instance RACDB_2 is running on node station11
  4. Instance RACDB_1 is not running on node station12
  5. [oracle@station11 ~]$ srvctl convert database -h

  6. Convert RAC One Node database to RAC database having one instance.

  7. Usage: srvctl convert database -db <db_unique_name> -dbtype RAC [-node <node>]
  8.     -db <db_unique_name>           Unique name of database to convert
  9.     -dbtype <type>                 Type of database to which to convert: RAC
  10.     -node <node>                   Candidate server for administrator-managed RAC database to run on
  11.     -help                          Print usage

  12. Convert RAC database having one instance to RAC One Node database.

  13. Usage: srvctl convert database -db <db_unique_name> -dbtype RACONENODE [-instance <inst_name>] [-timeout <timeout>]
  14.     -db <db_unique_name>           Unique name of database to convert
  15.     -dbtype <type>                 Type of database to which to convert: RACONENODE
  16.     -instance <inst_name>          Instance name prefix; required for administrator-managed RAC One Node database
  17.     -timeout <timeout>             Online relocation timeout in minutes
  18.     -help                          Print usage
复制代码

12c OCMDataguard:
  1. DGMGRL> edit database 'prod5h1' set property TransportLagThreshold=30;
  2. Property "transportlagthreshold" updated
  3. DGMGRL> edit database 'prod5h2' set property TransportLagThreshold=30;
  4. Property "transportlagthreshold" updated
  5. DGMGRL> edit database 'prod5h1' set property ApplyLagThreshold=45;
  6. Property "applylagthreshold" updated
  7. DGMGRL> edit database 'prod5h2' set property ApplyLagThreshold=45;
  8. Property "applylagthreshold" updated
复制代码

12c MAA环境(可以在16G内存的笔记本环境中实现):
Screenshot.png





回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|Bo's Oracle Station   

GMT+8, 2024-11-1 09:31 , Processed in 0.045608 second(s), 28 queries .

快速回复 返回顶部 返回列表