Warning: Undefined array key "DOKU_PREFS" in /usr/share/dokuwiki/inc/common.php on line 2082
cluster:102 [DokuWiki]

User Tools

Site Tools


cluster:102

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
cluster:102 [2011/06/29 11:21]
hmeij
cluster:102 [2011/06/29 11:59]
hmeij
Line 48: Line 48:
 </code> </code>
  
-So in order to for the compute node b1 to reach the flexstorage server we need to use NAT rules and define a path/route.  First we start on petaltail and edit the iptables files and add a "nat filter" and in the "filter filter" set up rules for forwarding and post routing.+So in order to for the compute node b1 to reach the flexstorage server we need to use NAT rules and define a path/route.  First we start on petaltail and edit the iptables file and add a "nat filter" masquerade/post routing directives and in the "filter filter" set up a rule connecting eth1 and eth2.
  
 <code> <code>
Line 65: Line 65:
 </code> </code>
  
-Next+Next, on the compute nodes we need to add routing path and then mount the file system (using an IP because there is no name resolving).  These commands are stuck in /etc/rc.local for persistence. 
 + 
 +<code> 
 + 
 +# /etc/rc.local 
 +route add -host 129.133.24.81 gw  10.10.100.217 eth1 
 +mount 129.133.24.81:/share/dlbgroup /home/dlbgroup -t nfs -o soft,intr,bg 
 + 
 +[root@b1 ~]# df -h /home/dlbgroup 
 +Filesystem            Size  Used Avail Use% Mounted on 
 +129.133.24.81:/share/dlbgroup 
 +                     1000G  588G  413G  59% /home/dlbgroup 
 + 
 +</code> 
 + 
 +There is ofcourse a penalty in performance doing this. 
 + 
 +<code> 
 + 
 +[root@petaltail ~]#  time dd if=/dev/zero of=/home/dlbgroup/foo bs=1024 count=1000000 
 +1000000+0 records in 
 +1000000+0 records out 
 +1024000000 bytes (1.0 GB) copied, 107.961 seconds, 9.5 MB/s 
 + 
 +real    1m47.964s 
 +user    0m0.322s 
 +sys     0m2.094s 
 + 
 +[root@b1 ~]# time dd if=/dev/zero of=/home/dlbgroup/foo bs=1024 count=1000000 
 +1000000+0 records in 
 +1000000+0 records out 
 +1024000000 bytes (1.0 GB) copied, 110.017 seconds, 9.3 MB/s 
 + 
 +real    1m50.027s 
 +user    0m0.271s 
 +sys     0m4.073s 
 + 
 +</code> 
  
  
 \\ \\
 **[[cluster:0|Back]]** **[[cluster:0|Back]]**
cluster/102.txt · Last modified: 2020/08/24 07:19 by hmeij07