Copy environment variable script to secondary server

When you installed on the master server, you created a script to set Lawson and third party environment variables required for the installation.

  1. Copy the environment variable script to the secondary server.
  2. Using a text editor, open the script and change environment variables as needed to reflect values on the secondary server.
    • You can change the following to reflect the correct locations on the secondary server

      JAVA_HOME

      PERL_HOME

      Database_HOME

    Example environment variable management script

    #For JAVA
    set JAVA_HOME=c:\JDK6
    set LAW_JAVA_BIN=%JAVA_HOME%\bin
    set LAW_JAVA_HOME=C:\JDK6
    set PERL_HOME=c:\PERL
    set PATH=%PERL_HOME%\bin;%JAVA_HOME%\bin;%PATH%
    
    #For WebSphere Application Server
    set WAS_HOME=c:\IBM\WebSphere\AppServer
    set WAS_LOGS=%WAS_HOME%\profiles\LawEnvName\logs\LawEnvName_app
    
    #If using optional WebSphere MQ
    
    #set BPM_ADDTL_CLASSPATH=d:\ibm\WebSphereMQ\java\lib\com.ibm.mq.jar;d:\ibm\WebSphereMQ\
    java\lib\com.ibm.mq.jar
    
    #Added for database
    
    #If using SQL SERVER 2008
    set MSSQL_HOME=c:\SQLServer
    set PATH=c:\SQLServer\100\Tools\binn;%PATH%
    
    #If using SQL SERVER 2012
    set MSSQL_HOME=c:\SQLServer
    set PATH=c:\SQLServer\100\Tools\binn;%PATH%
    
    # If using ORACLE AND TIVOLI
    
    #set PATH=c:\IBM\ldap\V6.2\bin;%ORACLE_HOME%\bin:;%PATH%