ASM 13

control file 다중화하기 ; ASM환경, RMAN이용

다음과 같은 과정을 거칩니다. 1. 현재상황확인 2. shutdown 3. nomount 후 현재 컨트롤파일 restore(RMAN이용) * restore controlfile to '+DATA' from '이전컨트롤파일경로'; 3-1. asmcmd로 restore된 controlfile 확인 4. 파라미터파일 수정 5. shutdown 후 startup 5-1. 변경 후 상황확인 1. 현재상황확인 SQL> show parameter control NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ control_file_record_keep_time integer 7 control_f..

Oracle/ASM 2012.04.01

File System -> ASM으로 DB migration하기(같은 서버내에서) ; RMAN 이용

다음과 같은 과정을 거칩니다. 1. 현재상태확인 2. 파라미터 변경 (optional) 2-1. alter system switch를 이용해 현재 redo log의 자료를 archive로 저장, block tracking disable하기 3. backup된 자료를 이용해서 원하는 곳으로 복원 4. 후속작업 4-1. default temporary tablespace 만들기 4-2. 이전 redo log를 drop하고 asm안으로 다시 만들어주기 **변경할 파라미터 db_create_file_dest, db_recovery_file_dest[_size], db_create_online_dest_1,2(for redo), control_files 1. 현재 상태확인 SQL> @dd FILE_ID TABLE..

Oracle/ASM 2012.03.30

DBCA를 이용해 ASM diskgroup 수동구성하기(silent) ; RHEL4환경

http://gyh214.tistory.com/134 의 4-3 ~ 4-6. 하고 난 후 4-7. ASM라이브러리 환경설정 [root@database ~]# /etc/init.d/oracleasm configure [root@database ~]# /etc/init.d/oracleasm enable [root@database ~]# /etc/init.d/oracleasm start 4-8. ASM disk를 생성합니다. root@database ~]# /etc/init.d/oracleasm createdisk asm1 /dev/asm/asm1 [root@database ~]# /etc/init.d/oracleasm createdisk fra1 /dev/asm/fra1 4-9. CSS데몬을 활성화합니다. ..

Oracle/ASM 2012.03.30

Admin 2 20번째 ASM이란? ; 장단점, 구조, rebalance 등

ASM의 장점들 1. 디스크 I/O의 효과적인 분산 스토리지를 추가하면 이전 스토리지안에 있던 자료들이 자동으로 rebalance되어서 자료들이 분산됩니다. 2. VLDB지원(Very Large DB) ASM의 Disk Group ASM에서는 디스크를 여러개 묶어서 디스크 그룹으로 관리하는데, 1개의 그룹에는 최소 2개의 디스크가 있어야 합니다. 데이터가 들어올 때 AU라는 단위로 나누어서 각 디스크그룹별로 분산해서 저장하게 되는데, AU(Allocation Unit)는 1) COARSE grained 방식 : 1MB단위로 기록되고, 주로 data, archivelog 파일에 사용 2) FINE grained 방식 : 128KB단위로 기록되고, 주로 redo, control, flashback log 파..

Oracle/ASM 2012.03.11

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

File system 의 Datafile을 ASM system으로 옮기기

1. File system으로 데이터파일 만들기 create tablespace test datafile '/home/oracle/test01.dbf' size 10M autoextend on maxsize 2G; 2. 해당 데이터파일(or tablespace) offline alter database datafile '/home/oracle/test01.dbf' offline; 3. RMAN에서 copy datafile '/home/oracle/test01.dbf' to '+DATA'; report schema; using target database control file instead of recovery catalog Report of database schema List of Permanent ..

Oracle/ASM 2012.02.28

ASM환경의 DB startup하기(ORA-01078, ORA-01565, ORA-17503, ORA-15077)

ASM으로 DB를 설치한 환경에서 콘솔을 reboot한 이후 DB가 open 되지 않을 떄 (ORA-01078, ORA-01565, ORA-17503, ORA-15077 에러) CAUSE : ASM 디스크그룹이 mount되지 않아서 생긴 문제입니다. ACTION : SID = +ASM 을 먼저 mount시킨 후 SID=원래DB 에서 open 시키세요 ORACLE_SID=testdb SQL> startup ORA-01078: failure in processing system parameters ORA-01565: error in identifying file '+DATA/testdb/spfiletestdb.ora' ORA-17503: ksfdopn:2 Failed to open file +DATA/tes..

Oracle/ASM 2012.02.28