VACS Blog

To content | To menu | To search

Tuesday, January 19 2010

Repairing the Zalman Reserator 2 pump and get a silent PC

The Zalman Reserator 2 is a water cooling kit to build a silent PC. After three years of good work, the pump had problems and the security was activated regularly stoping the pump and making the computer unusable. Indead, this is not new that Zalman has used a very weak pump...

Zalman Reserator 2

The Zalman pump is a 220V merged pump. Changing it is really not easy. Instead, I found that it was easier to add another pump in the cooling system. The two pumps are just serialized. The original Zalman pump still works but the second new pump really does the job.

Zalman Reserator 2

Bad luck or bad choice

First, I tried some Swiftech pump. It was an emergency I just needed my PC to work again. It was a really bad choice, not for the cooling but for the noise. After two months, I decided to get a new pump, a silent one. Yes, it exists for those who are searching!

Alphacool Ehiem 600 to the rescue

After investigating forums, reading many articles, studying noise (getting back to some old logarithmic computations...), I came to the conclusion that the merged pumps are the most silent ones. I bought the AGB-Eheim 600 Station II pump. This pump comes in two versions, a 12V version and a 220V version. The 12V version pump needs a small electronic board to create the alternating current that is required for the pump. The pump itself is within the reservoir.

Pump ehiem600

To plug the new pump, find a location in the PC case and cut the input tube (the one connected to the CPU and the reserator output). Connect the pump to the reserator and the CPU tube to the new pump. Plug the board and connect the 12V cable on it. The pump is using alternative current so there is no order for the pump cable connection.

Verify everything, put distilled water and the coollant and switch on the computer.

At first, the pump creates some noise due to the air. Quite soon, the air is replaced by water and the pump becomes silent. Look at the Reserator flow indicator, it should move very quickly now (Indeed, I was impressed how fast it was running).

Lessons learnt

The Zalman Reserator 2 pump was (and is) very very slow and weak. Watch the Zalman Reserator 2 - flow control failing video.

The Zalman Reserator 2 gave me some signs several months ago. The pump had not enough pressure and the security was sometimes activated. By slaping the reserator, it was working again. I stayed too much time in this situation. I should have tried to find a good pump before the real problem happen.

A pump is always making noise. Be very careful when you choose one.

Saturday, January 9 2010

Simple mysql database backup for ReadyNAS duo

With a mysql database running on the ReadyNAS duo, it becomes necessary to put in place a backup of the database. This article describes a simple method to automatically backup the mysql database.

All actions described here require that you are connected to your ReadyNAS duo using SSH (See Connecting to a ReadyNAS duo using SSH)

ssh -l root pollux
root@pollux's password:
Last login: Sat Jan  9 12:59:54 2010 from zebulon
Last login: Sat Jan  9 15:34:19 2010 from zebulon on pts/0
Linux nas-D2-24-F2 2.6.17.8ReadyNAS #1 Fri Mar 20 04:41:57 PDT 2009 padre unknown
nas-D2-24-F2:~#

Backup Directory Preparation

First, we have to create a protected directory which will contain the backups:

nas-D2-24-F2:# mkdir /c/backup-mysql
nas-D2-24-F2:# chmod 700 /c/backup-mysql

Mysql Backup User

To make the backup, a special user should be used to restrict the rights to the minimum. Basically, the user only needs the SELECT and LOCK TABLES privileges. The database access should be protected with a password.

nas-D2-24-F2:# mysql -u root -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 7
Server version: 5.0.32-Debian_7etch5~bpo31+1-log Debian etch distribution

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> GRANT SELECT, LOCK TABLES ON *.* 
    TO 'dump'@'localhost' identified by 'XXXX';
Query OK, 0 rows affected (0.04 sec)

mysql> flush privileges;
Query OK, 0 rows affected (0.02 sec)

mysql> quit
Bye

Backup Script

To make the backup, you have to write a simple script which uses mysqldump and compresses the backup file. This script is written in /etc/cron.daily directory. This way it will be run automatically by the cron daemon each day at 6:25am (Look at the /etc/crontab file).

Create the file /etc/cron.daily/backup-mysql and put the content below.

#!/bin/sh
D=`date --iso-8601`
BKP_DIR=/c/backup-mysql
DB_LIST="bacula mysql"
for i in $DB_LIST; do
  mysqldump --user=dump \
    --password=XXXX \
    --opt $i | gzip -c > $BKP_DIR/$i-$D.sql.gz &&
  chmod 400 $BKP_DIR/$i-$D.sql.gz
done

You have to update the DB_LIST variable to put the name of the databases you want to backup.

You have to protect the script because it contains the password of our backup user. The script must be executable.

nas-D2-24-F2:# cd /etc/cron.daily
nas-D2-24-F2:# chmod 700 backup-mysql

Test the script

It's necessary to execute the script at least once to make sure it backups what you need.

nas-D2-24-F2:# ./backup-mysql

Then, check that a backup file was created correctly.

Test the database backup or restore

You may also test that the backup SQL file is correct by creating a fake database and importing the file. You can do this with the following command:

nas-D2-24-F2:# mysql -u root -p 
create database test-backup;

Then decompress the backup file and import it with the mysql command into new test (or the real database if you want to restore it).

nas-D2-24-F2:# gzip -c \
-d /c/backup-mysql/xxx.sql.gz | \
mysql --force --force -u root -p test-backup

Conclusion

This process remains simple and is very easy to put in place. However, it has some limitations because it is best to make sure no applications are writing to the database when the backup is running. Otherwise you may backup data which are not consistent.

Thursday, November 26 2009

Planzone V2: the collaborative project management software

Augeo Software has released a new version of Planzone, the Collaborative Project Management Software. The new interface design makes your life easier by providing a better workflow, a fresh and modern design, and several major improvements in the project scheduling.

Collaborative Workspace

First of all, Planzone is a collaborative workspace designed for non-techies. No need to be an expert to manage your project!

Each collaborative workspace is organized arround a project which is shared by several members. The workspace contains an area to manage simple todos lists, another area to share files and write online documentation, a discussion area and last but not least a project schedule area to plan and track the progress.

Todos

Beginners will start by using todos only. This is the easiest item to manage. In that manner, Planzone is very close to Basecamp. Planzone V2 brings several improvements on the todo area. First the design clearly shows what the todo is, the fact that it now has a shape makes you feel you can move and do something with it.

Second, project todos can now be grouped by date, priority and team member. Before a meeting, a project manager can group by team member, print the sheet and discuss with the team with a clear vision of tasks assigned to each other.

When the number of todos increases, it's easy to create a todo list (called activity in Planzone).

Planzone V2 todos

File and online documentation

While the project evolves, team members will share files in the document storage area. You can upload and share any type of file and there is no real limit for the file size (you are limited by the license).

In Planzone V2, the file and online documentation are now grouped under the same area: Documentation.

Planzone V2 documents

The online documentation is provided through a simple Wiki. Don't expect to write complex documents such as those you can write with Microsoft Words. Wikis are intended to be fast and efficient to write simple text, with sections, bullet lists and minimal formatting. Two editors are provided, a visual editor which allows you to write documentation without knowing the wiki language, and a text editor which is rather basic but more powerful if you know some wiki markers and best if you know some CSS (here, it's for expert!).

Planzone V2 wiki

Discussion

The discussion area provides a central point where team members will share comments on the project and the work to do. Discussions and comments are associated with the project , activities, todos, milestones and documents (comments on wiki will come shortly). The major change in Planzone V2 is the ability to see in one place all the comments related to the project.

Planzone V2 discussion

Project Scheduling

When the project grows or is complex, the project manager has to plan and split the work in several activities. Activities are scheduled over time, they can contain todos as well as milestones (A next version will allow to attached documents). The project schedule area is dedicated to this work.

The project scheduling contains many improvements that help the project manager. First, the resource assignments are now made exclusively from the project schedule page. It becomes easier to manage activity assignments and resource allocations. You expand or collapse the activity assignments and you can add, remove or change the resources while having the project schedule in front of you. This is a major improvement which makes the scheduling area a killer feature.

Planzone V2 schedule

On the project resource usage side, the timeline displays the consolidated remaining work for each resource and the expand collapse of each resource makes this part quite neat and easy to use.

Try Planzone!

Planzone offers a free version of the service. Of course the free version is limited but you can still manage complex projects with small teams (5 persons). Prices range from 9.90EUR/month for the individual license to 69.90EUR/month for the business license.

Give it a try and leave me some comments. Signup for a free Planzone.

Sunday, October 4 2009

Tuning mysql configuration for the ReadyNAS duo

After installing mysql server on a Ready NAS duo, it is necessary to tune the configuration to make the server run well on this small hardware. This article describes a possible configuration for tuning the Mysql server.

Mysql Temporary directory

Mysql uses files in the temporary directory to store temporary tables. Depending on your database and your queries, temporary tables could be quite large. To avoid problems in the /tmp partition becomming full, the best thing is to use a directory in the /c partition

tmpdir          = /c/backup/tmp

Make sure the directory exist before starting mysql:

# mkdir -p /c/backup/tmp

Mysql storage engine

After playing with a reasonably big database and the MyISAM storage engine, it turns out that the mysql server was sometimes crashing and barking at some corrupted myisam tables. I switched to the InnoDB storage engine, which is better for transactions anyway. Since the readynas does not have a lot of memory I've used the following configuration:

default_storage_engine = InnoDB
thread_cache_size = 0

innodb_buffer_pool_size = 6M
innodb_thread_concurrency = 1

Other mysql settings

To reduce the resources used by the mysql server to the minimum, I changed the max number of connections to a small number.

key_buffer_size = 16k
sort_buffer_size = 100k
max_connection = 10

I'm using these settings for almost 6 months now; my bacula database now contains a table with 5 milions of rows. Of course you can't expect big performance but the mysql server is stable.

Tuesday, August 25 2009

Amenagement de placard par gestion de projet

L'aménagement d'un placard est bien banal mais quand on regarde bien cela s'apparente à un mini-projet. L'outil de gestion de projet gratuit planzone permet trés simplement d'organiser et suivre ce mini-projet. Planzone étant trés complet, des modèles de projets permettent de mettre en place ce mini-projet trés facilement. Voici les étapes.

Etape 1: Afficher le modele de projet

Allez sur la page du modele d'Amenagement de placard. Cette page donne un aperçu du projet.

Etape 2: Creez un projet à partir du modèle

Cliquez sur le bouton Utilisez ce modèle. Il vous faudra, soit créer une Planzone, soit vous authentifier si vous utilisez déja Planzone. Un formulaire permet ensuite de donner un nom au projet.

Etape 3: Utilisez le projet

Une fois le projet crée, une vingtaine de tâches sont définies représentant soit des points à faire ou prendre en compte ou tout simplement des "checklist" à vérifier et ne pas oublier. Pendant la durée de l'aménagement, il suffit de compléter les tâches pour suivre et vérifier que toutes les points à faire sont bons.

Bref, c'est simple et un peu ludique... Bon aménagement!

Monday, August 24 2009

Interviews of Planzone R&D development team the free online project management service

While managing Planzone R&D development team, I asked our marketing team to promote our team and give visibility of each team member through an interview. Interviews started with Imade Lakhlifi who developped ProjectBar during his internship. He was followed by Chris Immel who is our AJAX, Javascript, CSS wizard, Marc Heuveline who developed the Microsoft Project import and Excel reports, Patrick Albaret who put in place a testing quality suite composed of 1300 tests, Tristan Dupont who developed robust core backend features and Jean-Luc Bernette who defines the Planzone features.

Last interview is mine as manager and architect of R&D team.

Each interview give a different perspective of what is Planzone, how it is developed, and where it's going to fly.

Friday, July 31 2009

New version of ProjectBar

Imade implemented a lot of new improvements in the ProjectBar plugin. We wanted to make a minor release but the changes are so nice and interesting that they were integrated in a new version. We are pleased to release this new ProjectBar 1.1 version which provides:

  • a clean design in which we integrated many user's remarks
  • the display of priority task
  • new tasks are now easily identified by a green marker
  • errors are now handled in a better way and report a clear message

Of course we plan other improvements and we will try to release them in the fall.

You can get the ProjectBar plugin in Mozilla at https://addons.mozilla.org/fr/firef...

Saturday, June 27 2009

Interview of Imade Lakhlifi Firefox ProjectBar developper

During his internship, Imade developped for us a Firefox plugin to manage projects easily from Firefox. The ProjectBar plugin was developped from scratch. It uses the Planzone API. Imade did a very good job at designing and implementing the plugin. We made an interview (French) Dans les coulisses de Planzone : Interview avec Imade Lakhlifi, développeur de la "ProjectBar". Read it!

Sunday, May 17 2009

Fixing the setError and hasError migration issue in Symfony 1.2

After the migration of your Symfony project from 1.1 to 1.2, you may get several errors about the setError and hasError method missing from the sfWebRequest class. Indeed, these operations have been removed. You can use the sfCompat10Plugin but if you don't want to activate this plugin you are stuck.

Continue reading...

Saturday, May 9 2009

Install Epson Stylus PX700W printer with CUPS on Ubuntu 8.10

Printing with an Epson PX700W printer from Ubuntu is a real challenge. No driver really work out of the box. After looking at many places, digging in dozen of forums and other answers sites, no real solution emerged. The article describes some steps to make the printer work for Ubuntu.

Continue reading...

Tuesday, April 28 2009

Why Planzone? Interview : Bob, IT Executive at Audioprox

Audioprox is a national group of hearing aid specialists with a network of hearing solutions centers. They manage a team of 6 specialists who often collaborate on transverse projects : laboratory network development, IT network management, staff management, accounting, supplier relations, central-buying service management, or marketing. Audioprox is using the Online Project Management Service Planzone to manage projects requiring a perfect synchronization between the staff.

Read the full Interview : Bob, IT Executive at Audioprox to learn more and try yourself Planzone!

Thursday, April 2 2009

How google analytics can alter your web performance

Google analytics is often used by Marketing teams to have a feedback of the web site usage, track visits, entry and leave points. Google analytics is easy to use but it has some drawbacks that you don't see at the beginning. Altering the performance of your AJAX operation is a serious drawback.

Continue reading...

Sunday, March 22 2009

Installing Mysql server on a ReadyNAS duo

Being able to connect to my ReadyNAS duo using SSH (See Connecting to a ReadyNAS duo using SSH ), the next step for setting up a Bacula backup solution was to setup a MySQL server. The Mysql server is used by Bacula for the backup catalog (jobs, files ...).

Continue reading...

Saturday, March 21 2009

Connecting to a ReadyNAS duo using SSH

Having acquired a ReadyNAS duo for my new backup system, I wanted to explore the system that runs on it and see if I could run more services on it. There is nothing terrific in this article as many people have already done this before. Anyway it describes step by step what must be done to connect to the ReadyNAS.

Continue reading...

Sunday, February 8 2009

Symfony cryptic error: Error importing plugins/sfPropelPlugin/lib/propel/builder/SfPeerBuilder.php

Symfony is a nice PHP framework, when it works. Sometimes when you run symfony you get a cryptic error and you have no clue on how to fix the problem. The article shows one of them and how to solve it.

Continue reading...

Saturday, February 7 2009

Server configuration management: track changes with subversion and be notified

Tracking changes in a server configuration can be critical to understand problems, identify security breaches and repair a server. When several people are in charge of administering one or several servers, sharing the configuration changes is helpful to inform each other about these modifications. The article describes a simple organization that uses subversion and daily mail notifications in case of change.

Continue reading...

Tuesday, February 3 2009

New price list for Planzone service

project success depends on superior teamwork and the right set of tools. Planzone is a comfortable and efficient collaboration workspace for you and your team. A new price list is available with new features all this to cut the prices down!

Continue reading...

Sunday, February 1 2009

Upgrading Symfony projects to release 1.2

Symfony is a PHP framework for building web application. I have two projects that use Symfony 1.1 and I wanted to upgrade to the new 1.2 release. This article lists some issues that I found and how I fixed them.

Continue reading...

Wednesday, January 28 2009

Apache and JBoss integration with mod_rewrite and mod_proxy

To integrate JBoss behind an Apache server you often use the mod_jk module. There is another solution which combines the use of Apache mod_rewrite and mod_proxy. This solution provides more flexibility and could be more robust.

Continue reading...

Monday, January 26 2009

Inserting a file in a JSF view with a custom component

My problem was to give some flexibility in a JSF page to customize some blocks so that a marketing team could easily change those blocks. Basically the marketing team needs to insert some promotion, advertising or specific presentation blocks. For this, they ask a designer to make those blocks. The designer will give us some piece of HTML (with Javascript) that must be inserted in the page.

Continue reading...

- page 1 of 2