Go to main content

Oracle® MiniCluster S7-2 Administration Guide

Exit Print View

Updated: October 2021
 
 

Create a DB VM Group Profile (CLI)

Use this procedure to create a DB VM group.

This task involves performing these activities:

  • Create a DB VM group profile

  • Deploy the DB VM group

  1. Log into the MCMU CLI as a primary admin, such as mcinstall.

    See Log in to the MCMU CLI.

  2. Create the DB VM group profile.
    % mcmu tenant -P -c

    You are prompted to enter DB VM group profile configuration information.

    1. Enter the necessary information for the DB VM group profile.
      Listing DB VM Group Profile..
      Database Virtual Machine Group Profile Description
      Enter Virtual Machine Group Profile Name : dbgp1
      Enter ASM Disk Group Redundancy [NORMAL,HIGH] (NORMAL): NORMAL
      CIS Equivalent Security Settings are default. Do you want to enable PCI DSS Security Settings [Yes,No] (No)? NO
      Enter Number of VM(s) on Node 1, Max(4) (1): 2
      Enter Number of VM(s) on Node 2, Max(4) (1): 2
      <–- For systems running v1.2.4 or later –-->
      IP pool information:
      ID: 1   Name: default
      ID: 2   Name: DB_IPpool
      Select IP pool [1]: 2
      <––––––––––––––––––––––––––––––-––-––––––––––-->
      Enter Description : DB Group 1 - NORMAL - SHARED - CIS
    2. Enter the necessary information for the DB VMs.

      For example, if you entered 2 as the number of VMs on each compute node, these fields are displayed:

      Define Virtual Machines
      Node 1 : mc3-n1
      
      Virtual Machine 1
      
      Enter Cores [0 to max 12] (0): 4
      Enter Public Hostname (dbgp1-vm1-mc3-n1): mc3-n1
      Do you want to use mcinstall password of global zone for the password for user oracle?
      Enter Y/N (Y):<Return>
      Do you want to use mcinstall password of global zone for the password for user mcinstall?
      Enter Y/N (Y):<Return>
      Clusterware [Yes,No] (No):<Return>
      
      Virtual Machine 2
      
      Enter Cores [0 to max 8] (0): 3
      Enter Public Hostname (dbgp1-vm2-mc3-n1): mc3-n1vm1-z2
      Do you want to use mcinstall password of global zone for the password for user oracle?
      Enter Y/N (Y):<Return>
      Do you want to use mcinstall password of global zone for the password for user mcinstall?
      Enter Y/N (Y):<Return>
      Clusterware [Yes,No] (No):<Return>
      
      
      
      Node 2 : mc3-n2
      
      Virtual Machine 1
      
      Enter Cores [0 to max 12] (0): 0
      Enter Public Hostname (dbgp1-vm1-mc3-n2): mc3-n2vm1-z1
      Do you want to use mcinstall password of global zone for the password for user oracle?
      Enter Y/N (Y):<Return>
      Do you want to use mcinstall password of global zone for the password for user mcinstall?
      Enter Y/N (Y):<Return>
      Clusterware [Yes,No] (No):<Return>
      
      Virtual Machine 2
      
      Enter Cores [0 to max 12] (0): 0
      Enter Public Hostname (dbgp1-vm2-mc3-n2): mc3-n2vm1-z2
      Do you want to use mcinstall password of global zone for the password for user oracle?
      Enter Y/N (Y):<Return>
      Do you want to use mcinstall password of global zone for the password for user mcinstall?
      Enter Y/N (Y):<Return>
      Clusterware [Yes,No] (No):<Return>
      
    3. Enter the configuration information for the DB cluster.
      Define Cluster
      Enter SCAN Name : dbgp1-scan
      Select GRID Infrastructure Patch Level [12.1.0.2.160419] (12.1.0.2.160419): 12.1.0.2.160419 
      Shared Storage [Yes,No] (No): yes

      MCMU creates the DB VM group profile according to the parameters you supplied.

      Creating DB VM Group Profile...
      INFO dbgp1-scan
      INFO:MCMU.controllers.zones.dbzonemanager:dbgp1-scan
      INFO {'redundancy': 'NORMAL', 'storageArrays': [], 'numberOfDisks': ''}
      INFO:MCMU.controllers.zones.dbzonemanager:{'redundancy': 'NORMAL', 'storageArrays': [], 'numberOfDisks': ''}
      .
      <output omitted>
      .
      message: Creating DB VM Group succeeded.
      Getting DB VM Group Profile...
      
      PROFILE INFORMATION
              VMGroupName : dbgp1
              IP pool name : example_pool
              SCAN_name : dbgp1-scan
              SCAN_ip : xx.xxx.73.204,xx.xxx.73.205,xx.xxx.73.206
      
      VM DEFINITIONS
      
      VM 1
              name : dbgp1-vm1-mc3-n1
              globalName : mc3-n1
                      public_ip : <valid_VLAN_IP_addr1>
                      public_hostname : mc3-n1vm1-z1
                      virtual_ip : <valid_VLAN_IP_addr2>
                      virtual_hostname : mc3-n1vm1-z1-vip
      
      VM 2
              name : dbgp1-vm2-mc3-n1
              globalName : mc3-n1
                      public_ip : <valid_VLAN_IP_addr3>
                      public_hostname : mc3-n1vm1-z2
                      virtual_ip : <valid_VLAN_IP_addr4>
                      virtual_hostname : mc3-n1vm1-z2-vip
      
      VM 3
              name : dbgp1-vm1-mc3-n2
              globalName : mc3-n2
                      public_ip : <valid_VLAN_IP_addr5>
                      public_hostname : mc3-n2vm1-z1
                      virtual_ip : <valid_VLAN_IP_addr6>
                      virtual_hostname : mc3-n2vm1-z1-vip
      
      VM 4
              name : dbgp1-vm2-mc3-n2
              globalName : mc3-n2
                      public_ip : xx.xxx.73.130
                      public_hostname : mc3-n2vm1-z2
                      virtual_ip : 192.0.2.2
                      virtual_hostname : mc3-n2vm1-z2-vip
      
      Please insert the IP-mappings in the DNS Server if not already done.
  3. Enter all VM and SCAN public IP addresses and public hostnames into your DNS.

    Ensure that you complete this step before you deploy the DB VM group.

  4. Deploy the DB VM group.

    See Deploy the DB VM Group (CLI).