Installing OneDB

About this task

You can install the OneDB server by running the interactive installation application.

You can include options to the installation command if you run the command from the command line. For example, you can change the name or location of the installation log file.

Prerequisites: A Compatible JRE must be available in your system PATH.

AIX, Linux

Procedure

  1. If necessary, extract the product files. For example, run the tar command:

    tar xvf filename

    Where filename is the name of the product tar file.

  2. Run the following command:

    onedb_install

    1. If you run the install as root this will install a root-based installation

      create a user and group informix used to configure OneDB server .

      OneDB server processes will run with root privileges.

    2. If you run the install as any other, then this user will be used to

      configure OneDB server.

      OneDB server processes will run with this users privileges.

Windows

Procedure

  1. Double-click the onedb_install.exe file.
    This will run the installer as an administrator.
  2. Select the setup method, for example, Typical, and follow the instructions in the installation application.
  3. Complete the installation and exit the installation application.
  4. Log files are created during the installation process. You can use the log files to troubleshoot installation errors.
  5. If you created a database server during installation, the database server is configured, initialized, started, and ready for client connections.
    An environment file will be created in the installation folder.
    onedb.ksh onedb.csh or onedb.cmd (name of the file depends on the server name either chosen or configured at install time).
  6. To see the connectivity information, look at the ${INFORMIXSQLHOSTS} file or %INFORMIXSQLHOSTS% file for Windows.
  7. To see the configuration information, look at the onconfig file ${INFORMIXDIR}/etc/${ONCONFIG} or the %INFORMIXDIR%\etc\%ONCONFIG% (Windows).
  8. You can customize the database server properties by setting configuration parameters in the onconfig file, setting environment variables in your environment, and adding connectivity information to the sqlhosts file.
  9. If you did not create a database server during installation, you must configure and initialize the database server.