우리는 새로운 서버의 도입으로 신규 서버에 DB를 설치 하는 경우가 있다.
물론 설치전 요구사항들을 꼼꼼히 체크하고 설치 시에 문제를 예방하지만 가끔 다음과 같은
부분을 miss 할 수 있다.

바로 비동기식 IO스위치의 Avalilable 상태이다.
이는 OS상의 커널파라미터가 DB2 설치 후 엔진의 Start 시 발생될 수 있는 에러이며
db2start 시 다음과 같은 에러 메세지를 보여준다.

db2start를 실행할 때 다음 오류가 발생할 수 있습니다.

0509-130 Symbol resolution failed for /usr/lib/threads/libc.a(aio.o)
because: 0509-136 Symbol kaio_rdwr (number 0) is not exported from dependent module /unix.
0509-136 Symbol listio (number 1) is not exported from dependent module /unix.
0509-136 Symbol acancel (number 2) is not exported from dependent module /unix.
0509-136 Symbol iosuspend (number 3) is not exported from dependent module /unix.
0509-136 Symbol aio_nwait (number 4) is not exported from
dependent module /unix.
0509-192 Examine .loader section symbols with the
'dump -Tv' command.


아래와 같은 방법으로 다음과 같은 에러를 해결 할 수 있다.

비동기 I/O를 켜려면 다음을 수행하십시오.

1. smitty chgaio를 실행하고 시스템 다시 시작 시 구성할 상태정의됨(Defined)에서 사용 가능(Avalilable) 으로 설정하십시오.


2. Enter를 누르십시오.


3. 다음 중
하나를 수행하십시오.

      시스템을 다시 시작하십시오.

db2start 명령이 작동하게 됩니다.


오늘은 PureScale 상의 Instance 생성의 Tip을 말씀드리고자 한다.
보통 일반적인 DB2상의 Instance 생성법은 설치된 모듈이 있는 instance라는 디렉토리에서
db2icrt라는 스크립트를 이용하여 생성을 한다.

아래는 일반적인 인스턴스 생성법과 PureScale상의 인스턴스 법을 설명하겠다.
-s 옵션에 따라 ESE 제품의 인스턴스를 만들지 PureScale의 인스턴스를 만들지를 지정할 수 있다.

 ./db2icrt -s ese <dsf> -u dongbucni duongbucni

+ Recent posts