4 Provisioning Oracle Database Appliance Bare Metal System
Understand the process to configure Oracle Database Appliance bare metal system.
The Browser User Interface is the preferred method of deploying your bare metal platform configuration. The Browser User Interface provides all of the fields necessary to provision Oracle Database Appliance, including configuring the system, network, database, and Oracle Auto Service Request (Oracle ASR). If you prefer to use the command-line interface, you must create a JSON file to configure the deployment options.
- Verifying Cabling and Network Connections
After powering on Oracle Database Appliance, verify that the network connections are set up correctly. - Plumbing the Network
Plumb the Oracle Database Appliance network with the public internet protocol (IP) information assigned to a node, to enable provisioning of the Oracle Database Appliance software. - Downloading Oracle Database Appliance Software
Download Oracle Database Appliance software and copy to a temporary location before applying updates to your appliance. - Installing Oracle Database Appliance Software
Install Oracle Database Appliance software, before creating the appliance. - Creating the Appliance
Create the appliance using the Browser User Interface or ODACLI commands. - About Enabling Oracle ASMFD on Oracle Database Appliance
Understand how you can enable Oracle ASMFD on bare metal systems and DB systems on Oracle Database Appliance.
Verifying Cabling and Network Connections
After powering on Oracle Database Appliance, verify that the network connections are set up correctly.
Plumbing the Network
Plumb the Oracle Database Appliance network with the public internet protocol (IP) information assigned to a node, to enable provisioning of the Oracle Database Appliance software.
Example 4-1 Example of a Bonded Configuration
For a bonded configuration, answer yes to using a bonding public interface and configure the first network to use a btbond1
interface without configuring DHCP.
# /opt/oracle/dcs/bin/odacli configure-firstnet
Select the Interface to configure the network on (btbond1 btbond2 sfpbond1) [btbond1]:
Use LACP bonding on btbond1 (yes/no) [no]: yes
INFO: network interface [btbond1] setup in LACP mode
Configure DHCP on btbond1 (yes/no) [no]:
INFO: You have chosen Static configuration
Use VLAN on btbond1 (yes/no) [no]:
Enter the IP address to configure : 10.209.13.109
Enter the Netmask address to configure : 255.255.252.0
Enter the Gateway address to configure[10.209.12.1] :
INFO: Plumbing the IPs now
INFO: Restarting the network
Shutting down interface btbond1: [ OK ]
Shutting down interface btbond2: [ OK ]
Shutting down interface p3p1: [ OK ]
Shutting down interface p3p2: [ OK ]
Shutting down interface sfpbond1: [ OK ]
Shutting down loopback interface: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface btbond1: Determining if ip address 10.209.13.109 is already in use for device btbond1...
[ OK ]
Bringing up interface btbond2: [ OK ]
Bringing up interface sfpbond1: [ OK ]
Example 4-2 Example of a Non-Bonded Configuration
To create a non-bonded configuration and disable VLAN capabilities, answer no
to using a bonding public interface.
# /opt/oracle/dcs/bin/odacli configure-firstnet
Using bonding public interface (yes/no) [yes]: no
INFO: Breaking the bonding on btbond1
INFO: remove bonding module: rmmod bonding
INFO: remove slave setup in /etc/sysconfig/network-scripts/ifcfg-em2
INFO: remove slave setup in /etc/sysconfig/network-scripts/ifcfg-em3
INFO: Restarting the network
Shutting down interface em1: [ OK ]
Shutting down loopback interface: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface em1: [ OK ]
Bringing up interface em2: [ OK ]
Bringing up interface em3: [ OK ]
INFO: Restarting the DCS agent
initdcsagent stop/waiting
initdcsagent start/running, process 57629
Select the Interface to configure the network on (em2 em3) [em2]:
Configure DHCP on em2 (yes/no) [no]:
INFO: You have chosen Static configuration
Enter the IP address to configure : 10.31.102.101
Enter the Netmask address to configure : 255.255.240.0
Enter the Gateway address to configure[10.31.96.1] :
INFO: Plumbing the IPs now
INFO: Restarting the network
Shutting down interface em1: [ OK ]
Shutting down interface em2: [ OK ]
Shutting down interface em3: [ OK ]
Shutting down loopback interface: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface em1: [ OK ]
Bringing up interface em2: Determining if ip address 10.31.102.101 is already in use for device em2...
[ OK ]
Bringing up interface em3: [ OK ]
Example 4-3 Example of Configuring VLAN
# /opt/oracle/dcs/bin/odacli configure-firstnet
Using bonding public interface (yes/no) [yes]:
Select the Interface to configure the network on (btbond1) [btbond1]:
Configure DHCP on btbond1 (yes/no) [no]:
INFO: You have chosen Static configuration
Use VLAN on btbond1 (yes/no) [no]:yes
Configure VLAN on btbond1, input VLAN ID [2 - 4094] 122
INFO: using network interface btbond1.122
Enter the IP address to configure : 192.0.2.24
Enter the Netmask address to configure : 192.0.2.24
Enter the Gateway address to configure[192.0.2.24] :
INFO: Restarting the network
Shutting down interface btbond1: [ OK ]
Shutting down interface em1: [ OK ]
Shutting down interface p1p1: [ OK ]
Shutting down interface p1p2: [ OK ]
Shutting down loopback interface: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface btbond1:
Determining if ip address 192.0.2.24 is already in use for device btbond1...
[ OK ]
Bringing up interface em1: [ OK ]
Bringing up interface p1p1:
Determining if ip address 192.0.2.24 is already in use for device p1p1... [ OK ]
Bringing up interface p1p2:
Determining if ip address 192.0.2.24 is already in use for device p1p2...
[ OK ]
Bringing up interface btbond1.122:
Determining if ip address 192.0.2.24 is already in use for device btbond1.122...
[ OK
INFO: Restarting the DCS agent
initdcsagent stop/waiting
initdcsagent start/running, process 32104
Configuring LACP after Deployment
Use the -o
option with the odacli configure-firstnet
command to enable or disable LACP on a bonding interface.
# odacli configure-firstnet -o
INFO: Configure network option
Select the Interface to configure the network on (btbond1 btbond3 btbond5) [btbond1]:btbond3
Use LACP bonding on btbond3 (yes/no) [no]: yes
INFO: network interface [btbond3] setup in LACP mode
# odacli configure-firstnet -o
INFO: Configure network option
Select the Interface to configure the network on (btbond1 btbond3 btbond5) [btbond1]:btbond3
Use LACP bonding on btbond3 (yes/no) [yes]: no
INFO: network interface [btbond3] setup in active-backup mode
Downloading Oracle Database Appliance Software
Download Oracle Database Appliance software and copy to a temporary location before applying updates to your appliance.
Parent topic: Provisioning Oracle Database Appliance Bare Metal System
Installing Oracle Database Appliance Software
Install Oracle Database Appliance software, before creating the appliance.
/u01
and /opt
are smaller than the
corresponding sizes in earlier releases. The size of /u01
is now 40GB
and the size of /opt
is now 30GB. A new ACFS file system, mounted at
/opt/oracle/oak/pkgrepos/orapkgs/clones
, is created during
provisioning. The DATA disk group provides space of 150 GB for the file system. The
Oracle Grid Infrastructure and Oracle Database clone files are stored on this file
system.
Important:
If you want to install third-party software on your Oracle Database Appliance, then ensure that the software does not impact the Oracle Database Appliance software. The version lock on Oracle Database Appliance RPMs displays a warning if the third-party software tries to override Oracle Database Appliance RPMs. You must restore the affected RPMs before patching Oracle Database Appliance so that patching completes successfully.Important:
To ensure that your deployment has the latest Oracle Database Appliance firmware, download the latest server patch and update the repository. Then, run theodacli
describe-component
command to check whether the firmware is current or
out-of-date. If the firmware is not current, then run the odacli
update-server
and odacli update-storage
commands
before you deploy the Oracle Database Appliance software. If the firmware is
current, then you can deploy the Oracle Database Appliance software as described in
this topic, without updating the server and storage. Before updating the server or
storage, ensure that you run the odacli create-prepatchreport
command to generate the prechecks report, otherwise an error is displayed.
Note:
Public network gateway must be responsive to ping requests. Oracle Clusterware uses the public network gateway as ping target to facilitate the VIP failover in Oracle Database Appliance high-availability environment.Creating the Appliance
Create the appliance using the Browser User Interface or ODACLI commands.
Note:
If you plan to enable multi-user access, then refer to the chapter Implementing Multi-User Access on Oracle Database Appliance before you create your appliance.Creating the Appliance using ODACLI Commands
You can use the command odacli create-appliance
and a
JSON file that includes your appliance configuration settings to deploy the
appliance instead of using the Browser User Interface. Review the readme in the
/opt/oracle/dcs/sample
directory carefully along with the
provided JSON example files. Create a JSON file with the necessary changes based on
your environment and requirements.
See Also:
Creating an Appliance Using a JSON File in this guide for example JSON files and the procedure to create a JSON file.Note:
It is important to review the readme and the examples carefully before creating your JSON file. If you do not enter your network and Oracle ILOM information correctly based on your setup, you will lose network access to both the host and Oracle ILOM.Creating the Appliance using the Browser User Interface (BUI)
Follow these steps to create the appliance using the BUI:
After deployment, the root
and database users
SYS
, SYSTEM
, and PDBADMIN
are
set to the system password. The oracle
and grid
passwords are set to the default password. Change these passwords to comply with
your user security protocols.
Related Topics
Parent topic: Provisioning Oracle Database Appliance Bare Metal System
About Enabling Oracle ASMFD on Oracle Database Appliance
Understand how you can enable Oracle ASMFD on bare metal systems and DB systems on Oracle Database Appliance.
Oracle ASM Filter Driver (Oracle ASMFD) simplifies the configuration and management of disk devices by eliminating the need to rebind disk devices used with Oracle ASM each time the system is restarted.
By default, Oracle ASMFD is enabled on Oracle Database Appliance bare metal
systems and DB systems. To disable Oracle ASMFD on Oracle Database Appliance bare metal
system and DB system, specify "enableAFD":"FALSE"
in the JSON file when
you provision the bare metal system and DB system. If Oracle ASMFD is not enabled on
Oracle Database Appliance bare metal system, then you cannot enable Oracle ASMFD on
Oracle Database Appliance DB system. If Oracle ASMFD is enabled on Oracle Database
Appliance bare metal system, then you can choose to enable or disable Oracle ASMFD on
Oracle Database Appliance DB system by specifying the parameter
"enableAFD":"TRUE"
or "enableAFD":"FALSE"
in the
DB system JSON file during provisioning of the DB system.
For DB systems, if the "enableAFD"
attribute is not specified in the
JSON file during provisioning, then the Oracle ASMFD configuration on the DB system is
the same as the bare metal system Oracle ASMFD configuration.
For more information about specifying the "enableAFD"
attribute in the
JSON files when provisioning bare metal and DB systems, see the example JSON files
provided in the chapters Creating an Appliance Using JSON File and
Managing an Oracle Database Appliance KVM Deployment in this book.
Note:
To identify if Oracle ASMFD is enabled or not, check whether the/etc/oracleafd.conf
file exists or not. Oracle ASMFD is enabled if
this file exists, otherwise, Oracle ASMFD is disabled.
Parent topic: Provisioning Oracle Database Appliance Bare Metal System