MATLAB DISTRIBUTED COMPUTING SERVER 4 - SYSTEM ADMINISTRATORS GUIDE Manuel d'utilisateur

Naviguer en ligne ou télécharger Manuel d'utilisateur pour Serveurs MATLAB DISTRIBUTED COMPUTING SERVER 4 - SYSTEM ADMINISTRATORS GUIDE. MATLAB DISTRIBUTED COMPUTING SERVER 4 - SYSTEM ADMINISTRATORS GUIDE User manual Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer

Résumé du contenu

Page 1 - System Administrator’s Guide

MATLAB®Distributed Computing Engine 3System Administrator’s Guide

Page 2 - Natick, MA 01760-2098

1 IntroductionWhat Are the Distributed Computing Products?In this section...“Overview” on page 1-2“Determining Product Installation and Versions” on p

Page 3 - Revision History

What Are the Distributed Computing Products?MATLAB WorkerSchedulerorJob ManagerMATLAB ClientDistributedComputingToolboxMATLAB DistributedComputing Eng

Page 4

1 IntroductionToolbox and Engine ComponentsIn this section...“Job Managers, Workers, and Clients” on page 1-4“Third-Party Schedulers” on page 1-6“Comp

Page 5 - Contents

Toolbox and Engine ComponentsWorkerSchedulerorJob ManagerClientWorkerWorkerClientJobAll ResultsJobAll ResultsTaskResultsTaskResultsTaskResultsInteract

Page 6 - Control Scripts — By Category

1 IntroductionThird-Party SchedulersAs an alternativetousingtheMathWorksjobmanager,youcanuseathird-party scheduler. This could be Windows CCS, Platfor

Page 7

Toolbox and Engine ComponentsIf you have a large cluster, you probably already have a sche duler. Consultyour MathWorks repres entative if you have qu

Page 8

1 IntroductionUsing Distributed Computing ToolboxA typical Distributed Computing Toolbox client session includes the followingsteps:1 Find a Job Manag

Page 9 - Introduction

2Network AdministrationThis chapter provides information useful for network administration ofDistributed Computing Toolbox and MATLAB Distributed Comp

Page 10 - 1 Introduction

2 Network AdministrationPreparing for Distributed ComputingIn this section...“Before You Start” on page 2-2“Planning Your Network Layout” on page 2-2“

Page 11

Preparing for Distributed ComputingSession Product ProcessesClient Distributed ComputingToolboxMATLAB with toolboxWorker MATLAB DistributedComputing E

Page 12 - Toolbox and Engine Components

How to Contact The MathWorkswww.mathworks.comWebcomp.soft-sys.matlab Newsgroupwww.mathworks.com/contact_TS.html Technical [email protected]

Page 13

2 Network AdministrationSecurity ConsiderationsThe distributedcomputing products do not provide any security measures.Therefore, you should be aware o

Page 14

Installing and ConfiguringInstalling and ConfiguringTo find the most u p-to-date instructions for installing and configuring thecurrent or past versio

Page 15 - Clusters

2 Network AdministrationShutting Down a Job Manager ConfigurationIn this section...“UNIX and Macintosh” on page 2-6“Windows” on page 2-8If you are don

Page 16

Shutting Down a Job Manager ConfigurationIf you have more than one worker session running, you can stop each ofthem individually by host and name.stop

Page 17 - Network Administration

2 Network AdministrationWindowsStopping the Job Manager and Workers1 To shut down the job manager, enter the commandscd matlabroot\toolbox\distcomp\ b

Page 18 - 2 Network Administration

Shutting Down a Job Manager Configurationcd matlabroot\toolbox\distcomp\ binmdce stopIf you plan to uninstall MATLAB Distributed Computing Engine from

Page 19 - Fully Q ualified Domain Names

2 Network AdministrationCustomizing Engine ServicesIn this section...“Defining the Script Defaults” on page 2-10“Overriding the Script Defaults” on pa

Page 20 - LocalSys

Customizing Engine ServicesSetting the UserBy default, the job manager and worker services run as the user who startsthem. You can run the services as

Page 21 - Installing and Configuring

2 Network Administration• matlabroot\toolbox\distcomp\bin\mdce_def.bat (Windows)•matlabroot/toolbox/distcomp/bin/mdce_def.sh (UNIX or Macintosh)Before

Page 22

Accessing Service Record FilesAccessing Service Record FilesIn this section...“Locating Log Files” on page 2-13“Locating Checkpoint Directories” o n p

Page 23

Revision HistoryNovember 2005 Online only New for Version 2.0 (Release 14SP3+)December 2005 Online only Revised for Version 2.0 (Release 14SP3+)March

Page 24

2 Network AdministrationLocating Checkpoint DirectoriesCheckpoint directories contain information related to persistence data, whichthe engine service

Page 25

Accessing Service Record FilesPlatform File LocationWindows On Windows systems, the defaultlocation of the checkpoint directories is<TEMP>\MDCE\

Page 26 - Customizing Engine Services

2 Network AdministrationTroubleshootingIn this section...“License Errors” on page 2-16“Verifying Multicast Communications” on page 2-18“Memory Errors

Page 27 - Setting the User

Troubleshooting• If you receive this error when starting a worker with the DistributedComputing Engine- You may be calling the startworker command fro

Page 28

2 Network AdministrationHave your MATL AB administrator ve rify that the license manageris running and validate network services.For more infor mation

Page 29 - Locating Log Files

TroubleshootingInside MATLAB, the class would be used as follow s.m = com.mathworks.toolbox.distcomp.test.Multicast Tester('239.1.1.1', 9999

Page 30

2 Network AdministrationRequired PortsUsing a Job ManagerBASE_PORT. The ports required by the job manager and all workers arespecified and described i

Page 31

Troubleshooting3 On the Edit menu, click New, and then add the following registry entry:Value Name: MaxUserPortValue Type: DWORDValue data: 65534Valid

Page 32 - Troubleshooting

2 Network Administration2-22

Page 33

3Control Scripts — ByCategoryMDCE Control (p. 3-2)Control mdce serviceJob Manager Control (p. 3-2)Control job managerWorker Control (p. 3-2)Control MA

Page 35 - Installation

3 Control Scripts — By CategoryMDCE Controlmdce Install, start, stop, or uninstall mdceservicenodestatus Status of MDCE processes runningon nodeJob Ma

Page 36

4Control Scripts —Alphabetical List

Page 37 - Client Ports

mdcePurpose Install, start, stop, or uninstall mdce serviceSyntax mdce installmdce uninsta llmdce startmdce stopmdce consolemdce restartmdce ... -md c

Page 38

mdcemdce ... -mdcedef <mdce_defaults_file> uses the specifiedalternativemdcedefaultsfileinsteadoftheonefoundinmatlabroot/toolbox/distcomp/bin.md

Page 39 - Category

nodestatusPurpose Status of M DCE processes running on nodeSyntax nodestatusnodestatus - flag sDescription nodestatus displays the status of the mdce

Page 40 - Worker Control

nodestatusExamples Display basic information about the mdce processes on the local host.nodestatusDisplay detailed information about the status of the

Page 41 - Alphabetical List

star tjobmanagerPurpose Start job manager processSyntax startjobmanagerstartjobmanager -flagsDescription startjobmanager starts a job manager process

Page 42 - Syntax mdce install

star tjobmanagerFlagOperation-multicastOverrides the use of unicast tocontact the job manager lookupprocess. It is recommendedthat you not use-multica

Page 43

star tjobmanagerStart the job manager MyJ obManager on the host JMHost.startjobmanager -name MyJobManage r -remotehost J MHostSee Also mdce, nodestatu

Page 44 - Syntax nodestatus

startworkerPurpose Start MATLAB worker sessionSyntax startworkerstartworker -flagsDescription startworker starts a MATLAB w orker p rocess under the m

Page 45

ContentsIntroduction1What Are the Distributed Computing Products? ... 1-2Overview... 1-2Determining Product In

Page 46 - Syntax startjobmanager

star tworkerFlagOperation-jobmanagerhost <jmhostname>Specifies the host on which thejob manager is running by using-jobmanagerhost.Theworkerwill

Page 47

startworkerFlagOperation-baseport <port _nu mber>Specifies the base port that themdce service on the remote hostis using. You only need to speci

Page 48

star tworkerSee Also mdce, nodestatus, startjobmanager , stopjobmana ger, stopwor ker4-12

Page 49 - Syntax startworker

stopjobmanagerPurpose Stop job manager processSyntax stopjobmanagerstopjobmanager -flagsDescription stopjobmanager stops a job manager that is running

Page 50

stopjobmanagerExamples Stop the job manager MyJobManager on the local host.stopjobmanager -name MyJobManagerStop the job manager MyJobManager on the h

Page 51

stopworkerPurpose Stop MATLAB worker sessionSyntax stopworkerstopworker - flag sDescription stopworker stops a MATLAB worker process that is running u

Page 52

stopworkerExamples Stop the worker with the default name on the local host.stopworkerStop the worker with the default name, running on the computerWor

Page 53 - Syntax stopjobmanager

GlossaryGlossaryCHECKPOINTBASEThenameoftheparameterinthemdce_def file that defines the locationof the job manager and worker checkpoint directories.ch

Page 54

Glossarydistributed computingComputing with distributed applications, running the application onseveral nodes simultaneously.distributed computing dem

Page 55 - Syntax stopworker

GlossaryjobThe complete large-scale operation to p erform in MATLAB, composedof a set of tasks.job managerThe MathWorks process that q ueues jobs and

Page 56

Defining the Script Defaults ... 2-10Overriding the Script Defaults... 2-11Accessing Servic e Record Files..

Page 57 - Glossary

GlossarymdceThe service that has to run on all machines before they can run a jobmanager or worker. This is the engine foundation p rocess, making sur

Page 58 - Glossary-2

GlossaryschedulerThe process, either third-party or the MathWorks job manager, thatqueues jobs and assigns tasks to workers.taskOne segment of a job t

Page 59 - Glossary-3

GlossaryGlossary-6

Page 60 - Glossary-4

IndexIndexAadministrationnetwork 2-1Ccheckpoint directorydefinition Glo ssary-1locating 2-14CHECKPOINTBASEdefinition Glo ssary-1clean statestarting se

Page 61 - Glossary-5

Indexdatabasedefinition Glo ssary-3definition Glo ssary-3logs 2-13lookup processdefinition Glo ssary-3multiple on one machine 2-10process 1-4stoppingo

Page 62 - Glossary-6

Indexlicense errors 2-16memory erro rs 2-19verifying multicast 2-18Windows network installation 2-19Uusersetting 2-11Wworkerdefinition Glo ssary-5proc

Page 63

Control Scripts — Alphabetical List4GlossaryIndexvii

Page 64

viii Contents

Page 65

1IntroductionThis chapter provides an introduction to the co nce pts and terms of DistributedComputing Toolbox and MATLAB®Distributed Computing Engine

Commentaires sur ces manuels

Pas de commentaire