<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4935465969599035623</id><updated>2011-07-30T12:56:50.359-07:00</updated><category term='matlab'/><category term='install'/><category term='debian'/><category term='mdce'/><category term='guide'/><category term='cluster'/><title type='text'>Cluster Admin</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://cluster-admin.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4935465969599035623/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://cluster-admin.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>uid1000</name><uri>http://www.blogger.com/profile/05005747866948976546</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4935465969599035623.post-8323546361185417790</id><published>2009-06-07T20:40:00.000-07:00</published><updated>2009-06-07T21:26:10.592-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='install'/><category scheme='http://www.blogger.com/atom/ns#' term='debian'/><category scheme='http://www.blogger.com/atom/ns#' term='cluster'/><category scheme='http://www.blogger.com/atom/ns#' term='guide'/><category scheme='http://www.blogger.com/atom/ns#' term='matlab'/><category scheme='http://www.blogger.com/atom/ns#' term='mdce'/><title type='text'>Moving in</title><content type='html'>So the topic of the summer is how to setup a cluster of machines and get them to talk to each other with the purpose of solving some difficult computation.&lt;br /&gt;&lt;br /&gt;This is very interesting from theoretical CS point of view (what can be parallelized and what can't), but I don't think I am qualified to speak about that.&lt;br /&gt;&lt;br /&gt;I am more of a practical guy.&lt;br /&gt;Today I will tell you how far I have come so far.&lt;br /&gt;&lt;br /&gt;HARDWARE:&lt;br /&gt;The department I work for purchased 9 servers recently. They are IBM machines. U1 Rack mounted dual quad core servers. One of the machines is the "head node" which has also a storage array attached to it.&lt;br /&gt;&lt;br /&gt;OS INSTALL:&lt;br /&gt;We run an all &lt;a href="http://www.debian.org/releases/stable/"&gt;debian&lt;/a&gt; operation at work and the debian of 2009 is "lenny" so I went down to the server room with an install CD and a couple of minues later I had the machines installed. If you have several monitors you can parallelize the install process.&lt;br /&gt;Debian, by the way, has gotten REALLY good on the installer part. While installing the network card the installer realized that it was missing some firmware to get it going. It prompts the user "do you want to load firmware from removable media?".&lt;br /&gt;If you say yes and there is a USB stick with the downloaded .deb firmware package the installer will load it up and continue.&lt;br /&gt;This is the kind of installation functionality I enjoy. No more going through dmesg ...&lt;br /&gt;&lt;br /&gt;trick: to minimize the time spent in the noise and  cold-hot air currents of the server room you can install just the base system + package:openssh-server before the reboot. Press Alt+F2 to get to a new shell. Then say:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;chroot /target&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;then you just run apt-get install openssh-server&lt;br /&gt;and then you can come back to the first console and continue with the reboot...&lt;br /&gt;the rest can be done from the comfort of your office / home&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;OS SETUP:&lt;br /&gt;I will have to post a longer  description about /etc.&lt;br /&gt;To say something about the packages: pretty lean install with some X library that was needed for the MATLAB graphical installer and sun-java-6.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;MATLAB:&lt;br /&gt;There is the Matlab Distributed Computing Server installed on each of the nodes as well as the master node. There are two components: the mdce "service" that runs on all machines all the time and "jobmanager" and "worker" processes. You are meant to start one jobmngr on the head node and workers on the nodes.&lt;br /&gt;I had some glitches with the licensing, but I got that &lt;span title="(after learning about various innards of the university administration... pencil pushers, license agreement responsibles, and other people that don't understand tech but somehow have to manage it)"&gt;sorted out&lt;/span&gt;.&lt;br /&gt;I installed everything (license server on master node, network license for nodes) over a couple of days and did some tests.&lt;br /&gt;The client side is handled by the parallel computing toolbox which has some GUI tools for connecting to the cluster.&lt;br /&gt;After that you have to do stuff like. &lt;a href="http://www.mathworks.com/matlabcentral/fx_files/13545/1/content/html/main.html"&gt;job =jm.createJob; job.createTask(@function,nargs,{args}); submit(job); waitForState(job,'finished'); data=getAllOutputArguments(job);&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now what remains to be done is to figure out which ports need to be open between the machine on which the jobmanager is running and the client machines.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;After that the "job" is done and I get to go on vacation.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4935465969599035623-8323546361185417790?l=cluster-admin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cluster-admin.blogspot.com/feeds/8323546361185417790/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cluster-admin.blogspot.com/2009/06/moving-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4935465969599035623/posts/default/8323546361185417790'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4935465969599035623/posts/default/8323546361185417790'/><link rel='alternate' type='text/html' href='http://cluster-admin.blogspot.com/2009/06/moving-in.html' title='Moving in'/><author><name>uid1000</name><uri>http://www.blogger.com/profile/05005747866948976546</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
