Difference between revisions of "MATLAB Parallel Server in Red Cloud"

From CAC Documentation wiki
Jump to navigation Jump to search
(Created page with "== Assumptions == First time Login has been completed. Create key pair has been completed. == Create a Security Group == Create a Security Group with the following ports open...")
 
Line 14: Line 14:
 
: TCP (27000) 128.84.3.121/32
 
: TCP (27000) 128.84.3.121/32
  
== Start image ==
+
== Start Matlab Cluster ==
emi-ad5921ba  - if one time use note IP address
+
Currently one-node cluster is supported. In Euca Console:
if not - reserve an IP address and use it.
 
  
ssh to instance - if reserved IP address is used, associate the IP address to instance
+
* On the dashboard of the Euca console, click on the "Launch Instance" button.
 
+
* Select emi-XXXXX on the "Image" screen. Click on the Next button.
* mount /dev/vda3 /opt
+
* On the "Details" screen, select the desired instance type. One Matlab worker will be started per CPU in the instance. Click on the Next button.
 
+
* On the "Security" screen, select the ssh keypair you'd like to use to access the instance via ssh (optional), and select your Matlab security group.
* modify /etc/hostname to:
+
* Click on "Launch Instance"
euca-128-84-8-XXX.instances.redcloud.cac.cornell.edu
+
* After the instance is running, the Matlab cluster should be reachable at the instance public IP address.
* modify /etc/hosts
 
euca-128-84-8-XXX.instances.redcloud.cac.cornell.edu
 
 
 
* reboot
 
* cd /opt/MATLAB/R2016a/toolbox/distcomp/bin
 
* ./mdce start
 
* ./admincenter &
 

Revision as of 11:22, 1 September 2016

Assumptions

First time Login has been completed. Create key pair has been completed.

Create a Security Group

Create a Security Group with the following ports open, you can use the "Use my IP address" after entering the Custom TCP port ranges and the standard SSH port. The last port is to our License Manager - needed for MDCS.


TCP (14000 - 15000) 128.84.XXX.XXX/32
TCP (22) 128.84.XXX.XXX/32
TCP (27000 - 28000) 128.84.XXX.XXX/32
TCP (27000) 128.84.3.121/32

Start Matlab Cluster

Currently one-node cluster is supported. In Euca Console:

  • On the dashboard of the Euca console, click on the "Launch Instance" button.
  • Select emi-XXXXX on the "Image" screen. Click on the Next button.
  • On the "Details" screen, select the desired instance type. One Matlab worker will be started per CPU in the instance. Click on the Next button.
  • On the "Security" screen, select the ssh keypair you'd like to use to access the instance via ssh (optional), and select your Matlab security group.
  • Click on "Launch Instance"
  • After the instance is running, the Matlab cluster should be reachable at the instance public IP address.