Configuring Networks for Oracle Database
About Oracle Database Network Configuration Options
Oracle Database generally requires no special network configuration on a server with a static, resolvable host name, IP address, and network interface. Additional planning is required for multihomed, multialias, or initially non-networked systems, including ensuring firewall ports are open, supporting clients that connect through multiple IP addresses, and configuring services after installation when necessary.
Read More: About Oracle Database Network Configuration Options
About Assigning Global Database Names During Installation
During installation, the database name establishes the DB_NAME, DB_UNIQUE_NAME, and DB_DOMAIN values used to form the unique global database name. The global name combines the database name and domain, while the SID uniquely identifies the database instance on its host; each instance must have a distinct SID and database name. Database and domain names must comply with Oracle’s length and character restrictions, and DB_NAME does not have to be the first eight characters of DB_UNIQUE_NAME.
Read More: About Assigning Global Database Names During Installation
Network Configuration for Computers Completed After Installation
Oracle Database can be installed on computers without fixed network addresses, including DHCP-based systems, provided the computer can resolve and contact itself. Before installation, test connectivity with ping using both the short host name and fully qualified host name, confirming that the expected local IP address is returned. After the computer connects to a network, the database can operate with either static or DHCP addressing.
Read More: Network Configuration for Computers Completed After Installation
Network Configuration for Multihome Computers
Installing Oracle Database on a multihomed computer requires setting ORACLE_HOSTNAME to identify the intended host name or interface. Oracle Universal Installer uses this value when available, or otherwise derives host information from /etc/hosts and installation responses. Clients must resolve and reach the database through both the selected host name or alias and its fully qualified domain name, which should be verified with ping.
Read More: Network Configuration for Multihome Computers
Setting the ORACLE_HOSTNAME Environment Variable
Set ORACLE_HOSTNAME in the Oracle installation owner’s environment to the fully qualified host name required for the installation. Bourne, Bash, and Korn shells use export, while C Shell uses setenv; the example value is somehost.example.com.
Read More: Setting the ORACLE_HOSTNAME Environment Variable
Network Configuration for Computers with Multiple Aliases
Installing Oracle Database on a computer with multiple host-name aliases requires setting ORACLE_HOSTNAME to the preferred host name. Such systems use one IP address with multiple names resolved by the naming service, so the environment variable determines which computer name Oracle uses during installation.
Read More: Network Configuration for Computers with Multiple Aliases