Wanneer je een VM wil aanpassen kun je tegen de melding aanlopen, “not allowed in current state, powered off” terwijl de VM live is. Dan zit er iets niet lekker tussen de agents op de host en de vmware tools op de guest.
Om dit te verhelpen herstart je op de host eerst je agents.
/etc/init.d/hostd restart /etc/init.d/vpxa restart
Als dat niet helpt doe je zelfs:
services.sh restart
Wanneer je hierbij een foutmelding krijgt die zegt “Invalid operation requested: This ruleset is required and connot be disabled” doe je het volgende:
services.sh restart &tail -f /var/log/jumpstart-stdout.log
Deze zal alle agents stoppen en starten en je voorzien van output naar je scherm zoals hieronder getoond. Wanneer je daarin na enige tijd geen nieuwe regels bij ziet verschijnen, ga je eruit middels <CTRL>+<C>
[root@equinoxe:~] services.sh restart &tail -f /var/log/jumpstart-stdout.log 2020-05-01T06:41:03.035Z| executing stop for daemon hp-ams.sh. 2020-05-01T06:41:07.275Z| executing stop for daemon xorg. 2020-05-01T06:41:07.478Z| executing stop for daemon vmsyslogd. 2020-05-01T06:41:07.680Z| Jumpstart failed to stop: vmsyslogd reason: Execution of command: /etc/init.d/vmsyslogd stop failed with status: 1 2020-05-01T06:41:07.680Z| executing stop for daemon vmtoolsd. 2020-05-01T06:41:07.881Z| Jumpstart failed to stop: vmtoolsd reason: Execution of command: /etc/init.d/vmtoolsd stop failed with status: 1 2020-05-01T06:41:07.881Z| executing stop for daemon wsman. 2020-05-01T06:41:08.284Z| executing stop for daemon snmpd. 2020-05-01T06:41:08.487Z| executing stop for daemon sfcbd-watchdog. 2020-05-01T06:41:18.583Z| executing stop for daemon hpe-smx.init. 2020-05-01T06:41:18.785Z| executing stop for daemon hpe-nmi.init. 2020-05-01T06:41:18.988Z| executing stop for daemon hpe-fc.sh. 2020-05-01T06:41:19.190Z| executing stop for daemon vpxa. 2020-05-01T06:41:19.391Z| executing stop for daemon vobd. 2020-05-01T06:41:19.594Z| executing stop for daemon dcbd. 2020-05-01T06:41:19.796Z| executing stop for daemon cdp. 2020-05-01T06:41:19.999Z| executing stop for daemon nscd. 2020-05-01T06:41:20.201Z| executing stop for daemon nicmgmtd. 2020-05-01T06:41:20.604Z| executing stop for daemon lacp. 2020-05-01T06:41:20.806Z| executing stop for daemon memscrubd. 2020-05-01T06:41:21.009Z| Jumpstart failed to stop: memscrubd reason: Execution of command: /etc/init.d/memscrubd stop failed with status: 3 2020-05-01T06:41:21.009Z| executing stop for daemon smartd. 2020-05-01T06:41:21.211Z| executing stop for daemon slpd. 2020-05-01T06:41:21.414Z| executing stop for daemon vvold. 2020-05-01T06:41:21.614Z| Jumpstart failed to stop: vvold reason: Execution of command: /etc/init.d/vvold stop failed with status: 3 2020-05-01T06:41:21.614Z| executing stop for daemon hostdCgiServer. 2020-05-01T06:41:21.817Z| executing stop for daemon hostd. 2020-05-01T06:41:22.019Z| executing stop for daemon rhttpproxy. 2020-05-01T06:41:22.220Z| executing stop for daemon sdrsInjector. 2020-05-01T06:41:22.421Z| executing stop for daemon storageRM. 2020-05-01T06:41:22.624Z| executing stop for daemon sensord. 2020-05-01T06:41:24.036Z| executing stop for daemon lbtd. 2020-05-01T06:41:24.239Z| executing stop for daemon nfcd. 2020-05-01T06:41:24.441Z| executing stop for daemon vmfstraced. 2020-05-01T06:41:24.644Z| executing stop for daemon rabbitmqproxy. 2020-05-01T06:41:24.847Z| executing stop for daemon esxui. 2020-05-01T06:41:25.047Z| executing stop for daemon usbarbitrator. 2020-05-01T06:41:25.250Z| executing stop for daemon iofilterd-spm. 2020-05-01T06:41:25.451Z| executing stop for daemon swapobjd. 2020-05-01T06:41:25.856Z| executing stop for daemon iofilterd-vmwarevmcrypt. Errors: Invalid operation requested: This ruleset is required and connot be disabled 2020-05-01T06:41:26.057Z| executing stop for daemon ESXShell. 2020-05-01T06:41:26.260Z| executing stop for daemon SSH. 2020-05-01T06:41:26.461Z| executing stop for daemon DCUI. 2020-05-01T06:41:27.735Z| executing start plugin: ESXShell 2020-05-01T06:41:27.938Z| executing start plugin: SSH 2020-05-01T06:41:28.140Z| executing start plugin: DCUI 2020-05-01T06:41:28.341Z| executing start plugin: esxui 2020-05-01T06:41:28.948Z| executing start plugin: usbarbitrator 2020-05-01T06:41:39.043Z| executing start plugin: iofilterd-spm 2020-05-01T06:41:39.245Z| executing start plugin: swapobjd 2020-05-01T06:41:39.448Z| executing start plugin: iofilterd-vmwarevmcrypt 2020-05-01T06:41:39.650Z| executing start plugin: vvold 2020-05-01T06:41:41.063Z| executing start plugin: hostdCgiServer 2020-05-01T06:41:41.266Z| executing start plugin: hostd 2020-05-01T06:41:41.871Z| executing start plugin: rhttpproxy 2020-05-01T06:41:42.074Z| executing start plugin: sdrsInjector 2020-05-01T06:41:42.276Z| executing start plugin: storageRM 2020-05-01T06:41:42.478Z| executing start plugin: sensord 2020-05-01T06:41:42.679Z| executing start plugin: lbtd 2020-05-01T06:41:42.880Z| executing start plugin: nfcd 2020-05-01T06:41:43.081Z| executing start plugin: vmfstraced 2020-05-01T06:41:43.284Z| executing start plugin: rabbitmqproxy 2020-05-01T06:41:43.688Z| executing start plugin: slpd 2020-05-01T06:41:43.889Z| executing start plugin: dcbd 2020-05-01T06:41:44.091Z| executing start plugin: cdp 2020-05-01T06:41:44.294Z| executing start plugin: nscd 2020-05-01T06:41:44.496Z| executing start plugin: nicmgmtd 2020-05-01T06:41:44.699Z| executing start plugin: lacp 2020-05-01T06:41:44.900Z| executing start plugin: memscrubd 2020-05-01T06:41:45.101Z| executing start plugin: smartd 2020-05-01T06:41:45.301Z| executing start plugin: vpxa 2020-05-01T06:41:45.504Z| executing start plugin: hpe-smx.init 2020-05-01T06:41:46.109Z| executing start plugin: hpe-nmi.init 2020-05-01T06:41:46.513Z| executing start plugin: hpe-fc.sh 2020-05-01T06:41:47.319Z| executing start plugin: sfcbd-watchdog 2020-05-01T06:41:47.925Z| executing start plugin: wsman 2020-05-01T06:41:48.330Z| executing start plugin: snmpd 2020-05-01T06:41:48.734Z| Jumpstart failed to start: snmpd reason: Execution of command: /etc/init.d/snmpd start failed with status: 1 2020-05-01T06:41:48.734Z| executing start plugin: xorg 2020-05-01T06:41:49.138Z| executing start plugin: vmtoolsd 2020-05-01T06:41:49.341Z| executing start plugin: hp-ams.sh
Na de <CTRL>+<C> zie je:
[1]+ Done services.sh restart [root@equinoxe:~]