0. clusterware, engine 파일을 복사하고 압축을 풉니다.
1. cluterware 설치 (oracle 유저로 로그인후 실해하세요)
$ pwd
/export/home/oracle/pkg/clusterware
./runInstaller
이후 뜨는 메시지에서 y입력
(양쪽 노드에서 root로 모두 실행하세요)
mkdir -p /usr/local/bin
ln -s /usr/bin/ssh /usr/local/bin/ssh
이후 설치취소하고 처음부터 다시 진행
root.sh 실행도중 에러가 나시면 fdisk 때 0번째 실린더부터 하셔서 그런겁니다.
완전히 clusterware를 삭제하신 후( http://gyh214.tistory.com/208 ) 디스크설정을 다시하세요.
실행화면
실행 후 확인 클릭
3. 확인
-bash-3.00$ ls 10202_clusterware_solx86.zip 10202_database_solx86.zip -bash-3.00$ unzip 10202_clusterware_solx86.zip && unzip 10202_database_solx86.zip
1. cluterware 설치 (oracle 유저로 로그인후 실해하세요)
$ pwd
/export/home/oracle/pkg/clusterware
./runInstaller
이후 뜨는 메시지에서 y입력
(양쪽 노드에서 root로 모두 실행하세요)
mkdir -p /usr/local/bin
ln -s /usr/bin/ssh /usr/local/bin/ssh
이후 설치취소하고 처음부터 다시 진행
root.sh 실행도중 에러가 나시면 fdisk 때 0번째 실린더부터 하셔서 그런겁니다.
완전히 clusterware를 삭제하신 후( http://gyh214.tistory.com/208 ) 디스크설정을 다시하세요.
실행화면
노드 1(orainstRoot.sh) # /export/home/oracle/oraInventory/orainstRoot.sh 다음 권한 변경 중/export/home/oracle/oraInventory 대상 770. 그룹 이름 변경 중 /export/home/oracle/oraInventory 대상 oinstall. 스크립트 실행이 완료되었습니다. 노드 2(orainstRoot.sh) # /export/home/oracle/oraInventory/orainstRoot.sh 다음 권한 변경 중/export/home/oracle/oraInventory 대상 770. 그룹 이름 변경 중 /export/home/oracle/oraInventory 대상 oinstall. 스크립트 실행이 완료되었습니다. 노드 1(root.sh) # /export/home/oracle/product/10g/crs/root.sh WARNING: directory '/export/home/oracle/product/10g' is not owned by root WARNING: directory '/export/home/oracle/product' is not owned by root WARNING: directory '/export/home/oracle' is not owned by root Checking to see if Oracle CRS stack is already configured Setting the permissions on OCR backup directory Setting up NS directories Oracle Cluster Registry configuration upgraded successfully WARNING: directory '/export/home/oracle/product/10g' is not owned by root WARNING: directory '/export/home/oracle/product' is not owned by root WARNING: directory '/export/home/oracle' is not owned by root Successfully accumulated necessary OCR keys. Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897. node: node 1: rac1 rac1-priv rac1 node 2: rac2 rac2-priv rac2 Creating OCR keys for user 'root', privgrp 'root'.. Operation successful. Now formatting voting device: /dev/rdsk/c2t4d0s0 Now formatting voting device: /dev/rdsk/c2t5d0s0 Now formatting voting device: /dev/rdsk/c2t6d0s0 Format of 3 voting devices complete. Startup will be queued to init within 30 seconds. Adding daemons to inittab Expecting the CRS daemons to be up within 600 seconds. CSS is active on these nodes. rac1 CSS is inactive on these nodes. rac2 Local node checking complete. Run root.sh on remaining nodes to start CRS daemons. 노드 2(root.sh) # /export/home/oracle/product/10g/crs/root.sh WARNING: directory '/export/home/oracle/product/10g' is not owned by root WARNING: directory '/export/home/oracle/product' is not owned by root WARNING: directory '/export/home/oracle' is not owned by root Checking to see if Oracle CRS stack is already configured Setting the permissions on OCR backup directory Setting up NS directories Oracle Cluster Registry configuration upgraded successfully WARNING: directory '/export/home/oracle/product/10g' is not owned by root WARNING: directory '/export/home/oracle/product' is not owned by root WARNING: directory '/export/home/oracle' is not owned by root clscfg: EXISTING configuration version 3 detected. clscfg: version 3 is 10G Release 2. Successfully accumulated necessary OCR keys. Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897. node : node 1: rac1 rac1-priv rac1 node 2: rac2 rac2-priv rac2 clscfg: Arguments check out successfully. NO KEYS WERE WRITTEN. Supply -force parameter to override. -force is destructive and will destroy any previous cluster configuration. Oracle Cluster Registry for cluster has already been initialized Startup will be queued to init within 30 seconds. Adding daemons to inittab Expecting the CRS daemons to be up within 600 seconds. CSS is active on these nodes. rac1 rac2 CSS is active on all nodes. Waiting for the Oracle CRSD and EVMD to start Waiting for the Oracle CRSD and EVMD to start Oracle CRS stack installed and running under init(1M) Running vipca(silent) for configuring nodeapps (2) 노드에 VIP 응용 프로그램 리소스 생성 ... (2) 노드에 GSD 응용 프로그램 리소스 생성... (2) 노드에 ONS 응용 프로그램 리소스 생성... (2) 노드에서 VIP 응용 프로그램 리소스 시작... (2) 노드에서 GSD 응용 프로그램 리소스 시작... (2) 노드에서 ONS 응용 프로그램 리소스 시작... Done.
실행 후 확인 클릭
* 해결방법 : 소프트링크생성(ln -s)하는 부분을 실행하면 위와같은 에러가 나지 않습니다. 꼭 해결하고 넘어가셔야합니다.
3. 확인
$ crs_stat -t Name Type Target State Host ------------------------------------------------------------ ora.rac1.gsd application ONLINE ONLINE rac1 ora.rac1.ons application ONLINE ONLINE rac1 ora.rac1.vip application ONLINE ONLINE rac1 ora.rac2.gsd application ONLINE ONLINE rac2 ora.rac2.ons application ONLINE ONLINE rac2 ora.rac2.vip application ONLINE ONLINE rac2 $ olsnodes -n rac1 1 rac2 2 $ ls -l /etc/init.d/init.*[d,s] -r-xr-xr-x 1 root root 2236 Apr 30 19:27 /etc/init.d/init.crs -r-xr-xr-x 1 root root 4858 Apr 30 19:27 /etc/init.d/init.crsd -r-xr-xr-x 1 root root 41171 Apr 30 19:27 /etc/init.d/init.cssd -r-xr-xr-x 1 root root 3198 Apr 30 19:27 /etc/init.d/init.evmd
'Oracle > RAC' 카테고리의 다른 글
Single to RAC (DB변환하기) (0) | 2012.05.09 |
---|---|
RAC 구성하기(solaris 10, oracle 10g) #5 ; engine 설치, db구성 (0) | 2012.04.30 |
RAC 구성하기(solaris 10, oracle 10g) #3 ; 스토리지설정 및 node2 설정, equivalance 설정 (0) | 2012.04.30 |
RAC 구성하기(solaris 10, oracle 10g) #2 ; openfiler 설치(for storage) (0) | 2012.04.30 |
RAC 구성하기(solaris 10, oracle 10g) #1 ; 솔라리스설치 및 설정 (0) | 2012.04.30 |