This module provides instructions for loading and configuring ObjectStore C++ Release 5.1 on your system.
Caution
Before you follow the steps in this chapter,
This installation consists of the following phases:
/cdrom
If you are not running the volume daemon, you must mount the CDROM using the command line
mount -F hsfs -r /dev/ disk-device /mount-point
unsetenv OS_ROOTDIR
Or, for sh and ksh, OS_ROOTDIR =
cd /cdrom/packages/ostore
Or, if the CDROM was mounted automatically by the volume daemon,
cd /cdrom/packages/ostore
df -k | grep /cdrom
ps -elf | grep mountdps -elf | grep nfsd
/usr/lib/nfs/nfsd -a 16/usr/lib/nfs/mountd
share -F nfs -o ro path-returned-in-step-bmount -F nfs -o ro remote-host:path-returned-in-step-b /cdromIf you are not running the volume daemon, export /cdrom.
mount -F nfs -o ro remote-host:/cdrom /cdromwhere remote-host is the name of the remote host.
unsetenv OS_ROOTDIR
Or, for sh and ksh,
OS_ROOTDIR =
cd /cdrom/packages/ostore
oscmgr4 0 0 &Also refer to the Server parameter description Restricted File DB Access, in ObjectStore Management's Chapter 2, Server Parameters if you must run the ObjectStore Server in non-root mode.
ObjectStore Installation Procedure
Follow the instructions below to install ObjectStore.
To access the ObjectStore CDROM from a remote CDROM, follow the instructions in Using a Remote CDROM to Access the ObjectStore CDROM. (The instructions tell you to change directories to the correct directory on the CDROM.) Then return here.
./osinstal
The osinstal dialog varies according to your input.
For instructions on running osconfig, see Running the Configuration Utility.
Setting the Top-Level ObjectStore Directory
Before you can configure ObjectStore, you must set the OS_ROOTDIR and LD_LIBRARY_PATH environment variables to point to the newly installed ObjectStore product. The OS_ROOTDIR variable must be set to point to the directory where you installed the product. The default setting is /opt/ODI/ostore. The shared library path environment variable LD_LIBRARY_PATH must include $OS_ROOTDIR/lib in its path. Setting OS_ROOTDIR
For csh:
setenv OS_ROOTDIR R5.0-install-directoryFor sh and ksh:
OS_ROOTDIR=R5.0-install-directory ; export OS_ROOTDIR
setenv LD_LIBRARY_PATH $OS_ROOTDIR/lib:$LD_LIBRARY_PATHFor sh and ksh:
LD_LIBRARY_PATH=$OS_ROOTDIR/lib:$LD_LIBRARY_PATH ; export LD_ LIBRARY_PATH
The ObjectStore configuration utility is $OS_ROOTDIR/bin/osconfig. You must run osconfig as root.
$OS_ROOTDIR/bin/osconfig server
$OS_ROOTDIR/bin/osconfig rawfsThe osconfig rawfs utility does everything that the osconfig server utility does and also configures the rawfs.
$OS_ROOTDIR/bin/osconfig clientosconfig client establishes symbolic links to shared libraries in /usr/local/lib. If an ObjectStore client machine shares this directory with a machine that has already been configured, or if you want to ensure the use of LD_LIBRARY_PATH, you need not run osconfig on it.
The configuration dialog for clients is similar to the dialog for Servers.
However, when you set the Restricted File DB Access Server parameter to yes and the account that starts the Server does not have root permission, then
Tell users to set OS_ROOTDIR to the directory in which you installed it. Then tell them to add $OS_ROOTDIR/bin to their paths.
setenv LD_LIBRARY_PATH $OS_ROOTDIR/lib:$LD_LIBRARY_PATH
LD_LIBRARY_PATH=$OS_ROOTDIR/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
# chmod +w $OS_ROOTDIR # cd $OS_ROOTDIR/.. # uncompress -c /cdrom/packages/ostore/doc_sol2.tar.Z | tar xvf - # chmod -w $OS_ROOTDIR
# cd $OS_ROOTDIR/.. uncompress -c /cdrom/packages/ostore/doc_sol2.tar.Z | tar xf -
When you run the ossearch command the first time, you will be asked whether to install it. After it installs, and on future invocations of ossearch, it will launch the configured browser on the root of the documentation tree.
When you run the ossearch command the first time, you will be asked whether to install it. After it installs, and on future invocations of ossearch, it will launch the configured browser on the root of the documentation tree.
You can search the entire ObjectStore Release 5.1 documentation set from the top level bookshelf search button for each interface (for example, 5.1.0.0.0/ostore/doc/index.htm). Once you have selected a book, you can search the rest of its documentation set by selecting the search button in the navigation bar above the book text frame.
Search by entering a word or series of words separated by commas in the query box and pressing return key. If you are uncertain about how to enter a query, you can refer to an online search query guide by clicking on the string to learn additional query methods that appears in the search form.
cd osji ./osjinst
Updated: 04/15/98 15:17:34