raw device 7

RHEL5 rawdevice 사용하기(bind, permission설정)

아래 파일을 디스크에 맞게 수정합니다. 각 디스크 파티션작업 후 vi /etc/udev/rules.d/60-raw.rules ACTION=="add", KERNEL=="sdb1", RUN+="/bin/raw /dev/raw/raw1 %N" ACTION=="add", KERNEL=="sdc1", RUN+="/bin/raw /dev/raw/raw2 %N" ACTION=="add", KERNEL=="sdd1", RUN+="/bin/raw /dev/raw/raw3 %N" ACTION=="add", KERNEL=="sde1", RUN+="/bin/raw /dev/raw/raw4 %N" ACTION=="add", KERNEL=="sdf1", RUN+="/bin/raw /dev/raw/raw5 %N" ACTION==..

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/i..

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