03-06-2008 07:51 AM
I am trying get information from three different ANI databases using a Perl script that uses the perl module. In the perl file I am specifying which database to go to with connect($dsn,"UID=xxxx;PWD=xxxx;LINKS=tcpip(host=server_name;port=43443). This is failing because the database start up with LOCALHOST as the host, /opt/CSCOpx/objects/db/bin/dbsrv9 -x tcpip{HOST=localhost;DOBROADCAST=NO;Server. Is there a way to start the DB with servername instead of localhost?
03-06-2008 08:12 AM
Just a thought: In case it's not possible to have dbsrv9 start with host=HOSTNAME, maybe the script can use a CPAN module such as Net::Telnet or Net-SSH-Perl that can let it telnet/ssh into each server and query each LOCALHOST that way.
03-06-2008 08:38 AM
Direct database access is not supported, and using localhost just adds one more layer of security. Depending on the data you want, there may be a supported way (i.e. using DEE) to get to it.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide