Go to main content
Oracle MiniCluster S7-2 管理指南

退出打印视图

更新时间: 2016 年 10 月
 
 

删除 DB VM 组配置文件 (CLI)

  1. 以主管理员(例如 mcinstall)身份登录到 MCMU CLI。

    请参见登录到 MCMU CLI

  2. 使用以下语法:
    % 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
  3. 验证删除结果。

    例如:

    % 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