Microsoft KB Archive/292751

= How To Replace an MSMQ Server on Windows NT 4.0 =

Article ID: 292751

Article Last Modified on 7/2/2004

-

APPLIES TO


 * Microsoft Message Queue Server 1.0, when used with:
 * Microsoft Windows NT 4.0

-



This article was previously published under Q292751



SUMMARY
This article describes how to replace an old primary enterprise controller (PEC).



MORE INFORMATION
When you replace an old PEC, note that certain steps change depending on the version of SQL server that you are using. Also, consider the following during installation:
 * You should perform these operations using the Windows NT 4.0 account that was used to install the original server or an account that has the same permissions set in the enterprise as the original account.
 * You must use the same NetBIOS name for the new computer that the computer that is being replaced currently owns.
 * If the hardware of the new and old computers is identical, you may consider placing the hard drive from the old computer in the new computer. This process has some drawbacks but may be considered as an option.

To replace the PEC, follow these steps:  On the server, back up the following registry key:

HKLM\Software\Microsoft\MSMQ\Parameters\MachineCache

To back up this key, follow these steps:

 From a command prompt, run Regedit. Browse to the following registry key:

HKLM\Software\Microsoft\MSMQ\Parameters\MachineCache

 Select the MachineCache key. On the Registry menu, click Export Registry File. Save the file with an easily recognizable name and store it in a safe place for later use.</ol> </li> On the server, back up the Message Queue Information Store (MQIS) database.For additional information on how to do this, click the article number below to view the article in the Microsoft Knowledge Base:

191536 INFO: Backing Up the MQIS Database

NOTE: If the MQIS database is corrupt and you cannot recover it from the server, you may use a copy of the MQIS database that is stored on another server, such as a PEC, primary site controller (PSC), or backup site controller (BSC), in the same MSMQ enterprise.

</li> On the server, back up the storage folder. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> In Windows Explorer, browse to the folder in which MSMQ was installed (the default is C:\Program Files\MSMQ\Storage).</li> Use either WinZip or another archiving tool to back up this folder, or copy this folder to another location on the system or network.</li></ol> </li> Prepare the replacement server. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> Install Windows NT Server 4.0.</li> Install Windows NT 4.0 Service Pack 3 or later.</li> Install Microsoft SQL Server.NOTE: If you are installing SQL Server version 7.0 or later, you need the Isql.exe file from SQL 6.5. This file is packaged with the evaluation copy of SQL 6.5 that is distributed on the Windows NT 4.0 Option Pack CD. Expand this file and copy Isql.exe to the \Mssql7\Binn folder on the new computer, then rename the Isql.exe file that SQL Server 7.0 installed as Isql.old.

</li> Create a new database in SQL server and name it MQIS. Make the database 80 MB and its log file 20 MB.</li> Restore the registry with the file that you created in step 1 by double-clicking the .reg file that you created. This file is now located on the new system.</li> Restore the MQIS database that you backed up previously. Select Force Overwrite if you receive the following error message:

Microsoft SQL-DMO(ODBC SQL State 2000)

The backup set holds a backup of a database other than the existing MQIS Database.

Backup or restore Operation terminating abnormally.

</li> Using either the Windows NT 4.0 Option Pack CD or the second CD that ships with Windows NT 4.0 Server Enterprise Edition, install MSMQ. Make sure that you use the same information for Enterprise Name, Site Name, and Connected Network Information that you used in the original installation of MSMQ on the server that is being replaced.</li> When the setup is near completion, the Information Server Database Exists dialog box appears. Select Update the existing database and click Continue.NOTE: Sometimes this dialog box does not display in the foreground. If you find that the setup appears to stop responding when it is near completion, look for this dialog box.

</li> Upon successful completion of the setup, restore the Storage folder.</li> Apply Windows NT 4.0 Service Pack 6a and restart the computer.</li></ol> </li> Replace the faulty server on your network with the new server.</li></ol>

Keywords: kbhowto KB292751

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.