HP-UX
1753663 회원
5688 온라인
108798 솔루션
새 메시지

kernel parm 관련 입니다.

 
조용훈
조언자

kernel parm 관련 입니다.

안녕하세요.

SAM 을 사용하여 커널 파라미터를 바꿀 때

제한된 값 이상으로 바꾸려면 어떻게 하여야 하는지요?

SAM 없이 명령어로 커널 리빌드를 해야 하는지

아니면 특정 화일의 값을 바꾸어야 하는지요?

제 기억에는 특정 화일의 값을 바꾸었던 걸로 기억 하는데

다른 서버에도 적용하려니 기억이 나지 않습니다.

수고하세요.
3 응답 3
Jongmin, Lee
유치원

kernel parm 관련 입니다.

안녕하세요~

이종민입니다.



/usr/conf/master.d/core-hpux 에서 수정하시면 됩니다.



이때, * 표 지우지 마시구요



그럼~
김병수
본과생

kernel parm 관련 입니다.

제기억으로는

/usr/conf/master.d/core-hpux 를 수정하면



# mv /var/sam/boot.config boot.config.org로 바꾼다음



# /usr/sam/lbin/getkinfo -b 하는 것으로 알고 있습니다.



하지만 sam을 사용할것을 권장하며, max값보다 더 큰값을 입력하면



booting 이 되지 않는 경우도 있으니 매우 조심햐여 주시기 바랍니다.



반드시 bakcup을 받고 작업을 하여 주시기 바랍니다.



그럼~~
Joseph
초등학생

kernel parm 관련 입니다.

1. /usr/conf/master.d/core-hpux에서 수정을 한다.

2. /var/sam/boot.config를 제거한다.. rm으로..

3. /usr/sam/lbin/getkinfo -b 실행

4. /var/sam 에서 boot.config가 새로 생성되었는지 확인한다.

5. sam에서 커널을 수정한다..



참고: 커널패치 적용시 core-hpux가 디폴터로 변경됩니다..





아래 문서를 참조하세요..



Good day~~





< www.itrc.hp.com 문서 발췌 >

CONFIGURATION

hpux 11.00

RESOLUTION

In order to re-define the maximum limits used by SAM when tuning the shmmni and shmseg kernel parameters, the following is needed. A change can be made to the file /usr/conf/master.d/core-hpux as follows, change the entry:

*range shmmni<=1024

to

*range shmmni<=4096

If needed, make this type of change for shmseg.



Once the changes have been made to core-hpux, remove /var/sam/boot.config and run the following:

/usr/sam/lbin/getkinfo -b

and then confirm that a new boot.config file has been created in /var/sam. Then the changes can be made in SAM.



WARNING: Since /usr/conf/master.d/core-hpux can be replaced by a patch, if this problem of getting past 1024 arises again, the first thing to check is if the core-hpux file has been replaced, and if so repeat the above changes.