Cop i a de Clustering Using Puppy Linux

download Cop i a de Clustering Using Puppy Linux

of 13

Transcript of Cop i a de Clustering Using Puppy Linux

  • 8/18/2019 Cop i a de Clustering Using Puppy Linux

    1/13

    ClusterPUP - A Very Simple Cluster Implementation

    ClusterPUP - A Very Simple Cluster Implementation

     Note: This implemenation of a cluster is Using Puppy Linux 

    ClusterPUP - A Very Simple Cluster Implementation

     

    Part 1

    Introduction - A Plain Definition of a Cluster 

    Illustration of a Cluster 

    Part 2

    How to get tis implementation

    !eeded Pac"age

    Installation

    Part #How to set up Puppy Cluster 

      Hardware

      Setup a Cluster 

      $eferences

    Part 1

    Introduction - A Plain Definition of a Cluster

    This is NOT an official description. This is simply one view that attempts to describe what it means be a Cluster)

  • 8/18/2019 Cop i a de Clustering Using Puppy Linux

    2/13

    ClusterPUP - A Very Simple Cluster Implementation

    A Cluster is a coupling of PCs together to work together as a team in Parallel with each other in completing a

     particular type of workload. !eowulf is one type of cluster. !ut in general all clusters bear some resemblance to

    this type of cluster organi"ation.

    #n the !eowulf world typically you would have $ PC that has a monitor keyboard mouse and % &AN adapters

    while all of the other PCs 'O NOT N((' T(*( P(+#P(+A&*. They will only need a &AN card...ON&,-

    The PC with the monitor keyboard mouse and % &AN adapters is referred to as the aster Node. This is because

    at this location the aster Node A&& workload that the Cluster team will work on enters and e/its the Cluster v

    this aster Node. The aster Nodes primary function is to apportion the work out to its nodes on the &AN stay i

    touch with them and collect 0so to speak) their results from the work that they individually complete.

    On the ardware side a very simple Cluster will have a aster Node which connects to a router somewhare on

    your &AN1 and additonally it will have other node0s) which do NOT have monitors keyboards or mice attached

    to them. All of a cluster2s PCs will have an (thernet *witch which ON&, they are connected to. All of the cluster

    work within the cluster is entered and e/ited the cluster via the aster Node.

  • 8/18/2019 Cop i a de Clustering Using Puppy Linux

    3/13

    ClusterPUP - A Very Simple Cluster Implementation

    The aster Node and the cluster PCs keep constant communications with each other physicallly thru the commo

    switch using a Protocol called P#. This protocol gets implemented at each machines entry into the cluster via a

     program called P#C%. This protocol is a specially design protocol to be highly efficient in how these cluster

    PCs stay in constant touch with each other.

    That2s #T- No magic *imply physically connect your PCs together on their own personal and separate switch wit

    each of them running P#C%.

    &astly a cluster2s work3workload is different from your standard compiled programs. A cluster2s programs are

    compiled in such a way that the program is modulari"ed and components can be e/ecuted in parallel with each

    other. This

    affords the aster the ability to assign as many PCs it deems necessary to solve any individual problem or work. A

    complied program will be started and the nodes will do all of the work and when complete they will all check4in

    the results of the work performed to the aster Node.

    Part 2

    How to get tis implementation

    !eeded pac"age and Installation

    %o turn puppy linu& into 'eowulf cluster we will need some pac"age installed( tese are te needed pac"age )

    1* Passwordless ss2* Puppy linu& de+&*sfs

    #* Pyton 2*,*

    * fortran .optional/

    0* PICH2 .+er 1*#*2p1/

    ,* !S

    3* P45

    6* Script to set configuration

    7* Petma"er to install sfs files

    owto install tem )

      ---------------------------------------

    1. Passwordless SSH

      ttp)88www*murga-linu&*com8puppy8+iewtopic*pp9t:,#02#

    1* install pet

    2* e&tract tar*g; into root

    -----------------------------------------

    2. install Pet_Maker-1.-!-"!#.pet

      ttp)88www*murga-linu&*com8puppy8+iewtopic*pp9p:27

  • 8/18/2019 Cop i a de Clustering Using Puppy Linux

    4/13

    ClusterPUP - A Very Simple Cluster Implementation

    Using Pet=a"er you can install sfs files as easy as installing pet .te a'o+e +ersion is wat I use on

    puppy 0*2( your puppy migt need oter +ersion/

    -----------------------------------------

    !. de$%.s&s

    ttp)88www*murga-linu&*com8puppy8+iewtopic*pp9t:,#201

    -----------------------------------------". P'(H)* +2.,."

    ttp)88www*murga-linu&*com8puppy8+iewtopic*pp9p:#60,##>sid:c,c2,32de#6e1 B tee m*t&t

      ma"e V:1 2@>1 B tee m*t&t

    ma"e install 2@>1 B tee mi*t&t

     

    * add into *'asrc .located at 8root/  PA%H:8root8mpic2-install8'in)PA%H e&port PA%H

    ----------------------------------------

    . */S

    U!S .ttp)88unfs#*sourceforge*net8/

    and8or 

    Eernel !S .ttp)88www*murga-linu&*com8puppy8+iewtopic*pp9t:0

  • 8/18/2019 Cop i a de Clustering Using Puppy Linux

    5/13

    ClusterPUP - A Very Simple Cluster Implementation

    - E!S

    install pet

    ----------------------------------------

    . P3

    ttp)88www*murga-linu&*com8puppy8+iewtopic*pp9t:,1

  • 8/18/2019 Cop i a de Clustering Using Puppy Linux

    6/13

    ClusterPUP - A Very Simple Cluster Implementation

    Hardware

    Fne of te most simple 'eowulf cluster is a closed networ" consist of 1 eternet de+ice and few computer

    attaced( tere is no outside8internet connection*

    ou sould a+e PC tat as 1 A! adapter in it( along wit its "ey'oard( monitor( and mouse*

    Connect all PC adapter( typically te one designated et

  • 8/18/2019 Cop i a de Clustering Using Puppy Linux

    7/13

    ClusterPUP - A Very Simple Cluster Implementation

    2* select te m"net'oot 'uried 'eind tose popup to create umongous initrd

  • 8/18/2019 Cop i a de Clustering Using Puppy Linux

    8/13

    ClusterPUP - A Very Simple Cluster Implementation

    #* after umongous initrd created clic" o"

  • 8/18/2019 Cop i a de Clustering Using Puppy Linux

    9/13

    ClusterPUP - A Very Simple Cluster Implementation

    * Moot up all client pc ten after all pc 'oot up properly into des"top ten clic" yes

  • 8/18/2019 Cop i a de Clustering Using Puppy Linux

    10/13

    ClusterPUP - A Very Simple Cluster Implementation

    0* ip address configured instantly( close editor and clic" o"

  • 8/18/2019 Cop i a de Clustering Using Puppy Linux

    11/13

    ClusterPUP - A Very Simple Cluster Implementation

    ,* after setting complete*** run cluster 

  • 8/18/2019 Cop i a de Clustering Using Puppy Linux

    12/13

    ClusterPUP - A Very Simple Cluster Implementation

    .Fn Client/

    1* Do noting( if you a+e remastered correctly( you will 'oot rigt into des"top and tere is noting you need to

    do in te client Pc

  • 8/18/2019 Cop i a de Clustering Using Puppy Linux

    13/13

    ClusterPUP - A Very Simple Cluster Implementation

    $eferences

    ere is a 'ocument by the Author of !eowulf covering the definition and structure of !eowulf Clustering.... #t is

    described here.

    #t is descibed here.

    There is an #nternational *pec with defines how the PCs in the cluster are to communicate with each other. #t is

    described here.

    Also here is a 'ocument covering the #nstallation *etup Testing and 5se of protocol which implements the

    #nternational *pec 6!eowulf 7 and also here

    http://www.google.com/url?q=http%3A%2F%2Fwww.phy.duke.edu%2F%257Ergb%2FBeowulf%2Fbeowulf_book%2Fbeowulf_book%2Findex.html&sa=D&sntz=1&usg=AFQjCNHBN7lwWd1WInprY4IZavER2CkyXQhttp://www.google.com/url?q=http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FMessage_Passing_Interface&sa=D&sntz=1&usg=AFQjCNHO8Iz7yuE3U20GD22rVxfWIyz0yAhttp://www.google.com/url?q=http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FMessage_Passing_Interface&sa=D&sntz=1&usg=AFQjCNHO8Iz7yuE3U20GD22rVxfWIyz0yAhttp://www.google.com/url?q=http%3A%2F%2Fcs.boisestate.edu%2F~amit%2Fresearch%2Fbeowulf%2Fbeowulf-setup.pdf&sa=D&sntz=1&usg=AFQjCNF98t_ikjqeDlmei5AiWjsm-CCMqghttp://www.google.com/url?q=http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FMPICH2&sa=D&sntz=1&usg=AFQjCNGcnFIozF3kCXiNPWjJaE0NTP-0ewhttp://www.google.com/url?q=http%3A%2F%2Fwww.phy.duke.edu%2F%257Ergb%2FBeowulf%2Fbeowulf_book%2Fbeowulf_book%2Findex.html&sa=D&sntz=1&usg=AFQjCNHBN7lwWd1WInprY4IZavER2CkyXQhttp://www.google.com/url?q=http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FMessage_Passing_Interface&sa=D&sntz=1&usg=AFQjCNHO8Iz7yuE3U20GD22rVxfWIyz0yAhttp://www.google.com/url?q=http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FMessage_Passing_Interface&sa=D&sntz=1&usg=AFQjCNHO8Iz7yuE3U20GD22rVxfWIyz0yAhttp://www.google.com/url?q=http%3A%2F%2Fcs.boisestate.edu%2F~amit%2Fresearch%2Fbeowulf%2Fbeowulf-setup.pdf&sa=D&sntz=1&usg=AFQjCNF98t_ikjqeDlmei5AiWjsm-CCMqghttp://www.google.com/url?q=http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FMPICH2&sa=D&sntz=1&usg=AFQjCNGcnFIozF3kCXiNPWjJaE0NTP-0ew