IBM Rational Agent Controller

Installation guide for z/OS

Version 8.3.5
Note

Before using this information and the product it supports, read the information in Notices.

Copyright International Business Machines Corporation 2000, 2012.
US Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.

Contents

About IBM Rational Agent Controller
Compatibility of this version of Agent Controller with other versions
Hardware and software requirements for z/OS
Supported platforms
Additional software requirements
Supported virtual machines for the Java platform
Installing and uninstalling Agent Controller on 31-bit z/OS
Installing and uninstalling Agent Controller on 64-bit z/OS
Setting the runtime environment to use with Agent Controller on z/OS
Setting the file permissions for profiling on z/OS
Starting and stopping Agent Controller on z/OS
Working with the Agent Controller security feature
Notices

About IBM Rational Agent Controller

Rational® Agent Controller is a daemon process that enables client applications to launch and manage local or remote applications, and enables clients to receive application data from agents within host processes and applications.

You must install Agent Controller separately before you can use the following tools:

Important:

Compatibility of this version of Agent Controller with other versions

Hardware and software requirements for z/OS

This topic lists the hardware and software requirements for installing Rational Agent Controller, version 8.3.5.

Supported platforms

Agent Controller 8.3.5 is supported on the following platforms:

Table 1. Platform support for Rational Agent Controller V8.3.5
Operating system Processor architecture
z/OS®, Version 1.12 s/390 (31-bit or 64-bit)
z/OS, Version 1.11 s/390 (31-bit or 64-bit)
z/OS, Version 1.10 s/390 (31-bit or 64-bit)
z/OS, Version 1.9 s/390 (31-bit or 64-bit)
Note:
The bit version of Rational Agent Controller must be the same as the bit version of WebSphere Application Server on which it will be profiling.

31-bit versions of Rational Agent Controller can run on 64-bit operating systems that are running in a mode that supports 31-bit applications. In this situation, the server instance on WebSphere Application Server must also be running in 31-bit mode. To change the server to 31-bit mode:

  1. Start the server. The server tells you what mode it is in when it starts.
  2. Open the administrative console.
  3. Click Servers > Server types > WebSphere application servers > server_name.
  4. On the configuration settings page, clear Run in 64 bit JVM mode.
  5. Restart the server.
Important:
To support Rational Agent Controller V8.3.5 on 64-bit z/OS, you must update your operating system with the following Program Temporary Fix (PTF):

Additional software requirements

Before running Rational Agent Controller, version 8.3.5, you must install IBM® XML Toolkit for z/OS v1.10 or later. For more information on XML Toolkit for z/OS, see http://www-03.ibm.com/servers/eserver/zseries/software/xml/.

Supported virtual machines for the Java platform

When you install Agent Controller, a runtime environment for Java technology is installed.

In general, Agent Controller works with Java virtual machine version 1.5 and later. For profiling application running on Java virtual machine 1.4, use Rational Agent Controller version 7.x.

If you want to use a different JVM with Agent Controller than the default supplied Java virtual machine, see Setting the runtime environment to use with Agent Controller on z/OS.

Installing and uninstalling Agent Controller on 31-bit z/OS

You can install Rational Agent Controller on 31-bit z/OS

Before you begin

If you have an earlier version of Rational Agent Controller installed on your computer, uninstall it before installing this version.

Procedure

To install Rational Agent Controller on 31-bit z/OS operating system:

  1. In a UNIX System Services shell, change to the directory where you downloaded the installation files for Rational Agent Controller.
  2. Extract the contents of the compressed file that you downloaded by entering the following command:unzip rac.zos.31bit.zip

    The contents of the compressed file are extracted into a new subdirectory of the current directory named RACzOS31bit.

  3. Change to the RACzOS31bit subdirectory.
  4. Extract the contents of the file rac.zos.31bit.pax by entering the following command: pax -r -f rac.zos.31bit.pax -pp
  5. Change to the jre subdirectory of the RACzOS31bit directory.
  6. Extract the contents of the file rac.jre.31bit.pax by entering the following command: pax -r -f rac.jre.31bit.pax -pp
  7. Enter the following commands to set the environment variables for Rational Agent Controller. In the commands that follow, <Rational Agent Controller directory> is the directory that you used to extract the contents of the installation files.
    1. export TPTP_AC_HOME=/<Rational Agent Controller directory>/RACzOS31bit
    2. export JAVA_PROFILER_HOME=/<Rational Agent Controller directory>/RACzOS31bit/plugins/org.eclipse.tptp.javaprofiler
    3. export XERCESC_HOME=/usr/lpp/ixm/IBM/xml4c-5_7
    4. export LIBPATH=$TPTP_AC_HOME/lib:$XERCESC_HOME/lib:$JAVA_PROFILER_HOME:$LIBPATH
    5. export JAVA_HOME=$TPTP_AC_HOME/jre/J6.0
    6. export PATH=$JAVA_HOME/bin:$PATH
  8. Change to the <Rational Agent Controller directory>/RACzOS31bit/bin directory.
  9. Run the following command: ./SetConfig.sh. The configuration program for Rational Agent Controller starts. At the prompts, you can either press Enter to accept the default value shown, or you can enter a different value.
    Tip:
    In most cases, you must change the value of Network access mode to ALL or CUSTOM (along with the list of clients) so that remote client computers can communicate with Rational Agent Controller.
    The prompts are:

    1. Specify the fully qualified path of "java" (e.g. /usr/java1.4/jre/bin/java): This prompt lists the JRE used by Rational Agent Controller. The default value is the JRE supplied with Rational Agent Controller (/<Rational Agent Controller directory>/RACzOS31bit/jre/J6.0/bin/java). If you want to use a different JRE, enter the path to its java file.
    2. Network access mode (ALL=allow any host, LOCAL=allow only this host, CUSTOM=list of hosts): This prompt lists the hosts that are allowed to access Rational Agent Controller. Enter one of the following options:
      • ALL allows any client to access Agent Controller.
      • LOCAL (the default selection) allows only the local host to access Agent Controller.
      • CUSTOM allows only a list of clients that you specify to access Agent Controller. Use a comma-separated list of host names to specify which computers can access Agent Controller.
    3. Security enabled. (true/false):
      • The default value is false. Communication is not be encrypted and access control is limited to the defined host list.
      • If you enter true, then communication is encrypted and all connections are forced to authenticate for Secure Sockets Communications. You can type a comma-separated list of users that can connect to Agent Controller. These users are required to authenticate to use the tool.
  10. If you enabled security in the previous step, then enter the following commands:
    1. extattr +ap <Rational Agent Controller directory>/lib/*
    2. extattr +ap <Rational Agent Controller directory>/plugins/org.eclipse.tptp.javaprofiler/*
    3. extattr +ap <XML Toolkit installation directory>/xml4c-5_7/lib/*

Results

Rational Agent Controller is installed.

To uninstall Rational Agent Controller, delete the directory where you extracted the Rational Agent Controller installation files.

Installing and uninstalling Agent Controller on 64-bit z/OS

You can install Rational Agent Controller on 64-bit z/OS

Before you begin

If you have an earlier version of Rational Agent Controller installed on your computer, uninstall it before installing this version.

Procedure

To install Rational Agent Controller on 64-bit z/OS operating system:

  1. In a UNIX System Services shell, change to the directory where you downloaded the installation files for Rational Agent Controller.
  2. Extract the contents of the compressed file that you downloaded by entering the following command:unzip rac.zos.64bit.zip

    The contents of the compressed file are extracted into a new subdirectory of the current directory named RACzOS64bit.

  3. Change to the RACzOS64bit subdirectory.
  4. Extract the contents of the file rac.zos.64bit.pax by entering the following command: pax -r -f rac.zos.64bit.pax -pp
  5. Change to the jre subdirectory of the RACzOS64bit directory.
  6. Extract the contents of the file rac.jre.64bit.pax by entering the following command: pax -r -f rac.jre.64bit.pax -pp
  7. Enter the following commands to set the environment variables for Rational Agent Controller. In the commands that follow, <Rational Agent Controller directory> is the directory that you used to extract the contents of the installation files.
    1. export TPTP_AC_HOME=/<Rational Agent Controller directory>/RACzOS64bit
    2. export JAVA_PROFILER_HOME=/<Rational Agent Controller directory>/RACzOS64bit/plugins/org.eclipse.tptp.javaprofiler
    3. export XERCESC_HOME=/usr/lpp/ixm/IBM/xml4c-5_7
    4. export LIBPATH=$TPTP_AC_HOME/lib:$XERCESC_HOME/lib:$JAVA_PROFILER_HOME:$LIBPATH
    5. export JAVA_HOME=$TPTP_AC_HOME/jre/J6.0
    6. export PATH=$JAVA_HOME/bin:$PATH
  8. Change to the <Rational Agent Controller directory>/RACzOS64bit/bin directory.
  9. Run the following command: ./SetConfig.sh. The configuration program for Rational Agent Controller starts. At the prompts, you can either press Enter to accept the default value shown, or you can enter a different value.
    Tip:
    In most cases, you must change the value of Network access mode to ALL or CUSTOM (along with the list of clients) so that remote client computers can communicate with Rational Agent Controller.
    The prompts are:

    1. Specify the fully qualified path of "java" (e.g. /usr/java1.4/jre/bin/java): This prompt lists the JRE used by Rational Agent Controller. The default value is the JRE supplied with Rational Agent Controller (/<Rational Agent Controller directory>/RACzOS64bit/jre/J6.0/bin/java). If you want to use a different JRE, enter the path to its java file.
    2. Network access mode (ALL=allow any host, LOCAL=allow only this host, CUSTOM=list of hosts): This prompt lists the hosts that are allowed to access Rational Agent Controller. Enter one of the following options:
      • ALL allows any client to access Agent Controller.
      • LOCAL (the default selection) allows only the local host to access Agent Controller.
      • CUSTOM allows only a list of clients that you specify to access Agent Controller. Use a comma-separated list of host names to specify which computer can access Agent Controller.
    3. Security enabled. (true/false):
      • The default value is false. Communication is not encrypted and access control is limited to the defined host list.
      • If you enter true, then communication is encrypted and all connections are forced to authenticate for Secure Sockets Communications. You can type a comma-separated list of users that can connect to Agent Controller. These users are required to authenticate to use the tool.
  10. If you enabled security in the previous step, then enter the following commands:
    1. extattr +ap <Rational Agent Controller directory>/lib/*
    2. extattr +ap <Rational Agent Controller directory>/plugins/org.eclipse.tptp.javaprofiler/*
    3. extattr +ap <XML Toolkit installation directory>/xml4c-5_7/lib/*

Results

Rational Agent Controller is installed.

To uninstall Rational Agent Controller, delete the directory where you extracted the Rational Agent Controller installation files.

Setting the runtime environment to use with Agent Controller on z/OS

Rational Agent Controller is bundled with a runtime environment for Java technology. The supplied runtime environment is installed in the <Rational Agent Controller directory>/RACzOS64bit/jre

About this task

Agent Controller is bundled with a runtime environment for Java technology.

In general, Rational Agent Controller works with Java virtual machine version 1.5 and above.

If you want to change run runtime environment used by Rational Agent Controller, run the configuration program for Rational Agent Controller.

Procedure

  1. In a UNIX System Services shell, change to the <Rational Agent Controller directory>/RACzOS64bit/bin directory.
  2. Run the following command: ./SetConfig.sh. The configuration program for Rational Agent Controller starts.
  3. The Specify the fully qualified path of "java" (e.g. /usr/java1.4/jre/bin/java) prompt lists the runtime environment for Java technology used by Rational Agent Controller. The default value is the runtime environment for Java technology supplied with Rational Agent Controller (For 64-bit: /<Rational Agent Controller directory>/RACzOS64bit/jre/J6.0/bin/java. For 31-bit: /<Rational Agent Controller directory>/RACzOS31bit/jre/J6.0/bin/java). If you want to use a different runtime environment, enter the path to its java file.

    To complete the configuration program, see the installation instructions.

What to do next

You can use the runtime environment that you specify to run Agent Controller, and this runtime environment is used by Agent Controller to launch Java applications. You can, however, configure Agent Controller to a use separate runtime environment for Java technology for each of these functions. For details, see the Agent Controller help topic "Configuring Applications to be launched by Rational Agent Controller."

Setting the file permissions for profiling on z/OS

If you are profiling on z/OS, then you must have read and execute permissions on the following directories (and all directories in their path):

If you are profiling on z/OS, then you must have read and execute permissions on the following directories (and all directories in their path):

Note:
All directories in the path to these directories also must have read and execute permission. For example, if <Rational Agent Controller installation directory> is /opt/IBM/RAC, then you need read and execute permissions on each of the /opt, /opt/IBM, /opt/IBM/RAC and /opt/IBM/RAC/lib/ directories.

You can provide the correct permissions by running the command umask 022 when you start Rational Agent Controller.

Starting and stopping Agent Controller on z/OS

You must start and stop Rational Agent Controller in a UNIX System Services shell.

To start Rational Agent Controller on 31-bit z/OS:

  1. In a UNIX System Services shell, change to the <Rational Agent Controller directory>/RACzOS31bit/bin directory.
  2. Run the following commands:

To start Rational Agent Controller on 64-bit z/OS:

  1. In a UNIX System Services shell, change to the <Rational Agent Controller directory>/RACzOS64bit/bin directory.
  2. Run the following commands:

To stop Rational Agent Controller on 31-bit z/OS:

  1. In a UNIX System Services shell, change to the <Rational Agent Controller directory>/RACzOS31bit/bin directory.
  2. Run the following command: ./ACStop.sh.

To stop Rational Agent Controller on 64-bit z/OS:

  1. In a UNIX System Services shell, change to the <Rational Agent Controller directory>/RACzOS64bit/bin directory.
  2. Run the following command: ./ACStop.sh.
Note:
In Agent Controller might fail to start if TCP/IP port 10002 is not free.

If the port is not free, the following error message displays:

RAServer failed to start.

Agent Controller listens on TCP/IP port 10002 by default. The port might be in use by process, or if Agent Controller was stopped and then restarted in rapid succession, the port might not be released before Agent Controller restarts/

To start Agent Controller after it fails to start:

Working with the Agent Controller security feature

The following list contains hints and tips for using the Agent Controller security feature on all platforms.

Additional security configuration for z/OS

If security is enabled in the agent controller configuration, then BPX.DAEMON privileges are required for the agent controller. Speak with your system administrator to ensure that the Agent Controller binaries and libraries have the appropriate privileges. The following set of files typically require program-control privileges in order to allow security to run. (extattr +p)

If you do not set this configuration, then you will get messages in the z/OS log similar to the following example when the user ID and password is entered in the workbench when it performs "Attach to Agent" in the Profiling and Logging Perspective: BPXP015I HFS PROGRAM /opt/racv822/bin/ACServer IS NOT MARKED PROGRAM CONTROLLED. BPXP014I ENVIRONMENT MUST BE CONTROLLED FOR DAEMON (BPX.DAEMON) PROCESSING.

Notices and trademarks

© Copyright IBM Corporation 2000, 2012. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.

This information was developed for products and services offered in the U.S.A.

IBM may not offer the products, services, or features discussed in this documentation in other countries. Consult your local IBM representative for information on the products and services currently available in your area. Any reference to an IBM product, program, or service is not intended to state or imply that only that IBM product, program, or service may be used. Any functionally equivalent product, program, or service that does not infringe any IBM intellectual property right may be used instead. However, it is the user's responsibility to evaluate and verify the operation of any non-IBM product, program, or service.

IBM may have patents or pending patent applications covering subject matter described in this documentation. The furnishing of this documentation does not give you any license to these patents. You can send license inquiries, in writing, to:

IBM Director of Licensing
IBM Corporation
North Castle Drive
Armonk, NY 10504-1785 U.S.A.

For license inquiries regarding double-byte (DBCS) information, contact the IBM Intellectual Property Department in your country or send inquiries, in writing, to:

Intellectual Property Licensing
Legal and Intellectual Property Law
IBM Japan, Ltd.
1623-14, Shimotsuruma, Yamato-shi
Kanagawa 242-8502 Japan

The following paragraph does not apply to the United Kingdom or any other country where such provisions are inconsistent with local law:
INTERNATIONAL BUSINESS MACHINES CORPORATION PROVIDES THIS PUBLICATION "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OR CONDITIONS OF NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Some states do not allow disclaimer of express or implied warranties in certain transactions, therefore, this statement may not apply to you.

This information could include technical inaccuracies or typographical errors. Changes are periodically made to the information herein; these changes will be incorporated in new editions of the publication. IBM may make improvements and/or changes in the product(s) and/or the program(s) described in this publication at any time without notice.

IBM may use or distribute any of the information you supply in any way it believes appropriate without incurring any obligation to you.

Licensees of this program who wish to have information about it for the purpose of enabling: (i) the exchange of information between independently created programs and other programs (including this one) and (ii) the mutual use of the information which has been exchanged, should contact:

Intellectual Property Dept. for Rational Software
IBM Corporation
3600 Steeles Avenue East
Markham, Ontario
Canada L3R 9Z7

Such information may be available, subject to appropriate terms and conditions, including in some cases, payment of a fee.

The licensed program described in this documentation and all licensed material available for it are provided by IBM under terms of the IBM Customer Agreement, IBM International Program License Agreement or any equivalent agreement between us.

All statements regarding IBM's future direction or intent are subject to change or withdrawal without notice, and represent goals and objectives only.

Trademarks and service marks

IBM, the IBM logo, and ibm.com are trademarks or registered trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at www.ibm.com/legal/copytrade.html