MX on Windows OS: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
1,687 bytes added ,  06:40, 23 May 2021
m
m (Text replacement - "[[MXDiags" to "[[MXdiags")
Line 140: Line 140:




==Running MX as a service==
==Running MX as a service on Microsoft Windows==


# Navigate to the folder with your MX installation.
# Start MX (as an administrative user) using <code>CumulusMX.exe - install</code>
#* There are other optional parameters (described later e.g. -port, -debug, -locale) you can add by editing registry
# MX is now set up as a service.


<div style="background: LemonChiffon;padding:5px; margin:2px;">
[[File:Crystal Clear info.png|40px]] This section has not yet been written!
</div>




You might be able to work it out from reading the Linux equivalent [[MX_on_Linux#Setting_up_as_a_service]].
:To remove the Cumulus system service run it as an Administrator using the command line parameter -uninstall
 
===MX as a service and adding parameters===
 
# To add parameters to the service when it starts automatically you will have to edit the registry
# Right click the Windows button at left hand edge of taskbar (often at bottom of your screen)
# Choose '''Run'''
# Type '''regedit''' (and press ENTER)
# Navigate to '''HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CumulusMX'''
#* Hint, you can expand at any level by clicking the '''>''' in the navigation panel
#* Similarly, contract by clicking on '''&or;''' in the navigation panel
# Right Click on '''ImagePath'''
# Select '''Modify'''
# You should see '''"C:\CumulusMX\CumulusMX.exe"'''
# Now you can add parameters as per [[#Optional_parameters_to_add_to_the_instruction_to_run_the_MX_engine]]
#* For example modify to ''' "C:\CumulusMX\CumulusMX.exe" -port 9000''' to add port
#* For example modify to ''' "C:\CumulusMX\CumulusMX.exe" -debug''' to add full debugging
 
=== Stooping and starting the MX service===
 
* Either, the Services applet:- services.msc (You can pass parameters using this tool, but they are not saved for future use)
* Or, the service command line tool:- sc start|stop|query CumulusMX [optional parameters for start-up here]
 
 
===MX as a service and standby===
 
The service will stop itself if it detects that the computer is going into standby
 
In your MX release distribution, navigate to '''CumulusMX\MXutils\windows'''.
 
Find file '''CreateCmxResumeFromStandbyTask.ps1''' for resuming MX after Microsoft Windows has gone into standby.


== Setting up for either manual or automatic running (without service) ==
== Setting up for either manual or automatic running (without service) ==
5,838

edits

Navigation menu