InstallClientUNIX Installation and Configuration of the Multi-Tier "Enterprise" Edition Generic Client ODBC Drivers, on Unix-like OS Installation and Configuration of the Multi-Tier "Enterprise" Edition Generic Client ODBC Drivers, on Unix-like OS Review Preinstallation Documentation: Multi-Tier ODBC Client ComponentsInstallation Login to your Unix or Linux client machine.
cd into the installation directory.
The installation files ship as an installation shell script, a driver .taz archive, and an optional administrator .taz file. All files should be transferred using binary-preserving methods (e.g., FTP in BIN mode) at all times.
Run the following command to start the installation: sh install.sh If you have a pre-existing installation running on the machine, you will be presented with the following options:
You must choose a TCP port on which to run your HTTP-based iODBC Data Sources Administrator. The default is 8000. You will need to know this port number and your local machine's IP address or hostname to access your Administrator in a Web browser. This is how you call it: http://machine:portnumber/
Log File? enables you to specify the name and location of your administrator's log file. It is best to go with the default.
You can choose to log all requests. This is not diagnostic-level ODBC tracing or connection logging. The default is no.
You can change the iODBC Data Source Administrator's default username from "admin." This is the name that you will need to log in to the HTTP-based OpenLink ODBC Administrator.
You can change the iODBC Data Source Administrator's default password from "admin."
The installation is complete.
Configuration For best results, use the bash command to open a bash shell. Next best is the sh command for the Bourne shell. Other shells may work, but subsequent commands may vary.
Set the OpenLink environment by running the appropriate script for your shell. The following will work in most environments, but your required command may differ -- <tgroup><thead /><tbody> <row /> <row><entry> sh, bash, zsh and related </entry><entry> <span style="color: red"> UNKNOWN tag: http://www.w3.org/1999/xhtml:nowiki. ./openlink.sh</span> </entry></row> <row><entry> ksh and related </entry><entry> <span style="color: red"> UNKNOWN tag: http://www.w3.org/1999/xhtml:nowikisource ./openlink.sh</span> </entry></row> <row><entry> csh, tcsh and related </entry><entry> <span style="color: red"> UNKNOWN tag: http://www.w3.org/1999/xhtml:nowikisource ./openlink.csh</span> </entry></row> </tbody></tgroup></table> <figure><graphic fileref="InstallClientUNIX/ST_gODBC_openlinksh.png" /></figure> </listitem> <listitem> Navigate to the <computeroutput>bin</computeroutput> sub-directory of your driver installation, e.g., <programlisting>cd /opt/openlink/bin/ </programlisting><figure><graphic fileref="InstallClientUNIX/ST_gODBC_CD_BIN.png" /></figure> </listitem> <listitem> Use the ls command to display your files. <figure><graphic fileref="InstallClientUNIX/ST_gODBC_LS.png" /></figure> </listitem> <listitem> Start the HTTP-based <ulink url="OpenLink">OpenLink</ulink> ODBC Administrator <programlisting>./iodbc-admin-httpd.sh start </programlisting><emphasis>Note that if you have installed the Mutli-Tier Client and Server components on the same machine (and location) then the HTTP-based <ulink url="OpenLink">OpenLink</ulink> ODBC Administrator would not have been installed, as its functionality is included within the HTTP-based Multi-Tier Admin Assistant, installed as part of the <ulink url="InstallServerUNIX">Request Broker installation</ulink> of the Server components.</emphasis> <figure><graphic fileref="InstallClientUNIX/ST_gODBC_Start_Admin.png" /></figure> </listitem> <listitem> Open a Web browser on any computer and type the URL for your administrator in the address bar. <figure><graphic fileref="InstallClientUNIX/ST_gODBC_Open_Admin.png" /></figure> </listitem> <listitem> Click the Client Components Administration link in the left hand side navigation bar. <figure><graphic fileref="InstallClientUNIX/ST_gODBC_Client_Components_Admin.png" /></figure> </listitem> <listitem> Click the Configure ODBC Data Sources link in the left hand side navigation bar. <figure><graphic fileref="InstallClientUNIX/ST_gODBC_Config_ODBC.png" /></figure> </listitem> <listitem> Login with your Administrator's username and password, if prompted. Both fields default to admin. </listitem> <listitem> Click the Add button that appears on the first DSN configuration dialog. <figure><graphic fileref="InstallClientUNIX/ST_gODBC_Admin_DSN_Tab.png" /></figure> </listitem> <listitem> Click the OpenLink Generic ODBC Driver (multi-threaded). Then, click Create DSN. <figure><graphic fileref="InstallClientUNIX/ST_gODBC_Choose_Driver.png" /></figure> </listitem> <listitem> Provide a name and optional description for your DSN. Additionally, pass the hostname or IP address of the machine that contains the OpenLink Multi-Tier Request Broker (server component) and the port on which the Broker listens. The form is: <emphasis>ip address:port number</emphasis> <figure><graphic fileref="InstallClientUNIX/ST_gODBC_Name_DSN.png" /></figure> </listitem> <listitem> Click Next. </listitem> <listitem> Pass the following values in the next dialog: <figure><graphic fileref="InstallClientUNIX/ST_gODBC_Connection_Attributes.png" /></figure> <itemizedlist mark="bullet" spacing="compact"><listitem> <emphasis>Domain</emphasis> - The value must match a [Domain Alias], which is contained in the Server's Session Rules Book. This Alias typically represents the name and version of an OpenLink Agent. That agent version may differ from the DBMS version to which it connects. Note that advanced users may create custom domain names that follow their own, desired conventions. </listitem> <listitem> <emphasis>Database</emphasis> - Takes a database name or Oracle SID. </listitem> <listitem> <emphasis>DB Connection Options</emphasis> - This field passes parameters that enable users to connect to MySQL, PostgreSQL, SQLServer, and Sybase databases anywhere on the network. It also passes parameters that enable users to connect to any DBMS that does not reside on the same machine as the OpenLink Request Broker and Agent. <ulink url="MTServerConfigConnectOptions">Review Complete Settings and Usage for Connect Options</ulink> </listitem> <listitem> <emphasis>Connect now to verity that all settings are correct</emphasis> - Will attempt to connect to the database, once you click Continue. </listitem> <listitem> <emphasis>Username</emphasis> - A valid database uid. </listitem> <listitem> <emphasis>Password</emphasis> - A valid database password. </listitem> </itemizedlist></listitem> <listitem> Click Next. </listitem> <listitem> The following parameters are optional settings that you may choose to use: <figure><graphic fileref="InstallClientUNIX/ST_gODBC_Additional_Options.png" /></figure> <itemizedlist mark="bullet" spacing="compact"><listitem> <emphasis>Secure SSL connection</emphasis> - If checked, the client sets up a secure connection to the Request Broker. </listitem> <listitem> <emphasis>Read-only connection</emphasis> - Specifies whether the connection is "Read-only." Make sure the checkbox is unchecked to request a "Read/Write" connection. </listitem> <listitem> <emphasis>Defer fetching of long data</emphasis> - Defers fetching of LONG (BINARY, BLOB etc.) data unless explicitly requested in a query. This provides significant performance increases when fields in query do not include LONG data fields. </listitem> <listitem> <emphasis>Disable interactive login</emphasis> - Suppresses the ODBC "Username" and "Password" login dialog boxes when interacting with your ODBC DSN from within an ODBC compliant application. </listitem> <listitem> <emphasis>Row buffer size</emphasis> - This attribute specifies the number of records to be transported over the network in a single network hop. Values can range from 1 to 99. </listitem> <listitem> <emphasis>SQL_DBMS_Name</emphasis> - Manually overrides the SQLGetInfo(SQL_DBMS_NAME) response returned by the driver. This is required for products like Microsoft InfoPath for which the return the value should be "SQL Server". </listitem> </itemizedlist></listitem> <listitem> Click Next. </listitem> <listitem> Click the Test Data Source button to test your new Data Source. <figure><graphic fileref="InstallClientUNIX/ST_gODBC_Test.png" /></figure> </listitem> </orderedlist></section></docbook>