5.17 Creating a User Domain Without Oracle Grid Infrastructure and Oracle Database
A user domain can be created without Oracle Grid Infrastructure and Oracle Database installed on the system. The new user domain has the following characteristics:
-
Operating system image is Oracle Linux
-
Access to the management, client, and InfiniBand networks
-
No Oracle Grid Infrastructure and Oracle Database is installed
The following procedure creates a user domain without Oracle Grid Infrastructure and Oracle Database installed:
-
Allocate new, unused, IP addresses and host names for the new user domain. IP addresses and host names are needed for the management network, client (SCAN) network, and the private InfiniBand network.
Note:
Ensure the intended InfiniBand network IP addresses are unused by using the
ping
command for each address. Theibhosts
command cannot be used to determine all InfiniBand network IP addresses in use because it does not contain entries for user domains. -
If necessary, obtain an updated user domain (domU) system image file.
The
exadata.img.domu_maker
command that you will run later in this procedure to create a user domain requires the user domain (domU) system image fileSystem.first.boot.
version
.img
in/EXAVMIMAGES
, whereversion
matches the management domain Exadata software version as determined by running the "imageinfo -ver
" command in the management domain.For example, when
exadata.img.domu_maker
is run to create a new user domain and the management domain Exadata software version is 12.1.2.1.1.150316.2, the user domain (domU) system image file/EXAVMIMAGES/System.first.boot.12.1.2.1.1.150316.2.img
must exist.# imageinfo -ver 12.1.2.1.1.150316.2 # ls -l /EXAVMIMAGES/System.first.boot.12.1.2.1.1.150316.2.img -rw-r--r-- 1 root root 13958643712 Mar 23 12:25 /EXAVMIMAGES/System.first.boot.12.1.2.1.1.150316.2.img
If the user domain (domU) system image file does not exist, then it must be obtained from My Oracle Support and placed in
/EXAVMIMAGES
in the management domain. See My Oracle Support note 888828.1 for additional information. -
In the management domain, copy an existing XML configuration file from a deployed user domain to a new file name using the following command:
# cp /EXAVMIMAGES/conf/existingDomainName-vm.xml /EXAVMIMAGES/conf/newDomainName-vm.xml
In the preceding command,
existingDomainName
-vm.xml
is the XML configuration file of the deployed user domain, andnewDomainName
-vm.xml
is the name of the new file.In the following example, the configuration file for user domain "dm01db01vm01" is copied to
nondbdomain-vm.xml
.# cp /EXAVMIMAGES/conf/dm01db01vm01-vm.xml /EXAVMIMAGES/conf/nondbdomain-vm.xml
-
In the management domain, edit the new XML file as follows:
-
Change all
<Hostname>
tags to match the new host names for the respective networks. -
Change all
<IP_address>
tags to match the new IP addresses for the respective networks. -
Change the
<virtualMachine>
tag to contain the new host name. -
Change the
<hostName>
tag to contain the new host name. -
Delete the entire
<disk id="disk_2">
and<disk id="disk_3">
elements, including all their sub-elements. You must delete the entire entry between the starting<disk>
tag to the corresponding closing</disk>
.
-
-
In the management domain, allocate InfiniBand network GUIDs for the new user domain using the
/opt/exadata_ovm/exadata.img.domu_maker
command.# /opt/exadata_ovm/exadata.img.domu_maker allocate-guids \ /EXAVMIMAGES/conf/newDomainName-vm.xml \ /EXAVMIMAGES/conf/final-newDomainName-vm.xml
-
In the management domain, create the new user domain using the
/opt/exadata_ovm/exadata.img.domu_maker
command.# /opt/exadata_ovm/exadata.img.domu_maker start-domain \ /EXAVMIMAGES/conf/final-newDomainName-vm.xml
Parent topic: Managing Oracle VM User Domains