Products & Services Solutions Academia Support User Community Company

Learn more about MATLAB Distributed Computing Server   

Setting Up Resources

Adding Hosts

To specify the hosts you want displayed in Admin Center, click Add or Find in the Welcome dialog box, or if this is not a new session, click Add or Find in the Hosts module.

In the Add or Find Hosts dialog box, identify the hosts you want to add to the listing by one of the following methods:

If one of the hosts you have specified is running a job manager, Admin Center will automatically find and list all the hosts running workers registered with that job manager. Similarly, if you specify a host that is running a worker, Admin Center will find and list the host running that worker's job manager, and also all hosts running other workers under that job manager.

Starting a Job Manager

To start a job manager, click Start in the Job Manager module.

In the New Job Manager dialog box, provide a name for the job manager, and select a host to run it on.

Alternative methods for starting a job manager include selecting the pull-down Job Manager > Start, or right-clicking a listed host and selecting, Start Job Manager.

With a job manager running on your cluster, Admin Center might look like the following figure, with the job manager listed in the Job Manager module, as well as being listed by name in the Hosts module in the line for the host on which it is running.

Starting Workers

To start MATLAB workers, click Start in the Workers module.

In the Start Workers dialog box, specify the numbers of workers to start on each host, and select the hosts to run them. From the list, select the job manager for these workers. Click OK to start the workers. Admin center automatically provides names for the workers, based on the hosts running them.

Alternative methods for starting workers include selecting the pull-down Workers > Start, or right-clicking a listed host or job manager and selecting, Start Workers.

With workers running on your cluster, Admin Center might look like the following figure, which shows the workers listed in the Workers module. Also, the number of workers running under the job manager is listed in the Job Manager module, and the number of workers for each job manager is listed in the Hosts module.

To get more information on any host, job manager, or worker listed in Admin Center, right-click its name in the display and select Properties. Alternatively, you can find the Properties option under the Hosts, Job Manager, and Workers drop-down menus.

Stopping, Destroying, Resuming, Restarting Processes

You can Stop or Destroy job managers and workers. The primary difference is that stopping a process shuts it down but retains its data; destroying a process shuts it down and clears its data. Use Resume to have a process continue with its existing data. When you use Restart, a dialog box requires you to confirm your intention of starting a new process while keeping or discarding data.

Moving a Worker

To move a worker from one host to another, you must completely shut it down, than start a new worker on the desired host:

  1. Right-click the worker in the Workers module list.

  2. Select Destroy. This shuts down the worker process and removes all its data.

  3. If the old worker host is not running any other MDCS processes (mdce service, job manager, or workers), you might want to remove it from the Admin Center listing.

  4. If necessary, add the new host to the Admin Center host listing.

  5. In the Workers module, click Start. Select the desired host in the Start Workers dialog box, along with the appropriate number and job manager name.

Use a similar process to move a job manager from one host to another. Note, however, that all workers registered with the job manager must be destroyed and started again, registering them with the new instance of the job manager.

Updating the Display

Admin Center updates its data automatically at regular intervals. To set the update rate, select an option from the Update list. Click Update Now to immediately update the display data.

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS