Domino Automation - How to Migrate Server (.mdf & .ldf)

Safety Note

This document applies to:

  • The Domino Printing group
  • The IT department of Domino's customers
  • The end user of the Domino Designer software
  • The end user of the Domino Automation software

Description

This document aims to outline the steps to migrate a Domino Automation 300 system, including the SQL Express database, from an old server to a new server.

✍️ NOTE

  • Administrative rights are required to perform migration operations.
  • The new server will need to be restarted.
    • It's important to plan accordingly, either by choosing an appropriate time for migration or by notifying relevant colleagues about the upcoming server restarts.

Step 1

Perform a Manual Backup (.mdf & .ldf) on Previous / Old Server

✍️ NOTE

In this scenario, the Automation project name to backup Domino Automation

 

  1. Open Windows services



  2. Search for "SQL Server (INSTANCE_NAME)"



  3. Right-click / "Stop" the service.

          



  4. Right-click, then "Properties" on SQL Server (INSTANCE NAME).



  5. Change the "Startup Type" to "Disabled"



  6. The SQL service is now stopped and disabled on the old server

  7. Open File Explorer



  8. Navigate to the directory

    1. C:\Program Files\Microsoft SQL Server\MSSQLXX.INSTANCE_NAME\MSSQL\DATA

  9. Example of path



  10. The directory contains several .mdf and .ldf files



  11. Copy the following 4 files



  12. Paste these files into a backup device or directory



  13. Result:



  14. The database has been manually backed up.

  15. You may shut down the previous (old) server now.

Step 2

Install the Software and Database on the New Server

  1. Download Domino Automation Setup

  2. Extract "designer-designer-xxxx.zip" into the C\temp directory.



  3. Right-click and run the "Automation_setup_XXXX.exe" setup as an administrator.



  4. The following screen appears, click "Next"



  5. Read and accept the License Agreement, click Next



  6. Install MQTT (Mosquitto Broker) if needed



  7. Click on "Install" to automatically install the instance, the database, and the software



  8. Wait while the software and database are being installed





  9. At the end of the setup, the following window is shown



  10. Confirm the end of the setup by clicking on "Finished."

Step 3

Restore the Database through .mdf & .ldf Methodology on New Server

  1. Open Windows explorer



  2. Connect the backup device that includes the .mdf & .ldf files of the database



  3. Copy the 4 .mdf & .ldf files.



  4. Navigate to the "DATA" directory of SQL

    1. C:\Program Files\Microsoft SQL Server\MSSQL16.DASQL\MSSQL\BackupC:\Program Files\Microsoft SQL Server\MSSQL16.DASQL\MSSQL\DATA

  5. Then paste the backups



  6. Result



  7. Install then open SQL management studio



  8. Connect to the instance



  9. Several possibilities to enter in "Server Name" for the connection

    1. SERVER_NAME\INSTANCE_NAME
    2. SERVER_IP\INSTANCE_NAME

  10. After connecting, the following page appears



  11. Left-click on the "+" located next to "Databases"



  12. Right-click on "Databases" then choose "Attach"



  13. Click on "Add..."



  14. Select the first file "Domino Automation.mdf" and then click "OK"



  15. Click on "Add..." again



  16. Select the second file "Domino Automation_Metrics.mdf" and then click "OK"



  17. Result:



  18. Validate the restoration by clicking "OK"



  19. Your restored database files should now appear in the directory



  20. That means the system has been successfully migrated and restored.

Step 4

Configure Database Owner on New Server

✍️ NOTE

On Domino Automation, if the following message pops up while opening a project

“Owner of database <project_name> must be ‘TeeDbo’ or another local MSSQL login”

The account “TeeDbo” has to be configured as the DBowner & Enable Broker.

 

  1. Open SQL management studio



  2. Connect to your SQL server’s instance



    1. SERVER_NAME\INSTANCE_NAME
    2. SERVER_IP\INSTANCE_NAME

  3. Right-click, then properties on the <project_name>



  4. Navigate to the “Files” menu

       

  5. The database owner is blank, select the triple dots […]



  6. Click on “Browse…”



  7. Select “TeeDbo”



  8. Confirm with “Ok”





  9. Before validating, clic on "Options"



  10. Scroll to the bottom, the "Broker" must be Enabled



  11. Validate through “OK”

    Repeat the same steps for the Metric Database.

  12. Right-click / properties on the <project_name_Metrics>



  13. Navigate to the “Files” menu

       

  14. The database owner is blank, select the triple dots […]



  15. Click on “Browse…”



  16. Select “TeeDbo”



  17. Confirm with “Ok”





  18. Before validating, click on "Options"



  19. Scroll to the bottom, the "Broker" must be Enabled

Step 5

Update Server Name in Automation on New Server

  1. Open Domino Automation



  2. The software will load the available projects, select the right project to open then click on "Existing project"



  3. The software loads the project and show the home page



  4. Open the « Network » menu



  5. Click on « Controller services »



  6. If the database comes from another server or machine, you need to enter your machine's DNS name in the "network address"



  7. This information can be found in "Control Panel / System"



  8. Check the "Full computer name" line



  9. After entering the correct machine name, the field is no longer red



  10. Validate with the check mark at the top right



  11. Approve and OK

     



  12. By navigating through the different menus (for example, "Devices"), it is possible to verify the presence of the configuration that was present on the old server



  13. The migration was successful

Attachments

  1. image.png
  2. image (1).png
  3. image (10).png
  4. image (100).png
  5. image (101).png
  6. image (102).png
  7. image (103).png
  8. image (104).png
  9. image (105).png
  10. image (106).png
  11. image (107).png
  12. image (108).png
  13. image (109).png
  14. image (11).png
  15. image (110).png
  16. image (111).png
  17. image (112).png
  18. image (113).png
  19. image (114).png
  20. image (115).png
  21. image (116).png
  22. image (117).png
  23. image (118).png
  24. image (119).png
  25. image (12).png
  26. image (120).png
  27. image (121).png
  28. image (122).png
  29. image (123).png
  30. image (124).png
  31. image (125).png
  32. image (126).png
  33. image (127).png
  34. image (128).png
  35. image (13).png
  36. image (130).png
  37. image (131).png
  38. image (132).png
  39. image (134).png
  40. image (135).png
  41. image (136).png
  42. image (137).png
  43. image (139).png
  44. image (14).png
  45. image (140).png
  46. image (142).png
  47. image (143).png
  48. image (144).png
  49. image (146).png
  50. image (147).png
  51. image (148).png
  52. image (15).png
  53. image (150).png
  54. image (151).png
  55. image (152).png
  56. image (153).png
  57. image (154).png
  58. image (156).png
  59. image (157).png
  60. image (158).png
  61. image (159).png
  62. image (16).png
  63. image (160).png
  64. image (161).png
  65. image (162).png
  66. image (163).png
  67. image (164).png
  68. image (165).png
  69. image (166).png
  70. image (168).png
  71. image (169).png
  72. image (17).png
  73. image (170).png
  74. image (171).png
  75. image (172).png
  76. image (173).png
  77. image (174).png
  78. image (175).png
  79. image (177).png
  80. image (178).png
  81. image (179).png
  82. image (18).png
  83. image (180).png
  84. image (182).png
  85. image (183).png
  86. image (184).png
  87. image (186).png
  88. image (187).png
  89. image (19).png
  90. image (190).png
  91. image (191).png
  92. image (193).png
  93. image (194).png
  94. image (196).png
  95. image (197).png
  96. image (199).png
  97. image (2).png
  98. image (20).png
  99. image (201).png
  100. image (202).png
  101. image (203).png
  102. image (205).png
  103. image (206).png
  104. image (208).png
  105. image (210).png
  106. image (211).png
  107. image (213).png
  108. image (214).png
  109. image (215).png
  110. image (216).png
  111. image (217).png
  112. image (218).png
  113. image (219).png
  114. image (22).png
  115. image (220).png
  116. image (221).png
  117. image (222).png
  118. image (223).png
  119. image (224).png
  120. image (225).png
  121. image (226).png
  122. image (227).png
  123. image (228).png
  124. image (229).png
  125. image (230).png
  126. image (231).png
  127. image (232).png
  128. image (233).png
  129. image (234).png
  130. image (235).png
  131. image (236).png
  132. image (237).png
  133. image (238).png
  134. image (239).png
  135. image (24).png
  136. image (240).png
  137. image (241).png
  138. image (242).png
  139. image (243).png
  140. image (244).png
  141. image (245).png
  142. image (246).png
  143. image (247).png
  144. image (248).png
  145. image (249).png
  146. image (250).png
  147. image (251).png
  148. image (252).png
  149. image (253).png
  150. image (254).png
  151. image (255).png
  152. image (256).png
  153. image (257).png
  154. image (26).png
  155. image (271).png
  156. image (274).png
  157. image (275).png
  158. image (28).png
  159. image (29).png
  160. image (290).png
  161. image (3).png
  162. image (31).png
  163. image (33).png
  164. image (35).png
  165. image (37).png
  166. image (38).png
  167. image (4).png
  168. image (41).png
  169. image (42).png
  170. image (43).png
  171. image (44).png
  172. image (45).png
  173. image (46).png
  174. image (47).png
  175. image (48).png
  176. image (49).png
  177. image (5).png
  178. image (50).png
  179. image (51).png
  180. image (52).png
  181. image (53).png
  182. image (54).png
  183. image (55).png
  184. image (56).png
  185. image (58).png
  186. image (59).png
  187. image (6).png
  188. image (61).png
  189. image (62).png
  190. image (63).png
  191. image (65).png
  192. image (66).png
  193. image (68).png
  194. image (69).png
  195. image (7).png
  196. image (70).png
  197. image (71).png
  198. image (72).png
  199. image (73).png
  200. image (74).png
  201. image (75).png
  202. image (76).png
  203. image (77).png
  204. image (78).png
  205. image (79).png
  206. image (8).png
  207. image (80).png
  208. image (81).png
  209. image (82).png
  210. image (83).png
  211. image (84).png
  212. image (85).png
  213. image (86).png
  214. image (87).png
  215. image (88).png
  216. image (89).png
  217. image (9).png
  218. image (90).png
  219. image (91).png
  220. image (92).png
  221. image (93).png
  222. image (94).png
  223. image (95).png
  224. image (96).png
  225. image (97).png
  226. image (98).png
  227. image (99).png