Hello! I've got a peculiar request. How do I check if the connection strings that are put on a system are being utilized? I've got a production system where they were put in place in hopes to fix some connection and sync issues. At the same time, some changes to the network were also made. Eventually it was discovered that other factors were causing the issues. Now we'd like to remove these connection strings as they seem unnecessary in order to keep the system as simple as possible. How do I check that this is safe to perform and won't cause issues on the DMS? Thank you!
With "connection strings", I assume you are talking about the connection strings that can be configured through SLNetClientTest. These allow for redirecting traffic between two agents through another host/port or to override the credentials being used to setup that connection.
As soon as you have configured a connection string for agent, you can see it being used in the SLNet.txt logfile when setting up connections to that remote agent. Do note that the logging doesn't display the actual connection string being used. It does show the username being used to authenticate (if configured).
2022-01-11 08:46:23.835|163|DmaConnections|(CreateConnObjectThread) Launching connection attempt to -1 (1.2.3.4) (config: Connection string for "1.2.3.4").
2022-01-11 08:46:23.840|168|DmaConnections|(CreateConnObjectThread) Authenticating with 1.2.3.4 as 'example' (from config)
Removing a connection string will revert to the default settings for setting up connections towards that remote agent. I don't believe active connections to that agent will be dropped when the configuration gets changed, so you might not immediately be able to verify whether the default settings work or not. One option could be to use Diagnostics > SLNet > DropSLNetConnections to destroy the active connections that an agent has towards remote agents and then see if they get restored properly. (Do use commands like these with caution)