免責事項:これは英文の記事「Scheduled backup not taken for vCenter Server」の日本語訳です。記事はベストエフォートで翻訳を進めているため、ローカライズ化コンテンツは最新情報ではない可能性があります。最新情報は英語版の記事で参照してください。
vCenter Serverのスケジュールバックアップが不定期に取得されません。
- VAMI上にはエラーは表示されません
- バックアップリストを確認すると、特定の日付のみバックアップが実行されていません
vCenter Server 7.0
vCenter Server 8.0
スケジュールされたバックアップがトリガーされると、まずバックアップの保存先とシステムの状態を検証します。
applmgmt サービスに対して定期的な健全性チェックが実行されています。
applmgmt サービスがバックアップの検証を実行中に、健全性チェックがタイムアウトで失敗することがあります。
定期的な健全性監視によって実行される applmgmt サービス のヘルスチェックのタイミングがこのバックアップの検証と競合した場合、 applmgmt サービス がバックアップ検証中のため健全性チェックがタイムアウトとなり、失敗します。
このタイムアウト失敗が3回連続で発生した後に vmon サービス は applmgmt サービス を 異常(Unhealthy) と判断し、 applmgmt サービス の再起動を開始します。
その結果、バックアップは次のエラーで失敗します。:RemoteDisconnected('Remote end closed connection without response')
backupScheduler.log:
yyyy-mm-ddThh:mm:ss.000 [0] [MainProcess:PID-20291] [Scheduler::ExecScheduleRun:Scheduler.py:138] ERROR: Failed to issue the Schedules.run request. Exception: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/urllib3/connectionpool.py", line 677, in urlopen
chunked=chunked,
File "/usr/lib/python3.7/site-packages/urllib3/connectionpool.py", line 426, in _make_request
six.raise_from(e, None)
File "<string>", line 3, in raise_from
File "/usr/lib/python3.7/site-packages/urllib3/connectionpool.py", line 421, in _make_request
httplib_response = conn.getresponse()
File "/usr/lib/python3.7/http/client.py", line 1373, in getresponse
response.begin()
File "/usr/lib/python3.7/http/client.py", line 319, in begin
version, status, reason = self._read_status()
File "/usr/lib/python3.7/http/client.py", line 288, in _read_status
raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response
vmon.log:
yyyy-mm-ddThh:mm:ss.000Z Wa(03) host-2340 <applmgmt> Health of service failed. Health data:
yyyy-mm-ddThh:mm:ss.000Z In(05) host-2340 <applmgmt> Recover from service api health check failure. Fail count 0
yyyy-mm-ddThh:mm:ss.000Z In(05) host-2340 <applmgmt> Restarting service.
yyyy-mm-ddThh:mm:ss.000Z Wa(03) host-2340 <applmgmt> Found empty StopSignal parameter in config file. Defaulting to SIGTERM
yyyy-mm-ddThh:mm:ss.000Z In(05) host-2340 <event-pub> Constructed command: /usr/bin/python /usr/lib/vmware-vmon/vmonEventPublisher.py --eventdata applmgmt,UNHEALTHY,HEALTHY,1
...
yyyy-mm-ddThh:mm:ss.000Z In(05) host-2340 Client info Uid=0,Gid=0,Pid=22202,Comm=(vmon-cli),PPid=35749,Comm=(python),PPid=2340,Comm=(vmon),PPid=1,Comm=(systemd),PPid=0
yyyy-mm-ddThh:mm:ss.000Z In(05) host-2340 Client info Uid=0,Gid=0,Pid=22212,Comm=(vmon-cli),PPid=35749,Comm=(python),PPid=2340,Comm=(vmon),PPid=1,Comm=(systemd),PPid=0
yyyy-mm-ddThh:mm:ss.000Z Wa(03) host-2340 <applmgmt> Sysprocess clean stop timed out. Force kill. Pid 35749
yyyy-mm-ddThh:mm:ss.000Z Wa(03) host-2340 <applmgmt> Service exited. Exit code 1
yyyy-mm-ddThh:mm:ss.000Z In(05) host-2340 <applmgmt-prestart> Constructed command: /usr/lib/applmgmt/support/scripts/prestart-applmgmt.sh
yyyy-mm-ddThh:mm:ss.000Z Wa(03) host-2340 <applmgmt> Service pre-start command's stderr: Removed /etc/systemd/system/applmgmt.service.
yyyy-mm-ddThh:mm:ss.000Z Wa(03)+ host-2340
yyyy-mm-ddThh:mm:ss.000Z Wa(03) host-2340 <applmgmt> Service pre-start command's stderr: Created symlink /etc/systemd/system/applmgmt.service /dev/null.
yyyy-mm-ddThh:mm:ss.000Z Wa(03)+ host-2340
yyyy-mm-ddThh:mm:ss.000Z In(05) host-2340 <applmgmt> Service pre-start command completed successfully.
yyyy-mm-ddThh:mm:ss.000Z In(05) host-2340 <applmgmt> Constructed command: /usr/lib/applmgmt/applmgmt.launcher
yyyy-mm-ddThh:mm:ss.000Z In(05) host-2340 <applmgmt> Running the API Health command as user
yyyy-mm-ddThh:mm:ss.000Z In(05) host-2340 <applmgmt-healthcmd> Constructed command: /usr/bin/python /usr/lib/applmgmt/applmgmt_vmonhealth.py
yyyy-mm-ddThh:mm:ss.000Z In(05) host-2340 <applmgmt> Re-check service health since it is still initializing.
yyyy-mm-ddThh:mm:ss.000Z In(05) host-2340 <applmgmt> Running the API Health command as user
yyyy-mm-ddThh:mm:ss.000Z In(05) host-2340 <applmgmt-healthcmd> Constructed command: /usr/bin/python /usr/lib/applmgmt/applmgmt_vmonhealth.py
yyyy-mm-ddThh:mm:ss.000Z In(05) host-2340 <applmgmt> Service STARTED successfully.
VMwareエンジニアリングはこの問題を把握しており、今後のリリースで修正される予定です。
回避策:
バックアップタスクと健全性監視タスクの競合を回避するために、スケジュールされたバックアップ時刻を少なくとも10分間ずらします。
例えばバックアップが現在 05:00 に設定されている場合、 05:10 に変更します。