[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#782761: linux-tools: Please include tools/hv daemons in a binary



Hi,

On Sun, 28 Jun 2015 22:17:16 +0200
Bastian Blank <waldi@debian.org> wrote:
> I commited an adopted version to our svn repo.  Please test the changes
> and report back if it actually works.

 We've confirmed that Debian guest works well under Hyper-V host with this
 hyperv-daemons package thanks to Motonobu Takahashi <monyo@samba.org> for
 check :)

-----------------------------------------------------------------------------------
root@sid64-1:~# systemctl | grep hv
hv_fcopy_daemon.service
loaded active running   Hyper-V FCOPY daemon
hv_kvp_daemon.service
loaded active running   Hyper-V KVP daemon
hv_vss_demon.service
loaded active running   Hyper-V VSS daemon

/var/log/messeges
-----
Jul 12 22:17:04 sid64-1 Hyper-V VSS: VSS starting; pid is:449
Jul 12 22:17:04 sid64-1 HV_FCOPY: HV_FCOPY starting; pid is:448
Jul 12 22:17:04 sid64-1 KVP: KVP starting; pid is:447
Jul 12 22:17:04 sid64-1 KVP: KVP LIC Version: 3.1
-----

functions
* KVP <https://technet.microsoft.com/ja-jp/windowsserver/dn575471.aspx>

C:\>cscript kvptest.vbs
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.

Guest KVP information for sid64-1

FullyQualifiedDomainName : sid64-1.localdomain
IntegrationServicesVersion : 3.1
NetworkAddressIPv4 : 192.168.20.130
NetworkAddressIPv6 : fe80::215:5dff:fe38:d309
OSBuildNumber : 4.0.0-2-amd64
OSDistributionData : 0
OSDistributionName : 0
OSKernelVersion : 262151
OSMajorVersion :
OSMinorVersion :
OSName : Debian GNU/Linux
OSPlatformId : 129
OSVersion : 4.0.0
ProcessorArchitecture : x86_64


* Copy-VMFile

exec below PowerShell script on Hyper-V host

Copy-VMFile -name sid64-1 -SourcePath .\test.txt -FileSource Host -DestinationPath /tmp

and test.txt was copied to /tmp on Debian guest

* VSS

 On Hyper-V host, run below command and checked log
 wbadmin start backup -hyperv:<VM> -backupTarget:<destination>
-----
Jul 14 23:32:26 sid64-1 Hyper-V VSS: VSS: op=FREEZE: succeeded
Jul 14 23:32:26 sid64-1 Hyper-V VSS: VSS: op=THAW: succeeded
-----

 But there's a problem that guest Debian host should be rebooted to work properly (don' know why yet).
 Anyway, please go a head, will check and fix problem later.

 Oh, and tiny typo in my patch... should be s/demon/daemon/g


-- 
Regards,

 Hideki Yamane     henrich @ debian.or.jp/org
 http://wiki.debian.org/HidekiYamane


Reply to: