참고글 및 문제해결 57

리눅스 iscsi target설정하기(client쪽)

환경 : OEL5 # uname -r ( 2.6.18-238.el5) 리눅스 iscsi 사용설정 1. iscsi 패키지가 설치되어있나 확인 (iscsi-initiator-utils-6.2.0.872-6.0.2.el5.i386) # rpm -qa | grep iscsi 2. 명령어실행 # iscsiadm -m discovery -t sendtargets -p 192.168.0.30 위 명령어의 결과를 토대로 # iscsiadm -m node -T iqn.2006-01.com.openfiler:tsn.2895a9bebb3e -p 192.168.0.30:3260 -l # iscsiadm -m node -T iqn.2006-01.com.openfiler:tsn.3233d584c02c -p 192.168.0.30..

PRVF-4353 Proper soft limit for resource 부분제한 문제

발생환경 Solaris10, oracle11g, GRID 설치중 발생 # ulimit -n 실행시켜보시고 1024보다 적으면 # vi /etc/system에 # Hard limit on file descriptors for single process set rlim_fd_max = 4096 # Soft limit on the file descriptors for a single process set rlim_fd_cur = 1024 내용을 추가한 후 재부팅해주세요. 그래도 안된다면 http://serverfault.com/questions/21417/how-to-set-ulimits-in-solaris-10 참조해보세요.

Cleanup failed CRS installation on Solaris 10 ;사이트링크, 솔라리스10에서 실패한 crs설치 삭제하기

http://www.oraclefaq.net/2007/08/03/steps-to-cleanup-failed-crs-installation-on-solaris/ 주의점 : on all the nodes 가 있는 줄은, 다음으로 바로 넘어가지 말고 일단 그 행을 모든 노드에서 다 실행한 후 다음으로 넘어가야합니다. (rootdelete.sh, rootdeinstall.sh 실행시키고 그 다음에 바로 /var/opt/oracle을 삭제하면 다음 노드에서 rootdelete.sh, rootdeinstall.sh 실행이 안됩니다.

DB생성 후 SQL실행할 떄 ?? ???? 같은 문자들이 출력될 때

원인 : DB에 setting된 characterset과 NLS_LANG 가 일치하지 않을 때 해결 : export NLS_LANG으로 DB의 character set과 일치시켜준다. 시나리오 1. 문제확인 2. 현재 문자셋확인 select name, value$ from props$ where name='NLS_LANGUAGE' or name='NLS_TERRITORY' or name='NLS_CHARACTERSET'; 3. NLS_LANG설정 export NLS_LANG=AMERICAN_AMERICA.KO16MSWIN949 .bash_profile에도 추가 4. 해결확인 1. 문제확인(??? ??? 같은 문자열이 출력됨을 확인하세요) [oracle@rac1 ~]$ sqlplus / as sysdba ..

RAC환경, ORACLE Engine설치중 PRVF-4555오류및 rac2 노드에 vip가 구성되지 않는 경우 생성해주기; rac2에 vip구성하기, ora....C2.lsnr, ora.rac2.vip, PRKO-2310

환경 : OEL, 11gR2 참고사이트 : http://surachartopun.com/2010/01/11gr2-add-vip-to-node.html 요약 0. rac환경에서 oracle engine설치중 '노드 응용 프로그램 존재여부' 실패(위 스크린샷) 1. 상황확인 2. rac2에 vip 구성설정시도 (srvctl config vip -n rac2) >> Failed 3. rac2 노드에 vip서비스를 생성 (srvctl add vip -n rac2 -A 192.168.0.116/255.255.255.0/eth0 -k 1) 4. rac2 노드에 vip서비스 시작 (srvctl start vip -n rac2) 5. 이후 상황확인 (crs_stat -t, 4번 실행하자마자 ONLINE이 되는게 아니기..

INS-41107 string selected for one or more of the public or private interfaces is not on a shared subnet. Nodes not defining are: string(11g GRID 설치중 에러)

참고사이트 : http://www.error-code.org.uk/view.asp?e=ORACLE-INS-41107 원인 : 설정된 공용IP와 전용IP들의 서브넷IP가 같지 않습니다. 해결방법 : 서브넷을 똑같이 설정해줍니다. OEL환경입니다. 해결방법1. # neat 실행 후 공용IP의 넷카드, 전용IP의 넷카드의 서브넷마스크를 일치시켜줍니다. 해결방법2. root로 로그인후 /etc/sysconfig/network-scripts/ifcfg-eth0, ifcfg-eth1 파일들을 편집 NETMASK 부분을 일치시킴 [root@rac1 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0 # Advanced Micro Devices [AMD] 79c970 [PCnet3..

ORA-29701: unable to connect to Cluster Manager

상황 : ASM이용하는 DB에서 서버다운 후 ASM이 mount가 되지 않는 현상 액션 : Cluster Manager 를 root로 start해줌 # crsctl start crs 시나리오 1. DB startup시도 (ASM이 mount안되어서 실패) 2. ASM mount 시도 (실패) 3. root로 로그인 후 Cluster Manager 시작 4. ASM mount 시도 (성공) 5. DB startup 1. DB startup시도 (ASM이 mount안되어서 실패) [oracle@server15 ~]$ sqlplus / as sysdba SQL*Plus: Release 10.2.0.1.0 - Production on Tue Apr 24 12:32:59 2012 Copyright (c) 1982..