Installing Sybase 12

This document describes the following:

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:

  1. Ensure that you are logged into the machine with superuser (root) privileges.
  2. 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.

  3. Ensure that the DISPLAY and TERM environment variables are set correctly for your environment.
  4. 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.
  5. 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.
  6. Set the JAVA_HOME environment variable to the directory where Java is installed on the local machine.
  7. Use operating system utilities to create the group sybase: # groupadd sybase
  8. 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
  9. Edit the /etc/group file to do the following:
  10. Change the ownership of the home directory to the group sybase with user sybase:
    # chown sybase:sybase <home_directory>
  11. 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
  12. Ensure that your DISPLAY, TERM, and JAVA_HOME environment variables are still set properly.
  13. 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.

  14. Enter the following commands to begin the Sybase installation process: $ cd /cdrom/sybase $ ./install

    The Installation Type screen displays.

  15. 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.
  16. 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.
  17. 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.
  18. After the components are installed, the Sybase License Management screen displays. Click No to exit from this screen for now.
  19. The Sybase License Management screen displays again. Click No to exit from this screen for now.
  20. The Sybase Installer screen displays. Click No to exit from this screen for now.
  21. An Information screen displays, informing you that installation is complete. Click OK.
  22. Create a .profile file in the home directory for the user sybase, as follows:
    1. Ensure that you are in the Bourne shell in the home directory of user sybase.
    2. Copy the file SYBASE.sh to the file .profile by entering-- $ cp SYBASE.sh .profile
    3. Enter the following commands:
      $ chown -R sybase:sybase *
      $ chown sybase:sybase .profile
    4. 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.

  23. Log out and log back in as user sybase to enable the changes to the environment.
  24. 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
  25. 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.

  26. 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."

Upgrading Sybase 12 with an ESD fix

To upgrade Sybase 12 with an ESD fix, do the following:

  1. 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.
  2. 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.
  3. Create a directory into which to download the file.
  4. 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.
  5. On the host machine, navigate to the directory containing the downloaded file.
  6. Uncompress and untar the downloaded file to extract the Sybase files.
  7. 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  
  8. 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."