Oracle 143

아카이브파일을 찾지못해서 복구못하는 경우 복구하기; suggestion이 뜨지 않는 경우

RAC운영중 컨트롤파일 재생성해서 CLONE에 복구시 다른 노드에 있던 아카이브파일을 찾지못해서 복구를 못하는 경우에 대한 포스팅입니다. 결론 : 제대로 된 아카이브 파일을 지정하면 됩니다.  문제점 : 어떻게 제대로 된 아카이브 파일을 찾느냐? 해결 : 1) v$archived_log 를 사용해서 해당 archivelog파일 찾기 2) logmnr에 archivefile을 등록해서 v$logmnr_logs안의 LOW_SCN, NEXT_SCN으로 해당 change#를 조회 상황 : RAC로 노드 2개 운영중 복구하기 위해 cloneDB로 restore 한 후 controlfile 재생성 후 복구시도(thread 2에서 작업함) 그 후 thread 2 에 해당하는 아카이브파일들은 추천파일에 다 적히지만(..

delete noprompt obsolete; 시 발생하는 것들(이전에 지정했던 set newname 도 삭제됩니다.)

출처 : http://www.dba-oracle.com/t_rman_crosscheck.htm RMAN> delete noprompt obsolete; RMAN> delete noprompt obsolete; RMAN retention policy will be applied to the command RMAN retention policy is set to redundancy 1 allocated channel: ORA_DISK_1 channel ORA_DISK_1: sid=127 instance=rac2 devtype=DISK allocated channel: ORA_DISK_2 channel ORA_DISK_2: sid=129 instance=rac2 devtype=DISK allocated cha..

Oracle/RMAN 2012.03.10

Raw Device 환경에서 RMAN으로 FileSystem으로 데이터파일 백업하기

현재 환경확인 RMAN> report schema; Report of database schema List of Permanent Datafiles =========================== File Size(MB) Tablespace RB segs Datafile Name ---- -------- -------------------- ------- ------------------------ 1 300 SYSTEM *** /dev/raw/raw3 2 200 UNDOTBS1 *** /dev/raw/raw17 3 120 SYSAUX *** /dev/raw/raw4 4 200 UNDOTBS2 *** /dev/raw/raw18 5 5 USERS *** /dev/raw/raw15 6 51 TS_NEW *..

Oracle/RAW DEVICE 2012.03.08

Oracle-RAC(RHEL4, raw device, 10g) #5 엔진설치,패치, 리스너구성 및 DB생성

모든 노드 켜져있는 상태에서 아무 한 노드에서만 설치하면 됩니다! 오라클엔진 설치 $ cd /home/oracle/pkg/database $ ./runInstaller 시작 >> 다음 클릭 설치유형선택 >> Enterprise Edition 선택 후 다음 클릭 홈 세부 정보지정 >> OraDb10g_home1, /home/oracle/product/10g/db 입력 후 다음 하드웨어 클러스터 설치모드 지정 >> 클러스터 설치클릭, 모두선택클릭 후 다음 제품별 필요조건 검사 >> 메모리관련경고는 무시 후 다음 구성옵션 선택 >> 데이터베이스 소프트웨어만 설치 클릭 후 다음 요약 >> 설치클릭 설치화면 구성스크립트 실행 >> 각각의 노드에서 루트 권한으로 /home/oracle/product/10g/db/r..

Oracle/RAC 2012.03.07

Oracle-RAC(RHEL4, raw device, 10g) #4 Equivalence, Clusterware 설치

http://gyh214.tistory.com/143 과 거의 흡사하나Clusterware 설치에서 OCR 위치지정, 선호디스크위치지정 부분이 다릅니다.  이제부터는 RAC1, RAC2 둘다 켜져있는 상태에서 작업하세요Equivalence 설정(oracle 계정에서 실행하세요)1.node 1,2 둘다 실행$ mkdir .ssh$ ssh-keygen -t rsa$ ssh-keygen -t dsa(keygen 실행이후 각각 엔터 3번)2. node 1(RAC1)만 실행$ cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys$ cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys$ ssh rac2 cat ~/.ssh/id_rsa.pub >> ~/..

Oracle/RAC 2012.03.07

Oracle-RAC(RHEL4, raw device, 10g) #3 Node1, Node2 Setting

http://gyh214.tistory.com/142 와 디스크 파티션만 빼고 동일합니다.(사실 디스크 파티션도 거의 동일합니다.) 차이점은 raw device의 경우 파일 하나당 하나의 논리디스크를 할당해주는 점입니다. 13. 디스크들 파티션설정(root로 실행하세요) [root@rac1 ~]# fdisk /dev/sdb The number of cylinders for this disk is set to 1305. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old ver..

Oracle/RAC 2012.03.07

ASM 설치시 디스크선택 할때(외부, 보통, 높음)에 대한 설명

Choose the ASM redundancy level that you want to use for the ASM disk group. The redundancy level that you choose for the ASM disk group determines how ASM mirrors files in the disk group and determines the number of disks and amount of disk space that you require, as follows: External redundancy An external redundancy disk group requires a minimum of one disk device. The effective disk space in..

Oracle/ASM 2012.03.04