Daily Archives: 19 mars 2009

900.000 € en 5 mois

C’est ce qu’un employé indélicat – embauché sous une fausse identité – de la banque HSBC a détourné de comptes clients en « détournant le sécurité informatique » du centre de traitement de Nanterre.

C’est un homme intelligent. Il a compris comment fonctionnait le système informatique de la banque. Et il est parvenu à en craquer toutes les sécurités. Cette manipulation lui a donné accès à tous les comptes des clients de la banque.

Le Parisien

N’est ce pas cette banque qui a investi dans système de fraude à l’identité ?

Le storage vMotion c’est bien, mais …

Le storage vMotion est une belle fonctionnalité mais lorsque cela bug pendant une migration même si la VM continue de fonctionner elle n’est plus administrable.

Argyle sur le forum de communauté VMware a rencontré le problème et surtout à trouver « une » solution qui semble fonctionner.

Comme ce type de plantage n’arrive jamais :D je vous fais partager la solution mise en oeuvre par ce membre :

=======================
DISCLAIMER:
I take no responsibility for the result in your specific environment. The following worked for me.
=======================

Description:
Create a snapshot of the VM and then remove the snapshots. This will commit the dmotion deltas too. Note that you can’t remove/commit the dmotion delta files directly since they don’t count as a normal snapshot. Running vmware-cmd with hassnapshot parameter doesn’t return a value of « 1″.

After that edit the .vmx settings to remove entries for the DMotionParent parameters or it will restart the migration at next reboot. You will have no options like « Edit settings » etc in Virtual Center unless you do this.

Having data left in the DMotionParent parameters will result in only having one option available in Virtual Center GUI at next reboot called « Complete migration ».

You do not want to use this option though since it completes the migration on the source LUNs, ignoring your previous destination LUNs. You need double the space to do this if you still want to perform it. In my case I had a 100 GB VM disk on a 150 GB LUN and it will fail.

Once you remove the value in the DMotionParent parameters via vmware-cmd in ESX, Virtual Center will display all normal options again. Note that editing the .vmx file directly will not trigger a reload of the .vmx config.

Step by step:
You have a VM with two disks on LUN1 and LUN2 that you want to migrate to LUN3 and LUN4

Storage vmotion fails midway for reason X

We have a running VM with .vmx and swap on LUN3 and vmdk and dmotion delta files on LUN1 and LUN2. VM is running on the delta files.

Log in to the ESX that has the VM to create a snapshot on VM (its not available via Virtual Center GUI in this state), make sure there is room on LUN3 that holds vmx files.

Find the UUID path to your VM with:
vmware-cmd -l

Create a snapshot (of all disks) with:
vmware-cmd /vmfs/volumes/487…d4/MYSERVER/MYSERVER.vmx createsnapshot snapname snapdescrition 1 1

You get files like this on LUN3:
DMotion-scsi0:00_MYSERVER-000001.vmdk
DMotion-scsi0:00_MYSERVER-000001-delta.vmdk
DMotion-scsi0:01_MYSERVER-000001.vmdk
DMotion-scsi0:01_MYSERVER-000001-delta.vmdk

Remove (Commit) the snapshots:
vmware-cmd /vmfs/volumes/487…d4/MYSERVER/MYSERVER.vmx removesnapshots

The above commit all delta files, including dmotion files.

We have a server running on the original disks with all data intact.

Virtual Center still thinks its in dmotion state so you can’t edit settings, perform vmotion or anything via Virtual Center.

To fix we need to clear the DMotionParent parameters in the .vmx file with the following command from ESX:
vmware-cmd /vmfs/volumes/487…d4/MYSERVER/MYSERVER.vmx setconfig scsi0:0.DMotionParent «  »
vmware-cmd /vmfs/volumes/487…d4/MYSERVER/MYSERVER.vmx setconfig scsi0:1.DMotionParent «  »

If we do not do this the only option after VM shut down will be « Complete Migration » in Virtual Center. If you select this option it will try to rerun storage vmotion again (offline) but it will use same destination as the source disks. Not good if we don’t have space on those LUNs.

We still have vmx and swap on LUN3 and vmdk files on LUN1 and LUN2.

Perform a new storage migration to move back the vmx files.

Example of just moving vmx file
C:\Program Files\VMware\VMware VI Remote CLI\bin>svmotion.pl
–server=vc.mydomain.com –username=some_name –password=some_pass
–datacenter= »My Data Center »

–vm= »Sys-Disk-002 MYSERVER/MYSERVER.vmx:Sys-Disk-001″
–disks= »Sys-Disk-001 MYSERVER/MYSERVER.vmdk:Sys-Disk-001, Data-Disk-001 MYSERVER/MYSERVER.vmdk:Data-Disk-001″
–verbose

Attempting to connect to service url.
Connected to server.
Resolving the input arguments.
Performing Storage VMotion.
Storage VMotion completed successfully.

Disconnecting.

Clean up previous destination LUN3 and LUN4 by removing any vmdk files and folders that was created.

Done. We are back where we started with no downtime.

We can now try storage vmotion again.

En espérant que vous n’aurez jamais besoin d’une telle procédure …

Crise dans l’emploi IT

D’après le monde informatique, la situation économique en France impacte l’emploi dans l’IT.

En effet l’APEC annonce une chute de 40% des offres IT par rapport à février 2008. Malgrè ces chiffres les chasseurs de tête n’ont pas perdu la main, depuis le début de l’année ce n’est pas moins de 5 propositions qui m’ont été faite, toutes dans des SSII. J’ai même eu une proposition pour de la virtualisation sous … Hyper-V – non pas que je dénigre cet hyperviseur mais en quelques clics sur le net, voir la lecture de mon CV, on se rend bien compte que ce n’est pas mon hyperviseur de prédilection.

Je pense,   justement, que  cette période de « crise économique » est une bonne période pour les consultants et expert en virtualisation car pour beaucoup d’entreprises – de la PME à la grande entreprise – la virtualisation est synonyme de réduction des coûts grâce à la consolidation.

Un coup d’oeil sur mon aggragateur de flux RSS dédié à l’emploi dans le monde de la virtualisation VMware vous prouvera que les offres sont bien présentes.

Sur ce, je vais mettre à jour mon CV, on ne sait jamais :D