MX on Windows OS: Difference between revisions

152 bytes added ,  12:42, 25 July 2021
m
m (Minor resequencing of page)
Line 174: Line 174:
!style="width:600px" | Interactively
!style="width:600px" | Interactively
!style="width:600px" | As Service
!style="width:600px" | As Service
|-
|- style="vertical-align:top;"
|Setting up
! scope="row" |Setting up
| To run Cumulus MX, Windows needs to know
| To run Cumulus MX, Windows needs to know
# which '''.exe''' you want to run (ExportToMySQL.exe, CalculateMissing.exe, or CumulusMX.exe)
# which '''.exe''' you want to run (ExportToMySQL.exe, CalculateMissing.exe, or CumulusMX.exe)
Line 226: Line 226:
# Type <code>CreateCmxResumeFromStandbyTask</code>, and press '''Enter''', this will create a Scheduled Task.  
# Type <code>CreateCmxResumeFromStandbyTask</code>, and press '''Enter''', this will create a Scheduled Task.  
#* The scheduled task will exist from now on, and will automatically restart the service (on resume from standby/hibernate).
#* The scheduled task will exist from now on, and will automatically restart the service (on resume from standby/hibernate).
|-
|- style="vertical-align:top;"
| (Re-)Starting MX
! scope="row" | (Re-)Starting MX
|  # First '''start the MX engine''' using your shortcut (created in one of the 3 ways as above), if it has not started when you started your computer
|  # First '''start the MX engine''' using your shortcut (created in one of the 3 ways as above), if it has not started when you started your computer
# Next '''start the admin interface''', it does not need to run all the time, but only when you need it , it normally runs on port 8998 (to vary that there is a '''-port''' parameter that is followed by required port and that port parameter has to be entered every time you start MX if you are not using the default port). More information on admin interface [[MX Administrative Interface|in separate article]].
# Next '''start the admin interface''', it does not need to run all the time, but only when you need it , it normally runs on port 8998 (to vary that there is a '''-port''' parameter that is followed by required port and that port parameter has to be entered every time you start MX if you are not using the default port). More information on admin interface [[MX Administrative Interface|in separate article]].
Line 239: Line 239:


Note that you may sometimes want to use one or more of the optional parameters when starting MX.
Note that you may sometimes want to use one or more of the optional parameters when starting MX.
|-
|-  
| Checking MX is still running
! scope="row"| Checking MX is still running
| Simply look in the Command window or Powershell window or Terminal window you used to start MX and left open.
| Simply look in the Command window or Powershell window or Terminal window you used to start MX and left open.
| You can use <code>sc query CumulusMX</code> at any time to check that the service is running.
| You can use <code>sc query CumulusMX</code> at any time to check that the service is running.
|-
|-
| Deleting shortcut/service
! scope="row"| Deleting shortcut/service
| If you have set up your short-cut in the '''Startup''' folder, you need to delete that short-cut (or move it to a sub-folder), to stop MX automatically starting when you restart your computer
| If you have set up your short-cut in the '''Startup''' folder, you need to delete that short-cut (or move it to a sub-folder), to stop MX automatically starting when you restart your computer
| To remove the Cumulus system service run <code>CumulusMX.exe - uninstall</code> as an Administrator using Command window or Powershell window or Terminal window (one of these will be offered when you right click the Windows/Start symbol) and type '''exit''' to leave that window.
| To remove the Cumulus system service run <code>CumulusMX.exe - uninstall</code> as an Administrator using Command window or Powershell window or Terminal window (one of these will be offered when you right click the Windows/Start symbol) and type '''exit''' to leave that window.
|-
|- style="vertical-align:top;"
| Stopping MX
! scope="row"| Stopping MX
| The recommended way is to click into the command window in which MX is running, ''hold down Control key'' and press '''C'''. It is normal for there to be a short wait, then a message "Cumulus Terminating" and then after another short wait, it will say "Cumulus Stopped" and immediately after that the command window  will be closed by MX.
| The recommended way is to click into the command window in which MX is running, ''hold down Control key'' and press '''C'''. It is normal for there to be a short wait, then a message "Cumulus Terminating" and then after another short wait, it will say "Cumulus Stopped" and immediately after that the command window  will be closed by MX.


5,838

edits