Pyrit cluster

From BackTrack Linux
Jump to: navigation, search

Building a Pyrit Cluster Backtrack5 R2 & R3

  • In this tutorial we are going to build a cluster on Backtrack5 R2 using Pyrit.
  • Pyrit comes installed by default on Backtrack5 R2. If you have removed it, simply use apt-get install to install it.
  • The first step to creating a pyrit cluster is to create a configuration file.
root@bt:~# mkdir ~/.pyrit
root@bt:~# nano ~/.pyrit/config
root@bt:~# cat ~/.pyrit/config

default_storage = file:// limit_ncpus = 0 rpc_announce = true rpc_announce_broadcast = false rpc_knownclients = 192.168.1.69 (This is the servers IP) rpc_server = true workunit_size = 75000
  • After having the above configuration file on all our machines, we start the server.
root@bt:~# pyrit serve
  • Now from the client you should be able to see both cores.

NOTE: The pyrit list_cores command has a bug that when used will crash the server.


Pyrit cluster01.png


  • We can test our newly built cluster using pyrit's benchmark option.
root@bt:~# pyrit benchmark


Pyrit cluster02.png


  • If we switch to the server while running the benchmark, we can see that currently one client is connected.


Pyrit cluster03.png