BIGIP维护文档.docx
- 文档编号:2105719
- 上传时间:2023-05-02
- 格式:DOCX
- 页数:17
- 大小:42.30KB
BIGIP维护文档.docx
《BIGIP维护文档.docx》由会员分享,可在线阅读,更多相关《BIGIP维护文档.docx(17页珍藏版)》请在冰点文库上搜索。
BIGIP维护文档
1.F5设备关键信息采集
CPU占用率获取
命令行:
#tmstat
在最顶上已行即是CPU占用率
通过SNMP系统进行获取的方式
采集以下值
totalcycles(sysStatTmTotalCycles-.1.3.6.1.4.1.3375.2.1.1.2.1.41)
idlecycles(sysStatTmIdleCycles-.1.3.6.1.4.1.3375.2.1.1.2.1.42)和
sleepcycles(sysStatTmSleepCycles-.1.3.6.1.4.1.3375.2.1.1.2.1.43).大约每隔10秒钟执行一次以上采集动作
2.对每一个值,计算其增量
针对两次获取到的结果,示例如下
DeltaTmTotalCycles=sysStatTmTotalCycles2-sysStatTmTotalCycles1
DeltaTmIdleCycles=sysStatTmIdleCycles2-sysStatTmIdleCycles1
DeltaTmSleepCycles=sysStatTmSleepCycles2-sysStatTmSleepCycles1
3然后根据以下公式计算CPU利用率:
CPUusage=((DeltaTmTotalCycles-(DeltaTmIdleCycles+DeltaTmSleepCycles))/DeltaTmTotalCycles)*100
最终的CPUusage则为该时段的平均CPU占用率。
内存占用率的获取
命令行:
#bmemory
显示结果的第一行包括系统的总内存数量和当前已经使用的内存数量
SNMP:
通过OIDsysStatMemoryUsed(.1.3.6.1.4.1.3375.2.1.1.2.1.45)获取
测试命令及输出:
[root@bigip4:
Active]config#snmpwalk-cpublic-v2clocalhost-On.1.3.6.1.4.1.3375.2.1.1.2.1.45
.1.3.6.1.4.1.3375.2.1.1.2.1.45.0=Counter64:
384110592
系统总连接数:
命令行参数:
#bglobalshow
输出如下:
[root@bigip1:
Active]config#bglobalshow
GLOBALSTATISTICS--
Clientside
(cur,max,tot)=(32,45,244142)//此处为当前Client端的并发连接数
(pkts,bits)in=(719555,424.4M),out=(342699,403.0M)
PVA(cur,max,tot)=(0,0,0)
PVA(pkts,bits)in=(0,0),out=(0,0)
Serverside
(cur,max,tot)=(32,44,234935)//此处为当前Server端的并发连接数
(pkts,bits)in=(716344,422.7M),out=(139137,315.1M)
PVA(cur,max,tot)=(0,0,0)
PVA(pkts,bits)in=(0,0),out=(0,0)
PVAconnections(curr,tot)=(0,0)
TMMcycles(total,idle,sleep)=(213.1T,121.3T,91.48T)
Denials(maint,addrfull,servfull)=(0,0,0)
(noserv,nolisten,nomem,nolic)=(0,10150,0,0)
CPU(total,active,multi-mode)=(1,1,UP)
Memory(total,used)=(768.0M,196.3M)
Packets(drop,errin,errout)=(0,0,0)
HTTPrequests=0
Authorization--
results(yes,no,defer,err)=(0,0,0,0)
sessions(cur,max,tot)=(0,0,0)
OneConnect(curr,max,reuse,new)=(0,0,0,0)
Streamreplacements=0
XMLprofileerrors=0
[root@bigip1:
Active]config#
SNMP:
通过以下OID获取:
sysStatClientCurConns(.1.3.6.1.4.1.3375.2.1.1.2.1.8)
测试命令及输出:
[root@bigip2:
Active]config#snmpwalk-cpublic-v2clocalhost-On.1.3.6.1.4.1.3375.2.1.1.2.1.8
.1.3.6.1.4.1.3375.2.1.1.2.1.8.0=Counter64:
12
系统新建连接数
命令行指令:
bigtop
注意,bigtop输出在默认情况下为4秒钟统计值,每秒新建连接需要将该值除以4。
SNMP:
通过以下OID获取:
sysStatClientTotConns(.1.3.6.1.4.1.3375.2.1.1.2.1.7)/time
其中time为两次SNMPGet的间隔时间。
系统吞吐流量:
通过以下OID获取:
客户端入流量:
(sysStatClientBytesIn(.1.3.6.1.4.1.3375.2.1.1.2.1.3)*8)/time
客户端出流量:
(sysStatClientBytesOut(.1.3.6.1.4.1.3375.2.1.1.2.1.5)*8)/time
服务器端入流量:
(sysStatServerBytesIn(.1.3.6.1.4.1.3375.2.1.1.2.1.10)*8)/time
服务器端出流量:
(sysStatServerBytesOut(.1.3.6.1.4.1.3375.2.1.1.2.1.12)*8)/
time
其中time为两次SNMPGet的间隔时间。
VS流量获取:
命令行参数:
#bvsshow
将输出所有VS的当前状态
SNMP:
VS对Client端的流量的获取
VSClientThroughtput=VSClientByteOut+VSClientByteIn
VSClientByteOut的OID为:
.1.3.6.1.4.1.3375.2.2.10.2.3.1.9
VSClientByteIn的OID为:
.1.3.6.1.4.1.3375.2.2.10.2.3.1.7
以VSClientByteOut为例:
测试是否能看到值:
[root@gw:
Active]config#snmpwalk-cpublic-v2clocalhost-On.1.3.6.1.4.1.3375.2.2.10.2.3.1.9
.1.3.6.1.4.1.3375.2.2.10.2.3.1.9.7.118.115.95.116.101.115.116=Counter64:
35942
.1.3.6.1.4.1.3375.2.2.10.2.3.1.9.15.102.112.95.108.97.98.95.111.117.116.98.111.117.110.100=Counter64:
401095776
.1.3.6.1.4.1.3375.2.2.10.2.3.1.9.15.111.102.102.105.99.101.95.111.117.116.98.111.117.110.100=Counter64:
720464695
.1.3.6.1.4.1.3375.2.2.10.2.3.1.9.16.102.112.49.46.102.53.108.97.98.46.118.115.46.116.101.108=Counter64:
254054212
.1.3.6.1.4.1.3375.2.2.10.2.3.1.9.16.102.112.50.46.102.53.108.97.98.46.118.115.46.99.110.99=Counter64:
65675400
.1.3.6.1.4.1.3375.2.2.10.2.3.1.9.16.102.112.50.46.102.53.108.97.98.46.118.115.46.116.101.108=Counter64:
250312237
.1.3.6.1.4.1.3375.2.2.10.2.3.1.9.16.102.112.51.46.102.53.108.97.98.46.118.115.46.99.110.99=Counter64:
44321163
.1.3.6.1.4.1.3375.2.2.10.2.3.1.9.16.102.112.51.46.102.53.108.97.98.46.118.115.46.116.101.108=Counter64:
222635369
.1.3.6.1.4.1.3375.2.2.10.2.3.1.9.16.102.112.52.46.102.53.108.97.98.46.118.115.46.99.110.99=Counter64:
4929087
.1.3.6.1.4.1.3375.2.2.10.2.3.1.9.16.102.112.52.46.102.53.108.97.98.46.118.115.46.116.101.108=Counter64:
127996782
.1.3.6.1.4.1.3375.2.2.10.2.3.1.9.16.102.112.95.98.105.103.105.112.95.108.97.98.95.116.101.108=Counter64:
771582372
.1.3.6.1.4.1.3375.2.2.10.2.3.1.9.19.102.112.49.46.102.53.108.97.98.46.99.110.46.118.115.46.99.110.99=Counter64:
54347649
.1.3.6.1.4.1.3375.2.2.10.2.3.1.9.19.102.112.95.98.105.103.105.112.95.108.97.98.95.118.115.95.99.110.99=Counter64:
1319029404
.1.3.6.1.4.1.3375.2.2.10.2.3.1.9.24.118.115.95.50.49.57.95.49.52.50.95.57.52.95.49.56.57.95.53.51.95.103.116.109=Counter64:
325004
.1.3.6.1.4.1.3375.2.2.10.2.3.1.9.25.118.115.95.50.49.49.95.49.53.53.95.49.54.51.95.49.55.51.95.53.51.95.103.116.109=Counter64:
311258
获取VS的Index和名称:
[root@gw:
Active]config#snmpwalk-cpublic-v2clocalhost-On.1.3.6.1.4.1.3375.2.2.10.1.2.1.1
.1.3.6.1.4.1.3375.2.2.10.1.2.1.1.7.118.115.95.116.101.115.116=STRING:
vs_test
.1.3.6.1.4.1.3375.2.2.10.1.2.1.1.15.102.112.95.108.97.98.95.111.117.116.98.111.117.110.100=STRING:
fp_lab_outbound
.1.3.6.1.4.1.3375.2.2.10.1.2.1.1.15.111.102.102.105.99.101.95.111.117.116.98.111.117.110.100=STRING:
office_outbound
.1.3.6.1.4.1.3375.2.2.10.1.2.1.1.16.102.112.49.46.102.53.108.97.98.46.118.115.46.116.101.108=STRING:
fp1.f5lab.vs.tel
.1.3.6.1.4.1.3375.2.2.10.1.2.1.1.16.102.112.50.46.102.53.108.97.98.46.118.115.46.99.110.99=STRING:
c
.1.3.6.1.4.1.3375.2.2.10.1.2.1.1.16.102.112.50.46.102.53.108.97.98.46.118.115.46.116.101.108=STRING:
fp2.f5lab.vs.tel
.1.3.6.1.4.1.3375.2.2.10.1.2.1.1.16.102.112.51.46.102.53.108.97.98.46.118.115.46.99.110.99=STRING:
c
.1.3.6.1.4.1.3375.2.2.10.1.2.1.1.16.102.112.51.46.102.53.108.97.98.46.118.115.46.116.101.108=STRING:
fp3.f5lab.vs.tel
.1.3.6.1.4.1.3375.2.2.10.1.2.1.1.16.102.112.52.46.102.53.108.97.98.46.118.115.46.99.110.99=STRING:
c
.1.3.6.1.4.1.3375.2.2.10.1.2.1.1.16.102.112.52.46.102.53.108.97.98.46.118.115.46.116.101.108=STRING:
fp4.f5lab.vs.tel
.1.3.6.1.4.1.3375.2.2.10.1.2.1.1.16.102.112.95.98.105.103.105.112.95.108.97.98.95.116.101.108=STRING:
fp_bigip_lab_tel
.1.3.6.1.4.1.3375.2.2.10.1.2.1.1.19.102.112.49.46.102.53.108.97.98.46.99.110.46.118.115.46.99.110.99=STRING:
c
.1.3.6.1.4.1.3375.2.2.10.1.2.1.1.19.102.112.95.98.105.103.105.112.95.108.97.98.95.118.115.95.99.110.99=STRING:
fp_bigip_lab_vs_cnc
.1.3.6.1.4.1.3375.2.2.10.1.2.1.1.24.118.115.95.50.49.57.95.49.52.50.95.57.52.95.49.56.57.95.53.51.95.103.116.109=STRING:
vs_219_142_94_189_53_gtm
.1.3.6.1.4.1.3375.2.2.10.1.2.1.1.25.118.115.95.50.49.49.95.49.53.53.95.49.54.51.95.49.55.51.95.53.51.95.103.116.109=STRING:
vs_211_155_163_173_53_gtm
这里的顺序和上面的顺序是一样的,在.1.3.6.1.4.1.3375.2.2.10.1.2.1.1后面就是每个VS名称所对应的OID,把这个OID加到.1.3.6.1.4.1.3375.2.2.10.2.3.1.9后面就是ltmVirtualServStatClientBytesOut的特定VS的OID值了。
如果需要获取单个VS数据,以fp_lab_outbound为例:
[root@gw:
Active]config#snmpwalk-cpublic-v2clocalhost-On.1.3.6.1.4.1.3375.2.2.10.2.3.1.9.15.102.112.95.108.97.98.95.111.117.116.98.111.117.110.100
.1.3.6.1.4.1.3375.2.2.10.2.3.1.9.15.102.112.95.108.97.98.95.111.117.116.98.111.117.110.100=Counter64:
401095776
VS状态的获取
命令行参数:
#bvsshow
将输出所有VS的当前状态
VirtualServer状态的OID是.1.3.6.1.4.1.3375.2.2.10.1.2.1.22,同样的,在后面加上VS名称OID就可以得到值了,值得类型有red,green和blue。
[root@gw:
Active]config#snmpwalk-cpublic-v2clocalhost-On.1.3.6.1.4.1.3375.2.2.10.1.2.1.22
.1.3.6.1.4.1.3375.2.2.10.1.2.1.22.7.118.115.95.116.101.115.116=INTEGER:
green
(1)
.1.3.6.1.4.1.3375.2.2.10.1.2.1.22.15.102.112.95.108.97.98.95.111.117.116.98.111.117.110.100=INTEGER:
green
(1)
.1.3.6.1.4.1.3375.2.2.10.1.2.1.22.15.111.102.102.105.99.101.95.111.117.116.98.111.117.110.100=INTEGER:
green
(1)
.1.3.6.1.4.1.3375.2.2.10.1.2.1.22.16.102.112.49.46.102.53.108.97.98.46.118.115.46.116.101.108=INTEGER:
green
(1)
.1.3.6.1.4.1.3375.2.2.10.1.2.1.22.16.102.112.50.46.102.53.108.97.98.46.118.115.46.99.110.99=INTEGER:
green
(1)
.1.3.6.1.4.1.3375.2.2.10.1.2.1.22.16.102.112.50.46.102.53.108.97.98.46.118.115.46.116.101.108=INTEGER:
green
(1)
.1.3.6.1.4.1.3375.2.2.10.1.2.1.22.16.102.112.51.46.102.53.108.97.98.46.118.115.46.99.110.99=INTEGER:
green
(1)
.1.3.6.1.4.1.3375.2.2.10.1.2.1.22.16.102.112.51.46.102.53.108.97.98.46.118.115.46.116.101.108=INTEGER:
green
(1)
.1.3.6.1.4.1.3375.2.2.10.1.2.1.22.16.102.112.52.46.102.53.108.97.98.46.118.115.46.99.110.99=INTEGER:
red(3)
.1.3.6.1.4.1.3375.2.2.10.1.2.1.22.16.102.112.52.46.102.53.108.97.98.46.118.115.46.116.101.108=INTEGER:
red(3)
.1.3.6.1.4.1.3375.2.2.10.1.2.1.22.16.102.112.95.98.105.103.105.112.95.108.97.98.95.116.101.108=INTEGER:
green
(1)
.1.3.6.1.4.1.3375.2.2.10.1.2.1.22.19.102.112.49.46.102.53.108.97.98.46.99.110.46.118.115.46.99.110.99=INTEGER:
green
(1)
.1.3.6.1.4.1.3375.2.2.10.1.2.1.22.19.102.112.95.98.105.103.105.112.95.108.97.98.95.118.115.95.99.110.99=INTEGER:
green
(1)
.1.3.6.1.4.1.3375.2.2.10.1.2.1.22.24.118.115.95.50.49.57.95.49.52.50.95.57.52.95.49.56.57.95.53.51.95.103.116.109=INTEGER:
blue(4)
.1.3.6.1.4.1.3375.2.2.10.1.2.1.22.25.118.115.95.50.49.49.95.49.53.53.95.49.54.51.95.49.55.51.95.53.51.95.103.116.109=INTEGER:
blue(4)
2.UCS的备份与恢复:
V9
ThisSolutiondescribeshowtobackupandrestoreyourconfigurationdatausingaUCSconfigurationarchive.UnlessyourconfigurationhasbeencustomizedtorunprogramsthatarenotnormallysupportedontheBIG-IPsystem,theUCSarchivewillcontainallfilesrequiredtorestoreyourcurrentconfigurationtoanewsystem.
The.ucsfilecontainsthefollowingconfigurationdata:
∙AllBIG-IP-specificconfigurationfiles
∙BIG-IPproductlicenses
∙Useraccountsandpasswordinformation
∙DNSzonefiles
∙InstalledSSLcertificatesandkeys
B
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- BIGIP 维护 文档