?
Solved

Get list of Sybase servers

Posted on 2007-04-05
4
Medium Priority
?
1,323 Views
Last Modified: 2012-05-05
I have a Windows Application which has to list down all the Sybase database servers in the network. Please tell me how can I get the list of all the sybase instances in the network.
0
Comment
Question by:mahanatti
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 19

Accepted Solution

by:
grant300 earned 100 total points
ID: 18868555
You cannot get them out of thin air.  Sybase ASE does not broadcast it's existence so there is no way to discover them.

Sybase Open Client (what you will be using even if you have an ODBC application), uses a configuration file that contains the address and port of each of the server you intend to connect to.  On windows, that file is called SQL.INI.  In the rest of the world it is called INTERFACES.

There is a tool in the Sybase windows client suite called DSEDIT that you can use to maintain the SQL.INI file.

Normally what you would do is create one master SQL.INI file with all of the servers in it then distribute that to every windows box.  You may be able to use a third part tool to create a unix-style link in windows (yes, NTFS supports it under the covers but, of course microsquish chose not to expose it in explorer or the command line) to the master SQL.INI file on a shared drive someplace.

Regards,
Bill
0
 
LVL 2

Assisted Solution

by:shakir77
shakir77 earned 100 total points
ID: 19032652
Try reading sybase server interface file which lists all the server ( if properly maintained by respective group)  - Rest all other methods are more of hacking - hence not even explaining

0

Featured Post

Get MongoDB database support online, now!

At Percona’s web store you can order your MongoDB database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card. Handle your MongoDB database support now!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We are witnesses that everyone is saying that our children shouldn't "play" with a technology because it is dangerous. This article is going to prove that they are wrong.
What's worse than having your data encrypted by ransomware? Getting attacked by a so-called "wiper," which simply destroys the data and offers you no hope of ever seeing it again.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question