XenCenter disconnects shortly after pool connect – solved

28 08 2009

This morning XenCenter started to disconnect from pool almost immediately after it was started. Short backtrack revealed that only recent time adjustment on pool members could cause that. To fix this bad behavior of XenCenter I had to issue xe-toolstack-restart command via ssh on pool master.

transparent http proxy with Linux and Squid

11 08 2009
#<transparent proxying>
#local squid
#iptables -t nat -A PREROUTING -i $INT_IFACE -s ! $PROXY_IP -p tcp –dport 80 -j REDIRECT –to $PROXY_PORT
#remote squid
#iptables -t mangle -A PREROUTING -j ACCEPT -p tcp –dport 80 -s $PROXY_IP
#iptables -t mangle -A PREROUTING -j MARK –set-mark 3 -p tcp –dport 80
#ip rule add fwmark 3 table 2
#ip route add default via $PROXY_IP dev $INT_IFACE table 2
###!!!! do not forget to add following line to proxy_server iptables:
#iptables -A PREROUTING -t nat -i $INT_IFACE -p tcp –dport 80 -j REDIRECT –to-port $PROXY_PORT
#</transparent proxying>

if you are running Squid on or behind you Linux gateway here’s HowTo transparently┬árun all outgoing HTTP through it

Read the rest of this entry »