Archive for December, 2013

NFS4

I used Fedora (F16) with SELinux. On the start I advice to disable the firewall on the box where the exports are shared. I made chcon to all my exported directories: chcon -t nfs_t /home chcon -t nfs_t /home/phos # -R means reccurence chcon -R -t nfs_t /home/phos/www And encountered the following problems: 1. Cannot […]

Read more...

Firebird: downgrade to 1.5.6 problem

gbak: creating indexes gbak: ERROR: invalid request BLR at offset 2129 gbak: ERROR: BLR syntax error: expected invalid BLR code at offset 2129, encountered 181 gbak: Exiting before completion due to errors How to repeat: Backup (with gbak from version 1.5) only metadata (-m option), e.g. /opt/firebird/bin/gbak1.5 -m -g -l -b -k -e -v -t […]

Read more...

Load balance for MySQL (HaProxy vs. pure Keepalived)

My basic need was to balance to traffic between MySQL Slaves according to the application needs. Due to the MyISAM storage on some databases I let to some applications the delay up to 120 s. (I measured the delay with MySQL command `show slave status`. I created two clusters: 1) Slaves – no delay; 2) […]

Read more...