How to modify the Host Name of a DB2 database server (1)

Source: Internet
Author: User

This article describes how to modify the Host Name of a DB2 database server and how to solve the problem during the use of the DB2 server for your reference.

Product: DB2 UDB

Platform: AIX, Solaris, HP-UX, Linux, Windows

Version: V8 V9.1V9.5

Problem description:

For various reasons, users may need to modify the Host Name of the DB2 database server during the use of the DB2 server. What changes do DB2 need?

Answer:

To modify the Host Name of the DB2 server, perform the following steps on the DB2 database server:

1) Stop the DB2 Management Server DAS )? /SPAN> DB2 instance

A) db2admin stop

On Windows, you can directly run the command to stop the DAS. on Linux and UNIX, you can run the command to get the name of the DAS instance, and then stop the DAS, such

Db2set-all | grep DB2ADMINSERVER

[G] DB2ADMINSERVER = das91

Run the "db2admin stop" command after su-das91"

B) db2stop

If you have multiple instances, you must stop them all. You can use the db2ilist command to list all instances on the host and then stop them one by one.

For Windows, you can


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.