Welcome to IBM(R)
SecureWayTM On-Demand Server Version 2.0.
This README contains late-breaking information about installing
and using On-Demand Server.
This information corrects and supplements other documentation
in the product package.
Updates and additions to the README can be found on the
library page of the
On-Demand
Server Web site.
If the version of any of these files is less than 6 (typically, 4.xx), overwrite these files with the versions on the root directory of the product CD.
The instructions for uninstalling AIX are incomplete. Use the procedures described below instead.
Notes:
Steps:
ps -ef | grep java kill -9 pid from output of previous command
ps -ef | grep slapd kill -9 pid from output of previous command
Caution: These commands will delete the DB2 databases used for storing operations management data and On-Demand Server directory data if these components were installed on this computer. Before deleting these databases, make sure you either have a backup computer with these databases or that you intend to rebuild a new On-Demand Server domain without this data.
The example below uses db2admin for the DB2 administrator's ID. Substitute the appropriate DB2 administrator ID when you issue these commands.
su - ldapdb2 -c "db2 stop database manager" su - db2admin -c "db2 stop database manager" /usr/lpp/db2_05_00/instance/db2idrop ldapdb2 /usr/lpp/db2_05_00/instance/db2idrop db2admin rmuser db2admin rmuser ldapdb2 rmuser ldap rmuser db2fenc1 rmgroup ldap rmgroup db2admin rmgroup ldapdb2 rmgroup db2fadm1 rm -rf /home/ldapdb2 rm -rf /home/db2admin rm -rf /home/db2fenc1 rm -rf /var/db2 ps -eflgrep db2jdlgrep -v greplawk '{print $2}' kill -9 pid from output of previous command
DB2 | db2_05_00.client db2_05_00.cnvucs db2_05_00.conn db2_05_00.conv.jp db2_05_00.conv.kr db2_05_00.conv.sch db2_05_00.conv.tch db2_05_00.cs.drda db2_05_00.cs.ipx db2_05_00.cs.rte | db2_05_00.cs.sna db2_05_00.das db2_05_00.db2.engn db2_05_00.db2.rte db2_05_00.db2.samples db2_05_00.esrv db2_05_00.jdbc db2_05_00.odbc db2_05_00.repl |
---|---|---|
WebSphere Application Server | IBMWebAS.base.core IBMWebAS.en_US.core IBMWebAS.en_US.resources |
plug-in_name represents the Web server being used with
WebSphere Application Server en_US is the language fileset for English. Indicate other filesets as appropriate for your system. |
On-Demand Server | OnDemand.base.rte | |
GS Kit | Export: gskre301.base gskrf301.base |
Secure: gskru301.base gskrf301.base |
LUM | ifor_ls.jcs | |
LDAP | ldap.client.adt
ldap.client.rte ldap.server.admin |
ldap.server.com
ldap.server.rte |
Look for any residual LDAP configuration files in /etc and remove them if present:
cd /etc ls -l slapd* rm any files that show up in output of previous command ls -l *IBM* rm any files that show up in output of previous command (there should be 2 of these)
Look for any residual files left over after products are uninstalled (the following are the most likely candidates):
cd /usr/lpp rm -rf OnDemand.base rm -rf IBMWebAS
Look for any residual files left over in /tmp that might prevent a successful reinstall.
cd /tmp rm -rf .asibmappserve rm -rf SQLDIR.LK0
Restart your Web server.
The instructions for uninstalling On-Demand Server on Solaris are incomplete. Use the procedures described below instead.
Notes:
Steps:
ps -ef | grep slapd kill -9 pid from output of previous command
pkgrm package_ID
where package_ID can be any or all of the following:
To specify multiple packages, separate each with a space in the command.
Caution: These commands will delete the DB2 databases used for storing operations management data and On-Demand Server directory data if these components were installed on this computer. Before deleting these databases, make sure you either have a backup computer with these databases or that you intend to rebuild a new On-Demand Server domain without this data.
The example below uses db2admin for the DB2 administrator's ID. Substitute the appropriate DB2 administrator ID when you issue these commands.
su - db2admin -c "db2 deactivate database opmgrdb" su - db2admin -c "db2 stop database manager" /opt/IBMdb2/V5.0/instance/db2idrop db2admin userdel -r db2admin userdel -r db2fenc1 groupdel db2admin groupdel db2fadm1 su - ldapdb2 -c "db2 stop database manager" /opt/IBMdb2/V5.0/instance/db2idrop ldapdb2" userdel -r ldapdb2 groupdel ldapdb2 ps -ef | grep db2 kill -9 pid from output of previous command rm -rf /var/db2
/shared_dir/install/Db2/db2_deinstall -nor
/cdrom/ibm-ondemand/Db2/db2_deinstall -n
cd /etc ls -l slapd* rm any files that show up in output of previous command ls -l *IBM* rm any files that show up in output of previous command (there should be 2 of these)
cd /tmp rm -rf .asibmappserve rm -rf SQLDIR.LK0
Before you uninstall On-Demand Server, make sure you stop the following services (if present):
After you remove On-Demand Server and reboot the computer, remove the following directories:
The following are the updated instructions for enabling SSL on IBM LDAP Directory Server using a personal certificate on AIX, Solaris, and Windows NT. Make sure the LDAP directory is already configured for a Web server before starting these steps.
Note: On Solaris, run the following script from the product CD before you start these procedures:
drive:/instmgr/cpciphirs.sh
You should have created the following files:
Operating system | Files created |
---|---|
AIX | /usr/lpp/ibm/gsk/bin/ldapkeyring.kdb /usr/lpp/ibm/gsk/bin/ldapkeyring.class |
Solaris | /opt/ibm/gsk/bin/ldapkeyring.kdb /opt/ibm/gsk/bin/ldapkeyring.class |
Windows NT | install_drive:\IBM\GSK\bin\ldapkeyring.kdb install_drive:\IBM\GSK\bin\ldapkeyring.class |
Set the key database file in the IBM LDAP Directory Server:
Turn on SSL support for the IBM LDAP Directory Server:
Update ldapkeyring.class with your own personal certificate. To do this you must copy this file from your IBM Directory Server and replace it on each On-Demand Server.
Open the Options window of the Admin Center and change the LDAP SSL parameters for On-Demand Server to match that of LDAP.
Restart On-Demand Server. On-Demand Server will now communicate securely with the IBM Directory Server.
Before starting this procedure, set the STEPLIB environment variable to find the DLLs for system SSL. The DLLs for system SSL are installed into a partitioned dataset (PDS). These DLLs are not installed into the LINKLIB or LPALIB by default. If they have not been placed in LINKLIB or LPALIB, you must set the STEPLIB environment variable to find the DLLs. Consult your system programmer for the high-level qualifier of the System SSL PDS. In this example, the high-level qualifier for the System SSL PDS is GSKHLQ. In the following command, replace GSKHLQ with the value for your installation:
export STEPLIB=GSKHLQ.SGSKLOAD
Throughout this procedure, you must use the Unix System Services (OE) shell environment with superuser authority.
export NLSPATH=$NLSPATH:/usr/lpp/OnDemand.base/lib/%N
vi /etc/slapd.conf
securePort 636 security ssl sslCipherSpecs 12288 sslKeyRingFile "/usr/lpp/OnDemand.base/keys/ldapkeyring.kdb" sslKeyRingFilePW your password
Note: You will not see the sslCipherSpecs parameter in the file. Instead, you will have to add it to a new line. If you intend to use strong encryption, and if it is available, specify 15360 for sslCipherSpecs. For more information about all of the parameters and values in slapd.conf, see eNetwork LDAP Server Administration. When you are finished, save your changes and exit the file.
slapd -f /etc/slapd.conf
To start ODSRAPD:
odsrapd.sh [parameters]
The platform authentication service is described in Planning.
WebSphere Application Server version 2.0 does not support Apache Web server version 1.3.6. It does support Apache Web server version 1.3.2.
WebSphere Application Server version 2.02 on Windows NT does not detect IBM HTTP Server version 1.3.3.1. It does detect IBM HTTP Server version 1.3.3. To install On-Demand Server and Application Server version 2.02 on a computer with IBM HTTP Server version 1.3.3.1:
to:
to:
If you installed On-Demand Server before changing the registry entry, HTTP Server version 1.3.3.1 will not start the WebSphere Servlet Service and On-Demand Server automatically. To get IBM HTTP Server to start On-Demand Server:
LoadModule ibm_app_server_module C:/WebSphere/AppServer/plugins/nt/mod_ibm_app_server.dll Alias /IBMWebAS/samples/ "C:/WebSphere/AppServer/samples/" Alias /IBMWebAS/ "C:/WebSphere/AppServer/web/" NcfAppServerConfig BootFile C:\WEBSPH~1\APPSER~1\properties\bootstrap.properties NcfAppServerConfig LogFile C:\WebSphere\AppServer\logs\apache.log NcfAppServerConfig LogLevel TRACE|INFORM|ERROR
If you are using Lotus Domino Go on a Korean AIX computer, before you start the Web server the following command must be issued to locate the correct httpd.conf file:
startsrc -e "LC_ALL=ko_KR" -s httpd
If LDAP is installed on the same computer as DB2 and DB2 is version 5.0, LDAP requires a PTF (program temporary fix). For the AIX platform, the PTF is U457337F. For the NT platform, the PTF is US9044F.
For LDAP and DB2 performance enhancement information, see the On-Demand Server Hints and Tips Web site.
LDAP reinstallation might fail on Windows NT if you do not delete the /Ldap and /Ldapdb2 directories and described in Windows NT Uninstallation. Delete these directories and try to install again.
If you are using Netscape Communicator to view LDAP help on the LDAP Directory Server and your language setting is traditional Chinese, all the help files are unreadable. This is a Netscape problem. Use Microsoft Internet Explorer to view the LDAP help files in traditional Chinese.
After installing LDAP in conjunction with Lotus Domino Go Web server, if you have problems loading the web-based administration tool, edit the httpd.conf file and reverse the order of the following two lines:
Pass /ldap/* ... Exec /ldap/cgi-bin/* ...
The corrected config file should now look like:
Exec /ldap/cgi-bin/* ... Pass /ldap/* ...
When the Pass statement occurs before the Exec statement, the LDAP configuration program does not start.
Reboot your Web server after making this change.
Multiple On-Demand Server domains on a single LDAP server must be placed under different parent objects. However, On-Demand Server does not support sharing user and user group information among domains.
The LDAP password expiration field, Password lifetime (days), on the Security tab of the Options panel in the Admin Center does not work.
This is because LDAP must be started before the Web server. To fix the problem:
To restart the IBM LDAP directory server on non-English Solaris, issue the following commands at a shell prompt:
LANG=C LC_CTYPE=C export LANG LC_CTYPE slapd
For AIX, Solaris, and Windows NT, if you already have DB2 v5.0 installed you must upgrade to DB2 v5.2 with Fixpack 8 before installing any On-Demand Server components.
In order to run either the operations management server or LDAP server on a Solaris machine, the following DB2 system variable must be added to the /etc/system file:
set semsys:seminfo_semmsl = 50
You must restart the computer for the change to take effect. This variable change is in addition to those listed in the Solaris installation document.
If DB2 is being uninstalled as part of a migration or upgrade, the database should not be dropped. The DB2 drop command completely destroys the database and eliminates any chance of recovering it. It is especially important not to drop the LDAPDB2 instance and database.
When DB2 is installed on Windows NT, a default instance called DB2 is created. The instance uses a directory tree by the same name as the instance name, to hold the databases and other data.
After uninstalling the database, manually delete all the /Db2 and /Ldapdb2 directories created during the install process. Delete these directories before re-installing the database. Also delete the /Sqllib directory. The /Sqllib directory contains all the DB2 product files. Deleting these directory trees before the second install will allow the database create function to work correctly.
To recover these databases, use the add command in the DB2 Control Center (db2cc command) to:
DBCS (Double Byte Character Set) text in the Netscape Java console is unreadable.
JVM does not support entering Alt + GR on certain languages.
When a client accesses the On-Demand Server launcher or Admin Center through Netscape and a Netscape error occurs:
Settings
Control Panel
Display
Settings
Note: Close all Netscape programs and windows before renaming or deleting these files. The location of these files will vary depending on where Netscape was installed. Generally these files are located in directory:
You may encounter the following problems when using Netscape 4.51 with On-Demand Server. These problems are Netscape function restrictions and are not specific to On-Demand Server.
The documentation does not display correctly when using the Netscape browser on Solaris configured for traditional Chinese. As an alternative, the HotJava Browser from Sun may be used.
The On-Demand Server version 2 prereq applet requires Microsoft Internet Explorer version 5.0.2014 and Microsoft's JVM version 5.0.03167. If the browser and JVM are not at those levels, the prereq applet will not allow the On-Demand Server client software to run on the 128 bit version of Microsoft's Internet Explorer.
To receive the latest level of JVM when you install Internet Explorer version 5.0, you must select
and then
To determine the level of JVM on Windows NT, click:
Find
Files or Folders
Intermittent blt.exe exception errors occur when clicking or closing the PerSeat tab in the LUM Basic License Tool. These blt.exe errors generate Dr. Watson application errors.
Regardless of the mode (Application Server or Application Client), and browser type (Netscape Communicator or Microsoft Internet Explorer), if you are in the Details panel and click PerSeat Users or PerSeat, you may occasionally encounter a blt.exe error.
This is a LUM error that is projected to be fixed by December 1999.
If the CLASSPATH environment variable is not null, and does not point to
classes.zip or
rt.jar files, such On-Demand Server shell scripts as
swupdate.sh will not
function correctly. To resolve the problem, unset the CLASSPATH with
command
On-Demand Server requires JDK on the AIX platform to be version 1.1.6.6.
After installing On-Demand Server and before starting the Web server on AIX simplified Chinese and Japanese computers, the file /etc/httpd/config/lang/httpd.conf (where lang represents the language returned by the locale) must be copied to /etc/httpd.conf. This modification is necessary to be able to run the Web server and WebSphere Application Server.
On-Demand Server requires the JIT (Just In Time) compiler for the Solaris platform to be turned off for proper operation.
To turn off the JIT compiler, in the IBM WebSphere Application Server properties file, specify none for the java.compiler parameter:
java.compiler=none
This parameter is located in the bootstrap.properties file for Application Server version 2.0, and in the jvm.properties file for Application Server version 1.1.
Before installing On-Demand Server, copy the file /IBMWebAS/response.res from the product CD to the /tmp directory. Edit the file and change the HTTPSERVERS environment variable to indicate all supported Web servers for which WebSphere Application Server must supply plugins.
HTTPSERVERS keywords for the Web servers packaged with On-Demand Server are:
To enable support for the Web server, do the following after installing On-Demand Server but before running it.
LD_LIBRARY_PATH=/usr/java/lib/sparc/native_threads: \ /opt/IBMWebAS/plugins/sun: \ /usr/lib: \ /opt/OnDemand.base/bin: \ /opt/IBMdb2/V5.0/lib LIBPATH=$LD_LIBRARY_PATH DB2INSTANCE='awk -e 'BEGIN (FS="=") /jdbcUserID=/ { print $2 }' /opt/OnDemand.base/etc/domaininfo.properties' THREADS_FLAG=native export LD_LIBRARY_PATH LIBPATH DB2INSTANCE THREADS_FLAG
Note: For Netscape FastTrack and Enterprise servers, the start scripts for both the secure and non-secure instaces must be modified.
Note:The open file descriptor value that you specified is only in effect for the login session where you changed it. If you restart On-Demand Server or reboot your machine, run ulimit again before restarting the Web server.
Operations management server and LDAP server require that users have at least 190 MB of swap space.
On-Demand Server will not function if strong encryption enabled on Solaris.
The change native database password applet that is invoked through URL
The name of the sample install.script file located in the /instmgr directory has changed to installscript.sample.
You must modify the sample files serverconfig.script and dmcreate.script before running install.script; you cannot process these two samples using only the default settings. After modifying these sample files, change the following entries in install.script to indicate the fully qualified path and file names for your modified files:
odsconfigfile=path_and_filename Ldapdmconfigfile=path_and _filename
You can override your odsconfigfile entry and indicate an alternative response file from the command line. This is useful when you want to change the startup parameters on a local computer after you have distributed an identical install.script file to all computers. To override the odsconfigfile entry, use the configfile option when you run install.script:
Install /p install.script configfile=new_path_and_filename
You cannot override the Ldapdmconfigfile entry from the command line.
On a Windows NT 4.0 with a FAT file system, On-Demand Server and WebSphere Application Server cannot be accessed when running Internet Information Server, version 3. This occurs because Application Server installs with path names that contain double backslashes (\\). Internet Information Server does not understand double backslashes when the file system on which the Application Server home directory resides (c:\websphere\appserver, by default) is FAT.
The problem does not cause errors to appear in any log files, and everything will seem to start up fine. However, if you point a browser to http://your_server/IBMWebAS/onDemand/desktopLauncher.html or http://your_server/IBMWebAS/onDemand/adminCenter.html, you will receive a 400 error (bad request).
To remedy this:
Alternatively, you can convert your file system to NTFS.
When using On-Demand Server command line tools (such as odsconfig, jarinstall, and swupdate) on AIX, OS/390, and Solaris, log in using the ID under which WebSphere Application Server runs to ensure files are created with the correct permissions for On-Demand Server.
Read this if you are:
When installing the operations management server, DB2 is installed using a default administrator ID (db2admin) and password that is shipped and published in that product's documentation. (You can set the administrator ID and password during installation on Solaris and AIX, but not on Windows NT.) After installing the operations management server, you should change the DB2 administrator password used by On-Demand Server to protect the system from unauthorized access. If LDAP is installed on the same server, you should also change the DB2 password used by LDAP. If you already have DB2 set up with a unique administrator password before installing On-Demand Server, you do not need to make this change.
Read this if you are:
When installing the LDAP directory from the On-Demand Server product CD, DB2 is installed using a preset administrator ID (ldapdb2) and password. After installing LDAP, you should change the DB2 administrator password used by LDAP to protect the system from unauthorized access. If the operations management server is installed on the same server, you should also change the DB2 password used by On-Demand Server. If you already have DB2 set up with a unique administrator password before installing LDAP, you do not need to make this change.
Before you follow these steps, make sure the Web server is configured for LDAP. Read the instructions for Windows NT, Solaris, or AIX. At the LDAP directory server:
Netscape Web servers require separate instances with individual configuration files to run on separate ports. The On-Demand Server install process updates one of the configuration files. You must update the additional configuration file for the other instance.
Locate the following lines in the updated configuration file and copy them into the other configuration file. The configuration file is named obj.conf.
Note: The following assumes that WebSphere is located in the C: directory.
Init fn="load-modules" funcs="init_exit,service_exit,term_exit" shlib="C:/WebSphere/AppServer/plugins/nt/ns35.dll" Init fn="init_exit" bootstrap.properties="C:/WebSphere/AppServer/properties/bootstrap.properties" NameTrans from="/IBMWebAS/samples" fn="pfx2dir" dir="C:/WebSphere/AppServer/samples" NameTrans from="/IBMWebAS" fn="pfx2dir" dir="C:/WebSphere/AppServer/web" service fn="service_exit"
On-Demand Server includes a command that migrates user definitions from your existing platforms to On-Demand Server. You can migrate user information from users and groups defined by the local AIX, Solaris, OS/390, or Windows NT userbases to On-Demand Server with the AddUsers command. Furthermore, you can use this command to import an On-Demand Server userbase into your native platform.
Note: For OS/390, the AddUsers command will not add the user ID unless an OMVS segment is defined to RACF for the user ID. The instructions for defining an OMVS Segment are contained in OS/390 UNIX System Services Planning (SC28-1890) and OS/390 Security Server (RACF) Security Administrator's Guide (SC28-1915).
The AddUsers command compares information between the source and destination userbase. User data contained in the source userbase but not the destination userbase is added to the latter. Data in the destination but not in the source, or in both the destination and source, is not affected. User information is added into the same group structure that exists in the source userbase. The AddUsers command supplies an initial password for users added to the destination userbase:
To use the AddUsers command, issue the following command from a system command prompt where the operations management server or access server is installed and running:
AddUsers parameters -userid admin_ID -password admin_passwordseparating multiple parameters with a space.
The domaininfo.properties file contains the startup parameters used by On-Demand Server to connect to LDAP and the operations manager database. A copy of it is stored in the LDAP directory server. Each time you start On-Demand Server, the version of domaininfo.properties is checked. If the file's version on the LDAP directory is more current than your local version, your local domaininfo.properties file will be overwritten. This occurs to keep all On-Demand Servers in sync in the domain. Also, if another On-Demand Server with a more current version of domaininfo.properties connects to your domain, either intentionally or maliciously, the file will be overwritten.
You can always recreate the domaininfo.properties file with the Startup Parameters application (odsconfig), but it is easier if you have a backup copy for reference. You should make a backup copy of domaininfo.properties after you install and configure On-Demand Server and each time you make configuration changes.
The domaininfo.properties file resides in one of the following directories:
Operating system | Directory |
---|---|
Windows NT | drive:\ondemand\server\etc |
AIX | /usr/lpp/Ondemand.base/etc |
Solaris | /opt/OnDemand.base/etc |
OS/390 | /usr/lpp/OnDemand.base/etc |
jrew -cp %classpath%;c:\ondemand\classes myAppl.class
For more information, see adding Java and native applications.