QA00000379772_Troubleshooting communication issues between CST Studio Suite clients and license servers

QA00000379772_Troubleshooting communication issues between CST Studio Suite clients and license servers

Question:
How to ensure communication between clients and the Flexnet OR DS license server (DSLS) is working correctly?

Answer:
To troubleshoot connectivity between clients and license servers, you can use simple tools like `ping`, `telnet`, and lmutil. These tools help verify network communication and ensure that the correct ports are open and the servers are reachable. Below are the steps to troubleshoot using these tools:

  1. Ping the License Servers:
Use the `ping` command to check if the license server is reachable from the client machine. Replace `<server_ip>` with the actual IP address or hostname of the license server:
            ping <server_ip>
            ping <server_name>

            If the server is unreachable or ping fails, it indicates a network issue or that the server machine is down.

  1. Telnet to Specific Ports:
Use `telnet` to test if the required ports are open and accepting connections on the server. Replace `<server_ip>` with the actual IP and `<port_number>` with the appropriate port number:
For eg:
- For Flexnet License Server:
         telnet <server_ip> 27000
         telnet <server_name> 27000

- For DSLS License Server:
         telnet <server_ip> 4084
         telnet <server_ip> 4085
         telnet <server_name> 4084
         telnet <server_name> 4085

If `telnet` is successful, the port is open. If the connection fails, there might be a firewall blocking the port or the service is not running on the server. If the license server is behind the firewall, then make sure to follow the steps as mentioned in the QA00000055898.

Important Note:  
By default, `telnet` may not be installed on your system. If you find that the command is not recognized, you will need to contact your IT team to have it installed.

  1. Using `lmutil` for Flexnet License Server Troubleshooting:
lmutil is a command-line utility to troubleshoot and manage license servers. It can be used to verify the license server’s status, check if the correct ports are being used, and confirm that the license service is running. The lmutil can be found at '<CST_installation_folder>\License Manager' in Windows and in Linux it is at '<CST_installation_folder>\License Manager\LinuxAMD64'  

- Check if the license server is running:
  
    lmutil lmstat -a -c @<server_ip> or @<server_name>
 
Replace `<server_ip>` with the actual IP address or hostname of the license server (try using both IP and hostname). This command will show the status of all licenses managed by the server, confirming if it is up and running.

- Check specific port usage:

To confirm that the correct ports

    lmutil lmstat -a -c 27000@<server_ip>

This will show if the license manager is correctly listening on these ports. (Change port number as needed to confirm in the command)

Important Notes:
- Ensure your firewall or network settings allow traffic on the required ports 
- If any tool shows that a port is closed or unreachable, check with the system administrator to confirm the service is running and that the network configuration allows access to these ports.
- lmutils is a Flexnet based tool, it cannot be used to test DSLS