HP-UX OS별 Max Swap
11.11 & 11.23 Swap Max
swchunk * 1KB * 16384 ( swchunk : 2048 ~ 65536 , maxswapchunks MAX : 16384 )
11.31 Swap Max
swchunk * 1KB * 2147483648
11.11 & 11.23 Swap Max
swchunk * 1KB * 16384 ( swchunk : 2048 ~ 65536 , maxswapchunks MAX : 16384 )
11.31 Swap Max
swchunk * 1KB * 2147483648
lan0 & lan2 를 lan monitor APA 구성
# /sbin/init.d/hplm stop
# /sbin/init.d/hpapa stop
# vi /etc/rc.config.d/netconf
INTERFACE_NAME[0]="lan0" |
# /sbin/init.d/net start
# vi /etc/rc.config.d/hp_apaportconf
HP_APAPORT_INTERFACE_NAME[0]=lan0
HP_APAPORT_INTERFACE_NAME[1]=lan2 |
# vi /etc/rc.config.d/hp_apaconf
hp_apaconf 파일에 아래 내용 추가 ( syslog 에 기록 남기기 사용) HP_APA_USE_SYSLOG=1 |
# /sbin/init.d/hpapa start
# cd /etc/lanmon
# lanqueryconf -s
# vi /etc/lanmon/lanmon.ascii
FAILOVER_GROUP lan900 STATIONARY_IP 100.100.200.50 PRIMARY lan0 5 STANDBY lan2 3 ( 사이트 정책에 맞게 수정 ) |
# /sbin/init.d/hplm start
# lanscan -q ( 확인 )
11.31 에서 # lvmadm -t
LVM Limits
VG Version 1.0
VG Version 2.0
VG Version 2.1
Max VG Size (Tbytes)
510
2,048
2,048
Max LV Size (Tbytes)
16
256
256
Max PV Size (Tbytes)
2
16
16
Max VGs
256
512
2,048
Max LVs
255
511
2,047
Max PVs
255
511
2,048
Max Mirrors
2
5
5
Max Stripes
255
511
511
Max Stripe Size (Kbytes)
32,768
262,144
262,144
Max LXs per LV
65,535
33,554,432
33,554,432
Max PXs per PV
65,535
16,777,216
16,777,216
Max Extent Size (Mbytes)
256
256
256
dump 영역 vg01 로 변경하기( 11.31 기준 )
test:/work ] ioscan -m dsf
Persistent DSF Legacy DSF(s) /dev/rdisk/disk3 /dev/rdsk/c1t9d1 |
# pvcreate -f /dev/rdisk/disk2
# vgcreate /dev/vg01 /dev/disk/disk2
# lvcreate -C y -r n -L xxxxx vg01
# lvrmboot -d dump_lv /dev/vg00
SYNOPSIS |
# crashconf -d /dev/vg00/dump_lv ( ※ crashconf -v 했을때 보이지 않게 )
# vi /etc/fstab
/dev/vg01/lvol1 ... dump defaults 0 0 |
# crashconf -a (or crashconf /dev/vg01/lvol1 )
SYNOPSIS |
# crashconf -v 로 확인
secondary swap 설정하기
# pvcreate -f /dev/rdisk/disk2
# vgcreate /dev/vg01 /dev/disk/disk2
# lvcreate -C y -r n -L xxxxx vg01
# vi /etc/fstab
/dev/vg01/lvol1 ... swap defaults 0 0 ( or /dev/vg01/lvol1 ... swap pri=1 0 0 ) |
# swapon -a
Preferred Forms |
# swapinfo -tm ( 확인 )
http://nixdoc.net/man-pages/HP-UX/ <== ( 서버에 접속할수 없을때 HP-UX man page )
HP Blade server RAID 기능 풀기
필요한 프로그램 파일 ( saupdate.efi 만 있으면 됨 )
test:/work ] ls BL8X0CI2.HTM;1 SANDMAN_.BIN;1 |
HP-UX OS 에서 efi 에 필요 프로그램 복사 & 확인
efi shell 에서 RAID 기능 풀기
shell => fs0: => cd EFI/hp/tools
11.31 OS Mirror 방법 ( IA )
디스크 확인
test:/work ] ioscan -m dsf Persistent DSF Legacy DSF(s) |
Partition 생성위해서 partition 정보 만들기
test:/work ] vi par |
idisk 로 Partition 나누기
test:/work ] idisk -wf ./par /dev/rdisk/disk3
내용 생략....... |
test:/work ] insf -e
Partition 후 ioscan 으로 확인
test:/work ] ioscan -m dsf Persistent DSF Legacy DSF(s) /dev/rdisk/disk3 /dev/rdsk/c1t9d1 |
test:/work ] mkboot -e -l /dev/(r)disk/disk3
test:/work ] mkboot -a "hpux -lq" /dev/(r)disk/disk1
test:/work ] mkboot -a "hpux -lq" /dev/(r)disk/disk3
11.23 에서 # mkboot -a "boot hpux -lq" /dev/(r)dsk/c0t0d0 # mkboot -a "boot hpux -lq" /dev/(r)dsk/c1t0d0 |
확인
test:/work ] efi_cp -d /dev/rdisk/disk1_p1 -u /EFI/HPUX/AUTO ./pri test:/work ] efi_cp -d /dev/rdisk/disk3_p1 -u /EFI/HPUX/AUTO ./alt |
test:/work ] pvcreate -f -B /dev/rdisk/disk3_p2
test:/work ] vgextend vg00 /dev/disk/disk3_p2
test:/work ] lvextend -m 1 /dev/vg00/lvol1 /dev/disk/disk3_p2
( 나머지 LV 에 대해서도 실행 )
test:/work ] setboot -a /dev/(r)disk/disk3
mirror 전
test:/work ] lvlnboot -v |
mirror 후
test:/work ] lvlnboot -v |
WBEMMgmtBundle C.03.01 이후 Version 설치후 아래와 같이 parstatus 가 안될때 => PHCO_42505 설치
test # > parstatus
Note: No action specified. Default behavior is display all.
CIM_ERR_FAILED: PGS04201: Provider HP_NParComplexProvider in file /opt/wbem/providers/lib/libHPNParProvider.so cannot load library. Error: Unsatisfied code symbol 'IpmiMsgLibGetBMCCapabilities' in load module '/opt/wbem/providers/lib/libHPNParProvider.so'..
Note: Unable to get any HP_NParComplex information.
Error: Cannot determine if platform is partitionable
※WBEMMgmtBundle 3.xx , 5.xx 6.01 모두 PHCO_42505 patch 해줘야 함
아래의 사이트에서 관련정보 확인 가능
WBEM Management bundle for HP-UX 11i v3 최신 version 정보 사이트 https://h20392.www2.hp.com/portal/swdepot/displayInstallInfo.do?productNumber=WBEMMgmtBundle
internal disk fail 시 교체후 ioscan fnCdisk 했을때 NO-HW 라고 나올때
# scsimgr replace_wwid -D /dev/disk/disk###
# scsimgr -f replace_wwid -D /dev/disk/disk###
disk### 변경하고 싶을때
# io_redirect_dsf -d /dev/disk/disk25 -n /dev/disk/disk5
" -d " : old_dsf_name
" -n " : new_dsf_name
Porting And Archive Centre for HP-UX : http://hpux.cs.utah.edu/
Java for HP-UX : ftp://ftp.hp.com/pub/gsy/
Ignite-UX : http://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=IGNITEUXB
Online Diag : https://h20293.www2.hp.com/portal/swdepot/try.do?productNumber=B6191AAE
Bundle Patch : http://www11.itrc.hp.com/service/patch/releaseIndexPage.do
Technical Documentation : http://docs.hp.com/