0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

503 Service UnavailableからのvCenter Inventory Service データベースのリセットによる復旧

Posted at

計画停電でvCenterを強制Power offせざるを得ず、起動後にvCenterにつながらない状態に...

503 Service Unavailable (Failed to connect to endpoint: [N7Vmacore4Http20NamedPipeServiceSpecE:0x7fc6705a4620] _serverNamespace = / _isRedirect = false _pipeName =/var/run/vmware/vpxd-webserver-pipe)

ここの手順で再起動を試みるも失敗、

vCenter Server Appliance サービスの停止、起動または再起動方法 (2092905) | VMware KB
https://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&externalId=2092905&sliceId=1&docTypeID=DT_KB_1_1&dialogID=229074054&stateId=0%200%20229076004

どうやら、vCenter Server Appliance 6.0 Inventory Service データベースのリセットが必要そう。

Inventory Service fails to start in vCenter Server 6.x (2119422) | VMware KB
https://kb.vmware.com/selfservice/search.do?cmd=displayKC&docType=kc&docTypeID=DT_KB_1_1&externalId=2119422

ダウンロードしたスクリプトを実行した。

vcsa-01:~ # chmod 700 invreset_kb2119422.sh
vcsa-01:~ # ./invreset_kb2119422.sh
**********************************************************
Copyright 2016 VMware, Inc.  All rights reserved
**********************************************************?

###
# Resetting Inventory Service Database
##

lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
x      ??                                                                     x
x     ?  ?     You should only ever use this if you cannot use:               x
x    ?    ?    http://kb.vmware.com/kb/2113435                                x
x   ?      ?   Always take a snapshot before running this script!             x
x  ?        ?  You will lose Storage Profiles if you execute this script!     x
x ? WARNING! ?                                                                x
x qqqqqqqqqqqq                                                                x
mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj
Are you sure you want to continue ? (y/N) y
--snip--
vmware-vpxd: Starting vpxd by administrative request.
success
vmware-vpxd: Waiting for vpxd to start listening for requests on 8089
Waiting for vpxd to initialize: .....................................
Broadcast message from root (Tue Sep 13 00:54:01 2016):

The system is going DOWN for reboot in 5 minutes!
.failed
failed
vmware-vpxd: vpxd failed to initialize in time.
vpxd is already starting up. Aborting the request.
FORCEFULLY ABORTING! vCenter Server Service failed to start. Check /var/log/vmwre/vpxd/vpxd.log
vcsa-01:~ #

再起動後は正常に接続できました。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?