发布时间: 2019-07-09 | 浏览次数: 700 | 下载次数: 0 | 作者: SU1001638317 | 文档编号: EKB1000084731
根据记录的信息发现双机热备时的优先级为49004,USG9520双机热备VGMP优先级怎么算的?
HRP_M<XDW_KF_HXFW2_9520_A>disp hrp state
13:58:42 2015/08/13
Role: active, peer: standby
Running priority: 49004, peer: 49004
Core state: normal, peer: normal
Backup channel usage: 0%
Stable time: 0 days, 0 hours, 2 minutes
根据优先级的计算法则(USG9520无SFU,不参与SFU优先级计算):
•每块接口板的优先级计算为:1000 * (接口板上插卡个数)。若有n块接口板在位,则设备的优先级为45000 + n块接口板的优先级之和。
•每块SPU板的优先级计算为:2 * (业务板上CPU个数),若有n块SPU板在位,则设备的优先级为45000 + n块SPU板的优先级之和.
•SFU板默认不参加优先级计算,但是为了提高系统的可靠性,当SFU板在位个数小于指定的在位个数时,优先级会降低,具体如下:
USG9310和USG9320 SFU是n+1备份(n默认值为3)。
USG9520无SFU,不参与SFU优先级计算。
USG9560 SFU是n+1备份(n默认值为2)。
USG9580 SFU是n+1备份(n默认值为3)。
当SFU板在位个数m小于指定在位个数n时,设备优先级会降低,降低的优先级计算公式为45000 -2 * (n-m)。
通过查看接口板及插卡数量,以及查看SPU板的CPU个数,如下:
HRP_M<XDW_KF_HXFW2_9520_A> display device pic-status
Pic-status information in Chassis 1:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SLOT PIC Status Type Port_count Init_result Logic down
1 0 Registered ETH_10G_LAN 1 SUCCESS SUCCESS
1 1 Registered ETH_20XGF_NB_CARD 20 SUCCESS SUCCESS
2 0 Registered LAN_WAN_10G_CARD 1 SUCCESS SUCCESS
2 1 Registered ETH_12XGE_CARD 12 SUCCESS SUCCESS
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
查看SPU板数量
HRP_M<XDW_KF_HXFW2_9520_A> disp device
13:08:19 2015/08/13
USG9520's Device status:
Slot # Type Online Register Status Primary
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1 LPU Present Registered Normal NA
2 LPU Present Registered Normal NA
3 SPU Present Registered Normal NA
4 MPU Present NA Normal Master
5 MPU Present Registered Normal Slave
6 CLK Present Registered Normal Master
7 CLK Present Registered Normal Slave
8 PWR Present Registered Normal NA
9 PWR Present Registered Normal NA
10 FAN Present Registered Normal NA
在SPU板上查看CPU个数:
HRP_M<XDW_KF_HXFW2_9520_A>disp dev 3
16:29:30 2015/08/13
slot3's detail information:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Description:40G X3 Firewall Service Processing Unit ,with HW General Security Platform Software,include SPUC
and 1*SPCC01
Board status: Normal
Register: Registered
Uptime: 2015/08/13 15:02:47
Clock information:
State item State
Current syn-clock: 5
Syn-clock state: Locked VCXO_OK REF_OK
Statistic information:
Statistic item Statistic number
SERDES interface link lost: 0
MPU switchs: 0
Syn-clock switchs: 0
CPU1 information:
Uptime: 2015/08/13 15:04:27
CPU Online: Present
CPU Register: Registered
CPU SDRAM Memory Size: 16G
CPU Mem Usage(%): 26%
VCPUs Average Utilization(%): 4%
VCPU Utilization:
VCPU0 :7 % VCPU1 :2 % VCPU2 :4 % VCPU3 :4 %
VCPU4 :5 % VCPU5 :5 % VCPU6 :5 % VCPU7 :5 %
VCPU8 :5 % VCPU9 :4 % VCPU10 :4 % VCPU11 :4 %
VCPU12 :4 % VCPU13 :5 % VCPU14 :5 % VCPU15 :5 %
VCPU16 :5 % VCPU17 :4 % VCPU18 :4 % VCPU19 :4 %
VCPU20 :4 % VCPU21 :5 % VCPU22 :6 % VCPU23 :6 %
VCPU24 :4 % VCPU25 :4 % VCPU26 :4 % VCPU27 :4 %
VCPU28 :4 % VCPU29 :4 % VCPU30 :7 % VCPU31 :4 %
CPU3 information:
Uptime: 2015/08/13 15:05:09
CPU Online: Present
CPU Register: Registered
CPU SDRAM Memory Size: 16G
CPU Mem Usage(%): 26%
VCPUs Average Utilization(%): 4%
VCPU Utilization:
VCPU0 :7 % VCPU1 :2 % VCPU2 :4 % VCPU3 :4 %
VCPU4 :4 % VCPU5 :5 % VCPU6 :5 % VCPU7 :6 %
VCPU8 :5 % VCPU9 :4 % VCPU10 :4 % VCPU11 :4 %
VCPU12 :5 % VCPU13 :5 % VCPU14 :5 % VCPU15 :6 %
VCPU16 :4 % VCPU17 :4 % VCPU18 :5 % VCPU19 :4 %
VCPU20 :4 % VCPU21 :5 % VCPU22 :5 % VCPU23 :6 %
VCPU24 :5 % VCPU25 :3 % VCPU26 :4 % VCPU27 :4 %
VCPU28 :5 % VCPU29 :5 % VCPU30 :7 % VCPU31 :4 %
CPU6 information:
Uptime: 2015/08/13 15:02:47
CPU Online: Present
CPU Register: Registered
CPU SDRAM Memory Size: 2G
CPU Mem Usage(%): 38%
VCPUs Average Utilization(%): 3%
VCPU Utilization:
VCPU0 :3 % VCPU1 :0 % VCPU2 :0 % VCPU3 :0 %
VCPU4 :0 % VCPU5 :0 %
PIC0:SPC-S-40-E8KE information:
Description:40G Firewall Processing Card,with HW General Security Platform Software
Uptime: 2015/08/13 15:04:27
Card type: SPU_CARD_TYPE_SPCC REGISTERED
PIC1: information:
Description:Service Processing Card,1*1
Uptime: 2015/08/13 15:05:09
Card type: SPU_CARD_TYPE_SPCC REGISTERED
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
最后的优先级应该为45000+1000*4+2*3=49006,为什么会为49004呢?这是因为SPU里的CPU6 是管理CPU,不参与优先级的计算,所以最后的优先级为49004。
附:USG9000 VGMP优先级的计算方法
USG9000内置一个VGMP管理组,初始优先级为45000。每块单板的优先级计算如下:
SFU板默认不参加优先级计算,但是为了提高系统的可靠性,当SFU板在位个数小于指定的在位个数时,优先级会降低,具体如下:
当SFU板在位个数m小于指定在位个数n时,设备优先级会降低,降低的优先级计算公式为45000 -2 * (n-m)。
每个链路或接口故障时,观察该链路或接口的VGMP管理组的优先级将会降低2。
单板故障时,观察该单板的VGMP管理组的优先级降低的数值计算方法与上面优先级计算方法一致。