行至水穷处 坐看“云”起时

Cloud Native ADN -> CNadn.Net

[irule]LB_SELECTED下的command:LB::server

LB::server
LB::server name

返回如下

20:26  192.168.162.254  warnings  tmm tmm[1045]: Rule test_length: baogong 10.7.20.240 80 

—————

LB::server addr 返回如下

20:27  192.168.162.254  warnings  tmm tmm[1045]: Rule test_length: 10.7.20.240 

LB::server pool 返回如下

20:31  192.168.162.254  warnings  tmm tmm[1045]: Rule test_length: baogong 

LB::server port 返回如下

20:32  192.168.162.254  warnings  tmm tmm[1045]: Rule test_length: 80 

LB::server priority

20:33  192.168.162.254  warnings  tmm tmm[1045]: Rule test_length: 1 

LB::server priority

  • Returns the priority of the currently selected pool member. If no server was selected (all servers down), returns null. If priority is not configured for the pool member, the default priority value of 1 is returned.

LB::server ratio

  • Returns the ratio value of the currently selected pool member. If no server was selected (all servers down), returns null. If ratio is not configured for the pool member, the default ratio value of 1 is returned.

LB::server weight

  • Returns the weighting of the currently selected pool member. If no server was selected (all servers down), returns null.

LB::server ripeness

  • Returns the ripeness information of the currently selected pool member. If no server was selected (all servers down), returns null.
  • 20:34  192.168.162.254  warnings  tmm tmm[1045]: Rule test_length: 0 
点赞

发表评论

电子邮件地址不会被公开。 必填项已用*标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据