9.1.1 Prepare the Environment

Ensure that network connectivity is there between the Tuxedo application and MicroTx.

Before you begin, complete the following tasks:

To verify bi-directional network connection between the Tuxedo application and MicroTx:
  1. Use SSH to login to the MicroTx host and the Linux host on which you have installed the Tuxedo application.
  2. Start a simple HTTP server on the MicroTx host.
    python -m SimpleHTTPServer 2345

    Where, 2345 is a port in the MicroTx host for which you have set up the required networking rules to permit traffic.

    Note down the host name of the HTTP server that is created. You will provide this information in the next step.
  3. On the Tuxedo host, run the following command to connect to the HTTP server that is running on the MicroTx host.

    Command Syntax

    curl -vv Transaction_Manager_for_Microservices_host_name:2345

    Where,

    • Transaction_Manager_for_Microservices_host_name is the name of the physical or virtual host, of the Kubernetes cluster or Docker container, on which you have installed MicroTx.
    • 2345 is a port in the MicroTx host for which you have set up the required networking rules to permit traffic.
  4. Start a simple HTTP server on the Tuxedo host.
    python -m SimpleHTTPServer 2345

    Where, 2345 is a port in the Tuxedo host for which you have set up the required networking rules to permit traffic.

    Note down the host name of the HTTP server that is created. You will provide this information in the next step.
  5. On the MicroTx host, run the following command to connect to the HTTP server that is running on the Tuxedo host.

    Command Syntax

    curl -vv Tuxedo_host_name:2345
    If the command is not successfully executed, it indicates that there is a networking problem between the two hosts. Troubleshoot the networking issue. For example, you may need to open the ports to permit traffic.