This section describes how to use the exalytics_configure_network.sh
script, to configure the network for Oracle Exalytics In-Memory Machine.
It contains the following topics:
The exalytics_configure_network.sh
script is used to configure the Oracle Exalytics In-Memory Machine after the initial operating system image is installed.
This script verifies the following:
When started, the script verifies that the user is root
. Users other than root
are not allowed to run the script.
It verifies that the Oracle Exalytics In-Memory Machine is installed with a 10 GbE card. If the card is not installed or the drivers are not configured, the script stops its execution.
It verifies connectivity to all gateways and hostnames configured in the session.
You can run the script to configure the following multiple interfaces:
Note:
You cannot configure Fiber Channel using the exalytics_configure_network.sh
script.
The exalytics_configure_network.sh
script optionally configures the InfiniBand network interface by bonding two InfiniBand interfaces. This interface is for IPoIB communication (bond0
) intended for Oracle Exalytics In-Memory Machine's connectivity with Exalogic machine or Oracle Exadata Database Machine. You must specify an IP address and netmask for the script. A gateway address for this InfiniBand interface is not necessary.
When you configure InfiniBand using the exalytics_configure_network.sh
script, the following files are updated:
/etc/sysconfig/network-scripts/ifcfg-ib* /etc/sysconfig/network-scripts/ifcfg-bond0 /etc/modprobe.conf
Note:
The script keeps a copy of these files in the /tmp/exalytics.save/
directory and creates a flat backup for the files that may be modified.
The exalytics_configure_network.sh
script verifies whether bonding is required on the 10 GbE interfaces. If you opt for bonding, the script configures the bonded interfaces using bond1
on all 10 GbE interfaces. For bond1
interface, the script requires an IP address, netmask, and gateway address.
If you do not opt for a bonded interface, the script verifies whether you want to configure each interface separately. You are prompted to enter an IP address, netmask, and gateway address for each individual interface configured.
When you configure 10 GbE interfaces using the exalytics_configure_network.sh
script, the following files are updated:
/etc/sysconfig/network-scripts/ifcfg-eth* /etc/sysconfig/network-scripts/ifcfg-bond1 /etc/modprobe.conf
Note:
The script keeps a copy of the interface files in the /tmp/exalytics.save/
directory and creates a flat backup for the files that may be modified.
The exalytics_configure_network.sh
script verifies whether bonding is required on the 1 GbE interfaces. If you opt for bonding, the script configures the bonded interfaces using bond2
on all 1 GbE interfaces. For bond2
interface, the script requires an IP address, netmask, and gateway address.
If you do not opt for a bonded interface, the script verifies whether you want to configure each interface separately. You are prompted to enter an IP address, netmask, and gateway address for each individual interface configured.
When you configure 1 GbE interfaces using the exalytics_configure_network.sh
script, the following files are updated:
/etc/sysconfig/network-scripts/ifcfg-eth* /etc/sysconfig/network-scripts/ifcfg-bond2 /etc/modprobe.conf
Note:
The script keeps a copy of the interface files in the /tmp/exalytics.save/
directory and creates a flat backup for the files that may be modified.
The exalytics_configure_network.sh
script optionally configures a host name and a domain name for your Oracle Exalytics In-Memory Machine. You cannot configure a domain name without configuring a host name.
The configured host name maps to an IP address in the following sequence:
The Last IP configured in this session.
If no IP configured, it will take the IP from first active interface from: bond1
, bond2
, …, eth5
.
If no IP is found, then no IP is configured in the /etc/hosts
file.
When you configure host name using the exalytics_configure_network.sh
script, the following files are updated:
/etc/sysconfig/network /etc/hosts
Note:
The script keeps a copy of the interface files in the /tmp/exalytics.save/
directory and creates a flat backup for the files that may be modified.
The exalytics_configure_network.sh
script optionally configures the time zone using the tzselect
script. This script guides you to select a continent, country, and city using numbered menu selection. The script verifies whether a network time server should be configured. If you choose to configure a server, the script prompts you to enter the server name and other required information.
If you do not opt for time server configuration, the script prompts you to set time and date.
For network time server configuration, the script modifies the /etc/ntp.conf
file, and it starts the ntpd
daemon and adds it to start at boot.
For time zone selection, the script creates a new soft link to /etc/localtime
.
Note:
The script keeps a copy of the interface files in the /tmp/exalytics.save/
directory and creates a flat backup for the files that may be modified.
The exalytics_configure_network.sh
script optionally configures one or more domain name servers that you specify.
When you configure domain name servers using the exalytics_configure_network.sh
script, the following file is updated:
/etc/resolv.conf
Note:
The script keeps a copy of the interface files in the /tmp/exalytics.save/
directory and creates a flat backup for the files that may be modified.
Before running the exalytics_configure_network.sh
script, your Oracle Exalytics In-Memory Machine is not configured with the following:
10 GbE and 1 GbE network interfaces
Optional InfiniBand network interfaces
Host name, domain name, and time zone
Time server and domain name servers
Run the exalytics_configure_network.sh
script, and choose your configuration option, as described in Table 4-5.
Table 4-5 exalytics_configure_network.sh Properties
Question/Parameter | Description |
---|---|
|
Enter |
|
Enter a |
|
Verify the |
|
Enter a |
|
Verify the |
|
Depending on your configuration option, enter |
|
Depending on your configuration option, enter |
|
Depending on your configuration option, enter |
|
Enter an |
|
Verify the |
|
Enter a netmask for the |
|
Verify the |
|
Enter the |
|
Verify the |
|
Depending on your configuration option, enter |
|
Depending on your configuration option, enter |
|
Depending on your configuration option, enter |
|
Depending on your configuration option, enter |
|
Depending on your configuration option, enter |
|
Enter an |
|
Verify the |
|
Enter a netmask for the |
|
Verify the |
|
Enter an |
|
Verify the |
|
Depending on your configuration option, enter |
|
Depending on your configuration option, enter |
|
Depending on your configuration option, enter |
|
Depending on your configuration option, enter |
|
Depending on your configuration option, enter |
|
Depending on your configuration option, enter |
|
Depending on your configuration option, enter |
|
Enter a hostname for the machine. For example, |
|
Verify the hostname you specified, and enter |
|
Enter a domain name. For example, |
|
Verify the domain name you specified, and enter |
|
Depending on your configuration option, enter |
Please select a continent or ocean. |
Enter your location. For example, if your location is Americas, enter |
|
Enter your country. For example, if your country is United States, enter |
|
Enter your time zone. For example, if your time zone is Pacific time, enter |
|
If the information is correct, enter |
|
If you want to configure a time server, enter |
|
If you want to configure one or more domain name servers, enter |
|
To confirm your configuration options and values, enter |
After the exalytics_configure_network.sh
script runs successfully, you can verify the network configuration for your Oracle Exalytics In-Memory Machine machine as follows:
Ping 10 GbE network addresses to verify the 10 GbE network interfaces
Ping 1 GbE network addresses to verify the 1 GbE network interfaces
Run the ibstat
command on the Oracle Exalytics In-Memory Machine to verify the InfiniBand network interface
Ping the gateway addresses
Ping an IP address of a machine that is in the same subnet as Oracle Exalytics In-Memory Machine for each of the interfaces
Verify the log file (/var/log/init-exalytics/init-exalytics.log
)
Run the ifconfig -a
command to verify the network configuration