Zen-Dreams

Zen-Dreams.com

High Availability

First, before to talk about the definition of High Availability, I’d like to introduce the notion of availability. A system is considered unavailable when it becomes unusable or even usable but with too limited functions.
There are many reasons for this and some of these are commonly called Single Point of Failure (SPOF), others are most of the time due to bad operations, or Murphy’s Law

High Availability is a global concept used to make the system globally available as much as possible, i.e., with the fewest downtimes possible. Prior to think your system architecture, you must define your Service Level Agreement (SLA). The SLA is the document where you define the availability of your system, may it be planned or unplanned, but also response times, and monitoring to be performed so that preventive actions can be taken.
Read More…

By Anthony

Very nice blog

I decided to take part of the Very nice blog Contest that is currently going on at http://veryniceblog.over-blog.com/

You can leave comments for my entry here.

very nice blog

By Anthony

Change your default folders in gnome

Last night, I’ve been stuck with my Ubuntu distribution as I wanted to add templates for creating new documents. The main problem is that I don’t like to have too much folders in my home directory and I couldn’t find the Templates folder. Recreating didn’t solve the problem.

Because yes, that’s where the file templates should be located.

But, I discovered this file : ~/.config/user-dirs.dirs which contains directives to tell gnome where to find some files it needs.

Therefore you can tell Gnome where it will find it’s templates, but also where it has to look for your music, vidéos, pictures and so on…

For example, you can set it like this, with /media/mydata a vfat disk shared with a Windows system (or a Filer, Samba Share, etc…) or like me, just another ext3 disk.

XDG_DESKTOP_DIR="$HOME/Desktop"
XDG_DOWNLOAD_DIR="/media/mydata/Downloads"
XDG_TEMPLATES_DIR="$HOME/.templates"
XDG_PUBLICSHARE_DIR="$HOME/"
XDG_DOCUMENTS_DIR="/media/mydata/MyDocuments"
XDG_MUSIC_DIR="/media/mydata/Music"
XDG_PICTURES_DIR="/media/mydatas/Pictures"
XDG_VIDEOS_DIR="/media/mydata/Videos"

Once you have setup your templates folder, you can go directly via the Go->Templates menu and creating files. I created these PHP Source and HTML Page

By Anthony

Canadian Employment

That’s now official, My family and I will immigrate to Canada in January 2009. We are planning to sell all our stuff before the end of the year and only bring with us the necessary material to settle down there.

All we have to do now is to look for a house for the 4 of us, and of course a Job that corresponds to my experience/competencies — you may have a look at my resume.

So far, I’ve been working as IT Manager for large companies but also as system administrator and software developper.

For now, I’m mostly looking for a job in Infrastructure management or Project Management.

If you are interested or know someone who might be, do not hesitate to pass the information / contact me.

By Anthony

Write your own plugin for Wordpress [Chapter 4]

As a reminder, this article is the fourth of a series called Write your own plugin for Wordpress

    1. Introduction to plugins
    2. Plugin’s skeletton
    3. Activation, Hooks & Filters
    4. Widgets Definition

      1. Widgets definition

      A widget is, in fact, a plugin that will allow users to display a block on their sidebar. That being said, there are only one action to use in order to create a Widget.

      This action is called widgets_init - therefore you can call it like this : add_action(’widgets_init’, function_name);

      Once you have done this, you will have to register two other functions inside this function_name function only if sidebars are available with your wordpress install.

      Here is some code that can do the trick :
      Read More…

      By Anthony