Why the DB2 instance will fail to start after you modify the machine name

Source: Internet
Author: User
Tags db2

Question: Why did the instance fail to start after modifying the machine name and reported sql6031n error.

Environment:

Product DB2

Platform Cross Platform

Version 8.1

Answer:

DB2 version 8, the original DB2 Enterprise and Enterprise Extensions merged into the Enterprise Server Edition, regardless of the partitioned database and the non-partitioned database, there will be db2nodes.cfg files in the instance directory, which records the server node information.

Take the Windows platform for example, for a single partitioned database instance on the machine named TSSTEST1, DB2. The following line is recorded in the Db2nodes.cfg file in the SQLLIB\DB2 directory:

0 TSSTEST1 TSSTEST1 0

If you modify the machine name of the machine, you need to modify the file. For example, if you modify the machine name TSCTEST1, the above file needs to be modified to

0 TSCTEST1 TSCTEST1 0

Otherwise, the sql6031n error is reported when the evidence library instance is started, with the reason code 10.

The explanation for reason code 10 is:

(10) To ensure that the Db2nodes.cfg "< line designtimesp=29798>"

The host name values defined in the row are defined on the system and can be manipulated.

In the Windows platform, you need to pay special attention to this problem if you define an instance to start automatically, or if you are accustomed to starting an instance in a service.

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.