Create an SSH Tunnel for RMI Server (Optional)

You can make a RMI server available from outside the firewall through RMI port forwarding. This applies to both normal RMI (rmi://) and secure RMI (rmis://).

To port forward RMI,

  1. Create an SSH tunnel from the public server to the PPM Server.

    1. Run the following command on the public server:

      ssh -gvNL <Public_Server_Port>:<PPM_Server_IP_Address>:<PPM_Server_Port> <PPM_Username>@<PPM_Server_IP_Address>

      where,
      <Public_Server_Port> is the available port on the public server;
      <PPM_Server_IP_Address> is the IP address of your PPM Server;
      <PPM_Server_Port> is the available port on your PPM Server;
      <PPM_Username> is the user account that you want to use to access your PPM Server.

      For example,

      ssh -gvNL 8082:ppm.my-server-port.com:50001  user1@ppm.my-server-port.com 
    2. Enter the password for <PPM_Username> when prompted.

    3. Wait until the tunnel is successfully established.

  2. With the tunnel open, add the new CLIENT_RMI_URL parameter to the server.conf file if it is not present:

    com.kintana.core.server.CLIENT_RMI_URL=rmi://<Public_Server_IP_Address>:<Public_Server_Port>/KintanaServer
  3. Save the server.conf file and run the kUpdateHtml.sh script (located in the <PPM_Home>/bin directory).

  4. Restart the PPM Server.

  5. You can now access PPM Workbench from PPM Center.

  6. On the public server, press Ctrl+C to close the tunnel when you no longer need it.

Note: This does not change the RMI URL used when opening the PPM Workbench via Java webstart.