How To Replace an MSMQ Server on Windows NT 4.0 (292751)



The information in this article applies to:

  • Microsoft Message Queue Server (MSMQ) 1.0, when used with:
    • the operating system: 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:
  1. On the server, back up the following registry key:

    HKLM\Software\Microsoft\MSMQ\Parameters\MachineCache

    To back up this key, follow these steps:

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

      HKLM\Software\Microsoft\MSMQ\Parameters\MachineCache

    3. Select the MachineCache key.
    4. On the Registry menu, click Export Registry File.
    5. Save the file with an easily recognizable name and store it in a safe place for later use.
  2. 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.

  3. On the server, back up the storage folder. To do this, follow these steps:
    1. In Windows Explorer, browse to the folder in which MSMQ was installed (the default is C:\Program Files\MSMQ\Storage).
    2. Use either WinZip or another archiving tool to back up this folder, or copy this folder to another location on the system or network.
  4. Prepare the replacement server. To do this, follow these steps:
    1. Install Windows NT Server 4.0.
    2. Install Windows NT 4.0 Service Pack 3 or later.
    3. 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.

    4. Create a new database in SQL server and name it MQIS. Make the database 80 MB and its log file 20 MB.
    5. 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.
    6. 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.
    7. 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.
    8. 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.

    9. Upon successful completion of the setup, restore the Storage folder.
    10. Apply Windows NT 4.0 Service Pack 6a and restart the computer.
  5. Replace the faulty server on your network with the new server.

Modification Type:MinorLast Reviewed:7/2/2004
Keywords:kbhowto KB292751