how to set a mdceuser?
3 次查看(过去 30 天)
显示 更早的评论
By default,a worker on a windows operating system installed as a service running as localsystem,so it does not have acess to mapped network drives.How to set the mdceuser and mdcepass? I need detail steps.
thanks!
0 个评论
回答(1 个)
Richard Alcock
2011-9-28
To change the user the MDCE service is running as you need to do the following on all the computers MDCE is running on.
1. From a Command Prompt, stop and uninstall MDCE. Note: this will destroy all your jobs.
$MATLABROOT\toolbox\distcomp\bin> mdce -clean stop
$MATLABROOT\toolbox\distcomp\bin> mdce uninstall
2. Open $MATLABROOT\toolbox\distcomp\bin\mdce_def.bat in a text editor
3. Change the line "set MDCEUSER=" to specify the user you want the MDCE service to run as.
4. Reinstall the MDCE service. This will prompt you for the password for the MDCEUSER account.
$MATLABROOT\toolbox\distcomp\bin> mdce install
5. Start the MDCE service
$MATLABROOT\toolbox\distcomp\bin> mdce start
6. Start jobmanager and workers as before.
IMPORTANT NOTE: This will not give MDCE access to the users mapped drives. Services, even when running as a real user, do not have the mapped drives that that user has when they log on interactively. You will need to refer to the locations by the full network (UNC) path - something like \\server\path\to\file. However, by changing the user, the MDCE service may now have permission to access this network location.
2 个评论
Richard Alcock
2013-1-15
On Windows, the full name of a user is specified like "DOMAINNAME\USERNAME" - the DOMAINNAME might be the same as the local computer the user is defined on, or might be something like your group, department or company name. You need to find the full username of the user you want the service to run as and then the mdce_def.bat file as above.
\\jcfy-pv\d\test
looks like an UNC path to me - they start with two slashs, and then the computer name.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!