View Single Post
  #12  
Old 3rd June 2010, 17:15
SupuS SupuS is offline
HowtoForge Supporter
 
Join Date: May 2006
Posts: 202
Thanks: 68
Thanked 14 Times in 12 Posts
Default

There is port 3260 which has to be opened for access to SAN:

Code:
# netstat -tanpu | grep iscsi
tcp        0      0 xxx.xxx.xxx.xxx:37143     xxx.xxx.xxx.xxx:3260     ESTABLISHED 3553/iscsid
In OVH manual is this port described:

Quote:
It will be necessary to authorize your SAN, and to find out which, run the follow command:
r12xxx ~ # netstat -tanpu | grep iscsi
tcp 0 0 91.121.xx.xx:38632 91.121.191.16:3260 ESTABLISHED 3097/iscsid
So the IP from your SAN is: 91.121.191.16 The rule to add will be:
/sbin/iptables -A INPUT -i eth0 -p tcp --source 91.121.191.16 -j ACCEPT
I added this port to config option in ispconfig but unfortunatelly issue appear again. Afte reboot I add this port to:

/etc/Bastille/bastille-firewall.cfg

but again without success. I switch off and disabled bastille-firewall as described earlier. Now every 20 minutes is server unreachable. I found two rows with something about this port in ispconfig table sys_datalog:

Code:
42  1  firewall  firewall_id:1  i  1275569296  admin  a:2:{s:3:"new";a:10:{s:11:"firewall_id";s:1:"1";s:...  pending
43  1  firewall  firewall_id:1  d  1275570380  admin  a:2:{s:3:"old";a:10:{s:11:"firewall_id";s:1:"1";s:...  pending
If there is status pending it means that it will try do this job later? For example after 20 minutes?

Now my server going down every 20 minutes and I don't know how to stop it .. except reinstall

SupuS
Reply With Quote