IBM Tivoli Monitoring > Version 6.3 Fix Pack 2 > Administrator's Guide > Edit your environment configuration settings > Tivoli Enterprise Portal client configuration settings

IBM Tivoli Monitoring, Version 6.3 Fix Pack 2


Set application properties for Linux and UNIX systems

To change a property such as the location of the web browser that the Tivoli Enterprise Portal browser client launches in UNIX, update the shell script file or files that are run and the template that is used when the browser client is configured to create the script file or files that are run.


You might have to update one or more of the following files:

All file paths are relative to your install_dir directory where you installed IBM Tivoli Monitoring.


File locations for changing application properties for UNIX and Linux systems

File location Purpose of file
bin/cnp.sh The default shell script that launches the Tivoli Enterprise Portal browser client.
bin/cnp_instance.sh The shell script for a specific instance you have created, where instance is the name of the instance that launches the Tivoli Enterprise Portal browser client.
platform/cj/original/cnp.sh_template The template from which the bin/cnp.sh and bin/cnp_instance.sh shell scripts are generated during configuration, where platform is the code for the operating system platform on which IBM Tivoli Monitoring is installed. For example: li6243 for Linux 2.4 on a 32-bit Intel CPU).

If you only change bin/cnp.sh or bin/cnp_instance.sh and do not change this template, the next time you configure the client, a new version of the script is created without the changes you made to bin/cnp.sh or bin/cnp_instance.sh.

You can also set instance name, browser, and Tivoli Enterprise Portal Server properties on Linux. Refer to the Command Reference for details.

To change the location of the web browser you must change the above file or files to include a new property by completing the following procedure:


Procedure

  1. Go to the install_dir/bin/cnp.sh and edit the cnp.sh shell script.

  2. Add your web browser location to the last line of the file. In the example below, the web browser location is /opt/foo/bin/launcher. -Dkjr.browser.default=/opt/foo/bin/launcher

    The line is very long and has various options on it, including several other –D options to define other properties. It is very important to add the option in the correct place. If the last line of your bin/cnp.sh originally looked like the following:

      ${JAVA_HOME}/bin/java -showversion -noverify -classpath ${CLASSPATH} 
      -Dkjr.trace.mode=LOCAL -Dkjr.trace.file=/opt/IBM/ITM/logs/kcjras1.log 
      -Dkjr.trace.params=ERROR -DORBtcpNoDelay=true -Dcnp.http.url.host= 
      -Dvbroker.agent.enableLocator=false 
      -Dhttp.proxyHost= 
      -Dhttp.proxyPort=candle.fw.pres.CMWApplet 2>& 1 >> ${LOGFILENAME}.log 

    To set the browser location to /opt/foo/bin/launcher, change the line to look like the following:

      ${JAVA_HOME}/bin/java -showversion -noverify -classpath ${CLASSPATH} 
      -Dkjr.browser.default=/opt/foo/bin/launcher 
      -Dkjr.trace.mode=LOCAL -Dkjr.trace.file=/opt/IBM/ITM/logs/kcjras1.log 
      -Dkjr.trace.params=ERROR -DORBtcpNoDelay=true -Dcnp.http.url.host= 
      -Dvbroker.agent.enableLocator=false 
      -Dhttp.proxyHost= 
      -Dhttp.proxyPort=candle.fw.pres.CMWApplet 2>& 1 >> ${LOGFILENAME}.log 


Parent topic:

Tivoli Enterprise Portal client configuration settings

+

Search Tips   |   Advanced Search