Scalable Database Server, HiRDB Version 8 UAP Development Guide

[Contents][Index][Back][Next]

13.3.1 Installation

Organization of this subsection
(1) Installation directory
(2) Installation flow
(3) Installation procedure

(1) Installation directory

Table 13-1 shows the ODBC3.0 driver installation directory.

Table 13-1 ODBC3.0 driver installation directory

Platform Installation directory
Windows 2000 Windows-directory\System32
Windows Server 2003
Windows XP

Note
The default Windows directories are as follows:
  • Windows Server 2003 and Windows XP: C:\WINDOWS
  • Windows 2000: C:\WINNT

(2) Installation flow

The ODBC3.0 driver installation flow is described as follows.

  1. Installing the ODBC3.0 driver
    Insert the provided medium and follow the installation procedure.
  2. Installing the ODBC driver manager
    If the ODBC driver manager version is old, install the new ODBC driver manager.
  3. Setting data sources
    Set data sources.

(3) Installation procedure

(a) Installing the ODBC3.0 driver

To install the ODBC 3.0 driver:

  1. Execute hcd_inst.exe found on the integrated CD-ROM to start Hitachi Integrated Installer.
  2. At the Hitachi Integrated Installer screen, select one of the following, and then click the Execute Installation button to start the HiRDB setup program:
    For the UNIX version:
    • For HiRDB/Run Time: HiRDB/Run Time
    • For HiRDB/Developer's Kit: HiRDB/Developer's Kit
    For the Windows version:
    • For a HiRDB/Single Server: HiRDB/Single Server
    • For a HiRDB/Parallel Server: HiRDB/Parallel Server
  3. Perform the following operation; the setup program for the selected program process starts:
    For the UNIX version:
    From the Select Program Process window of the HiRDB setup program, select one of the following, and then click the Next button:
    • For HiRDB/Run Time: HiRDB/Run Time
    • For HiRDB/Developer's Kit: HiRDB/Developer's Kit
    For the Windows version:
    From the Select Program Process window of the HiRDB setup program, select HiRDB/Run Time, and then click the Next button.
  4. When the Select Installation Destination dialog box appears, change the installation destination as needed and click the Next button.
  5. From the Select Setup Type dialog box, select Custom and click the Next button.
  6. From the Select Component dialog box, select ODBC3.0 driver and click the Next button.
  7. Both the ODBC3.0 driver and MDAC2.6RTM are copied to C:\Program Files\HITACHI\HiRDB\utl (for the default).
  8. The installation procedure is now complete.
(b) Installing the ODBC driver manager (which is included in MDAC2.6RTM)

If the version of the installed ODBC driver manager is old, you must install MDAC by using the following procedure. To determine the version of the ODBC driver manager, start the ODBC Administrator and double-click the About the ODBC driver manager tab. If the driver manager version is 3.520.6526.0 or earlier, it is old.

To install the ODBC driver manager:

  1. Double-click mdac_typ.exe, which has been copied to the ODBC3.0 driver installation folder C:\Program Files\HITACHI\HiRDB\utl (for the default).
  2. Follow the installation procedure displayed on the screen.
(c) Setting data sources

To set data sources:

  1. Start the ODBC Data Source Administrator.
  2. Make sure that the tab item is User DSN and click the Add button.
  3. When the Add Data Source dialog box appears, select HiRDB ODBC3.0 Driver and click the Finish button.
  4. When the HiRDB ODBC3.0 Driver Setup dialog box appears, specify the necessary items.
    Data source name
    Specify a name identifying the data source. The name can have up to 32 single-byte characters or 16 double-byte characters. Single-byte and double-byte characters can also be mixed.
    PDHOST (host name)
    For a HiRDB/Single Server, specify the host name of the server machine on which the single server is located. For a HiRDB/Parallel Server, specify the host name of the server machine on which the system manager is located.
    If this item is omitted, the value specified for PDHOST in the client environment definition is assumed. For details about PDHOST, see 6.6.4 Environment definition information.
    PDNAMEPORT (HiRDB port number)
    Specify the port number (the value specified for the pd_name_port operand of the system definition) of the HiRDB server to be accessed.
    If this item is omitted, the value specified for PDNAMEPORT in the client environment definition is assumed. For details about PDNAMEPORT, see 6.6.4 Environment definition information.
    HiRDB client environment definition file name
    Specify the absolute path name of the HiRDB client environment definition file. Use this item to change the specification values for the HiRDB client environment variables for a particular data source. For example, if you are using the high-speed connection facility (PDSERVICEPORT) to connect to multiple HiRDB systems, you can use this item to specify the file name of the HiRDB client environment definition file and change the connection destination for each data source.
    If this item is omitted, HIRDB.INI is assumed.
  5. Choosing the OK button returns the window to the User DSN tab, and the registered data sources are displayed.

To stop data source setup, from the HiRDB ODBC3.0 Driver Setup dialog box, click the Cancel button. When the Cancel button is clicked, no data source is registered.

To delete a data source:

  1. From the Data Source dialog box, select the name of the data source to be deleted.
  2. Click the Delete button to delete the data source.