vCenter Server 早期支持內(nèi)嵌(embedded)和外部(external)數(shù)據(jù)庫,內(nèi)嵌數(shù)據(jù)庫就是vPostgres,基于VMware Postgres數(shù)據(jù)庫(PostgreSQL數(shù)據(jù)庫),外部數(shù)據(jù)庫用的多的是Oracle數(shù)據(jù)庫和SQL Server數(shù)據(jù)庫。因?yàn)樵缙谑褂脙?nèi)嵌的Postgr
vCenter Server 早期支持內(nèi)嵌(embedded)和外部(external)數(shù)據(jù)庫,內(nèi)嵌數(shù)據(jù)庫就是vPostgres,基于 VMware Postgres 數(shù)據(jù)庫(PostgreSQL數(shù)據(jù)庫),外部數(shù)據(jù)庫用的多的是Oracle數(shù)據(jù)庫和SQL Server數(shù)據(jù)庫。因?yàn)樵缙谑褂脙?nèi)嵌的PostgreSQL數(shù)據(jù)庫只能用于小型環(huán)境,比如僅支持幾十臺(tái)主機(jī)以及幾百個(gè)虛擬機(jī),所以一般大型的環(huán)境都使用外部數(shù)據(jù)庫進(jìn)行部署,這跟早期基于Platform Services Controller(PSC)內(nèi)嵌和分離部署方式類似,而現(xiàn)在VMware只使用內(nèi)嵌vPostgres數(shù)據(jù)庫了,因?yàn)樵酵竺娓碌陌姹竟δ苄阅茉絹碓綇?qiáng),這與使用外部數(shù)據(jù)庫的差距就不大了,后來PSC也僅支持內(nèi)嵌部署,在簡(jiǎn)化產(chǎn)品構(gòu)成的復(fù)雜性的同時(shí)也與產(chǎn)品本身更緊密集成了。
注意: 進(jìn)行數(shù)據(jù)庫操作之前,說明已知曉風(fēng)險(xiǎn)并承擔(dān)可能帶來的后果。此操作不受VMware支持,請(qǐng)對(duì)vCenter Server做好備份和快照。
要連接到vPostgres數(shù)據(jù)庫,需要先連接到vCenter Server的Shell命令行界面,所以需要先為vCenter啟用SSH連接并使用root用戶登錄。其中,連接數(shù)據(jù)庫需要用到psql命令,psql是vPostgres數(shù)據(jù)庫自帶的交互式命令行管理工具,該工具位于vCenter的以下目錄中。
/opt/vmware/vpostgres/current/bin/psql
需要注意的是,在操作vPostgres數(shù)據(jù)庫時(shí),應(yīng)該使用位于/opt/vmware/vpostgres/current/bin/中的psql二進(jìn)制文件,而不是直接使用操作系統(tǒng)的psql二進(jìn)制文件,因?yàn)檫@兩者的版本存在一定區(qū)別。
/opt/vmware/vpostgres/current/bin/psql --version
psql --version
在連接使用vPostgres數(shù)據(jù)庫之前,先來看一下psql命令工具的使用幫助。
root@vcenter [ ~ ]# /opt/vmware/vpostgres/current/bin/psql --help
psql is the PostgreSQL interactive terminal.
Usage:
psql [OPTION]... [DBNAME [USERNAME]]
General options:
-c, --command=COMMAND run only single command (SQL or internal) and exit
-d, --dbname=DBNAME database name to connect to (default: "root")
-f, --file=FILENAME execute commands from file, then exit
-l, --list list available databases, then exit
-v, --set=, --variable=NAME=VALUE
set psql variable NAME to VALUE
(e.g., -v ON_ERROR_STOP=1)
-V, --version output version information, then exit
-X, --no-psqlrc do not read startup file (~/.psqlrc)
-1 ("one"), --single-transaction
execute as a single transaction (if non-interactive)
-?, --help[=options] show this help, then exit
--help=commands list backslash commands, then exit
--help=variables list special variables, then exit
Input and output options:
-a, --echo-all echo all input from script
-b, --echo-errors echo failed commands
-e, --echo-queries echo commands sent to server
-E, --echo-hidden display queries that internal commands generate
-L, --log-file=FILENAME send session log to file
-n, --no-readline disable enhanced command line editing (readline)
-o, --output=FILENAME send query results to file (or |pipe)
-q, --quiet run quietly (no messages, only query output)
-s, --single-step single-step mode (confirm each query)
-S, --single-line single-line mode (end of line terminates SQL command)
Output format options:
-A, --no-align unaligned table output mode
--csv CSV (Comma-Separated Values) table output mode
-F, --field-separator=STRING
field separator for unaligned output (default: "|")
-H, --html HTML table output mode
-P, --pset=VAR[=ARG] set printing option VAR to ARG (see \pset command)
-R, --record-separator=STRING
record separator for unaligned output (default: newline)
-t, --tuples-only print rows only
-T, --table-attr=TEXT set HTML table tag attributes (e.g., width, border)
-x, --expanded turn on expanded table output
-z, --field-separator-zero
set field separator for unaligned output to zero byte
-0, --record-separator-zero
set record separator for unaligned output to zero byte
Connection options:
-h, --host=HOSTNAME database server host or socket directory (default: "/var/run/vpostgres")
-p, --port=PORT database server port (default: "5432")
-U, --username=USERNAME database user name (default: "root")
-w, --no-password never prompt for password
-W, --password force password prompt (should happen automatically)
For more information, type "\?" (for internal commands) or "\help" (for SQL
commands) from within psql, or consult the psql section in the PostgreSQL
documentation.
Report bugs to .
PostgreSQL home page: <https://www.postgresql.org/>
psql命令后面可以跟多個(gè)選項(xiàng),比如連接選項(xiàng)中,-h或--host指定連接的數(shù)據(jù)庫主機(jī),-p或--port指定連接數(shù)據(jù)庫的端口號(hào)(默認(rèn)5432),-U或--username指定連接數(shù)據(jù)庫的用戶名,-W或--password指定連接數(shù)據(jù)庫的密碼,在通用選項(xiàng)中,-d或--dbname指定連接的數(shù)據(jù)庫名稱。通過上述選項(xiàng)可以連接到某個(gè)數(shù)據(jù)庫中并進(jìn)入交互式命令行界面,如果不想進(jìn)入交互式界面,可以使用-c或者--command直接在Shell中運(yùn)行數(shù)據(jù)庫指令,使用-l或--list選項(xiàng)列出所有可用的數(shù)據(jù)庫名稱,-f或--file選擇可以執(zhí)行本地目錄中的一個(gè)腳本文件。還可以設(shè)定輸入input和輸出output選項(xiàng)以及輸出output的格式,比如-b選項(xiàng)指定命令錯(cuò)誤了輸出,-q選項(xiàng)靜默執(zhí)行,-t選項(xiàng)僅輸出結(jié)果等等。更多詳細(xì)解釋請(qǐng)看 psql 說明。
/opt/vmware/vpostgres/current/bin/psql -U postgres -l
默認(rèn)情況下,vCenter Server內(nèi)嵌式vPostgres數(shù)據(jù)庫的用戶名是 postgres,這是一個(gè)superuser具有超級(jí)管理員權(quán)限,通過本地登錄無需要密碼皆可連接,如果想通過外面其他客戶端進(jìn)行登錄則還需要進(jìn)行其他設(shè)置,后面會(huì)說。早期的vCenter Server版本還有一個(gè)用戶 vc 也具有管理員權(quán)限,不過最新的版本中該用戶依然存在不過無法進(jìn)行數(shù)據(jù)庫創(chuàng)建等操作。連接數(shù)據(jù)庫后,我們可以使用\du或\du+或\dg或\dg+的psql基本命令查看數(shù)據(jù)庫中的所有用戶及其分配的角色。
/opt/vmware/vpostgres/current/bin/psql -U postgres -d VCDB
下圖是vCenter Server 6.7版本中嵌入式vPostgres數(shù)據(jù)庫中所有的用戶。
下圖是vCenter Server 8.0版本中嵌入式vPostgres數(shù)據(jù)庫中所有的用戶。
查看vPostgres數(shù)據(jù)庫的配置文件,vCenter Server默認(rèn)的數(shù)據(jù)庫實(shí)例是VCDB,數(shù)據(jù)庫的存放位置是/storage/db/vpostgres。JDBC地址以及PGUSER_PASSWORD密碼后面通過外部客戶端連接的時(shí)候會(huì)用到。
cat /etc/vmware-vpx/embedded_db.cfg
cat /etc/vmware-vpx/vcdb.properties
使用psql工具連接到vPostgres數(shù)據(jù)庫以后,進(jìn)入交互式命令行界面,可以使用help查看幫助。
/opt/vmware/vpostgres/current/bin/psql -U postgres -d VCDB
使用\?可以查看 psql 基本命令。
VCDB=# \?
General
\copyright show PostgreSQL usage and distribution terms
\crosstabview [COLUMNS] execute query and display results in crosstab
\errverbose show most recent error message at maximum verbosity
\g [(OPTIONS)] [FILE] execute query (and send results to file or |pipe);
\g with no arguments is equivalent to a semicolon
\gdesc describe result of query, without executing it
\gexec execute query, then execute each value in its result
\gset [PREFIX] execute query and store results in psql variables
\gx [(OPTIONS)] [FILE] as \g, but forces expanded output mode
\q quit psql
\watch [SEC] execute query every SEC seconds
Help
\? [commands] show help on backslash commands
\? options show help on psql command-line options
\? variables show help on special variables
\h [NAME] help on syntax of SQL commands, * for all commands
Query Buffer
\e [FILE] [LINE] edit the query buffer (or file) with external editor
\ef [FUNCNAME [LINE]] edit function definition with external editor
\ev [VIEWNAME [LINE]] edit view definition with external editor
\p show the contents of the query buffer
\r reset (clear) the query buffer
\s [FILE] display history or save it to file
\w FILE write query buffer to file
Input/Output
\copy ... perform SQL COPY with data stream to the client host
\echo [-n] [STRING] write string to standard output (-n for no newline)
\i FILE execute commands from file
\ir FILE as \i, but relative to location of current script
\o [FILE] send all query results to file or |pipe
\qecho [-n] [STRING] write string to \o output stream (-n for no newline)
\warn [-n] [STRING] write string to standard error (-n for no newline)
Conditional
\if EXPR begin conditional block
\elif EXPR alternative within current conditional block
\else final alternative within current conditional block
\endif end conditional block
Informational
(options: S = show system objects, + = additional detail)
\d[S+] list tables, views, and sequences
\d[S+] NAME describe table, view, sequence, or index
\da[S] [PATTERN] list aggregates
\dA[+] [PATTERN] list access methods
\dAc[+] [AMPTRN [TYPEPTRN]] list operator classes
\dAf[+] [AMPTRN [TYPEPTRN]] list operator families
\dAo[+] [AMPTRN [OPFPTRN]] list operators of operator families
\dAp[+] [AMPTRN [OPFPTRN]] list support functions of operator families
\db[+] [PATTERN] list tablespaces
\dc[S+] [PATTERN] list conversions
\dC[+] [PATTERN] list casts
\dd[S] [PATTERN] show object descriptions not displayed elsewhere
\dD[S+] [PATTERN] list domains
\ddp [PATTERN] list default privileges
\dE[S+] [PATTERN] list foreign tables
\des[+] [PATTERN] list foreign servers
\det[+] [PATTERN] list foreign tables
\deu[+] [PATTERN] list user mappings
\dew[+] [PATTERN] list foreign-data wrappers
\df[anptw][S+] [FUNCPTRN [TYPEPTRN ...]]
list [only agg/normal/procedure/trigger/window] functions
\dF[+] [PATTERN] list text search configurations
\dFd[+] [PATTERN] list text search dictionaries
\dFp[+] [PATTERN] list text search parsers
\dFt[+] [PATTERN] list text search templates
\dg[S+] [PATTERN] list roles
\di[S+] [PATTERN] list indexes
\dl list large objects, same as \lo_list
\dL[S+] [PATTERN] list procedural languages
\dm[S+] [PATTERN] list materialized views
\dn[S+] [PATTERN] list schemas
\do[S+] [OPPTRN [TYPEPTRN [TYPEPTRN]]]
list operators
\dO[S+] [PATTERN] list collations
\dp [PATTERN] list table, view, and sequence access privileges
\dP[itn+] [PATTERN] list [only index/table] partitioned relations [n=nested]
\drds [ROLEPTRN [DBPTRN]] list per-database role settings
\dRp[+] [PATTERN] list replication publications
\dRs[+] [PATTERN] list replication subscriptions
\ds[S+] [PATTERN] list sequences
\dt[S+] [PATTERN] list tables
\dT[S+] [PATTERN] list data types
\du[S+] [PATTERN] list roles
\dv[S+] [PATTERN] list views
\dx[+] [PATTERN] list extensions
\dX [PATTERN] list extended statistics
\dy[+] [PATTERN] list event triggers
\l[+] [PATTERN] list databases
\sf[+] FUNCNAME show a function's definition
\sv[+] VIEWNAME show a view's definition
\z [PATTERN] same as \dp
Formatting
\a toggle between unaligned and aligned output mode
\C [STRING] set table title, or unset if none
\f [STRING] show or set field separator for unaligned query output
\H toggle HTML output mode (currently off)
\pset [NAME [VALUE]] set table output option
(border|columns|csv_fieldsep|expanded|fieldsep|
fieldsep_zero|footer|format|linestyle|null|
numericlocale|pager|pager_min_lines|recordsep|
recordsep_zero|tableattr|title|tuples_only|
unicode_border_linestyle|unicode_column_linestyle|
unicode_header_linestyle)
\t [on|off] show only rows (currently off)
\T [STRING] set HTML tag attributes, or unset if none
\x [on|off|auto] toggle expanded output (currently off)
Connection
\c[onnect] {[DBNAME|- USER|- HOST|- PORT|-] | conninfo}
connect to new database (currently "VCDB")
\conninfo display information about current connection
\encoding [ENCODING] show or set client encoding
\password [USERNAME] securely change the password for a user
Operating System
\cd [DIR] change the current working directory
\setenv NAME [VALUE] set or unset environment variable
\timing [on|off] toggle timing of commands (currently off)
\! [COMMAND] execute command in shell or start interactive shell
Variables
\prompt [TEXT] NAME prompt user to set internal variable
\set [NAME [VALUE]] set internal variable, or list all if no parameters
\unset NAME unset (delete) internal variable
Large Objects
\lo_export LOBOID FILE
\lo_import FILE [COMMENT]
\lo_list
\lo_unlink LOBOID large object operations
VCDB=#
使用\h可以查看支持的標(biāo)準(zhǔn) SQL 命令。
VCDB=# \h
Available help:
ABORT CHECKPOINT CREATE USER DROP TRIGGER
ALTER AGGREGATE CLOSE CREATE USER MAPPING DROP TYPE
ALTER COLLATION CLUSTER CREATE VIEW DROP USER
ALTER CONVERSION COMMENT DEALLOCATE DROP USER MAPPING
ALTER DATABASE COMMIT DECLARE DROP VIEW
ALTER DEFAULT PRIVILEGES COMMIT PREPARED DELETE END
ALTER DOMAIN COPY DISCARD EXECUTE
ALTER EVENT TRIGGER CREATE ACCESS METHOD DO EXPLAIN
ALTER EXTENSION CREATE AGGREGATE DROP ACCESS METHOD FETCH
ALTER FOREIGN DATA WRAPPER CREATE CAST DROP AGGREGATE GRANT
ALTER FOREIGN TABLE CREATE COLLATION DROP CAST IMPORT FOREIGN SCHEMA
ALTER FUNCTION CREATE CONVERSION DROP COLLATION INSERT
ALTER GROUP CREATE DATABASE DROP CONVERSION LISTEN
ALTER INDEX CREATE DOMAIN DROP DATABASE LOAD
ALTER LANGUAGE CREATE EVENT TRIGGER DROP DOMAIN LOCK
ALTER LARGE OBJECT CREATE EXTENSION DROP EVENT TRIGGER MOVE
ALTER MATERIALIZED VIEW CREATE FOREIGN DATA WRAPPER DROP EXTENSION NOTIFY
ALTER OPERATOR CREATE FOREIGN TABLE DROP FOREIGN DATA WRAPPER PREPARE
ALTER OPERATOR CLASS CREATE FUNCTION DROP FOREIGN TABLE PREPARE TRANSACTION
ALTER OPERATOR FAMILY CREATE GROUP DROP FUNCTION REASSIGN OWNED
ALTER POLICY CREATE INDEX DROP GROUP REFRESH MATERIALIZED VIEW
ALTER PROCEDURE CREATE LANGUAGE DROP INDEX REINDEX
ALTER PUBLICATION CREATE MATERIALIZED VIEW DROP LANGUAGE RELEASE SAVEPOINT
ALTER ROLE CREATE OPERATOR DROP MATERIALIZED VIEW RESET
ALTER ROUTINE CREATE OPERATOR CLASS DROP OPERATOR REVOKE
ALTER RULE CREATE OPERATOR FAMILY DROP OPERATOR CLASS ROLLBACK
ALTER SCHEMA CREATE POLICY DROP OPERATOR FAMILY ROLLBACK PREPARED
ALTER SEQUENCE CREATE PROCEDURE DROP OWNED ROLLBACK TO SAVEPOINT
ALTER SERVER CREATE PUBLICATION DROP POLICY SAVEPOINT
ALTER STATISTICS CREATE ROLE DROP PROCEDURE SECURITY LABEL
ALTER SUBSCRIPTION CREATE RULE DROP PUBLICATION SELECT
ALTER SYSTEM CREATE SCHEMA DROP ROLE SELECT INTO
ALTER TABLE CREATE SEQUENCE DROP ROUTINE SET
ALTER TABLESPACE CREATE SERVER DROP RULE SET CONSTRAINTS
ALTER TEXT SEARCH CONFIGURATION CREATE STATISTICS DROP SCHEMA SET ROLE
ALTER TEXT SEARCH DICTIONARY CREATE SUBSCRIPTION DROP SEQUENCE SET SESSION AUTHORIZATION
ALTER TEXT SEARCH PARSER CREATE TABLE DROP SERVER SET TRANSACTION
ALTER TEXT SEARCH TEMPLATE CREATE TABLE AS DROP STATISTICS SHOW
ALTER TRIGGER CREATE TABLESPACE DROP SUBSCRIPTION START TRANSACTION
ALTER TYPE CREATE TEXT SEARCH CONFIGURATION DROP TABLE TABLE
ALTER USER CREATE TEXT SEARCH DICTIONARY DROP TABLESPACE TRUNCATE
ALTER USER MAPPING CREATE TEXT SEARCH PARSER DROP TEXT SEARCH CONFIGURATION UNLISTEN
ALTER VIEW CREATE TEXT SEARCH TEMPLATE DROP TEXT SEARCH DICTIONARY UPDATE
ANALYZE CREATE TRANSFORM DROP TEXT SEARCH PARSER VACUUM
BEGIN CREATE TRIGGER DROP TEXT SEARCH TEMPLATE VALUES
CALL CREATE TYPE DROP TRANSFORM WITH
VCDB=#
通常情況下,psql基本命令和標(biāo)準(zhǔn)的sql命令可以配合使用。使用\q可以退出 psql 交互式命令行界面,下面看一下常用的psql基本命令。更多詳細(xì)解釋請(qǐng)看
psql
說明。
\conninfo 查看當(dāng)前連接信息。
\c postgres 連接到其他數(shù)據(jù)庫。
\encoding 查看當(dāng)前連接編碼。
\l或\l+ 查看所有數(shù)據(jù)庫。
\du或\du+ 查看所有用戶及分配的角色(上面說過)。
\drds 查看角色的設(shè)置。
\dn+ 查看所有schema模式。
\d+ 查看所有對(duì)象信息,包含table、view、sequence等。\dt+ 查看table,\dv+ 查看view,\ds+ 查看sequence。
\db+ 查看表空間。
\dA+ 查看訪問的方法。
\a 開啟或關(guān)閉輸出對(duì)齊模式。上面所有的默認(rèn)輸出都是對(duì)齊模式,unaligned后,以 \l 為例,如下所示。
重新aligned以后,再查看數(shù)據(jù)庫,所有列都對(duì)齊了。
有的時(shí)候,當(dāng)查詢一個(gè)比較大的表時(shí),顯示的內(nèi)容展示不太友好,比如\l+查看數(shù)據(jù)庫,有些內(nèi)容超出第二行了。
\x 開啟expanded顯示后,這樣就方便我們進(jìn)行查看了,若要關(guān)閉再次執(zhí)行\(zhòng)x即可。
\t 僅顯示輸出的結(jié)果,不顯示標(biāo)題。
關(guān)于PostgreSQL標(biāo)準(zhǔn)的SQL命令語法這里就不展開說明了,詳細(xì)可以查看
PostgreSQL教程
,下面舉幾個(gè)例子。
查看vCenter數(shù)據(jù)庫版本,表名可以tab補(bǔ)全。
SELECT * FROM vpx_version;
查看表空間占用最大的前十個(gè)。
SELECT nspname || '.' || relname AS "table",pg_size_pretty(pg_total_relation_size(C.oid)) AS "total_size" FROM pg_class C LEFT JOIN pg_namespace N ON (N.oid = C.relnamespace) WHERE nspname NOT IN ('pg_catalog', 'information_schema') AND C.relkind <> 'i' AND nspname !~ '^pg_toast' ORDER BY pg_total_relation_size(C.oid) DESC LIMIT 10;
查看用戶登錄事件。
vCenter 所有事件列表
。
SELECT event_type,create_time,username,vm_name FROM vc.vpxv_events where event_type like '%UserLoginSessionEvent%';
在/opt/vmware/vpostgres/current/bin/目錄下除了psql二進(jìn)制文件以外,還有其他二進(jìn)制文件工具,關(guān)于這些工具的使用和說明可以在
這里
查看。關(guān)于vCenter Server vPostgres數(shù)據(jù)庫的備份和還原,可以參考
KB 2091961
知識(shí)庫文章中的方法。
上述方式連接和使用vPostgres數(shù)據(jù)庫都是基于psql命令行,其實(shí)也支持使用圖形化客戶端工具進(jìn)行管理。可以使用
pgAdmin
或者
DBeaver
客戶端圖形工具來管理vPostgres數(shù)據(jù)庫。下面就以DBeaver社區(qū)版客戶端為例,了解如何連接和使用vPostgres數(shù)據(jù)庫。
默認(rèn)情況下,vCenter Server數(shù)據(jù)庫只能進(jìn)行本地連接,不過如果要從外部進(jìn)行連接也是可以的。
需要在vCenter Server上將vPostgres數(shù)據(jù)庫的訪問端口(5432)從iptables防火墻上放開(accept)。
iptables -I INPUT 1 -p tcp --dport 5432 -j ACCEPT
配置vPostgres數(shù)據(jù)庫允許來自所有遠(yuǎn)程主機(jī)的連接并要求postgres用戶的密碼,配置文件位于/storage/db/vpostgres/pg_hba.conf。
echo "host all postgres 0.0.0.0/0 md5" >> /storage/db/vpostgres/pg_hba.conf
重新加載vPostgres配置以應(yīng)用對(duì)pg_hba.conf的更改。
/opt/vmware/vpostgres/current/bin/psql -U postgres -c "SELECT pg_reload_conf();"
查看postgres用戶的密碼。
cat /etc/vmware-vpx/embedded_db.cfg
安裝好DBeaver工具后,下面配置連接vPostgres數(shù)據(jù)庫。
先配置用于連接PostgreSQL數(shù)據(jù)庫的驅(qū)動(dòng),展開導(dǎo)航欄中的“數(shù)據(jù)庫”,點(diǎn)擊“驅(qū)動(dòng)管理器”,找到PostgreSQL數(shù)據(jù)庫并編輯。
在設(shè)置的最下面有一行網(wǎng)址,點(diǎn)擊下載
PostgreSQL標(biāo)準(zhǔn)驅(qū)動(dòng)
,保存至客戶端所在的本地文件夾中。
點(diǎn)擊“庫”,將下面存在驅(qū)動(dòng)全部刪除,點(diǎn)擊“添加文件”將剛剛下載的驅(qū)動(dòng)加入到庫中。點(diǎn)擊確定完成驅(qū)動(dòng)的添加。
展開導(dǎo)航欄中的“數(shù)據(jù)庫”,點(diǎn)擊“新建數(shù)據(jù)庫連接”,找到PostgreSQL數(shù)據(jù)庫并點(diǎn)擊下一步。
設(shè)置PostgreSQL數(shù)據(jù)庫連接,配置主機(jī)(vCenter)和數(shù)據(jù)庫(VCDB),還有用戶名(postgres)和密碼,點(diǎn)擊測(cè)試連接。
展開VCDB數(shù)據(jù)庫,查看所有的schema模式。
在vc schema模式下,vpx_alarm表中查看vCenter所有告警列表。
vpx_datastore表中查看vCenter所有數(shù)據(jù)存儲(chǔ)。
vpx_dvs表中查看vCenter所有分布式交換機(jī)。
vpx_network表中查看vCenter所有標(biāo)準(zhǔn)交換機(jī)。
vpx_vm表中查看vCenter所有虛擬機(jī)。
參考:
-
Connect and work with the vCSA Embedded vPostgres Database
-
Manage vCSA Embedded vPostgres Database with pgAdmin
-
Run pgAdmin in a Docker container on the vCenter Server Appliance
小編推薦閱讀
- 異色邊緣龍局北辰卡組詳解
- 《怪化貓》系列第二章《火鼠》近日公開諸多新情報(bào)
- steam特賣頁面出現(xiàn)神秘粉發(fā)女孩 引發(fā)網(wǎng)友熱烈討論
- 大雪節(jié)氣活動(dòng):桃源深處有人家雪盛冬藏
- 游俠晚報(bào):《絕地潛兵2》口碑上升 Fami通一周評(píng)分
好特網(wǎng)發(fā)布此文僅為傳遞信息,不代表好特網(wǎng)認(rèn)同期限觀點(diǎn)或證實(shí)其描述。
- ENTER 1.1.3
- 類型:休閑益智 運(yùn)營(yíng)狀態(tài):正式運(yùn)營(yíng) 語言: 英文
-
游戲攻略
游戲禮包
游戲視頻
游戲下載
游戲活動(dòng)
- 《ENTER》是游戲商BlindflugStudiosAG旗下的一款休閑益智手游,游戲以黑客入侵為主題,假身份,本作將考
相關(guān)視頻攻略
更多
同類最新
更多
-
閱讀
-
閱讀
-
閱讀
-
機(jī)器學(xué)習(xí):神經(jīng)網(wǎng)絡(luò)構(gòu)建(下)
閱讀
-
華為Mate品牌盛典:HarmonyOS NEXT加持下游戲性能得到充分釋放
閱讀
-
實(shí)現(xiàn)對(duì)象集合與DataTable的相互轉(zhuǎn)換
閱讀
-
閱讀
-
閱讀
-
鴻蒙NEXT元服務(wù):論如何免費(fèi)快速上架作品
閱讀
-
閱讀
-
閱讀
-
算法與數(shù)據(jù)結(jié)構(gòu) 1 - 模擬
閱讀
-
閱讀
-
閱讀
-
閱讀
-
5. Spring Cloud OpenFeign 聲明式 WebService 客戶端的超詳細(xì)使用
閱讀
-
Java代理模式:靜態(tài)代理和動(dòng)態(tài)代理的對(duì)比分析
閱讀
-
Win11筆記本“自動(dòng)管理應(yīng)用的顏色”顯示規(guī)則
閱讀
熱門資訊
更多
本站所有軟件,都由網(wǎng)友上傳,如有侵犯你的版權(quán),請(qǐng)發(fā)郵件[email protected]
湘ICP備2022002427號(hào)-10 湘公網(wǎng)安備:43070202000427號(hào)© 2013~2025 haote.com 好特網(wǎng)