AC6605V200R006C10SPC200外置portal认证服务器探测失败

发布时间:  2017-05-20 浏览次数:  341 下载次数:  0
问题描述

AC6605V200R006C10SPC200外置portal认证配置。为防止portal服务器故障终端无法接入,配置服务器探测功能。服务器探测一直处于Abnormal状态终端用户接入无线不弹portal认证页面直接上网。

portal服务器配置:

#
web-auth-server portal_huawei
 server-ip 172.17.57.200
 port 50200
 shared-key cipher xxxxxxxxx
 url-template huawei ciphered-parameter-name cpname iv-parameter-name iv-value key cipher xxxxxxxxx
 source-ip 100.1.1.1
 server-detect interval 100 max-times 5 critical-num 1 action log
 user-sync interval 100 max-times 5
#
[AC6605]display server-detect state
  Web-auth-server     :    portal_huawei
  Total-servers       :    1
  Live-servers        :    1
  Critical-num        :    1
  Status              :    Abnormal
  Ip-address               Status
  172.17.57.200            UP 

处理过程

<AC6605>debugging web all
<AC6605>debugging portal all 

<AC6605>terminal monitor
<AC6605>terminal debugging

[AC6605-web-auth-server-portal_huawei]
May 16 2017 03:56:26.844.5+08:00 AC6605 WEB/7/DEBUG:
[Web-Evt] Receive portal heart packet from portal server sucessfully.(sn=676,ip=172.17.57.200)
[AC6605-web-auth-server-portal_huawei]
May 16 2017 03:56:26.844.6+08:00 AC6605 WEB/7/DEBUG:
Send portal server heart ack packet to portal server successfully

[Web-Evt] Recv packet from socket, dst ip is 0x64010101
[AC6605-web-auth-server-portal_huawei]
May 16 2017 03:56:26.844.2+08:00 AC6605 WEB/7/DEBUG:
Received packet from socket (length = 32 Vrf = 0):
Version         : 2
Type            : portal heart
Method          : chap
SerialNo        : 676
RequestID       : 0
UserIP          : 0.0.0.0
ErrorCode       : 0
AttributeNumber : 0

[AC6605-web-auth-server-portal_huawei]
May 16 2017 03:56:26.844.8+08:00 AC6605 WEB/7/DEBUG:
Send packet to socket (length = 32 Vrf = 0):
Version         : 2
Type            : portal heart ack
Method          : chap
SerialNo        : 676
RequestID       : 0
UserIP          : 0.0.0.0
ErrorCode       : 0
AttributeNumber : 0

debugging信息显示portal服务器探测已经成功

 

根因

critical-num 状态为UP的服务器最小数目

当UP的服务器数小于等于Critical-num时,Status显示为Abnormal。

解决方案

修改服务器探测参数删除critical-num 1

#
web-auth-server portal_huawei
 server-ip 172.17.57.200
 port 50200
 shared-key cipher xxxxxxxxx
 url-template huawei ciphered-parameter-name cpname iv-parameter-name iv-value key cipher xxxxxxxxx
 source-ip 100.1.1.1
 server-detect interval 100 max-times 5 action log
 user-sync interval 100 max-times 5

#

END