- Check the Host On-Demand Support page for Redirector-related technotes.
- Learn about basic Redirector configuration issues.
- Understand the types of disconnections.
- Check the configuration of the Redirector.
- Check to see if the Redirector is active.
- Check for messages.
- Verify both sides of the Redirector connections.
- Check the status of the Telnet ports.
- Check your system configuration for Java.
- Verify key databases.
- Check to see if client authentication through the Host On-Demand Redirector fails
- Gather trace information.
- Check the Host On-Demand Support page for Redirector-related technotes.
Search for technotes related to the Redirector on the Host On-Demand Support page at
http://www.ibm.com/software/webservers/hostondemand/support.html by taking the following steps:
- Enter Redirector in the keyword field.
- Check the box beside 'Solve a problem' to limit your results.
- Click Submit.
- Learn about basic Redirector configuration issues.
Refer to Redirector configuration tips.
- Understand the types of disconnections.
Disconnection errors can typically be classified as one of two types:
- disconnection after a definite period of inactivity
- random disconnection
Disconnections that occur after a period of inactivity are normally caused by inactivity timers at the host connection or on some network device.
You can debug connections that disconnect randomly by first determining which network device terminated the connection. Host On-Demand provides
several traces to capture the disconnect event. See Gather trace information below.
- Check the configuration of the Redirector.
- Verify that the inbound IP address and ports defined for the Redirector path are
correctly defined as the destination in the client configuration.
- Verify that the outbound IP address and port defined for the Redirector path is the
correct IP address and port of the Telnet server.
- Verify that any network devices will allow traffic on the port you have configured to use for the Redirector.
- Check to see if the Redirector is active.
- With the Service Manager started, use the Administrator client to log on to Host On-Demand
and check the status of the Redirector.
If you can successfully log on, the Host On-Demand Service Manager is already active and you will
not need to start it. The Redirector can only be active when the Service Manager is active.
- Check to see if the Redirector is listening on the defined port by using the
netstat
command for your operating system.
- Check for messages.
- Check for System messages to determine what is
causing your problem and what you should do to solve it.
Note that most error messages related to the Redirector begin with RDR.
- Check for messages issued on the client, especially COMM messages in the emulator OIA.
- Check for messages on the Telnet server. Refer to your Telnet server documentation for
more information regarding Telnet error messages.
- Verify both sides of the Redirector connections.
- Test both segments of the Redirector connection using the
ping
command:
- On a Host On-Demand client workstation, ping the Redirector IP address and host name to
verify that the workstation TCP/IP configuration is working. For example, if the
Redirector workstation has an IP address of 255.123.123.3, type
ping 255.123.123.3
.
If the workstation has a host name of redirectorws, type ping redirectorws
.
- On the Redirector workstation, ping the Host On-Demand client IP address and host name to
verify the server TCP/IP configuration is working.
- On the Redirector workstation, ping the TN3270 server machine by IP address and the host name
to verify the server TCP/IP configuration is working.
- On the TN3270E server machine, ping the Host On-Demand Redirector by IP address and host name to
verify that the TCP/IP connection is working from the server end.
- Make appropriate changes to the server, the client, or the Redirector based on the
results you receive. All network connections must be accessible by host name and IP address.
- Test both segments of the Redirector connection using your operating system's native Telnet command. This is possible only on
segments that are not using SSL.
On the Redirector and client computers, use Telnet to see if the ports defined on the Telnet server or on other Redirectors
configured in series are accessible through the firewall and network. This process can help isolate the source of the problem
to the network between the Redirector and Telnet server or the network between the client and the Redirector. If your Telnet session
from the Redirector to the Telnet server also fails to connect, or it also disconnects in a similar way that the Host On-Demand client
disconnects, the problem may be a network or Telnet server problem that is unrelated to the Redirector. If this Telnet session from
the Redirector server to the Telnet host stays connected even when the client workstation disconnects, this may indicate a problem
between the Redirector server and client workstation. If the telnet sesssion only fails when it is configured to connect to the telnet
server by passing through the Redirector, then the problem may be Redirector related.
- On the Redirector workstation, use telnet to check the connection. For
example, on Windows, take the following steps:
- Click Start > Run on the Redirector workstation.
- Type
telnet
and click OK.
- Click Connect > Remote system on the Telnet window menu bar.
- Type the host name of the Telnet server and the port you want to connect to in the Host Name field and Port field on the Connect window.
- Accept the default TermType.
- Click Connect. If this fails to connect, you have discovered the source of your problem.
- Try using the
telnet
command, but this time use the Redirector IP address and Redirector port in the Telnet connection window.
If you can not connect to your Telnet server by establishing a connection that passes through your Redirector, the Redirector
may be malfunctioning. Be sure you are only attempting this test if the Redirector is configured in passthru mode and the host
connection is non-SSL.
- Do a simlar test from the client workstation to the Redirector and to the server by repeating the steps above. If step #f above works but this
step fails,
this may indicate a network connectivity problem between the client machine and the Redirector.
Consult your operating system documentation for instructions on how to run Telnet on
other platforms.
If you receive no messages, the port is open. If you receive Connect failed with
'Host name', then the port is not active. Remember to disconnect after you test each
port by selecting Connect > Disconnect from the Telnet window menu.
Check the status of the Telnet ports (only if the connection fails in step #f of 'Verify both sides of the Redirector connections'.
- Type
Netstat -a
at a command prompt on the Redirector workstation to see if
the ports are active.
- Type
Netstat -a
at a command prompt on the Telnet server to see if the
ports are active.
- On the client workstation, if you are not able to connect to an SSL-enabled Telnet
session, use Telnet to see if the ports defined on the Redirector are
accessible through the firewall and network from the client workstation. Consult your
firewall documentation for more information. For example, on Windows, take the following steps:
- Click Start > Run on the client workstation.
- Type
telnet
and click OK.
- Click Connect > Remote system on the Telnet window menu bar.
- Type the host name of the Redirector in the Host Name field on the Connect window.
- Type the Redirector port (as defined in the Host On-Demand Session properties on the
client) in the Port field on the Connect window.
- Accept the default TermType.
- Click Connect.
- Try using the
telnet
command, but this time, use the Redirector IP address and Redirector port in the telnet connection windows.
If you cannot connect to your Telnet server by establishing a connection that passes through the Redirector, the Redirector
may be malfunctioning. Be sure you are only attempting this test if the Redirector is configured in passthrough mode and the host connection is non-SSL.
- The final test is to repeat the previous step, but this time from the actual client machine. If Steps C and D work but this step fails, this may indicate
a network connectivity problem between the client machine and the Redirector.
Consult your operating system documentation for instructions on how to run Telnet on
other platforms.
If you receive no messages, the port is open. If you receive Connect failed with
'Host name', then the port is not active. Remember to disconnect after you test each
port by selecting Connect > Disconnect from the Telnet window menu.
Check your system configuration for Java.
You may possibly bypass some potential Java problems that can occur when running the
Redirector by passing some additional paramters to Java. For more information, refer to Java Registry parameters.
Verify key databases.
If you are using SSL on the Redirector under Windows or AIX with a self-signed
certificate, verify that the Host On-Demand server key database and the CustomizedCAs.p12 file or
CustomizedCAs.class
have
been created. Note that with a public authority, you do not need to create the
the CustomizedCAs.p12 or CustomizedCAs.class files. On AIX, be sure that the certificate files have the
correct access authority of 755.
- To create the Host On-Demand server key database file, take the following steps:
- If any existing HODServerKeyDb.kdb, CustomizedCAs.p12 file, or CustomizedCAs.class files exist, back
them up to a
different directory or delete them.
- Use Certificate Management to create a new CMS key database file, for example,
HODServerKeyDb.kdb. Enter the password hod for the key database. Make sure that you select to
store the password to a file. If you set an expiration date for the password, be sure to take note of when the
password will expire since Host On-Demand will stop functioning when the password expires.
|
You can verify the Host On-Demand server key database file and customizedCAs.* file by simply opening them and verifying that the passwords work.
If they work, the certificates have not expired. |
- Select Personal Certificates from the drop-down and create a New Self-Signed
Certificate.
- Extract Certificate as a Base64 .arm file or binary .br file to /hostondemand/bin.
- Save the file to HODServerKeyDB.kdb in the \hostondemand\bin directory.
- To create the CustomizedCAs.p12 file, take the following steps:
- Select Key Database File > New. Create a PKCS12 file (for example,
CustomizedCAs.p12 in /hostondemand/HOD with the default password hod).
|
When creating CustomizedCAs.p12, you must use the default password hod. Do not change this password. |
- Select Signer Certificates from
the drop-down menu and
add the .arm certificate file. Label the certificate appropriately.
- Select Key Database File and save it as CustomizedCAs.p12. Replace the old file if it exists.
- Restart the Host On-Demand Service Manager.
- Modify or create a Redirector service with client-side security.
- Modify or create a session to connect to the above configured redirector with SSL
enabled.
- Prior to connecting at the client, delete the temporary cache prior to starting the
session and restart the browser.
Check to see if client authentication through the Host On-Demand Redirector fails.
If client-authenticated sessions through the Host On-Demand Redirector fail to become established, and the operator
information area (OIA) in the session window displays COMM 657, then COMM 655 and COMM 659, this is what is happening:
- A Host On-Demand client and Host On-Demand Redirector session is established.
- The Host On-Demand Redirector attempts to establish a session with the host.
- The request attempts to pass through the Host On-Demand Redirector first, but the Redirector
does not respond to the client authentication request, nor does it forward the request to the Host On-Demand client. As a result, the session is never established.
- A trace will indicate that a secure session was established between the Host On-Demand client and the Host On-Demand
server/Redirector and then was immediately dropped.
To correct this problem, in the Redirector service parameters, set the security parameter to None.
Gather trace information.
Before you call IBM Support, you will want to gather important tracing information.
Enabling the Host On-Demand client and Redirector traces
Take the following steps to enable the Host On-Demand client and Redirector traces. The strategy is to start all the traces at the same
time and then examine them after capturing the disconnect event.
- To enable the Host On-Demand client trace, start a transport level-three trace using the trace facility provided by the Host On-Demand client with debug components. For more information,
refer to Transport traces.
- To begin enabling the Redirector trace, first stop the Host On-Demand Service Manager and erase the existing trace file.
- Log on as the Host On-Demand Administrator.
- Under Redirector Service, select Change Configuration. Select log Connections = Yes
and enter a file name. If you do not specify a directory, the log
file is created in \HostOnDemand\lib\. Enter an IP address of the client you are using to recreate this
problem.
- Select Services and then Service Manager Trace.
Enable the Trace and set it to level three.
- Restart the Host On-Demand Redirector Service.
- With only one client connecting to the Host On-Demand Redirector, try to recreate the problem.
- Find the following four files and prepare to send them to IBM Support:
- \privtae\NCoDServices.RAS
- the log file that you specified above
- Java Console log
- trace.tlg
- If you are capturing errors for a secure Redirector connection, enable tracing of the SSL portion of the Redirector code.
Enabling tracing of the SSL portion of the Redirector code
|
The Host On-Demand Redirector currently supports SSL only on Windows and AIX platforms.
|
To enable tracing of the SSL part of the Redirector code, follow these steps on the system where Redirector is running:
- Stop the ServiceManager if it is currently started.
- Set an environment variable:
On Windows platforms, add the following system variable under Environment in the Windows Control Panel:
Variable name= GSK_TRACE_FILE
variable value= (filespec=where you want the trace to be located, for example, c:\gsktrace.trc)
On the AIX platform, export the GSK_TRACE_FILE file.