lanadmin ..

에러증상: RX2660, hpux b.11.23 부팅중. CDE 로그인 화면 안나옴. 네트워크 안됨. 시리얼 콘솔 접속 잘 되며, login 잘 됨. 네트워크는 HP Autoport

아래와 같은 과정으로 랜카드 이상 유무를 확인한 후, 랜카드가 이상 없음을 확인한 후 네트워크 속도 맞추어 해결.

# lanscan
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
0/1/2/0 0x002264931EFF0 UP lan0 snap0 1 ETHER Yes 119
0/3/1/0/4/0 0x001E0B88BC144 UP lan4 snap4 2 ETHER Yes 119
0/3/1/0/4/1 0x001E0B88BC15 5 UP lan5 snap5 3 ETHER Yes 119
0/3/1/0/6/0 0x001E0B88BC16 6 UP lan6 snap6 4 ETHER Yes 119
0/3/1/0/6/1 0x001E0B88BC17 7 UP lan7 snap7 5 ETHER Yes 119
0/1/2/1 0x002264931EFE 1 UP lan1 snap1 6 ETHER Yes 119
0/2/1/0 0x001A4B08F6B0 2 UP lan2 snap2 7 ETHER Yes 119
0/2/1/1 0x001A4B08F6B1 3 UP lan3 snap3 8 ETHER Yes 119
LinkAgg0 0x000000000000 900 DOWN lan900 snap900 11 ETHER Yes 119
LinkAgg1 0x000000000000 901 DOWN lan901 snap901 12 ETHER Yes 119
LinkAgg2 0x000000000000 902 DOWN lan902 snap902 13 ETHER Yes 119
LinkAgg3 0x000000000000 903 DOWN lan903 snap903 14 ETHER Yes 119
LinkAgg4 0x000000000000 904 DOWN lan904 snap904 15 ETHER Yes 119

# ifconfig lan900
ifconfig: no such interface
# ifconfig lan0
ifconfig: no such interface

# inkloop -i 0 0x002264931EFF
Link connectivity to LAN station: 0x002264931EFF
— OK
# linkloop -i 4 0x001E0B88BC14
Link connectivity to LAN station: 0x001E0B88BC14

# /sbin/init.d/hpapa start
/sbin/init.d/hpapa started.
Please be patient. This may take about 40 seconds.
HP_APA_DEFAULT_PORT_MODE = MANUAL
/usr/sbin/hp_apa_util -S 0 MANUAL
/usr/sbin/lanadmin -X -g 0 5 900
New Group Capability = 5
/usr/sbin/lanadmin -X -t 0 1 900
New Port Priority = 1
/usr/sbin/hp_apa_util -S 4 MANUAL
/usr/sbin/lanadmin -X -g 4 5 900
New Group Capability = 5
/usr/sbin/lanadmin -X -t 4 0 900
New Port Priority = 0
lan900
/usr/sbin/lanadmin -X -l LB_MAC 900
New Load Balancing = 2
/usr/sbin/lanadmin -X -y on 900
New Hot Standby = ON
/usr/sbin/lanadmin -X -a 0 4 900
ERROR: Error: Speed mismatch for port 4

/sbin/init.d/hpapa Completed with failures.

# lanadmin -x 0
Speed = 100 Full-Duplex.
Autonegotiation = On.

# lanadmin -x 4
Speed = 1000 Full-Duplex.
Autonegotiation = On.

랜카드의 두 포트(0번, 4번)의 link 속도가 달라서 발생. 포트속도를 맞추어주던가, 링크 하나를 절단 하고 hpapa를 재실행. 이두 링크 살려두면 잘됨.

 

답글 남기기

Your email address will not be published.

%d bloggers like this: