请参见登录到 MCMU CLI。
% mcmu tenant -P -d VMgroupID
其中 VMgroupID 是要删除的 DB VM 组配置文件的 ID。
例如,要删除 ID 为 1 的 DB VM 组配置文件,请键入:
% mcmu tenant -P -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_034336.log Status : Needs Mapping VMgroupName : dbgp1 Description : DB VM Group 1 - Normal - CIS - SHARED VMgroupID : 1 Are you sure you want to delete this DB VM Group Profile? Enter Y/N (Y): y Deleting DB VM Group Profile... INFO Start freeing ipaddress and core table INFO:MCMU.controllers.zones.dbzonemanager:Start freeing ipaddress and core table INFO Removing GI data. INFO:MCMU.controllers.zones.dbzonemanager:Removing GI data. INFO Free Disk & Partitions. INFO:MCMU.controllers.zones.dbzonemanager:Free Disk & Partitions. INFO Deleting zone data. INFO:MCMU.controllers.zones.dbzonemanager:Deleting zone data. INFO Deleting zonegroup data. INFO:MCMU.controllers.zones.dbzonemanager:Deleting zonegroup data. INFO Complete zonegroup profile deletion. INFO:MCMU.controllers.zones.dbzonemanager:Complete zonegroup profile deletion. updated message, old: Initializing with Profile deletion succeeded. Successfully deleted DB VM profile
例如:
% mcmu tenant -P -l Setting ssh timeout before carrying out further operations. Please wait.. [INFO ] Log file path : /var/opt/oracle.minicluster/setup/logs/tenant_cli_082316_034511.log Listing DB VM Group Profile.. No VM Group Profiles available yet