0
点赞
收藏
分享

微信扫一扫

VMware日志分析实例

王传学 2022-02-16 阅读 71

简介

开始对VMware相关的日志进行分析。有机会就根据自己的理解来写一些体会。对于之日分析VMware日志做一个参考。

hostd

重启

2022-02-14T01:51:47.572Z info hostd[2100340] [Originator@6876 sub=Vimsvc.TaskManager opID=vcd-a7699869-47d6-4285-a19c-e4f7f8170684;activity=urn:uuid:643782d2-3372-4951-9c12-7f62b9a51f4c-13-82-3a45 user=vpxuser:VSPHERE-CLOUD1.LOCAL\Administrator] Task Created : haTask-1912-vim.VirtualMachine.powerOff-1304000
2022-02-14T01:51:47.573Z info hostd[2100354] [Originator@6876 sub=Vimsvc.ha-eventmgr opID=vcd-a7699869-47d6-4285-a19c-e4f7f8170684;activity=urn:uuid:643782d2-3372-4951-9c12-7f62b9a51f4c-13-82-3a45 user=vpxuser:VSPHERE-CLOUD1.LOCAL\Administrator] Event 9114 : gc1-b-yo8K on  i11.lab.com in ha-datacenter is stopping

vmkwarning.log

重启的log

这个也是一个重启的时候,会打印的log

2022-02-08T10:06:14.863Z cpu16:2098042)WARNING: nsx-dvfilter-switch-security: SwSecDestroyFilter:500: nic-23701382-eth0-dvfilter-generic-vmware-swsec.1: Filter deleted: dvfg = 0x430efe0ca470 secFilter = 0x430efe0d0090

vmkernel.log

开始创建VM

下面是创建虚拟设备,disk相关的虚拟设备。这里的world 23701382 应该是VMware内部的VM id。可以根据这个log来判断VM什么时候重建。
23701399 是当前VM创建起来后的一个代码,临时的,下一次reboot,会变。

2022-02-08T10:06:14.836Z cpu1:23701399)VSCSI: 6602: handle 21026(vscsi0:0):Destroying Device for world 23701382 (pendCom 0)
拆设备,
重新建设备,预示着 VM发生了reboot。
2022-02-10T06:30:56.275Z cpu42:23701399)VSCSI: 3782: handle 21171(vscsi0:1):Using sync mode due to sparse disks
2022-02-10T06:30:56.275Z cpu42:23701399)VSCSI: 3810: handle 21171(vscsi0:1):Creating Virtual Device for world 23701382 (FSS handle 2071460559) numBlocks=44040192 (bs=512)
2022-02-10T06:30:56.275Z cpu42:23701399)VSCSI: 273: handle 21171(vscsi0:1):Input values: res=0 limit=-2 bw=-1 Shares=1000

举报

相关推荐

0 条评论