473,387 Members | 1,495 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Finding DB2 instances and databases

Tim
Hello Everyone

I'd like to create a script/program that can locate all servers running
DB2, finding out which instances are running/created and what databases
are running under them but have been told but IBM support that this
isn't currently possible for a client to do. I'd like to get a second
opinion since the CCA seems to be able to manage it without any
problems so the API must be there to do it.

The main reason why I'd like this is to ensure that our documentation
is correct. We have a fair number of servers, DB2 instances and
databases out there and we also have the nasty habit of moving them
around from time to time. Depending on who does this the documentation
is more or less up to date. Using some sort of discovery
script/program will reduce the need for documenation and ensure that
the documentation that we have is up to date with respect to what's
actually running.

thanks in advance
tim

Nov 12 '05 #1
3 1836
In article <11**********************@f14g2000cwb.googlegroups .com>,
Tim (ku******@gmail.com) says...
Hello Everyone

I'd like to create a script/program that can locate all servers running
DB2, finding out which instances are running/created and what databases
are running under them but have been told but IBM support that this
isn't currently possible for a client to do. I'd like to get a second
opinion since the CCA seems to be able to manage it without any
problems so the API must be there to do it.

The main reason why I'd like this is to ensure that our documentation
is correct. We have a fair number of servers, DB2 instances and
databases out there and we also have the nasty habit of moving them
around from time to time. Depending on who does this the documentation
is more or less up to date. Using some sort of discovery
script/program will reduce the need for documenation and ensure that
the documentation that we have is up to date with respect to what's
actually running.

thanks in advance
tim


Hi,
Maybe it's an option to schedule a script on each DB2 server to
create a list of local instances and databases and mail it to an
administrator or put this list in a shared folder?
Nov 12 '05 #2
Tim
That would work but it requires more things to be installed on a given
server beyond what is already installed. Its something that I did
consider but it would be cleaner to avoid having to install extra
scripts on a server since I can see the Client Configuration Assistant
do what I'm after. I'm trying to get a zero administration solution if
possible.

Nov 12 '05 #3
Tim wrote:
Hello Everyone

I'd like to create a script/program that can locate all servers running
DB2, finding out which instances are running/created and what databases
are running under them but have been told but IBM support that this
isn't currently possible for a client to do. I'd like to get a second
opinion since the CCA seems to be able to manage it without any
problems so the API must be there to do it.


CCA uses Discovery protocol and API's which are not externalized and I am not
aware of any plans to externalise them soon.

Jan M. Nelken
Nov 12 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Tristan | last post by:
Im trying to expand a search util by uing regular expression to allow common search criteria such as +-* and phrases "". My understanding of ereg(string pattern, string string, ) is that the...
11
by: Mike | last post by:
Looking to find any information on how to properly configure multiple instances of DB2. This is on Win2k db2 ver 7.2. I am basically looking for information on how the multiple instance settings...
11
by: Chuck | last post by:
Is there a command that will list all of the databases for a particular instance on the local machine, whether they are activated or not? If there is no such command, is there at least a way to...
0
by: klh | last post by:
Hi group, We are attempting to install an MS clustered failover environment (mutual-takeover) for Windows 2003 and DB2 V8. All of our instances are non-partitioned. We have both local...
0
by: cjshea | last post by:
Hello Friends; I have a general question on Configuration Advisor, as I get to know it better I may have more focused questions. I have a feeling that the Advisor may assume that there is only...
0
by: Yaro | last post by:
Hello (DB2 8.2.2 Win) Sometimes, we need select data from 2 databeses. Databases were on one instance, I used federated databases mechanism. Worked fine. Now, databases are on 2 instances and...
1
by: thomasb | last post by:
When setting up federation between two databases on the same instance everything works fine. When trying to do the same between two databases on different instances on the same machine I get...
4
by: Roland Riess | last post by:
Hi all, at the moment i am developing an app which is sort of an interface to copy data from one database to another and it shall run as a service. As there are several databases the app must be...
2
by: Frank Swarbrick | last post by:
Given the following situation, I am wondering what advantages and disadvantages there would be for creating more than one instance. For testing, we want to have more than one 'version' of a...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.