# (C) COPYRIGHT International Business Machines Corp., 2007
# All Rights Reserved * Licensed Materials - Property of IBM

-------------------------------------------------------------
IBM Support Assistant Lite Tool
-------------------------------------------------------------

Description
---------------

The IBM Support Assistant Lite Tool provides automatic data collection for IBM products. The tool is preconfigured to locate important 
diagnostic data on your computer system and copy it into a Collector file. An example of diagnostic data is a log file generated by your IBM product that 
contains a detailed history of events occurring during product operation. Such a file can be useful in determining the nature and cause of a software problem.
Other examples of diagnostic data include initialization files, configuration files, operating system version, disk space, and network connections.
The tool can be run in GUI mode or in a command-line console mode. 
The console mode provides you with command-line control of the IBM Support Assistant Lite 
collection scripts.  The tool includes several features to assist you when you 
interact with it in console mode, including one that lets you record your responses from a 
console-mode session in a file and then use the file to drive subsequent executions of the 
same collection script.  

Tool Installation and Usage
---------------------------
In most cases, the following sequence of steps will get you up and running with the tool.  If you run into problems, or if you would like 
more information on any of these steps, you can refer to the sections below that follow this one.  

1.	Install the tool by extracting the files from the archive file that you generated and transferred from the Workbench system.
 - Extract the tool to any directory you choose.
 - See the sections below for details of how to perform the extractions.  

2.	Run the tool in either the GUI mode or the command-line console mode.  
 - Follow the procedure described below for setting the JAVA_HOME environment variable. Once you have done this, you can then execute the launch script.
 - Once you have started the tool, follow the instructions below for interacting with it as it performs a collection.

Installing the Tool
--------------------
In all cases, installation of the IBM Support Assistant Lite tool is simply a matter of extracting the files from the archived .zip file that you 
generated and transferred from the Workbench system. The files can be extracted to any file system location you choose on the system where you will be running the tool.    
This will create a subdirectory ISALite under your target directory.


Tool Usage
-----------
Setting the JAVA_HOME Environment Variable
Regardless of whether you will be using the IBM Support Assistant Lite tool in GUI mode or in command-line console mode, you use the same 
procedure to start it: you invoke the appropriate launch script from a command line.  In the case of a Windows system, these launch scripts 
are batch files.  For the other environments, they are shell scripts.  

Since the tool is implemented as a Java application, it is necessary that Java can be located before the tool can start. If Java is not
available on the PATH, you will have to set the JAVA_HOME environment variable manually.  
The IBM Support Assistant Lite tool requires a JRE at the level 1.4.2 or higher, so you must first make sure that a suitable JRE is installed 
on the system where the tool will be running. If it is, then you will need to issue an operating-system-specific command to set the JAVA_HOME 
variable to point to this JRE. The Microsoft JVM/JDK is not supported. 

For example, if on a Windows platform you have jre1.4.2 installed at
c:\jre1.4.2, you would set JAVA_HOME using the following command:

SET JAVA_HOME=c:\jre1.4.2
NOTE: Do not use quotes in the value of the SET command, even if your value has whitespace characters.

On a Linux, AIX, Solaris, or iSeries platform, if you have the JRE installed in
/opt/jre142, you would set JAVA_HOME using the following command:

export JAVA_HOME=/opt/jre142


Starting the Tool in Swing GUI Mode
------------------------------------
You will need to issue the following launch script:

- For the Windows environment, it will be the runISALite.bat script in the tool's \ISALite directory.
- For the Linux, AIX, HP-UX, and Solaris environments, it will be the runISALite.sh script in the tool's /ISALite directory. Make sure that the 
runISALite.sh script has execute permission; you can use the 
following command to give the file execute permission: chmod 755 runISALite.sh

The GUI mode is not supported in the iSeries and zSeries environments: see the section immediately 
following this one for information on how to start the tool in command-line console mode 
on iSeries and zSeries. 

Starting the Tool in Command-Line Console Mode
-----------------------------------------------
You will need to issue the following launch script:

- For the Windows environment, it will be the runISALiteConsole.bat script in the tool's \ISALite directory.
- For the Linux, AIX, HP-UX, and Solaris environments, it will be the runISALiteConsole.sh script in the tool's /ISALite directory. Make sure 
that the runISALiteConsole.sh script has execute permission; you can use the following command to give the file execute permission: chmod 755 runISALiteConsole.sh
- For the iSeries environment, it will be the runISALiteConsole_iseries.sh script in the tool's /ISALite directory. Make sure that the 
runISALiteConsole_iseries.sh script has execute permission; you can use the 
following command to give the file execute permission: chmod 755 runISALiteConsole_iseries.sh
- For the zSeries environment, it will be the runISALiteConsole_zseries.sh script in the tool's /ISALite directory. Make sure that the 
runISALiteConsole_zseries.sh script has execute permission; you can use the 
following command to give the file execute permission: chmod 755 runISALiteConsole_zseries.sh	
	
Interacting with the Tool
---------------------------
For both the GUI and the command line console mode you will be asked to set up several fields, such as the name of the data collection zip file and any 
other product specific information. After this you select the problem option and the data collection is performed.

When IBM Support Assistant Lite runs in text mode, there are no selection lists or entry fields for user input. 
Instead, available choices are presented as numbered lists and you enter the number of your selection followed by the 
Enter key. Input fields are transformed into prompts, at which you enter your response and press Enter. When the data 
collection is complete, the output is another ZIP file that can be manually transferred back to the machine on which 
IBM Support Assistant Workbench is installed. From there, the output ZIP file can be sent to IBM Support or examined 
locally, the same as with other collections performed in the IBM Support Assistant Workbench.

To stop the collector tool, type quit in text mode, or click the Quit button in GUI mode.

*NOTE: Please read the IBM Support Assistant user guide for further detail.

