5.5.2 Executing tlgdomgen.py

To run tlgdomgen.py using TXST, do these steps:

  1. set Tuxedo environment:

    $TUXDIR/tux.env

  2. set TXST environment:

    export CLASSPATH=$CLASSPATH:$TUXDIR/jmx/jython-standalone.jar:$TUXDIR/jmx/tmjmx_tux.jar:$TUXDIR/jmx/tmjmx_metadata.jar:$TUXDIR/udataobj/tuxj/com.bea.core.jatmi_2.0.0.0.jar

  3. run tlgdomgen.py:

    java oracle.tuxedo.TXST $TUXDIR/bin/tlgdomgen.py <configuration file name>

    The following files are generated:
    • ubbconfig.test: UBBCONFIG of the test domain.
    • addrom.mib: MIB scripts to add GWTDOMAIN access point to the target domain.
    • setenv.test: setenv of the test domain.
    • run.sh: execution scripts to set up and run the test domain.
    • dmconfig.test: DMCONFIG of the test domain.
  4. In the target domain, run the following commands to add the test domain to the target domain:

    . $TUXDIR/tux.env

    export FLDTBLDIR32=$TUXDIR/udataobj

    export FIELDTBLS32="tpadm,Usysfl32"

    ud32 -C tpsysadm < addrom.mib

  5. Boot the test domain using the file run.sh, and then run the replay.