System Administration Guide: Basic Administration

Configuring Auto Registration Properties

The following Auto Registration properties can be configured by using the regadm command:

Previously configured HTTP proxy and port settings can be changed or reset to a direct network connection by using the regadm clear command. For instructions, see How to Clear the Current Auto Registration Configuration.

ProcedureHow to Configure HTTP Proxy and Port Settings

If you previously registered your system by using a direct network connection, or if you are performing a new registration, you might need to configure HTTP proxy and port settings prior to registering your system.

  1. Become superuser or assume an equivalent role.

  2. Set the HTTP proxy.

    # regadm set -n http_proxy -v webproxy-host

    The web proxy might be an IP address, a non-fully-qualified host name, or a fully-qualified host name.

  3. Set the HTTP port.

    # regadm set -n http_port -v port-number

ProcedureHow to Configure HTTP Proxy Authentication Settings

If your site implements HTTP proxy authentication, you must also configure HTTP proxy authentication settings (user name and password). The password must be specified as a single line in a text file and then passed to the regadm command. The following procedure describes how to protect the password file while it is in use. This file should be removed immediately after running the regadm command.

The regadm command accepts a password file in two cases:

  1. Become superuser or assume an equivalent role.

  2. Set the HTTP proxy user name.

    # regadm set -n http_proxy_user -v webuser

    where webuser is the site-supplied value to use for authenticating a user with the HTTP proxy server.

  3. Create a temporary password file.

    # touch pwfile
  4. Secure permissions on the file.

    # chmod 600 pwfile
  5. Using a text editor, edit the temporary password file to insert a one-line entry that contains your password information.

  6. Set the HTTP password authentication information.

    # regadm set -n http_proxy_pw -v pwfile

    where pwfile is the password file that you created in Step 3.

  7. Remove the password file.

    # rm pwfile

Example 17–5 Configuring HTTP Proxy Authentication Settings

The following example shows how to configure the HTTP authentication properties for a site that requires an HTTP user name and password for authentication purposes.

# regadm set -n http_proxy_user -v webuser
# touch myhttppasswd
# chmod 600 myhttppasswd
# vi myhttppasswd

# regadm set -n http_proxy_pw -v myhttppasswd
# rm myhttppasswd

Example 17–6 Switching From an HTTP Proxy Network Configuration to a Direct Connection

To switch network connectivity to a direct connection, you must set all of the HTTP proxy settings to a null value (not configured), as shown in the following example:

# regadm set -n http_proxy ""
# regadm set -n http_proxy_port ""
# regadm set -n http_proxy_user ""
# regadm set -n http_proxy_pw ""
# regadm list
        My Oracle Support username      <not configured>
        HTTP Proxy                      <not configured>
        HTTP proxy port                 <not configured>
        HTTP proxy user                 <not configured>
        HTTP proxy password             <not configured>