Quantcast
Channel: Hyper-V forum
Viewing all 19461 articles
Browse latest View live

missing disk of storage pool, SRV12 Essentials under Win8 / Hyper-V

$
0
0
SRV 12 Essentials Storage Pool misses one of two disks. Both disks had been attached as physical disks to the virtual server under Hyper-V. That was fine, but after a restart (probably without power connection on one of the two disks) now the missing disk shows up as a physical disk on the host Win8, but not as a logical disk there. So, this logical disk can not be re-attached to SRV 12 Ess. As it is missing there, the storage pool is gone - without indicating a failure. The second physical disk of that pool shows up as a physical disk on Win 8 machine, as a logical disk, too (offline) and we could set it online on the guest operating system. With all data from the former pool. How the hell can we bring the other physical drive back to the pool? By the way: Win8 storage space can manage both drives, shows both as online.

On Hyper-V server 2012 (the free one) my networking status says "degraded (integrations services upgrade required)" how do I upgrade this?

$
0
0

I've searched for hours and don't find anything. Everything seems to assume you are running Hyper-V on a full server install. I am running SBS 2011 on a Hyper-V 2012 parent. Maybe it wasn't such a good idea with how windows 8 centric it all is...


John LaFoe Converged Technologies

Hyper-V time Sync problem

$
0
0

Greetings everyone.

Yesterday we had a time problem over one of our production servers, 2008R2, I had not too much to investigate why it was caused, cause it was urgent to solve it, but maybe anyone here could lend me a hand in figuring why it was caused and avoid it happening again.

Any further investigation overt this problematic machine won't be possible, it was a virtual one which, for other reason, needed to be deleted, the physical is working again.

I'll try to explain the problem:

Yesterday, at 4PM, the machine suddenly changed his hour to 1AM of today (+9 hours), event viewer just showed and information message like "System time and date has been changed" by system service.This server was w32tm synced to es.pool.ntp.org, forzing the resync just let the correct time for about 20 secs, then it would go wrong again.

Forzing it with cmd time date, or control panel, same result.

So I checked hyper-V time sync from his physical machine, which we manually deactivated when we NTPed it, somehow it was activated, as soon as I deactivated it, time was again synced correctly with NTP.The time in the physical machine was correct all the time.

So the questions I would like to get solved would be:

-Why would hyper-v time sync mess up the virtual machines, even if hyper-V host time is correct? is there any way to fix this if its a known bug?

-Why would hyper-V time sync reactivate itself alone? any way to ensure this won't happen again?

All our enviroment is running under Hyper-V, if this has happened in this machine I would need a way to diagnose/fix it so it won't happen in anymore, sorry for not being able to give you more data about the problem we have, but I could add anything you need if its not "problematic machine related".

Regards.

Carlos.

How can i plan Hardware specs specially harddisk and RAID for hyper-V virtual infrustructure

$
0
0

Hi,

i am going to purchase a physical box with 4X600 GB SAS drive to plan to run arround 40 VMS on it.

Now I am bit confused about the IOPS utilization and load can carry with RAID 10 in this physical box.

My plan is this

1. configure RAID 10

2. run arround 40 VMs with 20 GB each dynamic vhd.

Please suggest me if there is any problem related to performance i will face or suggest me to get good performance with this HDD configuratin so that i can run required Vms

Thanks & Regards,

Masud Hussain

Refresh Snapshot PowerShell Script

$
0
0

I'm trying to create a PS command that will take a new snapshot of certain VMs and then delete all the older snapshots on those same VMs. I want to do it by passing the snapshots that I create to something that will return all the other snapshots and then remove them.

My issue right now is that Checkpoint-VM is supposed to have the snapshots it creates as an output, but it doesn't seem to work. I can get it to output the VM's with -passthru, but I can't get the snapshots themselves.

This is what I have, except $vmsnapshots never gets anything in it.

$vmsnapshots = Checkpoint-VM Pattern*
Get-VMSnapshot Pattern* | where {$vmsnapshots -notcontains $_} | Remove-VMSnapshot

Thanks!

Bobby


Getting the Path of Virtual Machine's VHD using WMI

$
0
0
Hi all,

I need to get a path of virtual machine's VHD using WMI. The path will be used as the parameter "ParentPath" in the method "CreateDifferencingVirtualHardDisk". Having searched the Internet enough I haven't found how to do it.

Does anybody have any ideas?

Best regards,
Alexander

Cause of Hyper-V-Integration-VSS Event 4098

$
0
0

I'm getting many events of id 4098 in my host Hyper-V Server 2012 event log.  The guest (Server 2012) for the event is on a pass through disk being backed up by DPM Server 2012 SP1 with an agent installed in the VM.  All integration services are being offered to the guest.

I have another guest (Server 2008R2) with pass through disks on another host (Server 2012) being backed up with DPM in the same manner and I do not receive these events.  DPM agent is also installed on this guest and all integration services are being offered as well.

Both guest systems have the current integration services installed.  Does anyone know the cause of this message?  The event text is:

'GUESTSYSTEMNAME': The Virtual machine D5C3A563-DD00-4CFA-A08A-826E37720499 cannot be hot backed up since it has one or more volumes with differencing areas located on different volumes

Thanks.

Using Veeam to Replicate Hyper-v VMs

$
0
0

We have a Windows Server 2012 Hyper-v cluster. The virtual machines running on the cluster are Windows Server 2008 R2 servers. I am trying to create a Veeam replication job and I am getting the following error: "VM [vmname] is incompatible with host [hostname]. Specify Windows Server 2012 or Hyper-v 2012 host as the target for replication."

Our Hyper-v host in the disaster recovery site is running Windows Server 2008 R2. Does the source Hyper-v host and the target Hyper-v host have to be the same version of Windows server or is there a workaround for this error?

Thank you.


Virtual Machine Move error...

$
0
0

Hello,

I try to move several local VMs (non clustered) from 1 hyper-v serve to another (both in same domain, same cluster, live migrations work ok) and get this error:

-----------------------------------------------

Virtual machine migration failed at migration source.

Migration did not succeed. Failed to copy file ****.vhd' to '\\the-other-server\****.vhd': 'An operation was attempted on a nonexistent network connection.'('0x800704CD').

-----------------------------------------------

Don't know which network it is talking about nor how to fix this.

Thanks for help...


Thomas.

Hyper V network problem, Virtualbox installed and unistalled

$
0
0

Hi,


 
whats wrong?

hyper-v replication bandwidth

$
0
0

Hi,

I want to set up 2 hyper-v servers and I want to enable replcation between them. Question is which is recommended bandwidth to have?

Remote Desktop and Dynamic Memory

$
0
0
We're testing Server 2008 R2 as a Remote Desktop server, running under Hyper-V 2012.  We're testing it using dynamic memory, but we're getting horrible performance on the RDS.  Anyone else using this?  If we disable dynamic memory and just give it a static amount, seems fine.

WMI Method CreateSwitchPort failing on Windows 2k12

$
0
0

I am new to Windows programming. I am trying to small develop an application that manage the network settings for Virtual machines in Hyper-V  using WMI (C++).  I have trying to create an external-only network port (Virtual Network) invoking the following Methods on WMI Class Msvm_VirtualSwitchManagementServiceWMI Class. 

1. CreateSwitch -> returns reference to the created Msvm_VirtualSwitch

2. BindExternalEthernetPort -> it binds to the NIC port 

3. CreateSwitchPort -> using Msvm_VirtualSwitch created in step 1. This method returns reference to Msvm_SwitchPort. 

4. ConnectSwitchPort -> passing Msvm_LANEndpoint (associated to Msvm_VirtualSwitch created in step 1) and create Msvm_SwitchPort.

I am able to successfully create the External Virtual Network on Windows 2k8R2 but the step 3  is failing on Windows 2k12. 

The CreateSwitchPort method return value is 32768. 

How can I find the reason for failure? Why is this happening of Windows 2k12 when the same code works perfectly fine on 2k8R2?

Any help in the regard is appreciated. 

Regards,

P.N. Ramakrishna.

Which is the VM's Formats --- Fixed and Differencing ??

$
0
0

Hi guys:

I got a VDI project, i use the Windows server 2012's VDI solution, everything is fine ,but about VM's formats ,we have different opinion:

1st:someone advice the differencing,the reason is it can save the storage.

2nd:someone advice the fixed, the reason is the differencing formats take more IOPS than fixed when there are many vms.

This project need 200 vms.

And we do some experiment (40 vms) ,compare the both formats,we have not find the difference, so we confuse this situation.

I look forward the real data , and thank you very much!!

Hyper-v failed to import initial replica.

$
0
0

I'm trying to set up replication. I tried sending the initial file over the network & using offline media. It sends the file, gets to 100% and then says failed with the following error. I get the same error when I try to import initial replication file.

Both servers have full control of the file & folder.



Filter Manager failed to attach to volume

$
0
0

Hi,

I'm using my following script to create Disk and set the VM.

$VMLocation = New-Item -Path "$VMBaseLocation\$VMName" -ItemType Directory -Force
$VMDiskLocation = New-Item -Path "$VMLocation\Virtual Hard Disks" -ItemType Directory -Force

$VMDisk01 = New-VHD –Path $VMDiskLocation\$VMName-OSDisk.vhdx -Differencing –ParentPath $VMRefDisk
$VMDisk02 = New-VHD –Path $VMDiskLocation\$VMName-DataDisk01.vhdx -SizeBytes 60GB
Write-Host "New VHD: [$VMName-OSDisk.vhdx]" -foregroundcolor yellow
Write-Host "New VHD: [$VMName-DataDisk01.vhdx]" -foregroundcolor yellow

 $VM = New-VM –Name $VMname –MemoryStartupBytes $VMMemory –VHDPath $VMDisk01.path -SwitchName $VMNetwork -Path $VMBaseLocation
Add-VMHardDiskDrive -VM $VM -Path $VMDisk02.path –ControllerType SCSI -ControllerNumber 0
Write-Host "VM created: [$VMName]" -foregroundcolor yellow

But I always receive this error in the event viewer :

Filter Manager failed to attach to volume '\Device\HarddiskVolume18'.  This volume will be unavailable for filtering until a reboot.  The final status was 0xC03A001C. 

When I start the VM it works fine, and in disk manager I have to set online and initialize the other disk.

What can cause this error ?


Revue du Geek | Astuces pour déployer Windows 7

Hyper-V on 2012 first boot time sync 2 hours back

$
0
0

Hello,

Windows 2012 RTM, up-to-date, Hyper-V role installed

I create a new VM, empty .VHD 127 GB

I disable time synchronization service on the VM prior to a first boot

I boot from windows installation media .ISO (tested with whatever version 2003/2008/2008r2/2012).

The time inside the virtual machine gets synchronized on the first boot. THIS BEHAVIOR WOULD BE CORRECT, BIOS always synchronizes regardless the integration time sync setting. I WOULD BE OK.

But the clock is NOT set to the SAME time as the host machine. The clock is set to exactly 2 hours back from the host's machine clock.

For example:

- host machine time zone GMT, time 11:37 PM, guest time zone GMT-8 PACIFIC, time 9:37 PM

- host machine time zone GMT+4, time 7:16 PM, guest time zone GMT-8 PACIFIC, time 5:16 PM

- etc.

On Windows 2008 R2 HOST machine the time synchronization during the initial boot works well. It synchornizes to the same time as the host machine. But Windows 2012 Hyper-V Host does this weird thing with two hours back sync.

Isn't this a bug?

ondrej.

Please help me with network design, i just can't get it to work!

$
0
0

Hi!

I just can't figure out why this wont work please help me. First take a look at my design:


This is what i can do:

  • Ping server from HOST
  • I can browse the internet from the server
  • Ping clients from server
  • Ping Server from Clients
  • From Clients ping 192.168.20.1,192.168.30.1 and 192.168.10.100

What i can't do:

  • Ping Host or the physical router from clients and vice versa.

As there is just one server i should no need any kind of router software on the server right?

I can't figure out what i should do!

Set static routes?

Set GWs on the two interfaces with clients?

Use internal switch instead?

Please help!

Thanks!


Windows Server 2012 - Hyper-V - iSCSI SAN - All Hyper-V Guests stops responding and extensive disk read/write

$
0
0

We have a problem with one of our deployments of Windows Server 2012 Hyper-V with a 2 node cluster connected to a iSCSI SAN.

Our setup:

Hosts - Both run Windows Server 2012 Standard and are clustered.

  • HP ProLiant G7, 24 GB RAM, 2 teamed NIC dedicated to Virtual Machines and Management, 2 teamed NIC dedicated to iSCSI storage. - This is the primary host and normaly all VMs run on this host.
  • HP ProLiant G5, 20 GB RAM, 1 NIC dedicated to Virtual Machines and Management, 2 teamed NIC dedicated to iSCSI storage. - This is the secondary host that and is intended to be used in case of failure of the primary host.
  • We have no antivirus on the hosts and the scheduled ShadowCopy (previous version of files) is switched of.

iSCSI SAN:

  • QNAP NAS TS-869 Pro, 8 INTEL SSDSA2CW160G3 160 GB i a RAID 5 with a Host Spare. 2 Teamed NIC.

Switch:

  • DLINK DGS-1210-16 - Both the network cards of the Hosts that are dedicated to the Storage and the Storage itself are connected to the same switch and nothing else is connected to this switch.

Virtual Machines:

  • 3 Windows Server 2012 Standard - 1 DC, 1 FileServer, 1 Application Server.
  • 1 Windows Server 2008 Standard Exchange Server.
  • All VMs are using dynamic disks (as recommended by Microsoft).

Updates

  • We have applied the most resent updates to the Hosts, WMs and iSCSI SAN about 3 weeks ago with no change in our problem and we continually update the setup.

Normal operation

  • Normally this setup works just fine and we see no real difference in speed in startup, file copy and processing speed in LoB applications of this setup compared to a single host with 2 10000 RPM Disks. Normal network speed is 10-200 Mbit, but occasionally we see speeds up to 400 Mbit/s of combined read/write for instance during file repair

Our Problem

  • Our problem is that for some reason all of the VMs stops responding or responds very slowly and you can for instance not send CTRL-ALT-DEL to a VM in the Hyper-V console, or for instance start task manager when already logged in.

Symptoms (i.e. this happens, or does not happen, at the same time)

  • I we look at resource monitor on the host then we see that there is often an extensive read from a VHDX of one of the VMs (40-60 Mbyte/s) and a combined write speed to many files in \HarddiskVolume5\System Volume Information\{<someguid and no file extension>}. See iamge below.
  • The combined network speed to the iSCSI SAN is about 500-600 Mbit/s.
  • When this happens it is usually during and after a VSS ShadowCopy backup, but has also happens during hours where no backup should be running (i.e. during daytime when the backup has finished hours ago according to the log files). There is however not that extensive writes to the backup file that is created on an external hard drive and this does not seem to happen during all backups (we have manually checked a few times, but it is hard to say since this error does not seem leave any traces in event viewer).
  • We cannot find any indication that the VMs themself detect any problem and we see no increase of errors (for example storage related errors) in the eventlog inside the VMs.
  • The QNAP uses about 50% processing Power on all cores.
  • We see no dropped packets on the switch.

(I have split the image to save horizontal space).

Unable to recreate the problem / find definitive trigger

  • We have not succeeded in recreating the problem manually by, for instance, running chkdsk or defrag in VM and Hosts, copy and remove large files to VMs, running CPU and Disk intensive operations inside a VM (for instance scan and repair a database file).

Questions

  • Why does all VMs stop responding and why is there such intensive Read/Writes to the iSCSI SAN?
  • Could it be anything in our setup that cannot handle all the read/write requests? For instance the iSCSI SAN, the hosts, etc?
  • What can we do about this? Should we use MultiPath IO instead of NIC teaming to the SAN, limit bandwith to the SAN, etc?

How to run Windows XP with Windows 8

$
0
0

Hi again,

I exchanged my laptop with another, which has an i5 processor & Win8.

As mentioned before, I've been using a 16 bit design program that I’ve been using with Win7, but the company doesn’t exist any more….so I can’t get an updated version of it.

Can I partition the hard drive and run Windows 7 as a separate operating system on it?  If so, and while running in Windows 7 mode, can I then install Windows XP operating system as Virtual within the Windows 7, somehow?

If that doesn’t work, would I be able to replace Windows 8 with Windows 7 without any side affects?

Another, potential, option I thought of would be to run an external hard drive or flash drive with Windows 7 OS and with Windows XP running virtual on it. Would that work?

VirtualBox seemed to work fine for a while, but for some reason after the Windows 8 updates were installed, it became unusable.

Besides using VirtualBox, are there other methods I can I can use to achieve what I need besides buying a PC w/Win7?

Thanks again

Viewing all 19461 articles
Browse latest View live




Latest Images