Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. You will need to configure all Mirror related settings first on the Primary Server, because once the Mirror server is up, no further changes can be made to that database.
  2. Log into DVMAX Admin Client.
  3. Go to the Admin menu and choose Setup.
  4. Click on the Utilities menu and click the Display button in Advanced Settings.
  5. Click I Understand at the prompt of the Advanced Settings window.
  6. In the Filter menu, type in 'mirror' to keep your selection of settings relevant to mirroring.
  7. Set internal.dvmax.useMirroring to True.
  8. Click the '+' icon at the bottom left. A dialog will appear for you to fill out.
  9. Add the following settings, choosing the following Key, Type and Value for each setting.

    KeyTypeValue
    mirror.createLogFileBooleanTrue
    mirror.isMirrorServerBooleanFalse
    mirror.isPrimaryServerBoolean

    True

    mirror.logFileNotificationBooleanTrue
    mirror.mirrorLogFileFolderTextThe full path to where the Mirror Server will parse Journal files from (ie. C:\journalfiles )
    mirror.mirrorAlertSubjectTextLog File Failure on Disaster Recovery (Mirror) Server
    mirror.mirrorAlertToAddressTextset this value to the admin email address that will want to see failures of the integration
    mirror.mirrorLogFileGeneratorDelayNumber120 (seconds between creating a new journal file)
    mirror.mirrorLogFileIntegratorDelayNumber180 (seconds between integrating a journal file on Mirror)
  10. Once the settings are saved, quit the DVMAX Admin Client.

  11. On the DVMAX Server application, set the Backup schedule to Never.

  12. Quit the DVMAX Server application.

  13. Create a text file called isPrimaryServer.txt in the /Server Database/Resources/ folder.

  14. Leave the Primary Server without DVMAX running for now.

...

  1. Move the entire datafile FROM the Primary Server TO the Mirror Server. This includes the following files:
    1. Datafile.4DD
    2. Datafile.4DIndx
    3. Datafile.4DSyncData
    4. Datafile.4DSyncHeader
    5. Datafile.Match
    6. Datafile.journal
  2. Create a text file called isMirrorServer.txt in the /Server Database/Resources/ folder.
  3. Create copy.bat file with robocopy or /copy/delete rules that will copy the journal files from the Primary Server to the folder path specified in your mirror.mirrorLogFileFolder setting.

    Info

    Example script:
    copy \\primaryserver\Data\[*.journal E:\DVMaxResearch\Server\Data\ /y
    del \\primaryserver\Data\[*.journal

  4. Create a task with Windows Task Scheduler to run the copy.bat at 5 minute intervals.
  5. Launch the DVMAX Server application on the Mirror Server.
  6. Point it to the datafile copy you placed on this machine from the Primary Server.
  7. Go to the Edit menu and choose Database Settings.
  8. Click the Backup icon.
  9. Click the Configuration tab
  10. Uncheck Use Log File.
  11. Click the Scheduler tab.
  12. Set the Automatic Backup Schedule to Daily and select a time.
  13. Click on the HTTP Server tab and click Stop HTTP Server
  14. Click on the SQL Server tab and click Stop SQL Server
  15. Click the Application Server tab and click Reject new Connections
  16. This will prevent unwanted/accidental connections to the Mirror database.

...