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
% mcmu tenant -P -c
You are prompted to enter DB VM group profile configuration information.
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
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>
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.
Ensure that you complete this step before you deploy the DB VM group.