mps-service
Create or modify Windows service for server instance from command line on Windows systems
Syntax
Description
mps-service [-C [
creates a Windows® service for the server instance.path
\]server_name
]
create [--name name
] [--description description
]
[--user user
] [--password password
]
[--noprompt]
The Windows service default settings are:
Service Display Name: MATLAB Production Server –
path
\server_name
Service Description: MATLAB Production Server running instance
path
\server_name
Service User:
LocalSystem
The Windows service is configured to start when the machine
starts, not at creation of the service. After you have made configuration
changes, start the server instance using mps-start
.
mps-service [-C [
updates the Windows service entry for the server instance.path
\]server_name
]
update [--name name
] [--description description
]
[--user user
] [--password password
]
[--instance-root new_path
] [--noprompt]
mps-service [-C [
deletes the Windows service entry for the server instance. If you use the dashboard to
create and start server instances, do not use path
\]server_name
]
deletemps-service
to
delete server instances.
mps-service delete
deletes the Windows service entry by name. If you use the dashboard to create and
start server instances, do not use service_name
[[--force]|[-f]]mps-service
to delete
server instances.
mps-service clean [[--force]|[-f]][[--verbose]|[-v]]
deletes
invalid Windows service entries.
Invalid Windows service entries are entries where either the target version of MATLAB® Production Server™ is not present or the associated server instance no longer exists.
mps-service [-C [
restores the deleted Windows service entry for the server instance.path
\]server_name
]
undelete
mps-service [-C [
displays the Windows service entry for the server instance.path
\]server_name
]
mps-service list
lists the Windows service entries for all server instances.
Input Arguments
|
Path to server instance |
|
Name of the server instance |
|
Display name for the Windows service associated with the server instance |
|
Informational statement describing the Windows service associated with the server instance |
|
Windows account under which the service associated with the server instance should run. The user account must have read, write, and, delete permissions for the instance directory as well read and execute permissions for the MATLAB Production Server installation directory. |
|
Password for the service user account |
|
Updated path to server instance |
|
Indicate that no prompts are generated |
|
Force deletion without prompting |
|
Include details about why the service is not valid. |
Examples
Version History
Introduced in R2015a