Skip to content

Archive

Category: Datacenter

Installer FFMPEG

mkdir svn
cd svn
svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg
cd ffmpeg

./configure –prefix=/usr/local/ffmpeg –enable-shared –enable-gpl –enable-nonfree –enable-decoder=mpeg1video –enable-decoder=mpeg2video –enable-decoder=flv –enable-decoder=mpeg4 –enable-decoder=tiff –enable-decoder=cinepak –enable-decoder=ac3 –enable-decoder=mp3 –enable-decoder=mjpeg –enable-decoder=wmv1 –enable-decoder=wmv2 –enable-decoder=wmv3 –enable-decoder=mpegvideo

make

make install

vi /etc/ld.so.conf.d/ffmpeg.conf
#:mettre:

/usr/local/ffmpeg/lib/

#dans le fichier

ldconfig -v

/usr/local/ffmpeg/bin/ffmpeg -V

FFmpeg version SVN-r22407, Copyright (c) 2000-2010 the FFmpeg developers
built on Mar  9 2010 14:54:04 with gcc 4.3.3
configuration: –prefix=/usr/local/ffmpeg –enable-shared –enable-gpl –enable-nonfree –enable-decoder=mpeg1video –enable-decoder=mpeg2video –enable-decoder=flv –enable-decoder=mpeg4 –enable-decoder=tiff –enable-decoder=cinepak –enable-decoder=ac3 –enable-decoder=mp3 –enable-decoder=mjpeg –enable-decoder=wmv1 –enable-decoder=wmv2 –enable-decoder=wmv3 –enable-decoder=mpegvideo
libavutil     50.11. 0 / 50.11. 0
libavcodec    52.58. 0 / 52.58. 0
libavformat   52.55. 0 / 52.55. 0
libavdevice   52. 2. 0 / 52. 2. 0
libswscale     0.10. 0 /  0.10. 0

voila.

  • Share/Bookmark

Tiens, mon jeep est dedans lol

Cliquez ici:

  • Share/Bookmark

vSphere Virtual Machine Upgrade Process

source

Upgrading a VMware Infrastructure 3.x environment to VMware vSphere 4 involves more than just upgrading vCenter Server and upgrading your ESX/ESXi hosts (as if that wasn’t enough). You should also plan on upgrading your virtual machines. VMware vSphere introduces a new hardware version (version 7), and vSphere also introduces a new paravirtualized network driver (VMXNET3) as well as a new paravirtualized SCSI driver (PVSCSI). To take advantage of these new drivers as well as other new features, you’ll need to upgrade your virtual machines. This process I describe below works really well.

Please note that this process will require some downtime. I personally tested this process with both Windows Server 2003 R2 as well as Windows Server 2008; it worked flawlessly with both versions of Windows. (I’ll post a separate article on doing something similar with other operating systems, if it’s even possible.)

  1. Record the current IP configuration of the guest operating system. You’ll end up needing to recreate it.
  2. Upgrade VMware Tools in the guest operating system. You can do this by right-clicking on the virtual machine and selecting Guest > Install/Upgrade VMware Tools. When prompted, choose to perform an automatic tools upgrade. When the VMware Tools upgrade is complete, the virtual machine will reboot.
  3. After the guest operating system reboots and is back up again, shutdown the guest operating system. You can do this by right-clicking on the virtual machine and selecting Power > Shutdown Guest.
  4. Upgrade the virtual machine hardware by right-clicking the virtual machine and selecting Upgrade Virtual Hardware.
  5. In the virtual machine properties, add a new network adapter of the type VMXNET3 and attach it to the same port group/dvPort group as the first network adapter.
  6. Remove the first/original network adapter.
  7. Add a new virtual hard disk to the virtual machine. Be sure to attach it to SCSI node 1:x; this will add a second SCSI adapter to the virtual machine. The size of the virtual hard disk is irrelevant.
  8. Change the type of the newly-added second SCSI adapter to VMware Paravirtual.
  9. Click OK to commit the changes you’ve made to the virtual machine.
  10. Power on the virtual machine. When the guest operating system is fully booted, log in and recreate the network configuration you recorded for the guest back in step 1. Windows may report an error that the network configuration is already used by a different adapter, but proceed anyway. Once you’ve finished, shut down the guest operating system again.
  11. Edit the virtual machine to remove the second hard disk you just added.
  12. While still in the virtual machine properties, change the type of the original SCSI controller to VMware Paravirtual (NOTE: See update below.)
  13. Power on the virtual machine. When the guest operating system is fully booted up, log in.
  14. Create a new system environment variable named DEVMGR_SHOW_NONPRESENT_DEVICES and set the value to 1.
  15. Launch Device Manager and from the View menu select Show Hidden Devices.
  16. Remove the drivers for the old network adapter and old SCSI adapter. Close Device Manager and you’re done!

If you perform these steps on a template, then you can be assured that all future virtual machines cloned from this template also have the latest paravirtualized drivers installed for maximum performance.

UPDATE: Per this VMware KB article, VMware doesn’t support using the PVSCSI adapter for boot devices. That is not to say that it doesn’t work (it does work), but that it is not supported. Thanks to Eddy for pointing that out in the comments!

  • Share/Bookmark

Utiliser le host update utility semble une belle alternative.

 

 

 

 

  • Share/Bookmark

Advice to employees on the proper use of the System Administrator’s valuable time

(In following examples, we will substitute the name « Ted » as the System Administrator)

  • Make sure to save all your MP3 files on your network drive. No sense in wasting valuable space on your local drive! Plus, Ted loves browsing through 100+ GB of music files while he backs up the servers.
  • Play with all the wires you can find. If you can’t find enough, open something up to expose them. After you have finished, and nothing works anymore, put it all back together and call Ted. Deny that you touched anything and that it was working perfectly only five minutes ago. Ted just loves a good mystery. For added effect you can keep looking over his shoulder and ask what each wire is for.
  • Never write down error messages. Just click OK, or restart your computer. Ted likes to guess what the error message was.
  • When talking about your computer, use terms like « Thingy » and « Big Connector. »
  • If you get an EXE file in an email attachment, open it immediately. Ted likes to make sure the anti-virus software is working properly.
  • When Ted says he coming right over, log out and go for coffee. It’s no problem for him to remember your password.
  • When you call Ted to have your computer moved, be sure to leave it buried under a year-old pile of postcards, baby pictures, stuffed animals, dried flowers, unpaid bills, bowling trophies and Popsicle sticks. Ted doesn’t have a life, and he finds it deeply moving to catch a glimpse of yours.
  • When Ted sends you an email marked as « Highly Important » or « Action Required », delete it at once. He’s probably just testing some new-fangled email software.
  • When Ted’s eating lunch at his desk or in the lunchroom, walk right in, grab a few of his fries, then spill your guts and expect him to respond immediately. Ted lives to serve, and he’s always ready to think about fixing computers, especially yours.
  • When Ted’s at the water cooler or outside taking a breath of fresh air, find him and ask him a computer question. The only reason he takes breaks at all is to ferret out all those employees who don’t have email or a telephone.
  • Send urgent email ALL IN UPPERCASE. The mail server picks it up and flags it as a rush delivery.
  • When the photocopier doesn’t work, call Ted. There’s electronics in it, so it should be right up his alley.
  • When you’re getting a NO DIAL TONE message at your home computer, call Ted. He enjoys fixing telephone problems from remote locations. Especially on weekends.
  • When something goes wrong with your home PC, dump it on Ted’s chair the next morning with no name, no phone number, and no description of the problem. Ted just loves a good mystery.
  • When you have Ted on the phone walking you through changing a setting on your PC, read the newspaper. Ted doesn’t actually mean for you to DO anything. He just loves to hear himself talk.
  • When your company offers training on an upcoming OS upgrade, don’t bother to sign up. Ted will be there to hold your hand when the time comes.
  • When the printer won’t print, re-send the job 20 times in rapid succession. That should do the trick.
  • When the printer still won’t print after 20 tries, send the job to all the printers in the office. One of them is bound to work.
  • Don’t use online help. Online help is for wimps.
  • Don’t read the operator’s manual. Manuals are for wussies.
  • If you’re taking night classes in computer science, feel free to demonstrate your fledgling expertise by updating the network drivers for you and all your co-workers. Ted will be grateful for the overtime when he has to stay until 2:30am fixing all of them.
  • When Ted’s fixing your computer at a quarter past one, eat your Whopper with cheese in his face. He functions better when he’s slightly dizzy from hunger.
  • When Ted asks you whether you’ve installed any new software on your computer, LIE. It’s no one else’s business what you’ve got on your computer.
  • If the mouse cable keeps knocking down the framed picture of your dog, lift the monitor and stuff the cable under it. Those skinny Mouse cables were designed to have 55 lbs. of computer monitor crushing them.
  • If the space bar on your keyboard doesn’t work, blame Ted for not upgrading it sooner. Hell, it’s not your fault there’s a half pound of pizza crust crumbs, nail clippings, and big sticky drops of Mountain Dew under the keys.
  • When you get the message saying « Are you sure? », click the « Yes » button as fast as you can. Hell, if you weren’t sure, you wouldn’t be doing it, would you?
  • Feel perfectly free to say things like « I don’t know nothing about that boneheaded computer crap. » It never bothers Ted to hear his area of professional expertise referred to as boneheaded crap.
  • Don’t even think of breaking large print jobs down into smaller chunks. God forbid somebody else should sneak a one-page job in between your 500-page Word document.
  • When you send that 500-page document to the printer, don’t bother to check if the printer has enough paper. That’s Ted’s job.
  • When Ted calls you 30 minutes later and tells you that the printer printed 24 pages of your 500-page document before it ran out of paper, and there are now nine other jobs in the queue behind yours, ask him why he didn’t bother to add more paper.
  • When you receive a 130 MB movie file, send it to everyone as a high-priority mail attachment. Ted’s provided plenty of disk space and processor capacity on the new mail server for just those kinds of important things.
  • When you bump into Ted in the grocery store on a Sunday afternoon, ask him computer questions. He works 24/7, and is always thinking about computers, even when he’s at super-market buying toilet paper and doggie treats.
  • If your son is a student in computer science, have him come in on the weekends and do his projects on your office computer. Ted will be there for you when your son’s illegal copy of Visual Basic 6.0 makes the Access database keel over and die.
  • When you bring Ted your own « no-name » brand PC to repair for free at the office, tell him how urgently he needs to fix it so you can get back to playing EverQuest. He’ll get on it right away, because everyone knows he doesn’t do anything all day except surf the Internet.
  • Don’t ever thank Ted. He loves fixing everything AND getting paid for it!
  • Share/Bookmark

Quand le media du catalog reste accroché et que tenter de le changer ca donne une erreur 177 (could not deassign media).

 

Voici comment j’ai réussi:

 

1: Fermer les services netbackup.

2: S’en assurer (bpps -a)

3: S’ils ne sont pas tous fermés, utiliser:  /usr/openv/netbackup/bin/goodies/bp.kill_all

4: Forcer Netbackup a recréer son fichier de sync du catalog: (mv /usr/openv/netbackup/db/config/sync /usr/openv/netbackup/db/config/sync.old)

5: Demarrer les services NEtbackup et ouvrir la console JAVA.

6: Aller recréer le tape de catalog (type de media, nom du media, remettre schedule, etc)

7: Tadam, rouler la copie du catalog.

  • Share/Bookmark

Voici deux petits vidéos de la salle des serveurs de Prodsac Networking.

  • Share/Bookmark