Cookie Settings
vCenter Server Appliance 6.5 の組み込み vPostgres データベースとのやりとり
search
cancel
Search
vCenter Server Appliance 6.5 の組み込み vPostgres データベースとのやりとり
book
Article ID: 338225
calendar_today
Updated On:
12-05-2016
Products
VMware vCenter Server
Show More
Show Less
Issue/Introduction
この記事では、vCenter Server Appliance 6.5 の組み込み vPostgres データベースに接続する手順を説明します。
注意:
vCenter Server Appliance 6.5 データベースとやり取りする前に、vCenter Server Appliance 6.5 の正常に動作するバックアップやスナップショットを作成するようにしてください。
Symptoms:
免責事項
:これは英文の記事「
Interacting with the vCenter Server Appliance 6.5 embedded vPostgres Database (2147285)
」の日本語訳です。記事はベストエフォートで翻訳を進めているため、ローカライズ化コンテンツは最新情報ではない可能性があります。最新情報は英語版の記事で参照してください。
Environment
VMware vCenter Server Appliance 6.5.x
Resolution
vCenter Server Appliance 6.5 の組み込み vPostgres データベースに接続するには:
SSH を使用して、vCenter Server Appliance 6.5 に接続します。
shell コマンドを実行して、BASH シェルに切り替えます。
shell
vCenter Server Appliance 6.5 BASH シェルから次のコマンドを実行して、VCDB に接続します。
/opt/vmware/vpostgres/current/bin/psql -d VCDB -U postgres
例:
#/opt/vmware/vpostgres/current/bin/psql -d VCDB -U postgres
psql.bin (9.4.9 (VMware Postgres 9.4.9.0-4442725 release))
Type "help" for help.
VCDB=#
インスタンス内のすべてのデータベースのリストを表示するには、次のコマンドを実行します。
すべてのテーブルとそれらのサイズのリストを表示するには、次のコマンドを実行します。
SELECT * FROM VPX_VERSION;
SELECT * FROM VPX_HOST;
次のコマンドを実行して、psql を終了します。
\q
Additional Information
Interacting with the vCenter Server Appliance 6.5 embedded vPostgres Database
Feedback
Was this article helpful?
thumb_up
Yes
thumb_down
No