Configuring ACT for the Aster File Store - Aster Client

Teradata Aster® Client Guide

Product
Aster Client
Release Number
7.00
Published
May 2017
Language
English (United States)
Last Update
2018-04-13
dita:mapPath
hki1475000360386.ditamap
dita:ditavalPath
Generic_no_ie_no_tempfilter.ditaval
dita:id
B700-2005
lifecycle
previous
Product Category
Software
To configure ACT to support Aster File Store (AFS), perform this setup procedure:
  1. If you have not already installed ACT:
    1. Obtain the client package as shown in Obtaining Aster Client Packages.
    2. Install ACT for your operating system as directed in Installing the Aster Database Cluster Terminal (ACT).
  2. Install the supported Sun (Oracle) JDK, depending on your operating system:
    Do not install Sun (Oracle) JDK version 1.6 on Sparc operating systems. Attempting to install and use Sun (Oracle) JDK version 1.6 on Sparc operating systems will render the ACT AFS shell inoperable.
  3. Every time you run ACT to access AFS, some environment settings must be used. Make note of what the setting should be for each of these:
    1. Set JAVA_HOME to the location of the JDK.
    2. Set the JRE_HOME to $JAVA_HOME/jre.
    3. Add $JRE_HOME/lib and $JAVA_HOME/lib to the CLASSPATH.
    4. Add noarch-aster-adfs-client.jar to the CLASSPATH. This file is located in the client package.
    5. Add $JAVA_HOME/bin and $JRE_HOME/bin to the PATH.
  4. Use the method of your choice to set the environment variables for the user who will run ACT:
    • When you launch ACT, use a command like:
      $ act --afs-port <port> --afs-jar <path_to_jar> 
      --java-home <path_to_jdk>
    • Create or modify the file /etc/profile.local.
    • Create a new file under the /etc/profile.d directory.
    • Run the export commands to set the environment variables in your shell every time before launching ACT for AFS access.
  5. For AIX 32-bit and AIX 64-bit platforms, the JDK environment must be set every time before launching ACT for AFS access. Depending on the version of the AIX operating system, use the commands shown here to set the JDK environment:
    • On AIX 32-bit:
      export LIBPATH=/path-to-JDK-32-bit/jre/lib/ppc/:/path-to-JDK-32-bit/jre/lib/ppc/j9vm/
    • On AIX 64-bit:
      export LIBPATH=/path-to-JDK-64-bit/jre/lib/ppc64/:/path-to-JDK-64-bit/jre/lib/ppc64/j9vm/
  6. If you chose to modify one of the suggested user profiles, edit the appropriate file to set the environment variables as follows:
    export JAVA_HOME=<path_to_jdk>
    export JRE_HOME=$JAVA_HOME/jre
    export CLASSPATH=$JAVA_HOME/lib:$JRE_HOME/lib:<path_to_jar>:
$CLASSPATH
    export PATH=$JAVA_HOME/bin:$JRE_HOME/bin:$PATH
  7. To check your settings, use the export command.