This contains scripts to test CNSMO VPN scalability. These scripts are used over Grid5000, but can be run un any Linux station.
There are three files dedicated to G5K only:
- reserve_node.sh
- myjessieserver.env
- myjessieclient.env
There is a text file ("myloops") containing file sizes client must download.
The algorithm implements a handshake between CNSMO VPN server and clients:
- create a CNSMO VPN
- clients wait for server file
- server waits all clients are ready
- server creates a file
- clients download file, save download time and set a file as flag to inform download is finished
- server waits until all client downloads are finished
- GOTO 4 until last size is reached (as stored in "myloops")
The server algorithm is as follow:
- start Apache web server
- foreach size found in "myloops"
- create the file{size} of size "size" in /var/www/html/file{size}
- foreach client wget http://client/download{size} until successfully downloaded
- end foreach size
The client algorithm is as follow:
- start Apache web server
- foreach size found in "myloops"
- wget http://server/file{size} until successfull download
- touch /var/www/html/download{size}
- end foreach size