473,387 Members | 1,517 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.

Changin Hostname ...

Hi,

one Windows administrator changed the servername (hostname) of one of
our database servers.

What changes do I have to to to get my databases connected?

The catalog statements have to be adjusted, I know.

I changed the admin configuration too and I don't know what to do with
the spm name.

Server is Windows 2003 standard, DB2 Version 8.1 Fixpack 7 (with special
build).

Any hints?

Kind regards

Dirk

--
Blog: http://www.deimeke.net/dirk/blog/

Dec 1 '05 #1
3 1829
edit your db2nodes.cfg and replace the old hostname to new one.

the file is located on $DB2_INSTALL_PATH/sqllib/$INSTANCE_NAME/

Dec 1 '05 #2
Publish the databases in the Active Directory instead of cataloguing them on
the clients. That way you don't have to do anything whatsoever in the
clients when you change the location of a database (host rename can be
considered a location change), you merely have to alter the AD
configuration.

"Dirk Deimeke" <di**@deimeke.net> wrote in message
news:pa****************************@deimeke.net...
Hi,

one Windows administrator changed the servername (hostname) of one of
our database servers.

What changes do I have to to to get my databases connected?

The catalog statements have to be adjusted, I know.

I changed the admin configuration too and I don't know what to do with
the spm name.

Server is Windows 2003 standard, DB2 Version 8.1 Fixpack 7 (with special
build).

Any hints?

Kind regards

Dirk

--
Blog: http://www.deimeke.net/dirk/blog/

Dec 2 '05 #3
Talk to your system administrators. They should be very interested in
helping you use AD rather than having to recatalogue databases on hundreds
of client workstations (at least, the administrators where I've been have
always found it a good idea).

Did you issue a suitable UPDATE ADMIN CONFIGURATION command (after following
Hardy's advice)?

"Dirk Deimeke" <di**********@roland-rechtsschutz.de> wrote in message
news:m4************@debian-proxy01.roland-domaene.intra...
Mark Yudkin <my***********************@boingboing.org> schrieb:
Publish the databases in the Active Directory instead of cataloguing them
on
the clients. That way you don't have to do anything whatsoever in the
clients when you change the location of a database (host rename can be
considered a location change), you merely have to alter the AD
configuration.


All the database are up and running, but I have problems to reach the
admin server ...

Unfortunately I have no access on ADS.

DIrk

Dec 2 '05 #4

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

Similar topics

1
by: Claus van de Vlierd | last post by:
Hello , a) in the following script (under RedHat AS3 with PHP 4.3.2 ) I make a "DB::connect" to an existing "mysql" database named "docu_files_of_cvdv" . The strange thing is : it works --...
2
by: Lukas Schnieper | last post by:
Hi How can i get the hostname of my Linux PC? I tried os.system('hostname') but i cant save the hostname in a variable like hostname = os.system('hostname') thanks Lukas Schnieper
2
by: James M. | last post by:
I have 2x Front-end Web servers (Win2003 Ent IIS6.0), setup with NLB (single Affinity, also using SQLServer session state) that are hosting a few .NET ASP web applications under the Default Website...
3
by: HiChetu | last post by:
I have a host which has two NIC cards; one configured for LAN connections, and another for external connections. Say the ip address are 1) x.x.x.x - for LAN 2) y.y.y.y - for external ...
0
by: James M via .NET 247 | last post by:
(I have 2x Front-end Web servers (Win2003 Ent IIS6.0), setup withNLB (single Affinity, also using SQLServer session state) thatare hosting a few .NET ASP web applications under the DefaultWebsite in...
1
by: Aftab Alam | last post by:
Hello All I want to change the keyboard layout dynaically, ie if a use focuses on my application the keyboard layout gets set to Arabic and if on any other application it should be english ?? How...
6
by: Eric Rechter | last post by:
Hi, I only want to display the provider name from a hostname, so I need to divide the string to take only de characters from after the before last dot. For example: ...
2
by: slinkp | last post by:
Can anybody explain this one? pw@kermit ~ $ python Python 2.4.3 (#1, Jul 27 2006, 13:07:44) on linux2 Type "help", "copyright", "credits" or "license" for more information. Traceback (most...
3
by: Mark Delaney | last post by:
When using the MS SQL 2005 JDBC driver, I now need to have the DNS name resolution to the client correctly set up. If not I get the following error: SQLState: 08S01 SQLError: 0 Message:...
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: 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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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.