oracle 11gr2 添加节点最佳实践
OS信息:
[grid@11grac1 ~]$ uname -a
Linux 11grac1 2.6.32-300.10.1.el5uek #1 SMP Wed Feb 22 17:22:40 EST 2012 i686 i686 i386 GNU/Linux
DB信息:
SQL> select * from v$version where rownum<5;
BANNER
------------------------------------------------------------------------
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
PL/S...
RAC 启动报错ORA-01078 ORA-01565 ORA-17503 ORA-15077
RAC 启动报错ORA-01078 ORA-01565 ORA-17503 ORA-15077
[oracle@rac1 ~]$ sqlplus /nolog
SQL*Plus: Release 10.2.0.1.0 - Production on Mon Aug 27 09:38:54 2012
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL> conn /as sysdba
Connected to an idle instance.
SQL> startup
ORA-01078: failure in processing system parameters
ORA-01565: error in identifying file '+DATA/ra...
ORACLE RAC如何正确配置数据库归档模式
ORACLE RAC配置归档模式一例
当前系统没有开启归档
[oracle@rac1 ~]$ sqlplus /nolog
SQL*Plus: Release 10.2.0.1.0 - Production on Mon Aug 27 10:16:27 2012
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL> conn /as sysdba
Connected.
SQL> archive log list;
Database log mode No Archive Mode
Automatic archival Disabled
Archive destination USE_DB_RECOVERY_FILE_DEST
Old...
ORALCE安全之RAC配置Class of Secure Transport(COST)
ORALCE安全之RAC配置Class of Secure Transport(COST)
--参照文档
--Using Class of Secure Transport (COST) to Restrict Instance Registration in Oracle RAC [ID 1340831.1]
[oracle@rac1 ~]$ crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora....SM1.asm application ONLINE ONLINE rac1
ora....C1.lsnr application ONLINE ONLINE rac1
o...
ORACLE 10gRAC升级并打补丁一例
(零) RAC数据库升级(10.2.0.1.0->10.2.0.5.0)并打补丁(P12880299)
--原始库信息
SQL> select * from v$version where rownum<5;
BANNER
----------------------------------------------------------------
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for Linux: Version 10.2.0.1.0 - Pro...
ORACLE 10G 打补丁一例
ORACLE 10G 打补丁一例
10g打补丁p13343471
--查看当前补丁情况
[oracle@rac1 OPatch]$ pwd
/opt/ora10g/product/database/OPatch
[oracle@rac1 OPatch]$ ./opatch lsinventory
Invoking OPatch 10.2.0.4.9
Oracle Interim Patch Installer version 10.2.0.4.9
Copyright (c) 2009, Oracle Corporation. All rights reserved.
Oracle Home : /opt/ora10g/product/database
Central Inventory : /opt/ora10g...
ASM数据库启动时报错ORA-15032 ORA-15063
基于asm的单实例数据库启动时报错ORA-15032 ORA-15063一例
--报错如下:
SQL> startup
ASM instance started
Total System Global Area 83886080 bytes
Fixed Size 1217836 bytes
Variable Size 57502420 bytes
ASM Cache 25165824 bytes
ORA-15032: not all alterations performed
ORA-15063: ASM discovered an insufficient number of disks for diskgroup "DATA"
--查看错误信息:
[oracle@rhl5 ~]$...
ORACLE ASM常用命令
ASM常用命令
--创建磁盘组
--标准冗余
sql>create diskgroup dg01 normal redundancy
failgroup fg01 disk
'/dev/rhdisk5',
'/dev/rhdisk6'
failgroup fg02 disk
'/dev/rhdisk7',
'/dev/rhdisk8';
--外部冗余
sql>create diskgroup dg01 external redundancy
disk
'/dev/rhdisk5',
'/dev/rhdisk6'
--删除磁盘组
--卸载其他节点的磁盘组
sql>alter drop diskgroup dg1 dismount;
--从选定节点删除...
数据库从非ASM到ASM的迁移
数据库从非ASM到ASM的迁移
参考文档
Steps To Migrate/Move a Database From Non-ASM to ASM And Vice-Versa [ID 252219.1]
How to duplicate a controlfile when ASM is involved [ID 345180.1]
查看源文件系统
SQL> select * from v$version where rownum<5;
BANNER
----------------------------------------------------------------
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0...
OCR和Votedisk在没有备份的情况下损坏后的恢复
OCR和Votedisk损坏后的恢复(无备份)
--停止所有节点的CRS
[root@rac1 ~]# /opt/ora10g/product/crs/bin/crsctl stop crs
Stopping resources.
Successfully stopped CRS resources
Stopping CSSD.
Shutting down CSS daemon.
Shutdown request successfully issued.
[root@rac1 ~]# /opt/ora10g/product/crs/bin/crsctl check crs
Failure 1 contacting CSS daemon
Cannot communicate with CRS
Cannot c...