...
- 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.
- Log into DVMAX Admin Client.
- Go to the Admin menu and choose Setup.
- Click on the Utilities menu and click the Display button in Advanced Settings.
- Click I Understand at the prompt of the Advanced Settings window.
- In the Filter menu, type in 'mirror' to keep your selection of settings relevant to mirroring.
- Set internal.dvmax.useMirroring to True.
- Click the '+' icon at the bottom left. A dialog will appear for you to fill out.
Add the following settings, choosing the following Key, Type and Value for each setting.
Key Type Value mirror.createLogFile Boolean True mirror.isMirrorServer Boolean False mirror.isPrimaryServer Boolean True
mirror.logFileNotification Boolean True mirror.mirrorLogFileFolder Text The full path to where the Mirror Server will parse Journal files from (ie. C:\journalfiles ) mirror.mirrorAlertSubject Text Log File Failure on Disaster Recovery (Mirror) Server mirror.mirrorAlertToAddress Text set this value to the admin email address that will want to see failures of the integration mirror.mirrorLogFileGeneratorDelay Number 120 (seconds between creating a new journal file) mirror.mirrorLogFileIntegratorDelay Number 180 (seconds between integrating a journal file on Mirror) Once the settings are saved, quit the DVMAX Admin Client.
On the DVMAX Server application, Click on File, then Database Settings.
Click the Backup icon and set the Backup schedule to Never.
Quit the DVMAX Server application.
Create a text file called isPrimaryServer.txt in the /Server Database/Resources/ folder.
Leave the Primary Server without DVMAX running for now.
...
- Move the entire datafile FROM the Primary Server TO the Mirror Server. This includes the following files:
- Datafile.4DD
- Datafile.4DIndx
- Datafile.4DSyncData
- Datafile.4DSyncHeader
- Datafile.Match
- Datafile.journal
- Create a text file called isMirrorServer.txt in the /Server Database/Resources/ folder.
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- Create a task with Windows Task Scheduler to run the copy.bat at 5 minute intervals.
- Launch the DVMAX Server application on the Mirror Server.
- Point it to the datafile copy you placed on this machine from the Primary Server.
- Go to the Edit menu and choose Database Settings.
- Click the Backup icon.
- Click the Configuration tab
- Uncheck Use Log File.
- Click the Scheduler tab.
- Set the Automatic Backup Schedule to Daily and select a time.
- Click on the HTTP Server tab and click Stop HTTP Server
- Click on the SQL Server tab and click Stop SQL Server
- Click the Application Server tab and click Reject new Connections
- This will prevent unwanted/accidental connections to the Mirror databaseClick OK.
- Quit the Mirror Server application, and relaunch it as a service.
Final Steps
Launch the DVMAX Application on the Primary Server. This will allow the entire setup workflow to begin.
...