Bewertung:
Von DeaD_EyE, Sonntag, 29. Mai 2011, 17:37
![]() |
Quellcode |
1 2 3 4 5 6 7 8 |
auto lo iface lo inet loopback auto bond0 iface bond0 inet static address 10.0.0.1 netmask 255.255.255.0 slaves eth0 eth1 eth2 |
Zitat
mode=0 (balance-rr)
Round-robin policy: Transmit packets in sequential order from the first available slave through the last. This mode provides load balancing and fault tolerance.
![]() |
Quellcode |
1 2 3 |
modprobe bonding ifconfig bond0 10.0.0.100 netmask 255.255.255.0 ifenslave bond0 eth0 eth1 eth2 |
![]() |
Quellcode |
1 2 3 4 5 6 |
mount -t tmpfs /dev/shm /var/www/isos-rd cd /var/www/isos #testimage kopieren 1,5GiB groß cp testiso.iso ../isos-rd/test.bin #MD5-Hashwert erstellen md5sum ../isos-rd/test.bin > ../isos-rd/test.md5 |
![]() |
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
root@debian:/home/user# wget 10.0.0.1/test.bin 10.0.0.1/test.md5 --2011-05-29 16:13:35-- http://10.0.0.1/test.bin Connecting to 10.0.0.1:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1593360384 (1.5G) [application/octet-stream] Saving to: test.bin 100%[==============>] 1,593,360,384 276M/s in 5.5s 2011-05-29 16:13:41 (278 MB/s) - test.bin saved [1593360384/1593360384] --2011-05-29 16:13:41-- http://10.0.0.1/test.md5 Reusing existing connection to 10.0.0.1:80. HTTP request sent, awaiting response... 200 OK Length: 43 [text/plain] Saving to: test.md5 100%[==============>] 43 --.-K/s in 0s 2011-05-29 16:13:41 (11.8 MB/s) - test.md5 saved [43/43] FINISHED --2011-05-29 16:13:41-- Downloaded: 2 files, 1.5G in 5.5s (278 MB/s) root@debian:/home/user# rm test.* root@debian:/home/user# wget 10.0.0.1/test.bin 10.0.0.1/test.md5 --2011-05-29 16:14:34-- http://10.0.0.1/test.bin Connecting to 10.0.0.1:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1593360384 (1.5G) [application/octet-stream] Saving to: test.bin 100%[==============>] 1,593,360,384 321M/s in 6.2s 2011-05-29 16:14:40 (243 MB/s) - test.bin saved [1593360384/1593360384] --2011-05-29 16:14:40-- http://10.0.0.1/test.md5 Reusing existing connection to 10.0.0.1:80. HTTP request sent, awaiting response... 200 OK Length: 43 [text/plain] Saving to: test.md5 100%[==============>] 43 --.-K/s in 0s 2011-05-29 16:14:40 (8.00 MB/s) - test.md5 saved [43/43] FINISHED --2011-05-29 16:14:40-- Downloaded: 2 files, 1.5G in 6.2s (243 MB/s) root@debian:/home/user# md5sum -c test.md5 test.bin: OK root@debian:/home/user# |
Nächster Artikel
Von DeaD_EyE (Sonntag, 5. Juni 2011, 20:42)
Freitag, 17. Juni 2011, 23:43
Sonntag, 5. Juni 2011, 20:42
Sonntag, 29. Mai 2011, 17:37
Donnerstag, 21. April 2011, 08:13
Dienstag, 22. März 2011, 13:54
Von paini (27. Januar 2022, 10:48)
Von theJEWandI (20. September 2011, 05:13)
Von zhuowu (20. September 2011, 02:44)
Von pisey2002my (16. September 2011, 04:09)
Von MAMYCAY (16. September 2011, 03:08)
Von HSFighter 8. Februar 2011, 19:32