Due to to the use of the partner list, openFT makes it possible to work without TNS. Compared to TNS, the partner list has the advantage that you can use it to store not only all the necessary address information but also other properties such as, for example, a partner's security level.
If you want to switch to operation without TNS then you can use the tool tns2ptn. tns2ptn is used to create new partner list entries on the basis of TNS entries with the RFC1006 address format.
You must perform the following steps to insert TNS entries in the partner list:
Export the TNS entries to a file:
To do this, enter the command
tnsxprop > openft.tns
(where openft.tns is the file name that you can choose yourself).If necessary, clean up the export file (here openft.tns) by deleting the entries that do not relate to openFT, are no longer required or do not have the RFC1006 address format.
Call the tool tns2ptn:
/opt/openFT/bin/ftbin/tns2ptn openft.tns > ft_list
ft_list is the name of the output file and can be selected freely. ft_list contains an ftaddptn command with the associated address information for each partner.
If an entry cannot be converted then it is output at stderr.
Run the output file (here ft_list) as FT administrator at command level (e.g. sh ft_list).
Please note that the address information is taken over from TNS. Additional partner properties (security level, priority, tracing etc.) can subsequently be defined using the ftmodptn command or via the openFT Explorer.