Sybase Technical Library - Product Manuals Home
[Search Forms] [Previous Section with Hits] [Next Section with Hits] [Clear Search] Expand Search

Chapter 1 Overview [Table of Contents] Chapter 3 Troubleshooting

Enterprise Event Broker Installation Guide

[-] Chapter 2 Installation Instructions

Chapter 2

Installation Instructions

Pre-installation tasks

Before you install EAServer and Enterprise Event Broker, you must:

If you are upgrading from SEEB 1.0 to SEEB 2.0, SEEB 2.0 will be installed in a separate directory from SEEB 1.0. Keep in mind the following if you plan to use flowspaces developed under SEEB 1.0 in SEEB 2.0:

Installation tasks

Use the Studio Installer on the Enterprise Event Broker CD to create the target directory (if necessary), set Sybase environment variables, collect licensing certificate information, and perform the basic configuration.

The configuration utility gathers information for the configuration of EAServer and Enterprise Event Broker. All of the requested information has an appropriate default value automatically supplied by the installer. Accept the default unless you are certain you need to change it.

Installing EAServer and Enterprise Event Broker

Configuring EAServer and Enterprise Event Broker

During the configuration, a series of screens prompt for configuration information for a variety of Enterprise Event Broker components and services. Most screens are automatically populated with default values.

Warning!

Unless you are certain that a default value needs to be changed, Sybase recommends that you accept the defaults for every component.

A tooltip provides information about each input field in the configuration process. Activate tooltips by placing your cursor over the field for which you require more information. You can also click the Help button on each screen for general information about the information being requested.

The series of screens are:

You have successfully installed and configured EAServer and Enterprise Event Broker.

Do not stop or remove a component unless you are absolutely sure that you need to do so. Stopping or removing any component can have serious implications to your environment.

Post-installation tasks

Complete the post-installation tasks in this section to finish the installation. If you encounter problems performing any of these tasks, it may be due to a problem introduced during installation. See Chapter 3, "Troubleshooting". Additional troubleshooting and problem handling information is included in the Enterprise Event Broker User's Guide.

Starting Sybase Central

Sybase Central provides a graphical user interface for performing EAServer and Enterprise Event Broker administrative tasks.

To start Sybase Central on Windows NT, select from the Windows task bar Start | Programs | Sybase | Sybase Central Java Edition.

To start Sybase Central on UNIX:

If JAVA_HOME is set, you receive a message similar to:

Error Loading the Java VM. Sybase Central could  not be started.

Unset JAVA_HOME to start Sybase Central successfully. You can "unset" JAVA_HOME temporarily (

unsetenv JAVA_HOME
).

For additional information, refer to the online help:

For Jaguar Manager help, see the Technical Library CD.

Starting SySAM manually

The Studio Installer installs SySAM and configures it to start automatically any time EAServer is restarted. To restart SySAM manually on Windows NT, go to %SYBASE%\SYBASE_SYSAM-1_0\bin, and run:

lmgrd.exe

To restart SySAM manually on UNIX, go to $SYBASE/SYBASE_SYSAM-1_0/bin, and run:

startd.sh $SYBASE/SYBASE_SYSAM-1_0

Verifying that SySAM is running

When the lmgrd daemon starts, it automatically starts the SYBASE daemon. After restarting SySAM manually, verify that the license management software is actually running on the system. On Windows NT, from a command line, enter:

%SYBASE%\SYSAM-1_0\bin\lmutil  lmstat -c

On UNIX:

$SYBASE/SYSAM-1_0/bin/lmutil  lmstat -c

Make sure that both the lmgrd and SYBASE daemons are running before you attempt to register secondary servers with the license host.

Using jConnect 5.2, jisql, and Ribo

jConnect 5.2, and the Java utilities jisql and Ribo use JDK 1.2 or JRE 1.2. You can download the JDK or JRE from Sun's Java Software Web site at:

http://java.sun.com/products/index.html
Install it using the JDK or JRE installation instructions, and set the JAVA_HOME environment variable to point to your Java installation.

If you do not want to install and configure your own Java environment, but would like to use jConnect 5.2 or Java-based utilities, set JAVA_HOME to %SYBASE%\shared-1_0\jre1.2.2 (Windows NT) or $SYBASE/shared-1_0/jre1.2.2 (UNIX), where $SYBASE is the installation directory.

To develop applications for jConnect 5.2, you must use JDK 1.2, not JRE 1.2.

Finishing Enterprise Event Broker post-installation tasks

See Chapter 2, "Getting Started" of the Enterprise Event Broker User's Guide for additional post-installation tasks. (The user's guide is available in HTML and PDF formats in the docs subdirectory under %SYBASE%\SEEB-2_0 or $SYBASE/SEEB-2_0).

The Enterprise Event Broker User's Guide includes instructions for configuring SEEB as an EAServer component in standalone mode, and as part of Enterprise Portal. For this release, follow the instructions for establishing SEEB as an EAServer component in standalone mode.

You will need to:

If SEEB server does not start when EAServer starts, the SySAM license for SEEB might not be set correctly. See Table 3-2 in Chapter 3, "Troubleshooting" for information.

Securing config.log information

Note that config.log, which is created during the configuration process, provides a text copy of all input supplied during configuration, including user name and password. To keep the information secure, Sybase recommends you either delete the file or take steps to protect it after installation.

Upgrading from SEEB 1.0 to 2.0

Important changes from SEEB 1.0 to SEEB 2.0

Keep in mind these fundamental changes when you upgrade from SEEB 1.0 to SEEB 2.0:

EAServer component properties for SEEB server

EAServer property

seebserverstart usage equivalent

Description

com.sybase.seeb.LogFile

-e error_log

The name of the file to which SEEB server logs messages. The default value is seeb.log.

com.sybase.seeb.LogDir

-l log_directory

The directory location of SEEB's error files, log files, and debugging output files.

On Windows NT, if you specify an absolute path, such as C:\Program Files\Sybase\SEEB, that is the directory's location. If you specify only a directory name, such as SeebLogDir, the directory location is relative to the %JAGUAR%\bin location. For example, if %JAGUAR% is e:\jaguar and you set com.sybase.seeb.LogDir to SeebLogDir, the resulting log file directory is e:\jaguar\bin\SeebLogDir.

On UNIX, the directory location is not relative to the $JAGUAR location.

com.sybase.seeb.LicensePath

-L license_file

Specifies the license file for the license daemon to which you are connecting. The default location is:

  • %SYBASE%\SYSAM-1_0\licenses\license.dat (Windows NT)

  • $SYBASE/SYSAM-1_0/licenses/license.dat (UNIX)

The Studio Installer puts the appropriate licenses, such as for TIBCO Adapter and MQSeries Adapter, in this location. Access the license file through the SYSAM license daemon.

com.sybase.seeb.ServerDataDirectory

-d data_directory

The directory location of SEEB runtime files. During installation, Studio Installer sets the location using the SEEB_HOME location: %SEEB_HOME%\data (Windows NT) or $SEEB_HOME/data (UNIX).

com.sybase.seeb.ServerDtdDirectory

-t dtd_directory

The directory location of document type definition (DTD) files. During installation, Studio Installer sets the location using the SEEB_HOME location: %SEEB_HOME%\dtd (Windows NT) or $SEEB_HOME/dtd (UNIX).

com.sybase.seeb.ServerName

-n server_name

The SEEB server name associated with SEEB/EASService.

  • The default is Unnamed_Server.

  • You can enter another name to create or start another SEEB server.

  • You can enter "sample" to specify the server required to run SEEB samples.

com.sybase.seeb.DebugClasses

-D class_list

Enables debugging output for all SEEB classes or the classes you specify. Enter

ALL
to include all classes, or enter a list of classes to include only specific classes, for example:

SEEBMain:SEEBManager:SQLAdapter

Use colons to separate class names in a list. The default value is "ALL."

com.sybase.seeb.DebugOutputFile

-o debug_log

The name of the file to which SEEB server sends debugging output if you set debugging mode and specify debugging output files instead of terminal output. If you do not provide an alternative output file name, the debugging information is sent to debug.out.

com.sybase.seeb.Verbose

-v

Indicates that the server status is sent to EAServer's log file, srv.log, during SEEB server start-up and shutdown, and that all errors are sent to STDERR. The default value is "false."

Copying flowspaces from SEEB 1.0 to SEEB 2.0

If you have been using SEEB 1.0, you can copy flowspaces you developed with SEEB 1.0 to SEEB 2.0. However, SEEB 1.0 flowspaces are limited to 1.0 functionality.

  1. Make sure you have installed and configured SEEB 2.0 successfully.

  2. Create a subdirectory for the SEEB 1.0 SEEB server name under the SEEB 2.0 data directory. For example, if your SEEB 1.0 server name is "purchase_processes", you can create the subdirectory %SYBASE%\SEEB-2_0\data\purchase_processes (Windows NT).

  3. Copy the contents of the version 1.0 SEEB server data directory to the newly created version 2.0 subdirectory. For example, copy everything from %SYBASE%\SEEB-1_0\data\purchase_processes to %SYBASE%\SEEB-2_0\data\purchase_processes.

  4. Modify the EAServer properties for the new server. For example, set the EAServer property com.sybase.seeb.ServerName to "purchase_processes" instead of "Unnamed_Server." See Chapter 2, "Getting Started" of the Enterprise Event Broker User's Guide for information about modifying the EAServer properties.

    The other EAServer properties should already be set correctly to the SEEB-2_0 location.

  5. If you created any new class files (or FactoryExtensions) with SEEB 1.0, copy them to the EAServer directory structure. The EAServer directory location is %JAGUAR%\java\classes (Windows NT) or $JAGUAR/java/classes (UNIX). This location is included in EAServer's BOOTCLASSPATH. When EAServer restarts, any classes included in the directory location are compiled in EAServer's virtual machine (VM). The JAGUAR environment variable points to the installation location of Jaguar CTS 3.5.

    In addition, copy your custom SEEB 1.0 classes into the SEEB-2_0 directory structure: %SYBASE%\SEEB-2_0\lib (Windows NT) or $SYBASE/SEEB-2_0/lib (UNIX).

  6. Restart EAServer to initialize the changes.

Once you feel confident that Enterprise Event Broker is working satisfactorily, you can remove the SEEB-1_0 installation directory.

Removing components

This section describes how to remove EAServer and Enterprise Event Broker components. This is usually needed only if you experienced problems during installation or configuration. Removing components can render your installation useless.

If you decide to uninstall EAServer, Sybase recommends that you first remove Adaptive Server Enterprise (if installed), then remove EAServer.

To remove components from Sun Solaris:
  1. Before removing a component, use the Jaguar Manager plug-in to Sybase Central Java to stop the component:

    1. Right-click the component that you want to uninstall.

    2. Select Stop.

    3. Repeat these steps for each component that you want to uninstall.

  2. Start the Studio Installer. From the $SYBASE/Installer/bin directory, run:

    uninstall

    If you have a "." (dot) in the PATH, omit the "./" before the script at the command line. Otherwise, set your current directory to $SYBASE and execute the command Installer/bin/uninstall.

    This starts the Studio Installer and launches the Uninstall screen.

  3. The Studio Installer prompts: "Uninstall components now?"

    Click Yes.

  4. A component selection screen appears. Select individual components by clicking the check box to the left of the component, or by clicking Select All.

    Click Next.

  5. The Uninstall summary screen displays the components selected for removal.

    Click Next.

    The Studio Installer begins removing the selected components from the system. A progress indicator notifies you when the components have been successfully removed.

  6. Click OK to exit the application.

To remove components from Windows NT:
  1. Before removing a component, use the Jaguar Manager plug-in to Sybase Central Java to stop the component:

    1. Right-click the component that you want to uninstall.

    2. Select Stop.

    3. Repeat these steps for each component that you want to uninstall.

  2. From the Windows task bar, select Start | Programs | Sybase | Uninstall.

    This starts the Studio Installer and launches the Uninstall screen.

  3. The Studio Installer prompts: "Do you wish to proceed with uninstall now?"

    Click Yes.

  4. A component selection screen appears. Select individual components by clicking the check box to the left of the component, or click Select All.

    Click Next.

  5. The Uninstall summary screen displays the components selected for removal.

    Click Next.

    The Studio Installer begins removing the selected components from the system. A progress indicator notifies you when the components have been successfully removed.

  6. You may need to reboot to update the system registry.

The Studio Installer removes:

After running the uninstall utility, a message displays stating that you should remove the remaining directories and files. The uninstall utility cannot remove the Studio Installer itself, or the JRE used by the installer as these are required to run the uninstall utility. Remove these directories and files after you finish running the utility and have confirmed that it was successful.

Also, the Studio Installer does not remove registry keys or system DLLs. To remove registry keys and DLLs, see the Microsoft Windows NT documentation.


Chapter 1 Overview [Table of Contents] Chapter 3 Troubleshooting