前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >radware负载均衡器常用维护查询命令

radware负载均衡器常用维护查询命令

原创
作者头像
网络技术联盟站
修改2021-11-19 08:03:15
9700
修改2021-11-19 08:03:15
举报

今天给大家带来的是radware负载均衡器常用维护查询命令。

查看接口地址
appdirector#net ip
Interface Table
IP Address Network Mask If Number VlanTag
1.1.1.1 255.255.255.0 8 0
10.130.31.51 255.255.255.224 17 0
查看路由表
appdirector#net route table
Routing Table
Destination Network Mask Next Hop Interface Type
Address Index
0.0.0.0 0.0.0.0 10.130.31.62 17 remote
1.1.1.0 255.255.255.0 0.0.0.0 8 local
10.130.31.32 255.255.255.224 0.0.0.0 17 local
查看CPU
appdirector #sys os cpu
Device Resource Utilization
RS Resource Utilization : 0
RE Resource Utilization : 0
Maximum Utilization : 0

如果有一项值超过 90,就需要引起注意

查看WSD的全部配置
WSD#sys config immediate
!
!Device Configuration


!Date: 19-03-2007 12:07:07
!DeviceDescription: AppDirector Global with Cookie Persistency
!Base MAC Address: 00:03:b2:2e:20:40
!Software Version: 1.03.04 (build Feb 14 2007, 22:29:01)
!
net route table create 0.0.0.0 0.0.0.0 10.130.31.62 -i 17
manage snmp community-table create 0.0.0.0 public -ca super -st trapsEnable
system tune bridge-fft-table set 1024
查看当前设备的版本信息
# system device info
查看当前设备的 License
#system license get
显示日志信息
#sys logfile
查看接口地址
appdirector#net ip
Interface Table
IP Address Network Mask If Number VlanTag
1.1.1.1 255.255.255.0 8 0
10.130.31.51 255.255.255.224 17 0
查看路由表
appdirector#net route table
Routing Table
Destination Network Mask Next Hop Interface Type
Address Index
0.0.0.0 0.0.0.0 10.130.31.62 17 remote
1.1.1.0 255.255.255.0 0.0.0.0 8 local
10.130.31.32 255.255.255.224 0.0.0.0 17 local
查看CPU
appdirector #sys os cpu
Device Resource Utilization
RS Resource Utilization : 0
RE Resource Utilization : 0
Maximum Utilization : 0

如果有一项值超过 90,就需要引起注意

查看服务器的连接用户数
appdirector # appdirector farm server table
Server Table
Farm Address Server Address Server Name Operational Attached Users
Status


10.130.31.33 10.130.31.34 server-1 Active 3
10.130.31.33 10.130.31.35 server-2 Active 4
10.130.31.33 10.130.31.36 server-3 Active 0
10.130.31.33 10.130.31.37 server-4 Active 0
10.130.31.33 10.130.31.38 server-5 Active 0
10.130.31.33 10.130.31.39 server-6 Active 0
10.130.31.33 10.130.31.40 server-7 Active 0
10.130.31.33 10.130.31.41 server-8 Active 0
查看AppDirector 的会话表
appdirector # appdirector client table
RS CLIENTS Table
Total number of clients: 2
Client Address Src P Dst P Farm Address Server Address Attach Date
NAT Address NAT P Srv P L4 Policy Addr Client Type Attach Time
10.130. 31.226 56887 161 10.130. 31. 33 10.130. 31. 34 02-03-2006
0. 0. 0. 0 0 161 0. 0. 0. 0 Dynamic 12:01:02
10.130. 31.226 0 0 10.130. 31. 33 10.130. 31. 34 02-03-2006
0. 0. 0. 0 0 0 0. 0. 0. 0 Dynamic 11:44:13

注意观察客户表的大小 , 不要超过太大值 . 一般情况下 , 几千条是正常的 .这个表的大小与Farm中设置的老化时间有很大关系 , 老化时间越短 , 表也就越小 .

查看AppDirector 的动态 Cookie 表
appdirector # sys interal appdirector session-id-info
查看AppDirector 的命令全部配置
appdirector#sys config immediate
!
!Device Configuration
!Date: 19-03-2007 12:07:07
!DeviceDescription: AppDirector Global with Cookie Persistency
!Base MAC Address: 00:03:b2:2e:20:40
!Software Version: 1.03.04 (build Feb 14 2007, 22:29:01)
!
net route table create 0.0.0.0 0.0.0.0 10.130.31.62 -i 17
manage snmp community-table create 0.0.0.0 public -ca super -st trapsEnable
system tune bridge-fft-table set 1024
消除命令行显示乱码命令
manage terminal grid-mode set off

由于系统语言的区别, 导致命令行制表符显示乱码, 以上命令消除了制表符, 使得负载均衡设备正常输出字符

查看ip地址
AppDirector#net ip-interface
net ip-interface help:
<get> <IP Address>
set <IP Address> <-switch value>
destroy/del <IP Address>
create/add <IP Address> <Network Mask> <If Number> <-switch value>
help <-switch>
Switches:
-i : If Number
-m : Network Mask
-f : Fwd Broadcast
-ba : Broadcast Addr
-v : VlanTag
查看负载均衡设备路由
AppDirector#net route table
net route table help:
<get> <Destination Address> <Network Mask> <Next Hop>


set <Destination Address> <Network Mask> <Next Hop> <-switch
value>
destroy/del <Destination Address> <Network Mask> <Next Hop>
create/add <Destination Address> <Network Mask> <Next Hop> <-switch
value>
help <-switch>
Switches:
-i : Interface Index
-t : Type
-m : Metric
查看物理端口状态
AppDirector#system inf-stats

看物理端口是否有丢包或者错误数据包

查看vrrp 主备工作状态
AppDirector#redundancy vrrp virtual-routers
查看cpu利用率
AppDirector#system os cpu

对于AS4设备(内网 web层)的查看命令是

system uti
查看负载均衡设备 clent table

client table 是负载均衡设备总的会话集合

AppDirector#appdirector client table

会话表的总数量在第一行:

Display the client table:
Client Address: The client's address
Src P: The client's source port
Dst P: The destination port to which the client
has connected
Farm Name: The farm name of the client
Attach Date: The date of the client first packet
Server Address: The address of the server to which the
client has been redirected
Client Address: The client's NAT address
NAT P: The client's NAT source port
Srv P: The port on the server to which the client
was redirected
VIP: The VIP address of the client
Attach Time: The time of the client first packet
Client Type: The type of the connection
查看每个 servers 的会话数以及健康情况
AppDirector#appdirector farm server table

Not in service 表示健康检查失败,不发流量给它

Active 表示健康检查成功,发流量给它

appdirector farm server table help:
<get> <Farm Name> <Server Address> <Server Port>
set <Farm  Name> <Server Address> <Server  Port> <-switch  value>
destroy/del <Farm Name> <Server Address> <Server Port>
create/add <Farm  Name> <Server Address> <Server  Port> <-switch  value>
help <-switch>
Switches:
-sn : Server Name
-w : Weight
-om : Operation Mode
-st : Type
-cl : Connection Limit
-as : Admin Status
-bl : Bandwidth Limit
-rt : Redirect To
-cn : Client NAT
-sd : Server Description
-rs : Response Threshold [ms]
-ba : Backup Server Address
-pm : Backup Preemption
-nr : Client NAT Address Range
查看系统配置
AppDirector#system config immediate

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • 查看接口地址
  • 查看路由表
  • 查看CPU
  • 查看WSD的全部配置
  • 查看当前设备的版本信息
  • 查看当前设备的 License
  • 显示日志信息
  • 查看接口地址
  • 查看路由表
  • 查看CPU
  • 查看服务器的连接用户数
  • 查看AppDirector 的会话表
  • 查看AppDirector 的动态 Cookie 表
  • 查看AppDirector 的命令全部配置
  • 消除命令行显示乱码命令
  • 查看ip地址
  • 查看负载均衡设备路由
  • 查看物理端口状态
  • 查看vrrp 主备工作状态
  • 查看cpu利用率
  • 查看负载均衡设备 clent table
  • 查看每个 servers 的会话数以及健康情况
  • 查看系统配置
相关产品与服务
负载均衡
负载均衡(Cloud Load Balancer,CLB)提供安全快捷的流量分发服务,访问流量经由 CLB 可以自动分配到云中的多台后端服务器上,扩展系统的服务能力并消除单点故障。负载均衡支持亿级连接和千万级并发,可轻松应对大流量访问,满足业务需求。
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档