Apr 11 2007

Debian v.4 - Etch

Catégorie : Debian, News, LinuxCharles Collier @ 11:23 pm

La derniere version de Linux Debian est enfin sortie: version 4 avec pour nom de code Etch.

Longtemps retardé Etch voit enfin le jour. La version supporte onze architectures, Gnome (moteur graphique) a été mis jour, Etch embarque également Iceweasel et Icedove, des versions respectives de Firefox et Thunderbird, mais dépourvues de la marque Mozilla.


Mar 23 2007

Zenoss - presentation

Catégorie : Zenoss, Supervision, network, Zope, LinuxCharles Collier @ 12:52 pm

The new version of Red Hat Entreprise Linux was launched on March 14th. RHEL 5 includes a lot of new features such as:

  • Application Design/Construction/IDE/Analysis
  • Application Server/Integration Server
  • Back-Office Enterprise
  • Collaboration/Groupware/Messaging
  • Consumer
  • Content Management/Authoring
  • CRM
  • Enterprise Resource Planning
  • Information Access/Delivery/Mining/Portal
  • Information/Data Management/Database
  • Middleware/Message-oriented/Transaction
  • Network Management
  • Networking
  • Other Development Tools
  • Security
  • ServerWare/Clustering/Web/VM
  • Storage
  • Systems Management

Considering the Network management, i’ll do a short focus on Zenoss.

Zenoss is an open source network monitoring and systems management platform - 1 year old :-) it was launched in March 2006.
Zenoss is a full package. It is built on the Zope Application server (python technology).

You can monitor what ever you want (if it has an ip address): network devices: appliance (firewall, switch,…) or server, applications (web site,…), operating systems, environment,…

Your standard protocol tools:
SNMP, SNMP Trap, Ping/ICMP, SSH/Telnet, Syslog, WMI, Nagios Agents, XMP/RPC Interface

Zenoss provides
Availability - It test all your device and appliance with a continious scheduling
Inventory and configuration - You can manage all your appliance by device or groups
Discovery - It can describe all your IT environment
Performance monitoring - Collect data from your server, network, and application graphing them
Event management - Collect data (syslog, WMI, SNMP trap, custom events (as defined by the Zenoss web services API)) and analyse it by correlation.
Reporting - You can create your own and custom reports
Web portal - You have a web console (off course with AJAX components) to view and control with a secure access all the elements with a real-time information


Mar 20 2007

En recherche active sur Grenoble

Catégorie : Web & J2EE server, RedHat, Database, News, Oracle, LinuxCharles Collier @ 1:49 am

Je suis actuellement à la recherche d’un poste en region Rhône-alpes, à Grenoble.
Ma mission actuelle se termine le 30 Mars. Je suis disponible à partir du 2 Avril.

Je recherche parmi les types de postes ci dessous:
Architecte technique
Chef de projet technique
Administrateur Systeme Linux et/ou DBA Oracle

L’environnement technique du poste pourrait etre basé sur Linux, Oracle (base de données et serveur J2EE), le monde open-source (serveur d’application J2EE jboss, supervision avec Nagios/Cacti)
Le poste serait donc idéalement axé sur de fortes compétences techniques, pour un rôle d’expertise, de gestion de projet, ou d’administration (je ne souhaite plus m’orienter vers du développement)

N’hesitez pas à me contacter par mail ou par téléphone:

Formulaire de contact mail.

Mon CV (en français)


Mar 15 2007

Red Hat Enterprise Linux 5

Catégorie : RedHat, News, LinuxCharles Collier @ 10:12 am

Red Hat has released the new version of it’s operating system RHEL 5 (Red Hat Enterprise Linux). RHEL 5 implements a totally integrated Xen-based server and storage virtualization solution, by combining server virtualization with Red Hat’s clustering support. In addition, RHEL 5 comes with a virtualization manager that should make installing and administering Xen virtual machines much easier.

Performance and scalability improvement have been done with this new version. The kernel version is now 2.6.18 (previously it was 2.6.9) Security with RHEL 5’s SELinux (security enhanced Linux) was also improved and should be easier to use.

Another big evolution is the introduction of yum. You should be able to have a yum repository. Everything will be based on yum (the system-config-packages, the RHEL update,…)

In the meanwhile, you may have already tested the RHEL 4 update 5 (which is the first update for RHEL 4 to include Xen paravitualized kernels). It was released last week, and the main evolve is the integration of XEN. Xen is the open source virtualization effort that Red Hat has already included in its Fedora community Linux releases (with Fedora Core 6) and is part of Novell’s SUSE Linux Enterprise 10 release as well, for many months now.

http://www.redhat.com/
http://www.europe.redhat.com/rhel/
http://www.xensource.com/


Mar 09 2007

Have your database size

Catégorie : Database, Oracle DatabaseCharles Collier @ 2:01 pm

If you’d like to know how big your DB is:

select 	FILE_NAME,
d.TABLESPACE_NAME,
d.BYTES datafile_size,
nvl(sum(e.BYTES),0) bytes_used,
round(nvl(sum(e.BYTES),0) / (d.BYTES), 4) * 100 percent_used,
d.BYTES - nvl(sum(e.BYTES),0) bytes_free
from 	DBA_EXTENTS e,
DBA_DATA_FILES d
where  	d.FILE_ID = e.FILE_ID (+)
group  	by FILE_NAME,d.TABLESPACE_NAME, d.FILE_ID, d.BYTES, STATUS
order  	by d.TABLESPACE_NAME,d.FILE_ID

Mar 08 2007

The Deployment scanner - jboss

Catégorie : Web & J2EE server, Jboss, Tips and tricksCharles Collier @ 1:13 am

Start

The conf/jboss-service.xml file is full of options. One of these ones is about the deployment scanner. If you make any change in a jboss config file then you’ll have to restart the server.

Open the conf/jboss-service.xml in vi or some text editor capable of saving in plain text. Scroll near the bottom to the MBean definition for the DeploymentScanner:

Deployment Sorter

As you scroll down you should see some comments followed by this:

org.jboss.deployment.DeploymentSorter

This is the deployment sorter which enforces the default deployment order. Starting from 4.0.1, it gets the sort order from the MainDeployerss EnhancedSuffixOrder. If you prefer a UNIX System-V init style you can comment this sorter and uncomment the following line:

org.jboss.deployment.scanner.PrefixDeploymentSorter

This sorter will use a numeric prefix-based order. If you wish to use this sort, you should read further on the prefix deployment order.

Scan Period

As you scroll further you will find:

5000

The default value is 5000 milliseconds or 5 seconds. This determines how frequently the directories which the Deployment Scanner is watching (/deploy) will be polled. Of course it very usefull when you are under development. But when you a production server this option should be disable (because of waste CPU, or protect from unwanted productions changes)

URLs

As you scroll further you will find:

deploy/

It will defined where data (such as .ear or .war) for hot deployments will be used.
It could even be http://url or webdav url.
For example, if you wanted to protect the database passwords you might do this:

deploy/,datasources/

You could set the file system permissions on datasources/ such that JBoss could read them, but developers could not.

Recursive

Finally, you should see:

True

This will cause the deployment scanner to recurse into subdirectories. Read this for more informaton on the drawbacks.

Disable Hot Deployment

Add the following attribute:

false

Mar 06 2007

Export script - beginners

Catégorie : Database, Oracle Database, OracleCharles Collier @ 12:17 am

Here is a very simple script to save an Oracle database with a full export script.
It’s a very basic example, because there is no log and no option (only a full export)
Ina few days i’ll post a more detailled export script.

#!/bin/bash
#—————————#
# Oracle Full export script #
# Nuxora v1.0 #
#—————————#

# set env
export NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1
export ORACLE_SID=$1
when=`date +”%d%m”`

# export
exp expimp/$2 file=”$ORACLE_BACKUP”/admin/exp/full/$ORACLE_SID/exp”$when”_”$ORACLE_SID”_”FULL”.dmp FULL=Y ROWS=Y

# keep only 7 days
for file in `find “$ORACLE_BACKUP/admin/exp/full/$ORACLE_SID” -name “exp*.dmp” -mtime +7 -print`
do
echo $file
rm $file
done


Mar 06 2007

Sendmail: quick start

Catégorie : sysadmin, LinuxCharles Collier @ 12:06 am

First you have to edit the config file
vi /etc/mail/sendmail.mc
you have to know your smtp server:


dnl # Uncomment and edit the following line if your outgoing mail needs to
dnl # be sent out through an external mail server:
dnl #
define(`SMART_HOST’,`serverSMTP’)
dnl #
define(`confDEF_USER_ID’,“8:12”)dnl
dnl define(`confAUTO_REBUILD’)dnl
define(`confTO_CONNECT’, `1m’)dnl

Then, generate the .cf file with ‘m4′ tool:
m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf

You now have a new config file for our sendmail daemon
Then, restart sendmail:
/etc/init.d/sendmail restart


« Page précédentePage suivante »