This topic explains how to install StreamBase on Sun® Solaris™ systems and perform the initial set of post-installation tasks.
Before you install StreamBase on Solaris, use this checklist:
-
The target node's resources (CPU, RAM, disk capacity) must meet or exceed the minimum values described on the Supported Configurations page.
-
If you plan to install the StreamBase kit into a directory that requires root access, such as
/optor/usr/local, you must have access to the root account on the target node. (You can install StreamBase into another area, such as a home directory, and will not need root access.) -
The target node must be running a supported Solaris operating system release, as listed on the Supported Configurations page.
-
To run StreamBase applications, you must have a Sun JDK installed. See Supported Configurations for the supported JDK versions.
Important
If you installed a prior version of StreamBase, you must uninstall it before proceeding with this installation. See the section Uninstalling StreamBase on Solaris near the end of this topic, then return here.
Note
You must use the Solaris /usr/bin/tar (not
Gnu tar) to expand and install the StreamBase distribution files.
Follow these steps to install StreamBase on a single node in your Solaris development network:
-
If you are going to install to an
/optor/usr/localsubdirectory, or any other location that requires root access, log into therootaccount. This step is not necessary if you will install StreamBase into a non-privileged area, such as a home directory. -
Insert the StreamBase for Solaris CD. If automount is not enabled, mount the cdrom.
If you downloaded an installation kit provided by StreamBase, note its location so that you can reference it when using the example commands shown in this section.
-
The StreamBase kit on Solaris is provided in a single tar file:
streambase-R.R.R.-DDD.solaris.sparc32.tar.gzIn the filename,
R.R.Rrefers to the release number, andDDDrefers to the date and time when the installation CD was built.On the product CD, the file is in the
./tarfilesdirectory.Note
StreamBase is not available as a package kit for Solaris.
-
Installing StreamBase:
To install StreamBase in a privileged area such as
, as root, enter commands such as the following. This example assumes that a downloaded StreamBase kit temporarily resides in the example/opt/streambase//home/sbuser/kitsdirectory. If you are using the product CD, instead specify the mounted CD's path plus thestreambase-*.tar.gzfilename.cd /opt gunzip -c /home/sbuser/kits/streambase-*.tar.gz | tar -xf -
These commands install StreamBase into
/opt/streambase.To install StreamBase into a non-privileged area, use commands such as the following. This example assumes that a downloaded StreamBase kit temporarily resides in a
/my/kitsdirectory. If you are using the product CD, instead specify the mounted CD's path plus thestreambase-*.tar.gzfilename.mkdir /home/sbuser/streambase cd /home/sbuser/streambase gunzip -c /home/sbuser/kits/streambase-*.tar.gz | tar -xf -
After installing StreamBase, configure the StreamBase license as described in the Configuring a StreamBase License topic.
The post-installation tasks include the following:
After unpacking the tar file, run the following command to set up the environment:
eval `streambase-install-dir/bin/sb-config --env`
This command sets the STREAMBASE_HOME
environment variable and modifies the PATH,
LD_LIBRARY_PATH, and MANPATH environment variables. Note the use of the
backquote character ( ` ) in the preceding example; it is not a single
quote character.
To support StreamBase Studio users on Windows or Linux
client machines connecting to the remote Solaris machine where
StreamBase Server is installed, your Solaris host must have
an SSH daemon running with TCP port forwarding enabled, and password
authentication enabled. To enable TCP port forwarding, ensure that your
/etc/ssh/sshd_config file does not contain the following lines:
AllowTcpForwarding No PasswordAuthentication No
If you update the sshd_config, remember to
restart your SSH daemon before the StreamBase Studio users
start their sessions.
Note
Remote users who connect from StreamBase Studio to your host must also have valid UNIX accounts on the machine where you install StreamBase Server. Remote users connecting StreamBase Studio from their Windows or Linux machine must provide valid username and password credentials to connect to your server.
By default, StreamBase uses skeleton configuration files. To
customize a configuration file for use with one of your applications, use
the -s flag and pipe the output to a file.
For example:
sbd -s > /my/apps/sbd.sbconf
For details about the StreamBase configuration files, please see the following topics:
If you installed a prior version of StreamBase, uninstall it before proceeding with the current version installation. To uninstall StreamBase on Solaris, please follow these steps:
-
Log into the root account, if you installed the product in an area that requires root access, such as
/opt/streambase. -
Confirm that the StreamBase Server (sbd) is not running on this machine:
ps -A | grep sb
If the StreamBase Server is running, confirm that the server can be shut down without disrupting StreamBase users or applications. At the appropriate time, enter the sbadmin shutdown command.
-
If you installed StreamBase from a
streambase-*.tar.gzkit, use the rm -rf command to remove the StreamBase installation directory. -
If your prior version is StreamBase 2.1.x or earlier, and thus used the pkgadd command for installation, enter the following commands to remove the StreamBase packages:
pkgrm SBdevel pkgrm SBdocs pkgrm SBserver pkgrm SBclient pkgrm SBprereq
Solaris prompts with a confirmation message before removing each package.
