请参见登录到 MCMU CLI。
列出 DB VM 组配置文件,找到刚才创建的配置文件,并记下 VMgroupID 编号。此编号用于部署 DB VM 组。
将列出所有现有的 DB VM 组配置文件。
% mcmu tenant -P -l Listing DB VM Group Profile.. Status : Active EditStatus : Description : Initial DB VM Group - NORMAL redundancy - Shared Storage - CIS deletable : True progress : False VMgroupName : dbgp1 editable : True VMgroupID : 1
语法:
mcmu tenant -G -D VMgroupID
其中 VMgroupID 是刚才创建的 DB VM 组配置文件的 ID。
![]() | 注意 - 务必在此命令中使用大写 D 选项。如果在此命令中使用小写 d 选项,将删除该 VM 组。 |
示例:
% mcmu tenant -G -D 1 Setting ssh timeout before carrying out further operations. Please wait.. [INFO ] Log file path : /var/opt/oracle.minicluster/setup/logs/tenant_cli_082316_040823.log Aug 23 04:08:23 mccn su: 'su root' succeeded for mcinstall on /dev/pts/2 Deploying DB VM Group... [23/Aug/2016 04:08:28] INFO [dbzonegroup_install:122] Added zonegroup to action data. updated message, old: Initializing with Insert IP Mapping [23/Aug/2016 04:08:28] INFO [dbzonegroup_install:1467] Add zonegroup and operation type to action. . <some output omitted> . updated message, old: Finish adding zonegroup information to database. with GI Post Installation Finished. [23/Aug/2016 05:23:22] INFO [dbzonegroup_install:93] Method: do performed [23/Aug/2016 05:23:22] INFO [dbzonegroup_install:132] Add Node to GRID Cluster ends... updated message, old: GI Post Installation Finished. with Add Node to GRID Cluster ends... [23/Aug/2016 05:23:22] INFO [dbzonegroup_install:98] Action Ends at: 2016-08-23 12:23:22 [23/Aug/2016 05:23:22] INFO [dbzonegroup_install:100] Elapsed Time: 1277.46536207 (secs) [23/Aug/2016 05:23:22] INFO [dbzonegroup_install:102] Performing method: do finished Status: 0 Message: Deploying DB VM Group Profile succeed
请参见创建 DB 主目录 (CLI)。