| Bookshelf Home | Contents | Index | Search | PDF | ![]() ![]() |
Siebel Server Installation Guide for UNIX > Installing the Siebel Server > Post-Installation Tasks for Siebel Server >
Verifying the Siebel Server ODBC Data Source
The Siebel Server installation program automatically creates an ODBC system data source name (DSN) that it uses to connect to the Siebel Database Server.
To verify the ODBC data source for DB2 UDB
- Open the
db2cli.inifile in the$SIEBEL_HOMEdirectory and make sure that there is a section called[siebsrvr_enterprise name], whereenterprise nameis the name given the enterprise during installation; its default name issiebel.- Verify that the following two values are present in the section:
dbalias =aliasname(the database alias cataloged for your DB2 UDB database server)
txnisolation = 1.If the section is missing, run the
configdb2script in$SIEBEL_HOME/binto set it, and then reverify that the section is present.NOTE: It is not recommended to change the default settings created automatically with the ODBC data source.
- Verify that the
SIEBEL_UNIXUNICODE_DBenvironment variable is set to DB2.CAUTION: If you are using Siebel Marketing, which requires simultaneous heterogeneous database connectivity, you need to set this variable to ORACLE regardless of your database platform.
- Test the connection by navigating to
$SIEBEL_HOME/binand entering the command:odbcsql /u
user_name/ppassword/sODBC DSNWwhere:
ODBC DSNis the database connect string.If you do not receive an error message, the ODBC connection is working.
To verify the ODBC data source for Oracle
- Navigate to
$SIEBEL_HOME/sys/.odbc.ini.- Locate the section of the file containing a reference to
ServerNameandDriver.This section defines the ODBC DSN for Siebel Server. A sample section is represented below. The
ServerName, Driver, ColumnsAsChar,andColumnSizeAsCharacterparameters are the most critical for this procedure:[SiebSrvr_enterprise name]
Description=Oracle901
ServerName=dvlsun6
Driver=$SIEBEL_HOME/lib/SEor818.so
ColumnsAsChar=1
ColumnSizeAsCharacter=1The
ServerNameshould be the Oracle connect string you entered while installing the Siebel Server. (To verify this connect string, runsqlplus.) The driver should point to$SIEBEL_HOME/lib/SEor818.so, allowing you to verify the existence of this file.CAUTION: It is critical that
ColumnsAsCharandColumnSizeAsCharacterbe set to1to make sure that ODBC Driver behaves correctly.- Verify that the
SIEBEL_UNIXUNICODE_DBenvironment variable is set to ORACLE.CAUTION: If you are using Siebel Marketing, which requires simultaneous heterogeneous database connectivity, you need to set this variable to ORACLE regardless of your database platform.
- Test the connection by navigating to
$SIEBEL_HOME/binand entering the command:odbcsql /u
user_name/ppassword/sODBC DSNwhere:
ODBC DSNis the database connect string.If you do not receive an error message, the ODBC connection is working.
NOTE: If your ODBC DSN is not working, the program exits with an error message. Refer to Troubleshooting ODBC Data Source Connection.
Troubleshooting ODBC Data Source Connection
If your connection test for the ODBC data source fails, follow the instructions below to research the cause.
DB2 UDB
Follow the instructions below to troubleshoot connection problems on Solaris, AIX, or HP-UX.
To troubleshoot a failed ODBC connection on Solaris, AIX, or HP-UX
- Verify that the database alias entered as part of the Siebel Server configuration is valid, enter:
db2 connect to
Database Aliasuserusernameusingpasswordwhere:
Database Aliasis the alias of the database.
usernameis your logon ID.
passwordis your logon password.Also, refer to your copy of Deployment Planning Worksheets.
- If the database alias entered is correct, check the
ODBCINIenvironment variable to verify that it was set by entering the following command:echo ${ODBCINI}
The response should be the following:
$
SIEBEL_ROOT/sys/.odbc.ini- If the
ODBCINIenvironment variable was set correctly, verify that the.odbc.inifile has a section similar to the following:[
siebsrvr_enterprise]ServerName=Database AliasDriver=/instances/v7inst1/sqllib/lib/libdb2.so(Solaris and HP-UX)or
Driver=/instances/v7inst1/sqllib/lib/libdb2.o(AIX)- Make sure that the library file referenced in the
Driverkey in Step 3 exists.- If the section in the
.odbc.inifile,illustrated in Step 3, exists, verify that theLD_LIBRARY_PATH(Solaris),SHLIB_PATH(HP-UX), orLIBPATH(AIX) includes the path for the ODBC driver by entering the following command:Solaris:
echo ${LD_LIBRARY_PATH}AIX:
echo ${LIBPATH}HP-UX:
echo $[SHLIB_PATH}- If the response illustrated for your platform in Step 5 was correct and you are verifying a Unicode installation, make sure that the following environment variables are set in accordance with the recommendations from your database platform vendor. These variables should also be set in the
siebenv.cshandsiebenv.shscripts.
SIEBEL_UNIXUNICODE_DB=DB2Oracle
Complete the following instructions to troubleshoot connection problems on Solaris, AIX, and HP-UX.
NOTE: If you are unable to verify if your ODBC connection to your Oracle database is working, you should verify that the value of the environment variable
TNS_ADMINis the exact path oftnsnames.ora.To troubleshoot a failed ODBC connection on Solaris, AIX, or HP-UX
- Verify that the Oracle connect string entered as part of Siebel Server configuration is valid.
- If the connect string entered is correct, check the
ODBCINIenvironment variable to verify that it was set by entering the following command:echo ${ODBCINI}
The response should be the following:
$SIEBEL_ROOT/sys/.odbc.ini- If the
ODBCINIenvironment variable was correctly set, verify that the.odbc.inifile is valid by reviewing it for the presence of the following parameters:[SiebSrvr_Enterprise Name]
ServerName=ora901
Driver=/$SIEBEL_ROOT/lib/SEor818.so
ColumnsAsChar=1
ColumnSizeAsCharacter=1If these parameters are not present, the file is invalid.
- If the
.odbc.inifile is valid, verify that the library path includes the path for the ODBC driver on your platform by entering the following command:Solaris:
echo ${LD_LIBRARY_PATH}AIX:
echo ${LIBPATH}HP-UX:
echo ${SHLIB_PATH}The response should be
$SIEBEL_ROOT/lib.NOTE: Siebel applications only support an Oracle 32-bit client for Oracle 8i. Therefore, if you have installed an Oracle 64-bit client on your Siebel Server, you need to add $ORACLE_HOME/lib32 instead of $ORACLE_HOME/lib to your LD_LIBRARY_PATH (Solaris), SHLIB_PATH (HP-UX), or LIBPATH (AIX).
- If the response illustrated for your platform in Step 4 was correct and you are verifying a Unicode installation, make sure that the following environment variables are set in accordance with the recommendations from your database platform vendor. These variables should also be set in the
siebenv.cshandsiebenv.shscripts.SIEBEL_UNIXUNICODE_DB=ORACLE
| Bookshelf Home | Contents | Index | Search | PDF | ![]() ![]() |
Siebel Server Installation Guide for UNIX Published: 24 June 2003 |