Install SQL Server
Before you begin
Review the Plan SQL Server section appropriate for your database.
Requirements
Install SQL Server separately from WebSphere Portal.
WebSphere Portal requires Microsoft JDBC Type 4 drivers with Service Pack 3 or Service Pack 2 and requires SQL Server 2000 SP3a for JDBC.
Install Microsoft JDBC Type 4 drivers on UNIX
Use the following steps to install Microsoft JDBC Type 4 drivers on UNIX:
- Download the Microsoft JDBC Type 4 drivers for SQL Server 2000 and save the mssqlserver.tar file in one of the directories.
- To create the required files, run the following command from the directory that contains mssqlserver.tar:
tar -xvf mssqlserver.tar- Run ./install.ksh in the same directory.
- When installation is complete, change directory to /installation/lib, where installation is the directory in which you installed the Microsoft JDBC Type 4 drivers.
- Run the following command to change the permissions on the JAR files in the installation/lib directory:
chmod 777 *.jar- Change the ownership and group of these files by running the following commands in the installation/lib directory:
chgrp system_grp *.jar chown root *.jarWhere system_grp is the system group as labeled by your operating system.
Install SQL Server
The following section provides instructions for installing SQL Server for use with WebSphere Application Server and WebSphere Portal. See the Microsoft SQL Server product documentation for installation details.
- Install SQL Server and all required patches.
- Select SQL Server Authentication as the authentication mode during the installation.
- Complete the installation using SQL Server documentation as a guide.
- Install the Microsoft SQL Server JDBC driver.
- Copy sqljdbc.dll from sql_jdbc_root\SQLSERVER JTA directory to the sql_root\binn directory, where sql_root is the root directory for SQL Server and sql_jdbc_root is the root directory for the SQL Server JDBC driver.
- Start SQL Server.
- Use the ISQL utility to run instjdbc.sql from the sql_jdbc_root\SQLSERVER JTA directory, where sql_jdbc_root is the root directory for the SQL Server JDBC driver. The DOS prompt syntax is
whereISQL -U sa -P sa_password -S server_name -i "sql_jdbc_root\SQLSERVER JTA\instjdbc.sql"
- sa is the SQL Server system administrator user ID
- sa_password is the password for the system administrator
- server_name is the name of the server on which SQL Server is running
- sql_jdbc_root is the root directory for the SQL Server JDBC drivers
- A message indicating success is shown. Review the message output for messages that indicate an installation or execution error.
- If you are running Windows 2003, Refer to the following document http://www.jsiinc.com/SUBN/tip6800/rh6866.htm for information on a new security constraint and how to set SQL Server on Windows 2003.
For WebSphere Portal, create a value name in the registry similar to the following:
- Value Name: String Value
- sqljdbc.dll: C:\Program Files\Microsoft SQL Server\MSSQL\Binn\sqljdbc.dll
- Old Component: wpo_was
- New Component: wpo_docs
Next steps
- Database (Windows/UNIX)
- Plan SQL Server
- Create databases and users for SQL Server
- Configure databases
- Configure SQL Server
- Verifying database connections
- Create databases and users for SQL Server
WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.
IBM is a trademark of the IBM Corporation in the United States, other countries, or both.