Koozali.org: home of the SME Server

error backup sme 9.1 virtualized under hyperv (Windows)

Offline john56

  • ****
  • 145
  • +0/-0
error backup sme 9.1 virtualized under hyperv (Windows)
« on: November 15, 2016, 06:33:10 PM »
Hello,
I use sme server 9.1 virtualized with hyperv under windows 2012 R2.
The whole works very well overall. However, when backing up by WindowsServer, the backup of sme server indicates an error.
The other machines virtualized under windows have no problem.
You will tell me that it is a windows problem so it does not do anything here, but it would seem that the backup of sme does not happen because it can not make backup because the sme is in Operation (maybe?). A search track could be the linux integration tools under hyperv that I did not use on the sme (I do not find them and I do not want to do stupidity ... more I'm afraid that, With each kernel change this causes a problem to see a kernel panic as I read on some forums).

Here is the error message:
Quote
Échecs de l’enregistreur
ID d’enregistreur : {66841CD4-6DED-4F4B-8F17-FD23F8DDC3DE}
ID d’instance : {684009BB-88A8-49B3-BE04-677FD742892C}
Nom de l’enregistreur : Microsoft Hyper-V VSS Writer
État de l’enregistreur : 5
Résultat de l’échec : 80042336
Résultat de l’application : 80004005
Message de l’application : (null)
   Composant : 7C0255DE-DF0E-4559-9F9B-5A7F8E386C14
   Chemin logique : (null)
   Résultat du composant : 800423F4
   Message du composant : Impossible de créer le point de contrôle de sauvegarde pour l’ordinateur virtuel « BUZZ » : Erreur non spécifiée (0x80004005). (ID d’ordinateur virtuel 7C0255DE-DF0E-4559-9F9B-5A7F8E386C14)
       Spécification de fichier : D:\HyperV\BUZZ\Virtual Machines\\7C0255DE-DF0E-4559-9F9B-5A7F8E386C14.xml Récursif : 0
       Spécification de fichier : D:\HyperV\BUZZ\Virtual Hard Disks\\BUZZ.vhdx Récursif : 0
       Spécification de fichier : D:\HyperV\BUZZ\Snapshots\E67E7D38-3AF8-4957-BDB8-9223AE592313.xml Récursif : 0
       Spécification de fichier : D:\HyperV\BUZZ\Virtual Hard Disks\BUZZ_E67E7D38-3AF8-4957-BDB8-9223AE592313.avhdx Récursif : 0
*-----------------------------*


Sauvegarde de l’application
ID d’enregistreur : {66841CD4-6DED-4F4B-8F17-FD23F8DDC3DE}
   Composant : 7C0255DE-DF0E-4559-9F9B-5A7F8E386C14
   Légende    : Online\BUZZ
   Chemin logique :
   Erreur         : 80780175
   Message d’erreur   : Le composant a été ignoré lors de la copie du cliché instantané.

   Erreur détaillée : 800423F4
   Message d’erreur détaillée : L’enregistreur a rencontré une erreur non temporaire. Si le processus de sauvegarde
est relancé, il est probable que l’erreur se reproduise.

Thank you for you precious help.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: error backup sme 9.1 virtualized under hyperv (Windows)
« Reply #1 on: November 15, 2016, 06:55:34 PM »
I don't know anything about windows hyperv (and I admit that I won't touch it neither with a long pole...), anyway, thinking about ESX or virtualbox, is there any kind of "guest tools" to install onto VMs?

and, other question, is your SME the only linux machine?

BTW, you'd better use the backup feature and backup the content only, because the restoring time is almost identical..

Offline john56

  • ****
  • 145
  • +0/-0
Re: error backup sme 9.1 virtualized under hyperv (Windows)
« Reply #2 on: November 15, 2016, 07:03:41 PM »
Yes it is the only linux machine. I also backup with the standard backup dar.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: error backup sme 9.1 virtualized under hyperv (Windows)
« Reply #3 on: November 15, 2016, 08:16:34 PM »
Yes it is the only linux machine.

don't ask me why but I already know the answer :-)

Quote
I also backup with the standard backup dar.

then don't backup the VM.. installing SME is a matter of few minutes, and the restoring will take the same time..

Offline john56

  • ****
  • 145
  • +0/-0
Re: error backup sme 9.1 virtualized under hyperv (Windows)
« Reply #4 on: November 15, 2016, 08:43:21 PM »

First, I would like to understand. In addition, the file server is a server in a school and there is a lot of data to restore (by the lan currently). So I would like to use the hyperv backup that it is with usb3 hard drive.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: error backup sme 9.1 virtualized under hyperv (Windows)
« Reply #5 on: November 15, 2016, 08:55:38 PM »
well, since is a windows issue (I bet 55€c), I'd start from searching with google for "hyperv linux centos 6 client"..

if you find a solution, please give us feedback, thank you

Offline john56

  • ****
  • 145
  • +0/-0
Re: error backup sme 9.1 virtualized under hyperv (Windows)
« Reply #6 on: November 15, 2016, 08:58:09 PM »
I tried with "yum install hyperv-daemons" but that did not help me.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: error backup sme 9.1 virtualized under hyperv (Windows)
« Reply #7 on: November 15, 2016, 09:00:01 PM »
well.. is that rpm available in Centos repos? can you give us some details? almost no one here is using hyperv, so you've to be verbose..
where did you find you have to install such a package?


Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: error backup sme 9.1 virtualized under hyperv (Windows)
« Reply #9 on: November 15, 2016, 09:19:14 PM »
ok.. I see hyperv-daemons is available from centos' repos..
are you sure they are running?

please be aware that SME is not a plain centos, so maybe you have to tweak something..

I suggest you to create an empty test machine in hyperv and try to make it work..

after you installed the rpms, check that daemons are running after a reboot.. if not, you can follow this way:

Code: [Select]
config set servicename service status enabled
cd /etc/rc7.d
ln -s /etc/rc.d/init.d/e-smith-service SXYservicename

where servicename must be the same of the related file(s) you find in /etc/rc.d/init.d
XY gives the starting order.. the higher the number, the later it will be started

maybe you have to repeat the same thing for each service you install with those rpms..

try and let us know

Offline john56

  • ****
  • 145
  • +0/-0
Re: error backup sme 9.1 virtualized under hyperv (Windows)
« Reply #10 on: November 15, 2016, 10:03:59 PM »
Your message made me think about the real launch of services. So I resumed a forum that I had already read.

/etc/init.d/hypervkvpd start
/etc/init.d/hypervvssd start

And the backup just launched for the first time! Great!

Answer tomorrow morning!

Offline john56

  • ****
  • 145
  • +0/-0
Re: error backup sme 9.1 virtualized under hyperv (Windows)
« Reply #11 on: November 16, 2016, 06:04:28 AM »
it works ! That was the solution! Start the daemons ...
For information, The backup lasted one hour and the restoration also. (200 Go with a usb3 hard disk).

Thank you very much Stephano, your message helped me.

So, to install integration tools with hyperv (backup with vss), first you have to enable centos packets and :

Quote
yum install hyperv-daemons
/etc/init.d/hypervkvpd start
/etc/init.d/hypervvssd start


guest22

Re: error backup sme 9.1 virtualized under hyperv (Windows)
« Reply #12 on: November 16, 2016, 06:15:32 AM »
Please see the wiki on how to enable auto start services on (re)boot.

Offline john56

  • ****
  • 145
  • +0/-0
Re: error backup sme 9.1 virtualized under hyperv (Windows)
« Reply #13 on: November 16, 2016, 06:41:49 AM »
You have right RequestedDeletion.  Have you a direct link to explain the command ?

guest22

Re: error backup sme 9.1 virtualized under hyperv (Windows)
« Reply #14 on: November 16, 2016, 06:43:36 AM »
as an example: https://wiki.contribs.org/Random_Strong_Password_Generator#Start_at_boot


By the looks of it, you need to create 2 services.