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

退出打印视图

更新时间: 2016 年 10 月
 
 

创建应用程序 VM 组 (CLI)

可以使用此过程创建和部署应用程序 VM。

创建应用程序 VM 的过程涉及创建应用程序 VM 组。每个组可以包含一个或两个应用程序 VM。创建组之后,您可以部署这些组,这可使应用程序 VM 可供使用。

有关在创建应用程序 VM 时应提供的信息的详细信息,请参见应用程序 VM 组参数

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

    请参见登录到 MCMU CLI

  2. 创建应用程序 VM 组:
    % mcmu tenant -A -c

    例如:

    % mcmu tenant -A -c
    
    Application Virtual Machine Group Profile Description
    Enter Virtual Machine Group Profile Name : avm1
    Enter Description  : Drama App VM Group
    Enter Type [Single,Multiple] (Multiple): multiple
    Shared Storage [Yes,No] (No): yes
    CIS Equivalent Security Settings are default.Do you want to enable PCI DSS Security Settings [Yes,No] (No)? yes
    
    Define Virtual Machines
    
    mc3-n1
    
    Virtual Machine 1
    
    Enter Cores [0 to max 5] (0): 2
    Enter Public Hostname (avm1-vm1-mc3-n1): mc3-n1vm2-az1
    
    mc3-n2
    
    Virtual Machine 1
    
    Enter Cores [0 to max 12] (0): <Return>
    Enter Public Hostname (avm1-vm1-mc3-n2): mc3-n2vm2-az1
    Creating APPVM Group Profile...
    .
    <output omitted>
    .
    Successfully Created Application VM Group Profile
    Getting APP VM Group...
    
    PROFILE INFORMATION
            VMGroupName : avm1
    
    VM DEFINITIONS
    
    VM 1
            name : avm1-vm1-mc3-n1
            globalName : mc3-n1
                    public_ip : 10.129.115.207
                    public_hostname : mc3-n1vm2-az1
    
    VM 2
            name : avm1-vm1-mc3-n2
            globalName : mc3-n2
                    public_ip : 10.129.115.208
                    public_hostname : mc3-n2vm2-az1
    
    Please insert the IP-mappings in the DNS Server if not already done.
    Aug 23 16:32:12 mccn su: 'su root' succeeded for mcinstall on /dev/pts/2
    
    
  3. 记下应用程序 VM 名称和公共 IP 地址。
  4. (如果需要)重复Step 2 以创建其他应用程序 VM。
  5. 将所有新的应用程序 VM 名称和公共 IP 地址输入到 DNS 中。
  6. 部署应用程序 VM 组。

    请参见部署应用程序 VM 组 (CLI)