Oracle11gR2 RAC环境中启用存档日志
来源:互联网 发布:python https get请求 编辑:程序博客网 时间:2024/05/21 19:28
以 oracle 用户身份登录到一个节点(即 racnode1),通过在当前实例中将 cluster_database 设置为 FALSE 来禁用集群实例参数
[oracle@racnode1 ~]$ sqlplus / AS sysdbaSQL*Plus: Release 11.2.0.1.0 Production ON Tue Jan 31 13:48:08 2012Copyright (c) 1982, 2009, Oracle. ALL rights reserved.Connected TO:Oracle DATABASE 11g Enterprise Edition Release 11.2.0.1.0 - 64bit ProductionWITH the Partitioning, REAL Application Clusters, Automatic Storage Management, OLAP,DATA Mining AND REAL Application Testing optionsSQL> ALTER system SET cluster_database=FALSE scope=spfile sid='racdb1';System altered.SQL>
以 oracle 用户身份关闭所有 访问集群化数据库的实例
[oracle@racnode1 ~]$ srvctl stop DATABASE -d racdb
使用本地实例,挂载数据库,启动存档功能
[oracle@racnode1 ~]$ sqlplus / AS sysdbaSQL*Plus: Release 11.2.0.1.0 Production ON Tue Jan 31 13:56:58 2012Copyright (c) 1982, 2009, Oracle. ALL rights reserved.Connected TO an idle instance.SQL> startup mountORACLE instance started.Total System Global Area 839282688 bytesFixed SIZE 2217992 bytesVariable SIZE 599787512 bytesDATABASE Buffers 234881024 bytesRedo Buffers 2396160 bytesDATABASE mounted.SQL> ALTER DATABASE archivelog;DATABASE altered.
通过在当前实例中将实例参数 cluster_database 修改为TRUE,重新启用对集群的支持,然后关闭本地实例
SQL> ALTER system SET cluster_database=TRUE scope=spfile sid='racdb1';System altered.SQL> shutdown immediateORA-01109: DATABASE NOT OPENDATABASE dismounted.ORACLE instance shut down.SQL>
以oracle帐户身份使用srvctl命令重启所有实例
[oracle@racnode1 ~]$ srvctl START DATABASE -d racdb
[oracle@racnode1 ~]$ sqlplus / AS sysdbaSQL*Plus: Release 11.2.0.1.0 Production ON Tue Jan 31 14:03:50 2012Copyright (c) 1982, 2009, Oracle. ALL rights reserved.Connected TO:Oracle DATABASE 11g Enterprise Edition Release 11.2.0.1.0 - 64bit ProductionWITH the Partitioning, REAL Application Clusters, Automatic Storage Management, OLAP,DATA Mining AND REAL Application Testing optionsSQL> archive log listDATABASE log mode Archive ModeAutomatic archival EnabledArchive destination USE_DB_RECOVERY_FILE_DESTOldest online log SEQUENCE 65NEXT log SEQUENCE TO archive 66CURRENT log SEQUENCE 66SQL>
- Oracle11gR2 RAC环境中启用存档日志
- RAC启用归档日志
- Oracle11gR2 RAC环境归档模式的配置
- 在RAC环境中如何管理日志(redolog file)组
- 在RAC环境中如何管理日志(redologfile)组
- win2008 oracle11gr2 RAC
- 安装RAC小记(Oracle11gR2)
- Centos6.5 oracle11gR2 rac安装
- 用PXE方法从裸机批量推Oracle11gR2 RAC成套环境
- 【RAC】Oracle RAC集群环境下日志文件结构
- [日志]存档综合帖
- php-fpm中启用慢日志配置
- Ubuntu中怎么启用Crontab日志记录
- RedHat5.5+Openfiler2.9+Oracle11gR2 RAC+ASM
- oracle11gR2 RAC连接时ORA-12545错误
- Oracle11gR2——RAC中的服务
- Oracle11gR2——RAC中的参数文件
- Oracle11gR2——RAC的组件
- 人生之离别感悟
- 缺口
- hadoop ubuntu
- 工业自动化常用英语
- 设备判断 iphone3? iphone4? iphone5?
- Oracle11gR2 RAC环境中启用存档日志
- 给你们
- 类的static
- 工业控制常用英语及缩写
- VC编译典型问题
- 黑马程序员_枚举复习
- How to Make a Gesture-Driven To-Do List App Like Clear: Part 1/3
- 布局demo二:shape的使用
- 常用的运算技巧