Installing Sybase 12
This document describes the following:
- Installing and configuring Sybase 12 on a local Solaris machine
- Upgrading Sybase 12 with an Electronic Software Distribution (ESD) fix
Installing Sybase 12
Note: The Sybase 12 installer requires Java to be installed on the local host.
The Sybase 12 product CD contains the files necessary to install and
configure Sybase 12 on a local Solaris machine (the machine to which the
CD-ROM drive is attached). Perform the following steps to install Sybase 12:
- Ensure that you are logged into the machine with superuser (root) privileges.
- Change your system settings as needed. Ensure that you have set the following
UNIX shared memory parameters properly in /etc/system:
Further, ensure that Asynchronous I/O is set to enable.
After setting these values, enter the command # touch /reconfigure
and restart
your system so the new settings can take effect.
For more information on setting values for these parameters, refer
to the Sybase 12 installation documentation.
- Ensure that the DISPLAY and TERM environment variables are set correctly
for your environment.
- Create a file system, logical volume, or directory
to hold the Sybase software. Ensure that the location you choose has 604
MB of free disk space.
- If you plan to use Sybase 12 in a production environment, it is recommended
that you create a file system on a separate partition to store the database
files. Refer to the Sybase 12 installation documentation and your
Solaris system documentation for more information on creating and mounting
a file system.
- Set the JAVA_HOME environment variable to the directory where Java is
installed on the local machine.
- Use operating system utilities to create the group sybase:
# groupadd sybase
- Use operating system utilities to create the user
sybase. Use the location you created in Step 4 as
the user's home directory.
# useradd -d <home_directory> -g sybase sybase
- Edit the /etc/group file to do the following:
- Add the user sybase to the group sybase.
- Add the user root to the group sybase.
- Change the ownership of the home directory to the group sybase with user
sybase:
# chown sybase:sybase <home_directory>
- Log in as user sybase using the command below. Note that when you
log in as user sybase, the command prompt changes from
#
to $
to indicate your login identity.
# su - sybase
- Ensure that your DISPLAY, TERM, and JAVA_HOME environment variables are still
set properly.
- Insert the Sybase 12 CD and, if necessary, mount the CD-ROM drive. On most
Solaris systems, the Volume Management daemon (vold) mounts the CD
automatically and immediately, as well as each time the machine is restarted.
If the vold process is not running on your machine, see your Solaris
documentation for instructions on how to mount the CD-ROM drive.
The steps that follow assume that the CD is mounted at /cdrom.
- Enter the following commands to begin the Sybase installation process:
$ cd /cdrom/sybase
$ ./install
The Installation Type screen displays.
- Ensure that the radio button for Standard Install is selected and
click Next. (A Standard installation requires 604 MB of disk space.
Customized installations can require additional disk space. See the Sybase
installation documentation for more information.) The Choose Directory screen
displays.
- Specify the installation location for the Sybase files (make the installation
directory the home directory of the user sybase) and click Next.
The Summary screen displays, summarizing all of the installation choices
you have made so far.
- Verify the information on the Summary screen. When you have determined that
it is correct, click Next. The Installing screen displays; it tracks
the status of the Sybase installation.
- After the components are installed, the Sybase License Management screen displays.
Click No to exit from this screen for now.
- The Sybase License Management screen displays again. Click No to
exit from this screen for now.
- The Sybase Installer screen displays. Click No to exit from this
screen for now.
- An Information screen displays, informing you that installation is complete.
Click OK.
- Create a .profile file in the home directory for the user sybase, as follows:
- Ensure that you are in the Bourne shell in the home directory of user sybase.
- Copy the file SYBASE.sh to the file .profile by entering--
$ cp SYBASE.sh .profile
- Enter the following commands:
$ chown -R sybase:sybase *
$ chown sybase:sybase .profile
- Add the following information to the .profile file. In the example below,
<server_name> is name of the server that you will create in
"Configuring and verifying installation of Sybase 12" and <home_directory> is the installation
directory of the Sybase software and, in this example installation, the home.
DSQUERY=<server_name>
export DSQUERY
PATH=<home_directory>/ASE-12_0/install:$PATH
export PATH
XACONFIGFILE=<home_directory>/xa_config
export XACONFIGFILE
DSQUERY defaults to your machine's host name, but you can change the value to any
valid ASE server name.
- Log out and log back in as user sybase to enable the changes to the environment.
- To add licenses to your installation, enter the command below. <home_directory>
is the installation directory of the Sybase software and, in
this example installation, the home directory of user sybase:
$ <home_directory>/SYSAM-1_0/bin/lmgr
- The Sybase License Management screen displays, asking if you have a
Sybase Software Asset Management Certificate to register. Click Yes.
Your license agreement can differ from the type of agreement demonstrated here.
Check with your system administrator or refer to the Sybase installation
documentation for more information on registering licenses.
- On the screen that displays, enter information from the Sybase License
Certificate for the feature you have purchased. Click More if you have
more than one licensed feature. This action prompts the installer to record the
information from the current feature in the license file and prompts you to
enter information for the next additional feature. For WebSphere Application Server,
you must install and define jConnect 5.2 to use JDBC 2.0/JTA. For distributed
transactions with the WebSphere Application Server Advanced Edition, a DTM license
(ASE 12.0 DTM Option) is required. Click Done after you enter all of your
license information.
Determine whether you need to update the basic Sybase installation with an ESD fix by reviewing the
information on the
Software prerequisites Web site. If you must install a fix, note the fix level and proceed
to the section "Upgrading Sybase 12 with an ESD fix."
To upgrade Sybase 12 with an ESD fix, do the following:
- If you have not already done so, see
the
Software prerequisites Web site to learn whether you need to install a Sybase ESD fix for your level
of WebSphere Application Server. Note the ESD fix level needed.
- Ensure that you are logged into the machine as user sybase. Note that
when you log in as user sybase, the command prompt changes from
#
to $
to indicate your login identity.
- Create a directory into which to download the file.
- Open a Web browser window and go to
http://www.sybase.com. Move to the downloading site, which can
be restricted to registered users, and download the appropriate file. Check with your System Administrator if
you cannot access this site.
- On the host machine, navigate to the directory containing the downloaded file.
- Uncompress and untar the downloaded file to extract the Sybase files.
- Navigate to the <home_directory>/ASE-12_0 directory by entering the
command below. <home_directory> is the installation directory of
the Sybase software and, in this example installation, the home directory of
user sybase:
$ cd <home_directory>/ASE-12_0
- Recursively copy the download directory contents to
<home_directory>/ASE-12_0 directory by entering the command below.
<fix_directory> is the directory containing the fix files. It usually
bears the name of the fix level (such as ebf8774, for example):
$ cp -R /<download_directory>/<fix_directory>/* .
To check the installation, proceed to "Configuring and verifying
installation of Sybase 12."