Oracle B32100-01 Benutzerhandbuch

Seite von 258
The /etc/hosts File
Requirements
2-21
2.9 The /etc/hosts File
Although the contents of the /etc/hosts file affect these items:
the installer provides alternative methods for you to enter the values that you want 
without editing the hosts file. See the following subsections for details.
2.9.1 Location of the Default Oracle Identity Management Realm
The installer reads the hosts file to construct the location of the default Oracle 
Identity Management realm. It displays this location in the "Specify Namespace in 
Internet Directory" screen.
The hosts file should use the following format:
ip_address   fully_qualified_hostname   short_hostname
Example:
123.45.67.89   primaryHost.mydomain.com   primaryHost
In the preceding example, the location of the default Oracle Identity Management 
realm would look like "dc=mydomain,dc=com".
If the file uses a different format, the installer displays an incorrect value in the screen. 
For example, if the hosts file contains:
123.45.67.89   primaryHost   primaryHost.mydomain.com  <--- incorrect format
the installer would display "dc=primaryHost,dc=com" as the default Oracle 
Identity Management realm. This is probably not the value that you want for the 
default Oracle Identity Management realm.
2.9.2 Hostname for OracleAS Single Sign-On
If you are installing OracleAS Single Sign-On, and your hosts file contains only the 
hostname of your computer, without the domain name, then you will only be able to 
sign on to the Single Sign-On server using the hostname by itself (without the domain 
name).
If you want to require a domain name when connecting to the Single Sign-On server, 
you can edit the hosts file to include the domain name. If you do not want to edit the 
file, you can use the OUI_HOSTNAME command-line parameter to the installer to 
override the value in hosts. For example:
prompt> mount_point/1014disk1/runInstaller OUI_HOSTNAME=myserver.mydomain.com
Tip:
If you need the hosts file to use a different format, you can 
edit the file to use the required format, perform the installation, 
then revert the file back to its original format after installation.
If you are unable, or unwilling, to edit the hosts file, you can enter 
the desired value for the default Oracle Identity Management realm 
in the Custom Namespace field on the "Specify Namespace in 
Internet Directory" screen.