ESXi 4.1, 5,0, 5.1, 5.5, 6.0 で仮想マシンやESXiホストと疎通は取れるが、ESXiホストがvCenterから切断状態となっている状態の復旧方法
各vSphereで、ESXi 4.1, 5,0, 5.1, 5.5, 6.0 で仮想マシンやESXiホストと疎通は取れるが、ESXiホストがvCenterから切断状態となってしまうことがあります。
そんなときの対処方法です。
原因
ESXiの管理エージェントのサービスが何らかの原因で停止してしまっている。
対処
ESXiの管理エージェントのサービスを起動する
対処法その1:GUIで実施する場合
コンソールからログインして、Restart Management Network を実行してください。
対処法その2:CUIで実施する場合
ESXiにSSHで接続します。
hostd と vpxa 2つのサービスをrestartします。
1 2 3 4 5 6 7 8 9 10 |
~
# /etc/init.d/hostd restart watchdog-hostd:
Terminating watchdog process with PID
33756 hostd stopped. Ramdisk
'hostd'
with estimated size of
200MB
already exists hostd started. ~
# ~
# /etc/init.d/vpxa restart watchdog-vpxa:
Terminating watchdog process with PID
1153489 vpxa stopped. ~
# |
※ESXi4.xの場合のみこちら。
1 |
service vmware-vpxa restart |
それでもダメな場合
services.sh を実行し、全てのmanagement agentを再起動してみる
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 |
~
# services.sh restart Running hp-ams.sh stop Terminating hp-ams-watchdog process with PID
35031
1165368
1165369 Stopping process
... Running hp-mst.init stop Unable to
unload module mst:
Module not
found Running xorg stop Running wsman stop Stopping openwsmand Running sfcbd stop This
operation is
not
supported. Please use
/etc/init.d/sfcbd-watchdog stop Running snmpd stop root:
snmpd is
not
running. Running sfcbd-watchdog stop Running hpcru.init stop Running hpilo.init stop Running hpsmx.init stop Running vpxa stop watchdog-vpxa:
Terminating watchdog process with PID
1165191 vpxa stopped. Running vobd stop watchdog-vobd:
Terminating watchdog process with PID
33187 vobd stopped Running lacp stop watchdog-net-lacp:
Terminating watchdog process with PID
33388 Running memscrubd stop memscrubd is
not
running Running nscd stop watchdog-nscd:
Terminating watchdog process with PID
34361 Running smartd stop watchdog-smartd:
Terminating watchdog process with PID
34303 smartd stopped Running dcbd stop watchdog-dcbd:
Terminating watchdog process with PID
34190 Running cdp stop watchdog-cdp:
Terminating watchdog process with PID
34107 Running slpd stop Stopping slpd Running rhttpproxy stop watchdog-rhttpproxy:
Terminating watchdog process with PID
34050 rhttpproxy stopped. Running vsantraced stop watchdog-vsantraced:
Terminating watchdog process with PID
34007 vsantraced stopped Running swapobjd stop watchdog-swapobjd:
Terminating watchdog process with PID
33954 Waiting for
process to
terminate... swapobjd stopped Running vmfstraced stop watchdog-vmfstracegd:
PID file
/var/run/vmware/watchdog-vmfstracegd.PID does not
exist watchdog-vmfstracegd:
Unable to
terminate watchdog:
No running watchdog process for
vmfstracegd vmfstracegd is
not
running Failed to
clear vmfstracegd memory reservation Running sensord stop watchdog-sensord:
Terminating watchdog process with PID
33839 sensord stopped Running lbtd stop watchdog-net-lbt:
Terminating watchdog process with PID
33796 net-lbt stopped Running hostd stop watchdog-hostd:
Terminating watchdog process with PID
1164849 hostd stopped. Running storageRM stop watchdog-storageRM:
Terminating watchdog process with PID
33707 storageRM stopped Running sdrsInjector stop watchdog-sdrsInjector:
Terminating watchdog process with PID
33671 sdrsInjector stopped Running hp-oem.init stop Running usbarbitrator stop watchdog-usbarbitrator:
Terminating watchdog process with PID
33622 usbarbitrator stopped Running DCUI stop Disabling DCUI logins VobUserLib_Init failed with
-1 Running DCUI restart Enabling DCUI login:
runlevel
=
VobUserLib_Init failed with
-1 Running usbarbitrator restart usbarbitrator started Running hp-oem.init restart Running sdrsInjector restart sdrsInjector started Running storageRM restart storageRM started Running hostd restart Ramdisk
'hostd'
with estimated size of
200MB
already exists hostd started. Running lbtd restart net-lbt started Running sensord restart sensord started Running vmfstraced restart VMFS Global
Tracing is
not
enabled. Running swapobjd restart swapobjd started Running vsantraced restart Storing traces to
/scratch/vsantraces vsantraced started Running rhttpproxy restart rhttpproxy started. Running slpd restart Starting slpd Running cdp restart cdp started Running dcbd restart dcbd started Running smartd restart smartd started Running nscd restart nscd started Running memscrubd restart The checkPages boot option is
FALSE,
hence memscrubd could not
be started. Running lacp restart LACP daemon started Running vobd restart vobd started Running vpxa restart Running hpsmx.init restart Running hpilo.init restart vmkload_mod:
Can not
load module hpilo:
module is
already loaded Running hpcru.init restart vmkload_mod:
Can not
load module hpcru:
module is
already loaded Running sfcbd-watchdog restart Running snmpd restart root:
snmpd has not
been enabled. Running sfcbd restart This
operation is
not
supported. Please use
/etc/init.d/sfcbd-watchdog start Running wsman restart Starting openwsmand Running xorg restart Running hp-mst.init restart Running hp-ams.sh restart ~
# Stopping process ... ~
# |
それでもそれでもダメなら、あきらめてESXiサーバを再起動しましょう・・・。
ディスカッション
コメント一覧
まだ、コメントがありません