Step 2 - Add the Appliance to the Network

On an actual appliance, after you first install Oracle Database Appliance into your data center rack, you must configure it to use the IP address your network administrator has assigned it.  The easiest way to do this is to first configure ILOM using a network or serial connection. Oracle Database Appliance includes a command odacli configure-firstnet to make it very easy to get Oracle Database Appliance on the network. Once your appliance is on the network, you can complete the rest of the deployment steps from any networked computer.

Run the network configuration command odacli configure-firstnet at the Linux prompt.  Respond to the prompts as in the example below.  Since this is a simulation, to configure the network, you can use any IP address (for example, 192.168.0.100) to complete this step.

[oracle@xx ~]$  odacli configure-firstnet
bonding interface is: 
Using bonding public interface (yes/no) [yes]:    
Select the Interface to configure the network on () [btbond1]:
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 : 192.168.0.100
Enter the Netmask address to configure : 255.255.255.0
Enter the Gateway address to configure[192.168.0.1] : 
INFO: Restarting the network
Shutting down interface :           [  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 :     [  OK  ]
Bringing up interface em1:    [  OK  ]
Bringing up interface p1p1: Determining if ip address 192.168.16.24 is already in use for device p1p1...    [ OK  ]
Bringing up interface p1p2: Determining if ip address 192.168.17.24 is already in use for device p1p2...    [ OK  ]
Bringing up interface btbond1: Determining if ip address 192.168.0.100 is already in use for device btbond1...     [  OK  ]
INFO: Restarting the DCS agent
 

If this is an Oracle Database Appliance X8-2-HA system, you must run the command odacli configure-firstnet on the second node (node-1).  Log into node-1 and run the command odacli configure-firstnet again.  You can use 192.168.0.101 for the IP address for node-1.