Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Able to start ANI DB with HOST=server_name, instead of LOCALHOST?

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?

2 REPLIES
Blue

Re: Able to start ANI DB with HOST=server_name, instead of LOCAL

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.

Cisco Employee

Re: Able to start ANI DB with HOST=server_name, instead of LOCAL

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.

142
Views
0
Helpful
2
Replies