Archive for February, 2010
February 25th, 2010
We just got a nice “feature” when we migrated two virtual server all disks to a different LUN that use a shared disk for Oracle RAC. Guess what? The shared disk was somehow lost and each of the virtual servers now have a fully dedicated disk in size of the shared RAC disk. The shared RAC disk configuration was lost as well.
I guess we need to delete both these disks from the virtual machines and create a new configuration once again.
February 20th, 2010
If you are running squid or any other proxy software and you want to hide your real IP for security or privacy you should adjust your proxy server source or config to disable the following HTTP Headers:
REMOTE_ADDR = proxy_server_ip
HTTP_VIA = proxy_server_ip
HTTP_X_FORWARDED_FOR = proxy_server_ip
With squid (version 3) you can setup the following config in squid.conf file:
forwarded_for off
as well as add the following settings:
request_header_access Allow allow all
request_header_access Authorization allow all
request_header_access WWW-Authenticate allow all
request_header_access Proxy-Authorization allow all
request_header_access Proxy-Authenticate allow all
request_header_access Cache-Control allow all
… Read the rest of this entry »
February 13th, 2010
Nginx has been built with ncache in the core. It’s very fast and offers great performance. It works quite nicely – you install nginx as a front-end proxy server and forward all php queries to Apache back-end. Then you set-up nginx to cache response from Apache back-end to static files on a file system (or even RAM disk).
in http{} section please define the path to proxy cache, levels, keys_zone name, expire time in minutes and max size in megabytes:
proxy_cache_path /path/to/cache levels=1:2 keys_zone=staticfilecache:180m max_size=500m;
proxy_temp_path /path/to/proxy_temp;
Please note that proxy_cache_path and proxy_temp_path should be on the same… Read the rest of this entry »
February 7th, 2010
Nginx is super fast and it does include proxy caching with lots of advanced features. Finally, there is a high performance nginx and wordpress integrator plugin that offers nginx integration with WordPress. It still requires that you set-up nginx manually (we can recommend Sharp Admin management company) but when you do it your server can easily serve thousands of hits per second from the static cache. We have been using similar nginx set-up in-house for years and it’s been very robust and reliable.