ESXi: on the console/ssh, when a moved VM pauses during power-on: show which VMs have messages waiting, then answer them
Posted by jpluimers on 2022/01/27
First the script that display messages for all virtual machines, vim-cmd-display-messages-for-all-VMs.sh
:
#!/bin/sh vmids=`vim-cmd vmsvc/getallvms | sed -n -E -e "s/^([[:digit:]]+)\s+((\S.+\S)?)\s+(\[\S+\])\s+(.+\.vmx)\s+(\S+)\s+(vmx-[[:digit:]]+)\s*?((\S.+)?)$/\1/p"` for vmid in ${vmids} ; do powerState=`vim-cmd vmsvc/power.getstate ${vmid} | sed '1d'` name=`vim-cmd vmsvc/get.config ${vmid} | sed -n -E -e '/\(vim.vm.ConfigInfo\) \{/,/files = \(vim.vm.FileInfo\) \{/ s/^ +name = "(.*)",.*?/\1/p'` vmPathName=`vim-cmd vmsvc/get.config ${vmid} | sed -n -E -e '/files = \(vim.vm.FileInfo\) \{/,/tools = \(vim.vm.ToolsConfigInfo\) \{/ s/^ +vmPathName = "(.*)",.*?/\1/p'` echo "Messages for VM with id ${vmid} which has power state ${powerState} (name = ${name}; vmPathName = ${vmPathName})." vim-cmd vmsvc/message ${vmid} done exit 0
It is very similar to vim-cmd-reload-all-VM-vmx-configurations.sh
from Source: ESXi: reloading all virtual machines from their (potentially) vmx files.
Messages I know either equal “No message
” or are about “This virtual machine may have been moved or copied.
“
If there is no available message, then you always get the stock message No message.
, so this is something you can use as a check in scripts.
The only messages I know of (and the only one I could find when searching for [Wayback] “vim-cmd vmsvc/message” – Google Search) are like these (where #
is a number, like 18
, 23
, 5910112
or 6233874
: they are unique messageId values so you can refer to them when answering the message):
- ESXi 4.x era (from [Wayback] Answering a virtual machine related question from the command line (1026835)):
Virtual machine message #: msg.uuid.altered:This virtual machine may have been moved or copied. To configure certain management and networking features VMware ESX needs to know which. Did you move this virtual machine, or did you copy it? If you don't know, answer "I copied it". 0. Cancel (Cancel) 1. I _moved it (I _moved it) 2. I _copied it (I _copied it) [default]
- ESXi 5.x era (from [Wayback] Starting a virtual machine from the ESXi CLI pauses forever | viktorious.nl – Virtualization & Cloud Management):
Virtual machine message #: msg.uuid.altered:This virtual machine may have been moved or copied. To configure certain management and networking features VMware ESX needs to know which. Did you move this virtual machine, or did you copy it? If you don't know, answer "I copied it". 0. Cancel (Cancel) 1. I moved it (I moved it) 2. I copied it (I copied it) [default]
- ESXi 5.5 era (from [Wayback] Moving a powered off VM from CLI · RR Labs):
Virtual machine message #: This virtual machine might have been moved or copied. In order to configure certain management and networking features, VMware ESX needs to know if this virtual machine was moved or copied. If you don't know, answer "I Copied It". 0. Cancel (Cancel) 1. button.uuid.movedTheVM (I Moved It) 2. button.uuid.copiedTheVM (I Copied It) [default]
- ESXi 6.5 (one of my own machines):
Virtual machine message #: This virtual machine might have been moved or copied. In order to configure certain management and networking features, VMware ESX needs to know if this virtual machine was moved or copied. If you don't know, answer "I Copied It". 0. button.uuid.cancel (Cancel) 1. button.uuid.movedTheVM (I Moved It) 2. button.uuid.copiedTheVM (I Copied It) [default]
You get the pending message for a specific machine 25
using the vim-cmd vmsvc/message 25
like here:
# vim-cmd vmsvc/message 25 Virtual machine message 5970112: This virtual machine might have been moved or copied. In order to configure certain management and networking features, VMware ESX needs to know if this virtual machine was moved or copied. If you don't know, answer "I Copied It". 0. button.uuid.cancel (Cancel) 1. button.uuid.movedTheVM (I Moved It) 2. button.uuid.copiedTheVM (I Copied It) [default]
The “[default]
” will automatically be answered on ESXi 6.5 after four (4) minutes. For this, I got two (2) identical lines of log in /var/log/hostd.log
for this:
2021-05-15T13:10:27.062Z info hostd[AE81B70] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/6097a4eb-6c6e4c76-46d3-0cc47aaa9742/base/archiveteam/archiveteam-warrior-v3-20171013/archiveteam-warrior-v3-20171013.vmx] Answered question 5970112
2021-05-15T13:10:27.062Z info hostd[AE81B70] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/6097a4eb-6c6e4c76-46d3-0cc47aaa9742/base/archiveteam/archiveteam-warrior-v3-20171013/archiveteam-warrior-v3-20171013.vmx] Answered question 5970112
Intermezzo: /var/log/hostd.log
extract when not answering the “moved” question
A few observations of the log file is at the bottom of this post in a gist [Archive.is].
- each
vim-cmd vmsvc
invocation leads to- a logon event with log-entries like these where I really wonder where
password
comes from. as this is not a new interactive logon:
Accepted password for user root from 127.0.0.1 2021-05-15T13:05:58.568Z info hostd[AEC2B70] [Originator@6876 sub=Vimsvc opID=vim-cmd-56-584b] [Auth]: User root 2021-05-15T13:05:58.568Z verbose hostd[AEC2B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-56-584b] RecordOp ASSIGN: latestEvent, ha-eventmgr. Applied change to temp map. 2021-05-15T13:05:58.568Z info hostd[AEC2B70] [Originator@6876 sub=Vimsvc.ha-eventmgr opID=vim-cmd-56-584b] Event 762 : User root@127.0.0.1 logged in as VMware-client/6.5.0 2021-05-15T13:05:58.568Z verbose hostd[AEC2B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-56-584b] RecordOp ADD: sessionList["5263dcbb-1baf-7a5a-ab7b-ea07e6499e50"], ha-sessionmgr. Applied change to temp map.
- a logoff event with log-entries like these (note a slightly different
opID
, but the samesessionList
ID):
2021-05-15T13:05:58.623Z verbose hostd[AEC2B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-56-5859 user=root] RecordOp ASSIGN: info, haTask--vim.ServiceInstance.retrieveContent-130896484. Applied change to temp map. 2021-05-15T13:05:58.623Z verbose hostd[AEC2B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-56-5859 user=root] RecordOp ASSIGN: info, haTask--vim.ServiceInstance.retrieveContent-130896484. Applied change to temp map. 2021-05-15T13:05:58.625Z verbose hostd[AE40B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-56-585a user=root] RecordOp ASSIGN: info, haTask--vim.SessionManager.logout-130896485. Applied change to temp map. 2021-05-15T13:05:58.625Z verbose hostd[AE40B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-56-585a user=root] RecordOp REMOVE: sessionList["5263dcbb-1baf-7a5a-ab7b-ea07e6499e50"], ha-sessionmgr. Applied change to temp map. 2021-05-15T13:05:58.625Z verbose hostd[AE40B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-56-585a user=root] RecordOp ASSIGN: latestEvent, ha-eventmgr. Applied change to temp map. 2021-05-15T13:05:58.625Z info hostd[AE40B70] [Originator@6876 sub=Vimsvc.ha-eventmgr opID=vim-cmd-56-585a user=root] Event 763 : User root@127.0.0.1 logged out (login time: Saturday, 15 May, 2021 13:05:58, number of API invocations: 0, user agent: VMware-client/6.5.0) 2021-05-15T13:05:58.625Z verbose hostd[AE40B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-56-585a user=root] RecordOp ASSIGN: info, haTask--vim.SessionManager.logout-130896485. Applied change to temp map.
- a logon event with log-entries like these where I really wonder where
- Reading a pending message:
Accepted password for user root from 127.0.0.1 2021-05-15T13:06:32.389Z verbose hostd[B040B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-d0-588a] RecordOp ASSIGN: latestEvent, ha-eventmgr. Applied change to temp map. 2021-05-15T13:06:32.389Z info hostd[B040B70] [Originator@6876 sub=Vimsvc.ha-eventmgr opID=vim-cmd-d0-588a] Event 767 : User root@127.0.0.1 logged in as VMware-client/6.5.0 2021-05-15T13:06:32.389Z verbose hostd[B040B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-d0-588a] RecordOp ADD: sessionList["52967fcb-195c-96b3-429b-4762cbb5fdbd"], ha-sessionmgr. Applied change to temp map. 2021-05-15T13:06:32.453Z verbose hostd[BBC2B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-d0-5898 user=root] RecordOp ASSIGN: info, haTask--vim.ServiceInstance.retrieveContent-130896487. Applied change to temp map. 2021-05-15T13:06:32.453Z verbose hostd[BBC2B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-d0-5898 user=root] RecordOp ASSIGN: info, haTask--vim.ServiceInstance.retrieveContent-130896487. Applied change to temp map. 2021-05-15T13:06:32.455Z verbose hostd[BB81B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-d0-5899 user=root] RecordOp ASSIGN: info, haTask--vim.SessionManager.logout-130896488. Applied change to temp map. 2021-05-15T13:06:32.455Z verbose hostd[BB81B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-d0-5899 user=root] RecordOp REMOVE: sessionList["52967fcb-195c-96b3-429b-4762cbb5fdbd"], ha-sessionmgr. Applied change to temp map. 2021-05-15T13:06:32.455Z verbose hostd[BB81B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-d0-5899 user=root] RecordOp ASSIGN: latestEvent, ha-eventmgr. Applied change to temp map. 2021-05-15T13:06:32.455Z info hostd[BB81B70] [Originator@6876 sub=Vimsvc.ha-eventmgr opID=vim-cmd-d0-5899 user=root] Event 768 : User root@127.0.0.1 logged out (login time: Saturday, 15 May, 2021 13:06:32, number of API invocations: 0, user agent: VMware-client/6.5.0) 2021-05-15T13:06:32.456Z verbose hostd[BB81B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-d0-5899 user=root] RecordOp ASSIGN: info, haTask--vim.SessionManager.logout-130896488. Applied change to temp map.
- A
cron
event of the automatic configuration backup:
2021-05-15T13:06:31.559Z info hostd[AE40B70] [Originator@6876 sub=SysCommandPosix] ForkExec(/sbin/backup.sh) 181092 2021-05-15T13:06:32.798Z info hostd[AE40B70] [Originator@6876 sub=Hostsvc.HostConfigSyncManager] Backup succeeded
- Powering up a moved virtual machine, leading up to a cancelable task and the message:
Accepted password for user root from 127.0.0.1 2021-05-15T13:06:26.505Z info hostd[B081B70] [Originator@6876 sub=Vimsvc opID=vim-cmd-8f-585d] [Auth]: User root 2021-05-15T13:06:26.505Z verbose hostd[B081B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-8f-585d] RecordOp ASSIGN: latestEvent, ha-eventmgr. Applied change to temp map. 2021-05-15T13:06:26.505Z info hostd[B081B70] [Originator@6876 sub=Vimsvc.ha-eventmgr opID=vim-cmd-8f-585d] Event 764 : User root@127.0.0.1 logged in as VMware-client/6.5.0 2021-05-15T13:06:26.505Z verbose hostd[B081B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-8f-585d] RecordOp ADD: sessionList["52165943-fe83-da06-513a-6c2c38b0e470"], ha-sessionmgr. Applied change to temp map. 2021-05-15T13:06:26.548Z info hostd[AE40B70] [Originator@6876 sub=Vimsvc.TaskManager opID=vim-cmd-8f-586a user=root] Task Created : haTask-25-vim.VirtualMachine.powerOn-130896486 2021-05-15T13:06:26.548Z verbose hostd[AE40B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-8f-586a user=root] RecordOp ADD: recentTask["haTask-25-vim.VirtualMachine.powerOn-130896486"], 25. Sent notification immediately. 2021-05-15T13:06:26.548Z verbose hostd[AE40B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-8f-586a user=root] RecordOp ADD: recentTask["haTask-25-vim.VirtualMachine.powerOn-130896486"], ha-taskmgr. Applied change to temp map. 2021-05-15T13:06:26.548Z verbose hostd[B940B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-8f-586a user=root] RecordOp ASSIGN: info, haTask-25-vim.VirtualMachine.powerOn-130896486. Applied change to temp map. 2021-05-15T13:06:26.551Z verbose hostd[B940B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-8f-586a user=root] RecordOp ASSIGN: latestEvent, ha-eventmgr. Applied change to temp map. 2021-05-15T13:06:26.551Z info hostd[B940B70] [Originator@6876 sub=Vimsvc.ha-eventmgr opID=vim-cmd-8f-586a user=root] Event 765 : archiveteam-warrior-v3-20171013 on host ESXi-X10SRH-CF in ha-datacenter is starting 2021-05-15T13:06:26.551Z info hostd[B940B70] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/6097a4eb-6c6e4c76-46d3-0cc47aaa9742/base/archiveteam/archiveteam-warrior-v3-20171013/archiveteam-warrior-v3-20171013.vmx opID=vim-cmd-8f-586a user=root] State Transition (VM_STATE_OFF -> VM_STATE_POWERING_ON) 2021-05-15T13:06:26.551Z info hostd[B940B70] [Originator@6876 sub=Libs opID=vim-cmd-8f-586a user=root] SIOC: SIOC is notified not to start injector 2021-05-15T13:06:26.552Z verbose hostd[B940B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-8f-586a user=root] RecordOp ASSIGN: disabledMethod, 25. Sent notification immediately. 2021-05-15T13:06:26.552Z verbose hostd[B940B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-8f-586a user=root] RecordOp ASSIGN: info.cancelable, haTask-25-vim.VirtualMachine.powerOn-130896486. Applied change to temp map. 2021-05-15T13:06:26.552Z verbose hostd[B940B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-8f-586a user=root] RecordOp ASSIGN: info.cancelable, haTask-25-vim.VirtualMachine.powerOn-130896486. Applied change to temp map. 2021-05-15T13:06:26.553Z info hostd[B940B70] [Originator@6876 sub=Libs opID=vim-cmd-8f-586a user=root] DictionaryLoad: Cannot open file "/usr/lib/vmware/config": No such file or directory. 2021-05-15T13:06:26.553Z info hostd[B940B70] [Originator@6876 sub=Libs opID=vim-cmd-8f-586a user=root] Could not expand environment variable HOME. 2021-05-15T13:06:26.553Z info hostd[B940B70] [Originator@6876 sub=Libs opID=vim-cmd-8f-586a user=root] DictionaryLoad: Cannot open file "~/.vmware/config": No such file or directory. 2021-05-15T13:06:26.556Z info hostd[B940B70] [Originator@6876 sub=Libs opID=vim-cmd-8f-586a user=root] Starting vmx as /bin/vmx 2021-05-15T13:06:26.556Z info hostd[B940B70] [Originator@6876 sub=Libs opID=vim-cmd-8f-586a user=root] Starting vmx as /bin/vmx 2021-05-15T13:06:26.557Z info hostd[B940B70] [Originator@6876 sub=vm:VigorExecVMXExCommon: VM /vmfs/volumes/6097a4eb-6c6e4c76-46d3-0cc47aaa9742/base/archiveteam/archiveteam-warrior-v3-20171013/archiveteam-warrior-v3-20171013.vmx opID=vim-cmd-8f-586a user=root] in directory /vmfs/volumes/6097a4eb-6c6e4c76-46d3-0cc47aaa9742/base/archiveteam/archiveteam-warrior-v3-20171013 2021-05-15T13:06:26.557Z info hostd[B940B70] [Originator@6876 sub=vm:VigorExecVMXExCommon: Exec()'ing /bin/vmx /vmfs/volumes/6097a4eb-6c6e4c76-46d3-0cc47aaa9742/base/archiveteam/archiveteam-warrior-v3-20171013/archiveteam-warrior-v3-20171013.vmx opID=vim-cmd-8f-586a user=root] 2021-05-15T13:06:26.557Z info hostd[B940B70] [Originator@6876 sub=Libs opID=vim-cmd-8f-586a user=root] Vigor: VMKernel_ForkExec(/bin/vmx, detached=1): status=0 pid=181085 2021-05-15T13:06:26.611Z verbose hostd[B081B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: info.cancelable, haTask-25-vim.VirtualMachine.powerOn-130896486. Applied change to temp map. 2021-05-15T13:06:26.625Z verbose hostd[A0E7B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: info.progress, haTask-25-vim.VirtualMachine.powerOn-130896486. Applied change to temp map. 2021-05-15T13:06:26.798Z verbose hostd[BBC2B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: latestEvent, ha-eventmgr. Applied change to temp map. 2021-05-15T13:06:26.798Z info hostd[BBC2B70] [Originator@6876 sub=Vimsvc.ha-eventmgr] Event 766 : Message on archiveteam-warrior-v3-20171013 on ESXi-X10SRH-CF in ha-datacenter: This virtual machine might have been moved or copied. --> In order to configure certain management and networking features, VMware ESX needs to know if this virtual machine was moved or copied. --> --> If you don't know, answer "I Co_pied It". --> --> 2021-05-15T13:06:26.798Z verbose hostd[BBC2B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: runtime.question, 25. Sent notification immediately. 2021-05-15T13:06:26.799Z verbose hostd[BBC2B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: summary.runtime.question, 25. Sent notification immediately. 2021-05-15T13:06:26.799Z verbose hostd[BBC2B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: disabledMethod, 25. Sent notification immediately.
- The time out while waiting for the answer to the message immediately leads to the actual power on state of the virtual machine:
2021-05-15T13:10:27.043Z verbose hostd[A0E7B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: info.progress, haTask-25-vim.VirtualMachine.powerOn-130896486. Applied change to temp map. 2021-05-15T13:10:27.053Z verbose hostd[B040B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: runtime.question, 25. Sent notification immediately. 2021-05-15T13:10:27.053Z verbose hostd[B040B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: summary.runtime.question, 25. Sent notification immediately. 2021-05-15T13:10:27.053Z verbose hostd[B040B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: disabledMethod, 25. Sent notification immediately. 2021-05-15T13:10:27.053Z verbose hostd[B040B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: latestEvent, ha-eventmgr. Applied change to temp map. 2021-05-15T13:10:27.053Z info hostd[B040B70] [Originator@6876 sub=Vimsvc.ha-eventmgr] Event 769 : Message on archiveteam-warrior-v3-20171013 on ESXi-X10SRH-CF in ha-datacenter: This virtual machine might have been moved or copied. --> In order to configure certain management and networking features, VMware ESX needs to know if this virtual machine was moved or copied. --> --> If you don't know, answer "I Co_pied It". --> --> 2021-05-15T13:10:27.062Z info hostd[AE81B70] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/6097a4eb-6c6e4c76-46d3-0cc47aaa9742/base/archiveteam/archiveteam-warrior-v3-20171013/archiveteam-warrior-v3-20171013.vmx] Answered question 5970112 2021-05-15T13:10:27.062Z info hostd[AE81B70] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/6097a4eb-6c6e4c76-46d3-0cc47aaa9742/base/archiveteam/archiveteam-warrior-v3-20171013/archiveteam-warrior-v3-20171013.vmx] Answered question 5970112 2021-05-15T13:10:27.079Z info hostd[AE81B70] [Originator@6876 sub=Hostsvc] Decremented SIOC Injector Flag2 2021-05-15T13:10:27.080Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: latestEvent, ha-eventmgr. Applied change to temp map. 2021-05-15T13:10:27.080Z info hostd[AE81B70] [Originator@6876 sub=Vimsvc.ha-eventmgr] Event 770 : archiveteam-warrior-v3-20171013 on ESXi-X10SRH-CF in ha-datacenter is powered on 2021-05-15T13:10:27.080Z info hostd[AE81B70] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/6097a4eb-6c6e4c76-46d3-0cc47aaa9742/base/archiveteam/archiveteam-warrior-v3-20171013/archiveteam-warrior-v3-20171013.vmx] State Transition (VM_STATE_POWERING_ON -> VM_STATE_ON)
- The loggoff of the
vim-cmd
that tried to power on the moved virtual machine. It ends when the message got the default answer, and the virtual machine fully powered up:
2021-05-15T13:10:27.116Z info hostd[AE81B70] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/6097a4eb-6c6e4c76-46d3-0cc47aaa9742/base/archiveteam/archiveteam-warrior-v3-20171013/archiveteam-warrior-v3-20171013.vmx] Skip a duplicate transition to: VM_STATE_ON 2021-05-15T13:10:27.116Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: runtime.featureRequirement, 25. Sent notification immediately. 2021-05-15T13:10:27.123Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-8f-5d23 user=root] RecordOp ASSIGN: info, haTask--vim.ServiceInstance.retrieveContent-130896490. Applied change to temp map. 2021-05-15T13:10:27.123Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-8f-5d23 user=root] RecordOp ASSIGN: info, haTask--vim.ServiceInstance.retrieveContent-130896490. Applied change to temp map. 2021-05-15T13:10:27.125Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-8f-5d24 user=root] RecordOp ASSIGN: info, haTask--vim.SessionManager.logout-130896491. Applied change to temp map. 2021-05-15T13:10:27.125Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-8f-5d24 user=root] RecordOp REMOVE: sessionList["52165943-fe83-da06-513a-6c2c38b0e470"], ha-sessionmgr. Applied change to temp map. 2021-05-15T13:10:27.125Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-8f-5d24 user=root] RecordOp ASSIGN: latestEvent, ha-eventmgr. Applied change to temp map. 2021-05-15T13:10:27.125Z info hostd[AE81B70] [Originator@6876 sub=Vimsvc.ha-eventmgr opID=vim-cmd-8f-5d24 user=root] Event 771 : User root@127.0.0.1 logged out (login time: Saturday, 15 May, 2021 13:06:26, number of API invocations: 0, user agent: VMware-client/6.5.0) 2021-05-15T13:10:27.125Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-8f-5d24 user=root] RecordOp ASSIGN: info, haTask--vim.SessionManager.logout-130896491. Applied change to temp map.
Back to answering the question
Let’s first repeat the help:
# vim-cmd help vmsvc/message Usage: message vmid [messageId] [messageChoice] Replies to the current pending question on the vm.
Given this message for virtual machine having a vmid
of 25
awaiting an answer to messageId
number 6233874
:
# vim-cmd vmsvc/message 25 Virtual machine message 6233874: This virtual machine might have been moved or copied. In order to configure certain management and networking features, VMware ESX needs to know if this virtual machine was moved or copied. If you don't know, answer "I Copied It". 0. button.uuid.cancel (Cancel) 1. button.uuid.movedTheVM (I Moved It) 2. button.uuid.copiedTheVM (I Copied It) [default]
You can answer the question in a separate console/ssh session with either of these:
- Cancel:
vim-cmd vmsvc/message 25 6233874 0
where 25 is thevmid
of the virtual machine and6233874
is themessageId
of the message.- The Virtual Machine will not power on and the
power.on
command fails:
# vim-cmd vmsvc/power.on 25 Powering on VM: Power on fail
- The Virtual Machine will not power on and the
- The virtual machine was moved
vim-cmd vmsvc/message 25 6233874 1
where 25 is thevmid
of the virtual machine and6233874
is themessageId
of the message.- The Virtual Machine will power on and the power.on command succeeds:
# vim-cmd vmsvc/power.on 25 Powering on VM:
- The
.vmx
file of the virtual machine will change these fields:uuid.location
cleanShutdown
(for running virtual machines, this always has value"FALSE"
; for cleanly shutdown machines the value will be"TRUE"
)sched.swap.derivedName
with a new value for the.vswp
file.softPowerOff
(for running virtual machines, this always has the value"FALSE"
; for cleanly shutdown machines the value will be"TRUE"
)
- The Virtual Machine will power on and the power.on command succeeds:
- 2, or wait for more than four (4) minutes:
- The Virtual Machine will power on, and the power.on command succeeds::
# vim-cmd vmsvc/power.on 25 Powering on VM:
- The
.vmx
file of the virtual machine will change these fields (you can see this below the signature or in this gist [Archive.is]):uuid.location
uuid.bios
(which for Windows system will often require a new license key)ethernet0.generatedAddress
cleanShutdown
(for running virtual machines, this always has value"FALSE"
; for cleanly shutdown machines the value will be"TRUE"
)sched.swap.derivedName
with a new value for the.vswp
file.softPowerOff
(for running virtual machines, this always has the value"FALSE"
; for cleanly shutdown machines the value will be"TRUE"
)
- The Virtual Machine will power on, and the power.on command succeeds::
Generating the “answer” command
I prefer to answer these questions manually, but use this fragment to generate an answer command that selects the “Moved” answer:
message=`vim-cmd vmsvc/message ${vmid}` echo "message: $message" messageId=`echo "$message" | sed -n -E -e 's/^Virtual machine message (.*):$/\1/p'` movedAnswerId=`echo "$message" | sed -n -E -e 's/^ +([[:digit:]])\. button.uuid.* Moved.*$/\1/p'` if [[ "$movedAnswerId" == 1 ]]; then echo "vim-cmd vmsvc/message $vmid $messageId $movedAnswerId" fi
It is based on these regular expression experiments:
- [Wayback/Archive.is] getting the
messageId
on regex101: build, test, and debug regex - [Wayback/Archive.is] getting the
movedAnswerId
on regex101: build, test, and debug regex
–jeroen
New and old .vmx
file when not answering the question
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.encoding = "UTF-8" | |
config.version = "8" | |
virtualHW.version = "7" | |
vmci0.present = "TRUE" | |
floppy0.present = "FALSE" | |
memSize = "3072" | |
scsi0.virtualDev = "lsilogic" | |
scsi0.present = "TRUE" | |
scsi0:0.deviceType = "scsi-hardDisk" | |
scsi0:0.fileName = "archiveteam-warrior-v3-20171013.vmdk" | |
scsi0:0.present = "TRUE" | |
ethernet0.virtualDev = "e1000" | |
ethernet0.networkName = "VM Network" | |
ethernet0.addressType = "generated" | |
ethernet0.present = "TRUE" | |
displayName = "archiveteam-warrior-v3-20171013" | |
guestOS = "other-64" | |
toolScripts.afterPowerOn = "TRUE" | |
toolScripts.afterResume = "TRUE" | |
toolScripts.beforeSuspend = "TRUE" | |
toolScripts.beforePowerOff = "TRUE" | |
uuid.bios = "56 4d 4c 93 58 aa 2b f3-aa 19 67 bd 75 c5 ec 29" | |
uuid.location = "56 4d 4c 93 58 aa 2b f3-aa 19 67 bd 75 c5 ec 29" | |
vc.uuid = "52 33 b6 d2 12 df 03 29-a9 35 07 71 64 10 0a 2f" | |
ethernet0.generatedAddress = "00:0c:29:c5:ec:29" | |
vmci0.id = "580197027" | |
cleanShutdown = "FALSE" | |
sched.scsi0:0.throughputCap = "off" | |
numvcpus = "3" | |
sched.cpu.units = "mhz" | |
sched.cpu.affinity = "all" | |
tools.upgrade.policy = "manual" | |
sched.scsi0:0.shares = "normal" | |
tools.syncTime = "FALSE" | |
sched.cpu.min = "0" | |
sched.cpu.shares = "normal" | |
sched.mem.min = "0" | |
sched.mem.minSize = "0" | |
sched.mem.shares = "normal" | |
sched.cpu.latencySensitivity = "normal" | |
tools.guest.desktop.autolock = "FALSE" | |
nvram = "archiveteam-warrior-v3-20171013.nvram" | |
pciBridge0.present = "TRUE" | |
svga.present = "TRUE" | |
pciBridge4.present = "TRUE" | |
pciBridge4.virtualDev = "pcieRootPort" | |
pciBridge4.functions = "8" | |
pciBridge5.present = "TRUE" | |
pciBridge5.virtualDev = "pcieRootPort" | |
pciBridge5.functions = "8" | |
pciBridge6.present = "TRUE" | |
pciBridge6.virtualDev = "pcieRootPort" | |
pciBridge6.functions = "8" | |
pciBridge7.present = "TRUE" | |
pciBridge7.virtualDev = "pcieRootPort" | |
pciBridge7.functions = "8" | |
numa.autosize.vcpu.maxPerVirtualNode = "3" | |
numa.autosize.cookie = "30001" | |
sched.swap.derivedName = "/vmfs/volumes/6097a4eb-6c6e4c76-46d3-0cc47aaa9742/base/archiveteam/archiveteam-warrior-v3-20171013/archiveteam-warrior-v3-20171013-0ed91464.vswp" | |
pciBridge0.pciSlotNumber = "17" | |
pciBridge4.pciSlotNumber = "21" | |
pciBridge5.pciSlotNumber = "22" | |
pciBridge6.pciSlotNumber = "23" | |
pciBridge7.pciSlotNumber = "24" | |
scsi0.pciSlotNumber = "16" | |
ethernet0.pciSlotNumber = "32" | |
vmci0.pciSlotNumber = "33" | |
ethernet0.generatedAddressOffset = "0" | |
hostCPUID.0 = "00000014756e65476c65746e49656e69" | |
hostCPUID.1 = "000406f10020080077fefbffbfebfbff" | |
hostCPUID.80000001 = "0000000000000000000001212c100800" | |
guestCPUID.0 = "0000000d756e65476c65746e49656e69" | |
guestCPUID.1 = "000406f10001080082d822030fabfbff" | |
guestCPUID.80000001 = "00000000000000000000010128100800" | |
userCPUID.0 = "0000000d756e65476c65746e49656e69" | |
userCPUID.1 = "000406f10001080082d822030fabfbff" | |
userCPUID.80000001 = "00000000000000000000010128100800" | |
evcCompatibilityMode = "FALSE" | |
monitor.phys_bits_used = "40" | |
vmotion.checkpointFBSize = "4194304" | |
softPowerOff = "FALSE" | |
migrate.hostLog = "./archiveteam-warrior-v3-20171013-d7fbfccf.hlog" | |
scsi0:0.redo = "" | |
checkpoint.vmState = "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.encoding = "UTF-8" | |
config.version = "8" | |
virtualHW.version = "7" | |
vmci0.present = "TRUE" | |
floppy0.present = "FALSE" | |
memSize = "3072" | |
scsi0.virtualDev = "lsilogic" | |
scsi0.present = "TRUE" | |
scsi0:0.deviceType = "scsi-hardDisk" | |
scsi0:0.fileName = "archiveteam-warrior-v3-20171013.vmdk" | |
scsi0:0.present = "TRUE" | |
ethernet0.virtualDev = "e1000" | |
ethernet0.networkName = "VM Network" | |
ethernet0.addressType = "generated" | |
ethernet0.present = "TRUE" | |
displayName = "archiveteam-warrior-v3-20171013" | |
guestOS = "other-64" | |
toolScripts.afterPowerOn = "TRUE" | |
toolScripts.afterResume = "TRUE" | |
toolScripts.beforeSuspend = "TRUE" | |
toolScripts.beforePowerOff = "TRUE" | |
uuid.bios = "56 4d 5e b6 c6 9d 69 46-2b 8e 15 8c 22 95 1a a3" | |
uuid.location = "56 4d 5e b6 c6 9d 69 46-2b 8e 15 8c 22 95 1a a3" | |
vc.uuid = "52 33 b6 d2 12 df 03 29-a9 35 07 71 64 10 0a 2f" | |
ethernet0.generatedAddress = "00:0c:29:95:1a:a3" | |
vmci0.id = "580197027" | |
cleanShutdown = "TRUE" | |
sched.scsi0:0.throughputCap = "off" | |
numvcpus = "3" | |
sched.cpu.units = "mhz" | |
sched.cpu.affinity = "all" | |
tools.upgrade.policy = "manual" | |
sched.scsi0:0.shares = "normal" | |
tools.syncTime = "FALSE" | |
sched.cpu.min = "0" | |
sched.cpu.shares = "normal" | |
sched.mem.min = "0" | |
sched.mem.minSize = "0" | |
sched.mem.shares = "normal" | |
sched.cpu.latencySensitivity = "normal" | |
tools.guest.desktop.autolock = "FALSE" | |
nvram = "archiveteam-warrior-v3-20171013.nvram" | |
pciBridge0.present = "TRUE" | |
svga.present = "TRUE" | |
pciBridge4.present = "TRUE" | |
pciBridge4.virtualDev = "pcieRootPort" | |
pciBridge4.functions = "8" | |
pciBridge5.present = "TRUE" | |
pciBridge5.virtualDev = "pcieRootPort" | |
pciBridge5.functions = "8" | |
pciBridge6.present = "TRUE" | |
pciBridge6.virtualDev = "pcieRootPort" | |
pciBridge6.functions = "8" | |
pciBridge7.present = "TRUE" | |
pciBridge7.virtualDev = "pcieRootPort" | |
pciBridge7.functions = "8" | |
numa.autosize.vcpu.maxPerVirtualNode = "3" | |
numa.autosize.cookie = "30001" | |
sched.swap.derivedName = "/vmfs/volumes/5ad4af1b-f3ae285c-e0f4-0cc47aaa9742/archiveteam-warrior-v3-20171013/archiveteam-warrior-v3-20171013-d7fbfccf.vswp" | |
pciBridge0.pciSlotNumber = "17" | |
pciBridge4.pciSlotNumber = "21" | |
pciBridge5.pciSlotNumber = "22" | |
pciBridge6.pciSlotNumber = "23" | |
pciBridge7.pciSlotNumber = "24" | |
scsi0.pciSlotNumber = "16" | |
ethernet0.pciSlotNumber = "32" | |
vmci0.pciSlotNumber = "33" | |
ethernet0.generatedAddressOffset = "0" | |
hostCPUID.0 = "00000014756e65476c65746e49656e69" | |
hostCPUID.1 = "000406f10020080077fefbffbfebfbff" | |
hostCPUID.80000001 = "0000000000000000000001212c100800" | |
guestCPUID.0 = "0000000d756e65476c65746e49656e69" | |
guestCPUID.1 = "000406f10001080082d822030fabfbff" | |
guestCPUID.80000001 = "00000000000000000000010128100800" | |
userCPUID.0 = "0000000d756e65476c65746e49656e69" | |
userCPUID.1 = "000406f10001080082d822030fabfbff" | |
userCPUID.80000001 = "00000000000000000000010128100800" | |
evcCompatibilityMode = "FALSE" | |
monitor.phys_bits_used = "40" | |
vmotion.checkpointFBSize = "4194304" | |
softPowerOff = "TRUE" | |
migrate.hostLog = "./archiveteam-warrior-v3-20171013-d7fbfccf.hlog" | |
scsi0:0.redo = "" | |
checkpoint.vmState = "" |
Log when not answering the “moved” question
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
… | |
Accepted password for user root from 127.0.0.1 | |
2021-05-15T13:05:58.568Z info hostd[AEC2B70] [Originator@6876 sub=Vimsvc opID=vim-cmd-56-584b] [Auth]: User root | |
2021-05-15T13:05:58.568Z verbose hostd[AEC2B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-56-584b] RecordOp ASSIGN: latestEvent, ha-eventmgr. Applied change to temp map. | |
2021-05-15T13:05:58.568Z info hostd[AEC2B70] [Originator@6876 sub=Vimsvc.ha-eventmgr opID=vim-cmd-56-584b] Event 762 : User root@127.0.0.1 logged in as VMware-client/6.5.0 | |
2021-05-15T13:05:58.568Z verbose hostd[AEC2B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-56-584b] RecordOp ADD: sessionList["5263dcbb-1baf-7a5a-ab7b-ea07e6499e50"], ha-sessionmgr. Applied change to temp map. | |
2021-05-15T13:05:58.623Z verbose hostd[AEC2B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-56-5859 user=root] RecordOp ASSIGN: info, haTask–vim.ServiceInstance.retrieveContent-130896484. Applied change to temp map. | |
2021-05-15T13:05:58.623Z verbose hostd[AEC2B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-56-5859 user=root] RecordOp ASSIGN: info, haTask–vim.ServiceInstance.retrieveContent-130896484. Applied change to temp map. | |
2021-05-15T13:05:58.625Z verbose hostd[AE40B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-56-585a user=root] RecordOp ASSIGN: info, haTask–vim.SessionManager.logout-130896485. Applied change to temp map. | |
2021-05-15T13:05:58.625Z verbose hostd[AE40B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-56-585a user=root] RecordOp REMOVE: sessionList["5263dcbb-1baf-7a5a-ab7b-ea07e6499e50"], ha-sessionmgr. Applied change to temp map. | |
2021-05-15T13:05:58.625Z verbose hostd[AE40B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-56-585a user=root] RecordOp ASSIGN: latestEvent, ha-eventmgr. Applied change to temp map. | |
2021-05-15T13:05:58.625Z info hostd[AE40B70] [Originator@6876 sub=Vimsvc.ha-eventmgr opID=vim-cmd-56-585a user=root] Event 763 : User root@127.0.0.1 logged out (login time: Saturday, 15 May, 2021 13:05:58, number of API invocations: 0, user agent: VMware-client/6.5.0) | |
2021-05-15T13:05:58.625Z verbose hostd[AE40B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-56-585a user=root] RecordOp ASSIGN: info, haTask–vim.SessionManager.logout-130896485. Applied change to temp map. | |
… | |
Accepted password for user root from 127.0.0.1 | |
2021-05-15T13:06:26.505Z info hostd[B081B70] [Originator@6876 sub=Vimsvc opID=vim-cmd-8f-585d] [Auth]: User root | |
2021-05-15T13:06:26.505Z verbose hostd[B081B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-8f-585d] RecordOp ASSIGN: latestEvent, ha-eventmgr. Applied change to temp map. | |
2021-05-15T13:06:26.505Z info hostd[B081B70] [Originator@6876 sub=Vimsvc.ha-eventmgr opID=vim-cmd-8f-585d] Event 764 : User root@127.0.0.1 logged in as VMware-client/6.5.0 | |
2021-05-15T13:06:26.505Z verbose hostd[B081B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-8f-585d] RecordOp ADD: sessionList["52165943-fe83-da06-513a-6c2c38b0e470"], ha-sessionmgr. Applied change to temp map. | |
2021-05-15T13:06:26.548Z info hostd[AE40B70] [Originator@6876 sub=Vimsvc.TaskManager opID=vim-cmd-8f-586a user=root] Task Created : haTask-25-vim.VirtualMachine.powerOn-130896486 | |
2021-05-15T13:06:26.548Z verbose hostd[AE40B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-8f-586a user=root] RecordOp ADD: recentTask["haTask-25-vim.VirtualMachine.powerOn-130896486"], 25. Sent notification immediately. | |
2021-05-15T13:06:26.548Z verbose hostd[AE40B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-8f-586a user=root] RecordOp ADD: recentTask["haTask-25-vim.VirtualMachine.powerOn-130896486"], ha-taskmgr. Applied change to temp map. | |
2021-05-15T13:06:26.548Z verbose hostd[B940B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-8f-586a user=root] RecordOp ASSIGN: info, haTask-25-vim.VirtualMachine.powerOn-130896486. Applied change to temp map. | |
2021-05-15T13:06:26.551Z verbose hostd[B940B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-8f-586a user=root] RecordOp ASSIGN: latestEvent, ha-eventmgr. Applied change to temp map. | |
2021-05-15T13:06:26.551Z info hostd[B940B70] [Originator@6876 sub=Vimsvc.ha-eventmgr opID=vim-cmd-8f-586a user=root] Event 765 : archiveteam-warrior-v3-20171013 on host ESXi-X10SRH-CF in ha-datacenter is starting | |
2021-05-15T13:06:26.551Z info hostd[B940B70] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/6097a4eb-6c6e4c76-46d3-0cc47aaa9742/base/archiveteam/archiveteam-warrior-v3-20171013/archiveteam-warrior-v3-20171013.vmx opID=vim-cmd-8f-586a user=root] State Transition (VM_STATE_OFF -> VM_STATE_POWERING_ON) | |
2021-05-15T13:06:26.551Z info hostd[B940B70] [Originator@6876 sub=Libs opID=vim-cmd-8f-586a user=root] SIOC: SIOC is notified not to start injector | |
2021-05-15T13:06:26.552Z verbose hostd[B940B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-8f-586a user=root] RecordOp ASSIGN: disabledMethod, 25. Sent notification immediately. | |
2021-05-15T13:06:26.552Z verbose hostd[B940B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-8f-586a user=root] RecordOp ASSIGN: info.cancelable, haTask-25-vim.VirtualMachine.powerOn-130896486. Applied change to temp map. | |
2021-05-15T13:06:26.552Z verbose hostd[B940B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-8f-586a user=root] RecordOp ASSIGN: info.cancelable, haTask-25-vim.VirtualMachine.powerOn-130896486. Applied change to temp map. | |
2021-05-15T13:06:26.553Z info hostd[B940B70] [Originator@6876 sub=Libs opID=vim-cmd-8f-586a user=root] DictionaryLoad: Cannot open file "/usr/lib/vmware/config": No such file or directory. | |
2021-05-15T13:06:26.553Z info hostd[B940B70] [Originator@6876 sub=Libs opID=vim-cmd-8f-586a user=root] Could not expand environment variable HOME. | |
2021-05-15T13:06:26.553Z info hostd[B940B70] [Originator@6876 sub=Libs opID=vim-cmd-8f-586a user=root] DictionaryLoad: Cannot open file "~/.vmware/config": No such file or directory. | |
2021-05-15T13:06:26.556Z info hostd[B940B70] [Originator@6876 sub=Libs opID=vim-cmd-8f-586a user=root] Starting vmx as /bin/vmx | |
2021-05-15T13:06:26.556Z info hostd[B940B70] [Originator@6876 sub=Libs opID=vim-cmd-8f-586a user=root] Starting vmx as /bin/vmx | |
2021-05-15T13:06:26.557Z info hostd[B940B70] [Originator@6876 sub=vm:VigorExecVMXExCommon: VM /vmfs/volumes/6097a4eb-6c6e4c76-46d3-0cc47aaa9742/base/archiveteam/archiveteam-warrior-v3-20171013/archiveteam-warrior-v3-20171013.vmx opID=vim-cmd-8f-586a user=root] in directory /vmfs/volumes/6097a4eb-6c6e4c76-46d3-0cc47aaa9742/base/archiveteam/archiveteam-warrior-v3-20171013 | |
2021-05-15T13:06:26.557Z info hostd[B940B70] [Originator@6876 sub=vm:VigorExecVMXExCommon: Exec()'ing /bin/vmx /vmfs/volumes/6097a4eb-6c6e4c76-46d3-0cc47aaa9742/base/archiveteam/archiveteam-warrior-v3-20171013/archiveteam-warrior-v3-20171013.vmx opID=vim-cmd-8f-586a user=root] | |
2021-05-15T13:06:26.557Z info hostd[B940B70] [Originator@6876 sub=Libs opID=vim-cmd-8f-586a user=root] Vigor: VMKernel_ForkExec(/bin/vmx, detached=1): status=0 pid=181085 | |
2021-05-15T13:06:26.611Z verbose hostd[B081B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: info.cancelable, haTask-25-vim.VirtualMachine.powerOn-130896486. Applied change to temp map. | |
2021-05-15T13:06:26.625Z verbose hostd[A0E7B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: info.progress, haTask-25-vim.VirtualMachine.powerOn-130896486. Applied change to temp map. | |
2021-05-15T13:06:26.798Z verbose hostd[BBC2B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: latestEvent, ha-eventmgr. Applied change to temp map. | |
2021-05-15T13:06:26.798Z info hostd[BBC2B70] [Originator@6876 sub=Vimsvc.ha-eventmgr] Event 766 : Message on archiveteam-warrior-v3-20171013 on ESXi-X10SRH-CF in ha-datacenter: This virtual machine might have been moved or copied. | |
–> In order to configure certain management and networking features, VMware ESX needs to know if this virtual machine was moved or copied. | |
–> | |
–> If you don't know, answer "I Co_pied It". | |
–> | |
–> | |
2021-05-15T13:06:26.798Z verbose hostd[BBC2B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: runtime.question, 25. Sent notification immediately. | |
2021-05-15T13:06:26.799Z verbose hostd[BBC2B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: summary.runtime.question, 25. Sent notification immediately. | |
2021-05-15T13:06:26.799Z verbose hostd[BBC2B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: disabledMethod, 25. Sent notification immediately. | |
2021-05-15T13:06:31.559Z info hostd[AE40B70] [Originator@6876 sub=SysCommandPosix] ForkExec(/sbin/backup.sh) 181092 | |
… | |
Accepted password for user root from 127.0.0.1 | |
2021-05-15T13:06:32.389Z verbose hostd[B040B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-d0-588a] RecordOp ASSIGN: latestEvent, ha-eventmgr. Applied change to temp map. | |
2021-05-15T13:06:32.389Z info hostd[B040B70] [Originator@6876 sub=Vimsvc.ha-eventmgr opID=vim-cmd-d0-588a] Event 767 : User root@127.0.0.1 logged in as VMware-client/6.5.0 | |
2021-05-15T13:06:32.389Z verbose hostd[B040B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-d0-588a] RecordOp ADD: sessionList["52967fcb-195c-96b3-429b-4762cbb5fdbd"], ha-sessionmgr. Applied change to temp map. | |
2021-05-15T13:06:32.453Z verbose hostd[BBC2B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-d0-5898 user=root] RecordOp ASSIGN: info, haTask–vim.ServiceInstance.retrieveContent-130896487. Applied change to temp map. | |
2021-05-15T13:06:32.453Z verbose hostd[BBC2B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-d0-5898 user=root] RecordOp ASSIGN: info, haTask–vim.ServiceInstance.retrieveContent-130896487. Applied change to temp map. | |
2021-05-15T13:06:32.455Z verbose hostd[BB81B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-d0-5899 user=root] RecordOp ASSIGN: info, haTask–vim.SessionManager.logout-130896488. Applied change to temp map. | |
2021-05-15T13:06:32.455Z verbose hostd[BB81B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-d0-5899 user=root] RecordOp REMOVE: sessionList["52967fcb-195c-96b3-429b-4762cbb5fdbd"], ha-sessionmgr. Applied change to temp map. | |
2021-05-15T13:06:32.455Z verbose hostd[BB81B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-d0-5899 user=root] RecordOp ASSIGN: latestEvent, ha-eventmgr. Applied change to temp map. | |
2021-05-15T13:06:32.455Z info hostd[BB81B70] [Originator@6876 sub=Vimsvc.ha-eventmgr opID=vim-cmd-d0-5899 user=root] Event 768 : User root@127.0.0.1 logged out (login time: Saturday, 15 May, 2021 13:06:32, number of API invocations: 0, user agent: VMware-client/6.5.0) | |
2021-05-15T13:06:32.456Z verbose hostd[BB81B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-d0-5899 user=root] RecordOp ASSIGN: info, haTask–vim.SessionManager.logout-130896488. Applied change to temp map. | |
2021-05-15T13:06:32.798Z info hostd[AE40B70] [Originator@6876 sub=Hostsvc.HostConfigSyncManager] Backup succeeded | |
… | |
2021-05-15T13:10:27.043Z verbose hostd[A0E7B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: info.progress, haTask-25-vim.VirtualMachine.powerOn-130896486. Applied change to temp map. | |
2021-05-15T13:10:27.053Z verbose hostd[B040B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: runtime.question, 25. Sent notification immediately. | |
2021-05-15T13:10:27.053Z verbose hostd[B040B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: summary.runtime.question, 25. Sent notification immediately. | |
2021-05-15T13:10:27.053Z verbose hostd[B040B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: disabledMethod, 25. Sent notification immediately. | |
2021-05-15T13:10:27.053Z verbose hostd[B040B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: latestEvent, ha-eventmgr. Applied change to temp map. | |
2021-05-15T13:10:27.053Z info hostd[B040B70] [Originator@6876 sub=Vimsvc.ha-eventmgr] Event 769 : Message on archiveteam-warrior-v3-20171013 on ESXi-X10SRH-CF in ha-datacenter: This virtual machine might have been moved or copied. | |
–> In order to configure certain management and networking features, VMware ESX needs to know if this virtual machine was moved or copied. | |
–> | |
–> If you don't know, answer "I Co_pied It". | |
–> | |
–> | |
2021-05-15T13:10:27.062Z info hostd[AE81B70] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/6097a4eb-6c6e4c76-46d3-0cc47aaa9742/base/archiveteam/archiveteam-warrior-v3-20171013/archiveteam-warrior-v3-20171013.vmx] Answered question 5970112 | |
2021-05-15T13:10:27.062Z info hostd[AE81B70] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/6097a4eb-6c6e4c76-46d3-0cc47aaa9742/base/archiveteam/archiveteam-warrior-v3-20171013/archiveteam-warrior-v3-20171013.vmx] Answered question 5970112 | |
2021-05-15T13:10:27.079Z info hostd[AE81B70] [Originator@6876 sub=Hostsvc] Decremented SIOC Injector Flag2 | |
2021-05-15T13:10:27.080Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: latestEvent, ha-eventmgr. Applied change to temp map. | |
2021-05-15T13:10:27.080Z info hostd[AE81B70] [Originator@6876 sub=Vimsvc.ha-eventmgr] Event 770 : archiveteam-warrior-v3-20171013 on ESXi-X10SRH-CF in ha-datacenter is powered on | |
2021-05-15T13:10:27.080Z info hostd[AE81B70] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/6097a4eb-6c6e4c76-46d3-0cc47aaa9742/base/archiveteam/archiveteam-warrior-v3-20171013/archiveteam-warrior-v3-20171013.vmx] State Transition (VM_STATE_POWERING_ON -> VM_STATE_ON) | |
2021-05-15T13:10:27.080Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: summary.runtime.bootTime, 25. Sent notification immediately. | |
2021-05-15T13:10:27.080Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: runtime.bootTime, 25. Sent notification immediately. | |
2021-05-15T13:10:27.080Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: disabledMethod, 25. Sent notification immediately. | |
2021-05-15T13:10:27.080Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: runtime.cleanPowerOff, 25. Sent notification immediately. | |
2021-05-15T13:10:27.080Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: summary.runtime.cleanPowerOff, 25. Sent notification immediately. | |
2021-05-15T13:10:27.080Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: runtime.powerState, 25. Sent notification immediately. | |
2021-05-15T13:10:27.080Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: runtime.device, 25. Sent notification immediately. | |
2021-05-15T13:10:27.080Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: summary.runtime.powerState, 25. Sent notification immediately. | |
2021-05-15T13:10:27.080Z info hostd[BBC2B70] [Originator@6876 sub=Guestsvc.GuestFileTransfer] Entered VmPowerStateListener | |
2021-05-15T13:10:27.080Z info hostd[BBC2B70] [Originator@6876 sub=Guestsvc.GuestFileTransfer] VmPowerStateListener succeeded | |
2021-05-15T13:10:27.080Z info hostd[BBC2B70] [Originator@6876 sub=Hbrsvc] Replicator: powerstate change VM: 25 Old: 0 New: 1 | |
2021-05-15T13:10:27.081Z info hostd[AE81B70] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/6097a4eb-6c6e4c76-46d3-0cc47aaa9742/base/archiveteam/archiveteam-warrior-v3-20171013/archiveteam-warrior-v3-20171013.vmx] Send config update invoked | |
2021-05-15T13:10:27.109Z warning hostd[AE81B70] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/6097a4eb-6c6e4c76-46d3-0cc47aaa9742/base/archiveteam/archiveteam-warrior-v3-20171013/archiveteam-warrior-v3-20171013.vmx] File – failed to get objectId, '/vmfs/volumes/6097a4eb-6c6e4c76-46d3-0cc47aaa9742/base/archiveteam/archiveteam-warrior-v3-20171013/archiveteam-warrior-v3-20171013-0ed91464.vswp': Success. | |
2021-05-15T13:10:27.110Z warning hostd[AE81B70] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/6097a4eb-6c6e4c76-46d3-0cc47aaa9742/base/archiveteam/archiveteam-warrior-v3-20171013/archiveteam-warrior-v3-20171013.vmx] File – failed to get objectId, '/vmfs/volumes/6097a4eb-6c6e4c76-46d3-0cc47aaa9742/base/archiveteam/archiveteam-warrior-v3-20171013/vmx-archiveteam-warrior-v3-20171013-249107556-1.vswp': Success. | |
2021-05-15T13:10:27.110Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider] RecordOp ADD: layoutEx.file[12], 25. Sent notification immediately. | |
2021-05-15T13:10:27.110Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider] RecordOp ADD: layoutEx.file[11], 25. Sent notification immediately. | |
2021-05-15T13:10:27.110Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: layoutEx.timestamp, 25. Sent notification immediately. | |
2021-05-15T13:10:27.110Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: layout.swapFile, 25. Sent notification immediately. | |
2021-05-15T13:10:27.110Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: storage, 25. Sent notification immediately. | |
2021-05-15T13:10:27.110Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: summary.storage, 25. Sent notification immediately. | |
2021-05-15T13:10:27.110Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: config.uuid, 25. Sent notification immediately. | |
2021-05-15T13:10:27.110Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: config.locationId, 25. Sent notification immediately. | |
2021-05-15T13:10:27.110Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: config.hardware.device[4000].connectable.connected, 25. Sent notification immediately. | |
2021-05-15T13:10:27.110Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: config.hardware.device[4000].connectable.status, 25. Sent notification immediately. | |
2021-05-15T13:10:27.110Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: config.hardware.device[4000].macAddress, 25. Sent notification immediately. | |
2021-05-15T13:10:27.110Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: config.cpuAllocation.expandableReservation, 25. Sent notification immediately. | |
2021-05-15T13:10:27.110Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: config.memoryAllocation.expandableReservation, 25. Sent notification immediately. | |
2021-05-15T13:10:27.110Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: config.hotPlugMemoryLimit, 25. Sent notification immediately. | |
2021-05-15T13:10:27.110Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: config.hotPlugMemoryIncrementSize, 25. Sent notification immediately. | |
2021-05-15T13:10:27.110Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: config.extraConfig["sched.swap.derivedName"].value, 25. Sent notification immediately. | |
2021-05-15T13:10:27.110Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: config.extraConfig["softPowerOff"].value, 25. Sent notification immediately. | |
2021-05-15T13:10:27.110Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: config.vmxConfigChecksum, 25. Sent notification immediately. | |
2021-05-15T13:10:27.110Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: summary, 25. Sent notification immediately. | |
2021-05-15T13:10:27.110Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: config.hardware.device[4000].deviceInfo, 25. Sent notification immediately. | |
2021-05-15T13:10:27.110Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: resourceConfig.cpuAllocation.expandableReservation, 25. Sent notification immediately. | |
2021-05-15T13:10:27.110Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: resourceConfig.memoryAllocation.expandableReservation, 25. Sent notification immediately. | |
2021-05-15T13:10:27.110Z info hostd[AE81B70] [Originator@6876 sub=Vimsvc.TaskManager] Task Completed : haTask-25-vim.VirtualMachine.powerOn-130896486 Status success | |
2021-05-15T13:10:27.110Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: info, haTask-25-vim.VirtualMachine.powerOn-130896486. Applied change to temp map. | |
2021-05-15T13:10:27.111Z verbose hostd[BBC2B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: licensableResource, ha-host. Sent notification immediately. | |
2021-05-15T13:10:27.112Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: runtime.device, 25. Sent notification immediately. | |
2021-05-15T13:10:27.113Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: guest, 25. Sent notification immediately. | |
2021-05-15T13:10:27.113Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: summary.guest, 25. Sent notification immediately. | |
2021-05-15T13:10:27.113Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: guest.disk, 25. Sent notification immediately. | |
2021-05-15T13:10:27.114Z info hostd[AE81B70] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/6097a4eb-6c6e4c76-46d3-0cc47aaa9742/base/archiveteam/archiveteam-warrior-v3-20171013/archiveteam-warrior-v3-20171013.vmx] Upgrade is required for virtual machine, version: 7 | |
2021-05-15T13:10:27.115Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: guest, 25. Sent notification immediately. | |
2021-05-15T13:10:27.115Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: summary.guest, 25. Sent notification immediately. | |
2021-05-15T13:10:27.115Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: disabledMethod, 25. Sent notification immediately. | |
2021-05-15T13:10:27.115Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: guest.guestOperationsReady, 25. Sent notification immediately. | |
2021-05-15T13:10:27.115Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: guest, 25. Sent notification immediately. | |
2021-05-15T13:10:27.115Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: summary.guest, 25. Sent notification immediately. | |
2021-05-15T13:10:27.115Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: disabledMethod, 25. Sent notification immediately. | |
2021-05-15T13:10:27.116Z info hostd[AE81B70] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/6097a4eb-6c6e4c76-46d3-0cc47aaa9742/base/archiveteam/archiveteam-warrior-v3-20171013/archiveteam-warrior-v3-20171013.vmx] Skip a duplicate transition to: VM_STATE_ON | |
2021-05-15T13:10:27.116Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: runtime.featureRequirement, 25. Sent notification immediately. | |
2021-05-15T13:10:27.123Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-8f-5d23 user=root] RecordOp ASSIGN: info, haTask–vim.ServiceInstance.retrieveContent-130896490. Applied change to temp map. | |
2021-05-15T13:10:27.123Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-8f-5d23 user=root] RecordOp ASSIGN: info, haTask–vim.ServiceInstance.retrieveContent-130896490. Applied change to temp map. | |
2021-05-15T13:10:27.125Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-8f-5d24 user=root] RecordOp ASSIGN: info, haTask–vim.SessionManager.logout-130896491. Applied change to temp map. | |
2021-05-15T13:10:27.125Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-8f-5d24 user=root] RecordOp REMOVE: sessionList["52165943-fe83-da06-513a-6c2c38b0e470"], ha-sessionmgr. Applied change to temp map. | |
2021-05-15T13:10:27.125Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-8f-5d24 user=root] RecordOp ASSIGN: latestEvent, ha-eventmgr. Applied change to temp map. | |
2021-05-15T13:10:27.125Z info hostd[AE81B70] [Originator@6876 sub=Vimsvc.ha-eventmgr opID=vim-cmd-8f-5d24 user=root] Event 771 : User root@127.0.0.1 logged out (login time: Saturday, 15 May, 2021 13:06:26, number of API invocations: 0, user agent: VMware-client/6.5.0) | |
2021-05-15T13:10:27.125Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider opID=vim-cmd-8f-5d24 user=root] RecordOp ASSIGN: info, haTask–vim.SessionManager.logout-130896491. Applied change to temp map. | |
… | |
2021-05-15T13:10:27.579Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: guest, 25. Sent notification immediately. | |
2021-05-15T13:10:27.579Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: summary.guest, 25. Sent notification immediately. | |
2021-05-15T13:10:28.005Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: guest, 15. Sent notification immediately. | |
2021-05-15T13:10:28.006Z verbose hostd[AE81B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: summary.guest, 15. Sent notification immediately. | |
2021-05-15T13:10:28.441Z verbose hostd[B940B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: guest, 25. Sent notification immediately. | |
2021-05-15T13:10:28.441Z verbose hostd[B940B70] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: summary.guest, 25. Sent notification immediately. | |
… | |
2021-05-15T13:20:47.150Z verbose hostd[BBC2B70] [Originator@6876 sub=PropertyProvider opID=esxui-7231-fe08] RecordOp REMOVE: recentTask["haTask-25-vim.VirtualMachine.powerOn-130896486"], 25. Sent notification immediately. | |
2021-05-15T13:20:47.150Z verbose hostd[BBC2B70] [Originator@6876 sub=PropertyProvider opID=esxui-7231-fe08] RecordOp REMOVE: recentTask["haTask-25-vim.VirtualMachine.powerOn-130896486"], ha-taskmgr. Applied change to temp map. | |
… |
Leave a Reply