Mike's PBX Cookbook

Replacing and Restoring a
SX-2000-SG Redundant Hard-Drive
using a DATA SAVE / DATA RESTORE diskette.

This procedure is documented in the Mitel SX-2000-SG Manual
Section-204, Commissioning: appendix-G. 

The Customer Database can be restored from a DATA SAVE diskette *or* from the active plane using the COPY FROM OTHER command. If using the later method, be sure to set the active plane for READ ONLY ACCESS prior to initiating a COPY FROM OTHER. The active plane must also be set to READ WRITE ACCESS prior to reloading in order to prevent database corruption. The restore method shown below does not require the active plane to be changed for read write protection.

1. FORMAT a FLOPPY in Mitel Format:

  1. Power-on disk drive
  2. Insert floppy
  3. If using MS2004 or higher, enter VOL FORMAT FLOPPY FORM
    Note: This command formats the floppy disk and assigns it a device name FORM.
  4. If using MS2003 or lower, enter VOL FORMAT 4 0 to format the floppy disk.
    Note: Use caution because VOL FORMAT 4 1 formats the Hard Drive!

2. Make a DATASAVE to the FLOPPY:

  1. Power-on the disk drive.
  2. Put a 5.25-inch diskette in the drive.
  3. Enter: VOL MOUNT FLOPPY
    Note: The diskette drive red light will come on and stay-on.
    Wait for a message:  MOUNTED VOLUME with name FORM
  4. Enter: DATA SAVE *.FORM  (Watch for messages indicating that files are being backed-up).
    Note: This step takes about 40 minutes to complete.
    Wait for a message stating: “SAVE COMPLETED”
  5. Enter: VOL DISMOUNT FORM
    Note: The red light on disk drive will go off.
    Wait for a message stating: DISMOUNTED VOLUME
  6. Remove the diskette and label/date it with the name: DATA SAVE *.FORM
  7. Turn the diskette drive off.

3. PARTITION the ACTIVE PLANE :

Note: In this example, plane-A is assumed to be active.

  1. Logon to active plane-A.
  2. Enter: PARTITION

4. If possible, PARTITION the INACTIVE PLANE:

Note: If the inactive plane-B cannot be accessed, skip on to step-5.

  1. Logon to inactive plane-B.
  2. Enter: PARTITION

5. REMOVE THE DEFECTIVE SCSI DRIVE:

Label the two SCSI connector cables on the back of the defective SCSI so they can be reconnected in the same positions.  Power-off the defective SCSI drive by flipping-off the power switch on the back left side of the SCSI drive. Disconnect the power connector cable from the bulk-head assembly on top of the PBX.

6. INSTALL THE NEW SCSI DRIVE:

  1. Install the new SCSI drive by attaching the two SCSI cables as well as power connector.
  2. Power-on the new SCSI drive servicing plane-B and wait 5 minutes.

7. CHECK FOR A MITEL OPERATING SYSTEM:

  1. Press  <ctrl-W> while in the plane-B screen and check for a DESKTOP screen.  If nothing appears, change the terminal baud to 1200 and retry.  The terminal baud is changed by pressing F3 on the keyboard and selecting COMM.  If nothing appears, an operating system may need to be installed on the SCSI drive. Contact tech-support for further guidance.
  2. Verify that plane-B processor cards have loaded and are no longer in an alarm condition.
    Note: Conference and Tone Detector cards may be in alarm since the message links are down.

8. RESET BAUD RATES:

Upon seeing a DESKTOP screen, logon as INSTALLER with password SX2000.  Select  MAINTENANCE and reprogram the PBX BAUD as 9600 if set to 1200.  This is done by entering BAUD 9600.  Change the terminal BAUD to 9600 by pressing F3 on the keyboard and selecting COMM.  Press F3 to escape back to the DESKTOP screen.

9. PARTITION the new INACTIVE PLANE-B:

Note: In this example, plane-A is assumed to be active.

  1. Logon to inactive plane-B.
  2. Enter: PARTITION

10. MAKE A BLANK DATABASE on the INACTIVE PLANE-B:

On the screen for inactive plane-B, enter DBMS FLAG OFF in order to load a blank database during the next reload or restart.

11. LOAD the INACTIVE PLANE-B with a BLANK DATABASE: 

Note: This will cause a blank database to be loaded onto the inactive plane-B.  A blank database is needed in order to perform a DATA RESTORE)

Go to the PBX Maintenance Panel and simultaneously press: PANEL ENABLE,  RESTART.

12. RESTORE PLANE-A DATABASE onto inactive Plane-B:

Note: This procedure requires about 45 minutes.

  1. Insert the Mitel floppy disk into the floppy disk unit and close the drive latch.
  2. Enter: DATA RESTORE *.FORM  (enter this command on inactive-B plane)
  3. Enter CONTINUE when prompted to delete the old log file.
  4. Enter CONTINUE if prompted a second time.
  5. Wait for a message stating “DATA RESTORE COMPLETE”.
    Note-1: The DATA RESTORE command loads the customer database into RAM only on Inactive Plane-B since the system is partitioned.   (If the system was not partitioned, the database would be written to both drives).
    Note-2: The database cannot be viewed until it is written to the Hard Disk via the DBMS SAVE command.   DBMS SAVE also sets the DBMS INITIALIZED FLAG ON.
  6. Enter: DBMS SAVE  (enter this command on the inactive plane-B)
  7. Exit Maintenance and logon to CUSTOMER DATA.  Verify that accurate customer data is present on plane-B and that it matches the data on plane-A.
    Note: Passwords for each plane may be different . Newly loaded plane-B will probably use default passwords while plane-A will use passwords that were previously defined.
  8. Reset the passwords on the inactive plane-B to match the active plane password.
    Note: Enter HELP CHange Password for assistance.
  9. Compare the DIMENSIONS and FEATURES table on both planes. Contact tech-support if they do not match EXACTLY! Do NOT proceed any farther if they don’t match!

13. SWITCH ACTIVITY TO NEWLY RESTORED PLANE(B):

Simultaneously press the buttons labelled:  PANEL ENABLE and ACTIVITY SWITCH.

Note-1: All call processing will “crash” for about 20 to 30 minutes while the new plane is loaded and plane-B becomes active. If inactive plane-B was not healthy, the system would not permit an activity switch. The activity switch, in effect, tests to see if plane-B is healthy.

Note-2:  The PBX system drops all calls because the processors are not IN-SYNCH and are not mirroring each others activities. 

14. JOIN INACTIVE and ACTIVE PLANES:

  1. Wait for  PBX plane-B to load and become stable.
  2. Logon to inactive plane-A, enter JOIN and wait about 5 minutes.
  3. Logon to active plane-B and enter JOIN.

15. CHECK FOR DATABASE SYNCHRONIZATION:

  1. After joining active plane-B, the PBX will most likely go into a Major Alarm for about 30 minutes while it is getting the database planes IN-SYNCH. Lots of disk activity will be seen between the redundant SCSI Hard Drives during this time.
  2. On active plane-B, enter DBMS STAT to see if the database is IN SYNCH. Do the same on the inactive plane-A. Generally, Active Plane-B will be IN SYNCH and Inactive Plane-A will be OUT of SYNCH until the database is SYNCHed.

16. CHECK FOR A HEALTHY PBX SYSTEM:

  1. Type the following comands on both planes:
  2. Check for ALARMS by entering AL or SH STAT AL.
  3. Verify that DATE and TIME are correct.
  4. Verify that the ACTIVITY FREEZE is OFF.
  5. Ensure that an ACTIVITY SWITCH is schedule for each plane (ACT SW SCHED)
  6. Ensure that DBMS CHECK ON is enabled on both planes.