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

Replication Self-Signed cert issues

$
0
0

I have two node clustered environment with a replica broker and a replica server for DR.  Port 80 replications are taking place accurately.  I have tried to follow the document below.  I have the .cer file of the FQDN of the servers and the broker on each of the servers.  Imported the .pfx with the RootCA file and root is in trusted domains.


The primary cluster lets me add the replica broker self signed cert but the DR replica server gets the error.  The FQDN match on each and timezones match because they are on the same domain.


Any help?


HYPER V 2012 - SNAPSHOTS

$
0
0

Hi Everyone

I have a big problem and i hope somone can help me out here because i cant find any documentation or any forums agardin this.

I have a Windows Server 2012 with HyperV roles installed.

I have 3 virtual serveres and 2 Disk about 900 GB.

On of This serveres has run on 3 snapshots.

The problem is this at wee turn the virtual server Down and we delete snapshots on hyper v and mergning Progress begin... but we quickly notified the diskspace its been bigger bigger bigger and the disk was 10GB from to be full so we canceled the merge.

After that we start the virtual machine Again and now we have a VHD file and 3 other AVHDX files wich is 162GB, 130GB, 324GB

We have about 30 GB free storage on that disk and the machine is on production.

On HyperV Manager cant we no more se the snapshots of this machine but on that folder where machine is can we se 3 snapshots and 1 vhd file.

Just one of thoose AVHDX files (162GB) is in use and not the 2 othe snapshots and VHD.

What should i do and how can i merge those file to AVHD and never make a snapshot Again.?

I Have atached a Picture so you can see what i mean.

THANKS GUYS

Why don't the boot orders in PowerShell and Hyper-V Manager match?

$
0
0

I've been experimenting with making changes to a hyper-v VM's boot order with the Set-VMFirmware -BootOrder CmdLet.

The boot order shown in Hyper-V Manager's firmware now shows a different boot order from Powershell.  Hyper-V Manager shows this:

While PowerShell Shows this:

Why is PowerShell and Hyper-V Manager showing two different boot orders?

Stop-vm , shutdown intergration services is unavailable?

$
0
0

Hello

Trying to shutdown a guest-VM from host computer.

When running this from a PowerShell prompt:

stop-vm dc1

I get:

Hyper-V cannot shut down virtual machine dc1 because the Shutdown integration service is unavailable.
To prevent ..............

Powershell version Major 3, minor 0, build -1, revision -1

Host is Server 2012 (not R2)

What is wrong?

/EDIT

The vm-guest is running Server 2008 SP2

Hyper-V Manager Over VIPN

$
0
0

Hi There,

I'm having terrible trouble connecting to my Hyper-V server via the Hyper-V Management Tools.

Server: 2012R2

Client: Windows 8.1

VPN Type: OpenVPN

I've managed to get everything working over the VPN, however I cannot load the Virtual Machine List in Hyper-V Manager. it gives the Error "RPC Server Unavailable."

I've tried hosts file entries on my client for the server, and also on the server for my client. It all works perfectly fine while I'm on the local LAN, but refuses to work over a VPN.

I can manage every other aspect of Hyper-V, I can create virtual switches and change settings, it just the Virtual Machine List that does not work.

I've come across the below link, which hasn't happened me to find a solution. I've dropped all firewalls to no avail.

http://blogs.technet.com/b/jhoward/archive/2008/08/07/hyper-v-why-does-hyper-v-manager-not-always-work-over-vpn-connection-access-denied-or-rpc-server-unavailable-errors.aspx

Thanks,

Ben

How to get Virtual machine reserve (percentage) using WMI

$
0
0

Hi,

In Hyper-V, Virtual machine reserve (percentage) shows percentage value In UI

but Msvm_ProcessorSettingData.Reservation range is 1-100000.

Why it shows like this???

How to get Virtual machine reserve and limit value in percentage???

Pls Help me.....


Hyper-V Manager Over VPN

$
0
0

Hi There,

I'm having terrible trouble connecting to my Hyper-V server via the Hyper-V Management Tools.

Server: 2012R2

Client: Windows 8.1

VPN Type: OpenVPN

I've managed to get everything working over the VPN, however I cannot load the Virtual Machine List in Hyper-V Manager. it gives the Error "RPC Server Unavailable."

I've tried hosts file entries on my client for the server, and also on the server for my client. It all works perfectly fine while I'm on the local LAN, but refuses to work over a VPN.

I can manage every other aspect of Hyper-V, I can create virtual switches and change settings, it just the Virtual Machine List that does not work.

I've come across the below link, which hasn't happened me to find a solution. I've dropped all firewalls to no avail.

http://blogs.technet.com/b/jhoward/archive/2008/08/07/hyper-v-why-does-hyper-v-manager-not-always-work-over-vpn-connection-access-denied-or-rpc-server-unavailable-errors.aspx

Thanks,

Ben


The remote server has been paused or is in the process of being started.

$
0
0

Ok I had a failover cluster (HVC01) consisting of 3 hosts (HV01, HV02, HV03). Two of the hosts (HV01, HV02) were powered off when the third host died. I powered on the two previously offline hosts but I can't get anything to work. Every single PowerShell command I try comes back with something similar to this:

Get-ClusterGroup : The remote server has been paused or is in the process of being started.
    The remote server has been paused or is in the process of being started

The Failover Cluster Manager shows:
Node 'HVC01' is in the process of being started
The remote server has been paused or is in the process of being started.
Error Code: 0x80070046

I can't get anything to work. How the heck do I bring the cluster back online? HV03 is dead and will probably be down for days due to a bad motherboard. I can't get HV01 or HV02 to do anything related to the cluster even though they were fine before I shut them down and HV03 died.

And yes I've already Googled this...




virtual machine cannot start after changing the location of parent VHD

$
0
0

hi friends

in hyper-v 2008 R2, i have deployed a virtual machine via differencing hard disks method ( there is a source parent VHD and the Virtual machin'es hard disk is child).

if you change the location of parent VHD to another place, my VM cannot start & i get error.

i searched in virtual machine's configuration file but i didn't find the path or the name of parent VHD file so unable to update this change

any solution to update it so that it be able to start ?

thanks in advance






Virtual Machines Cannot Connect to External Network

$
0
0

Host Machine: Windows Server 2012

One NIC

Hyper-V is installed. Two Virtual Machines have been imported. Both VM's are running Windows Server 2003. The Network Settings for each VM specifies the Virtual Switch. External.

Both VM's boot up. The Network TCP configuration is Static IP. The correct IP, Mask, Gateway, DNS settings have been entered. When I select "Repair" for the network adapter no problems are found. I can ping the IP address of localhost or the VM IP.

I cannot ping any external address. I cannot ping the host IP address.

I have worked on this all day. I hope someone can give me a lead.

PS - I can't install a second NIC. This is a dedicated server I am setting up at Godaddy. (I am moving my existing physical server VM to Godaddy.)

Hyper-V script editing

$
0
0
Hi Guys
i managed to have a script to clone VM from a existing .VHDX
i've downloaded the create vm script from http://gallery.technet.microsoft.com/Powershell-script-to-ad6d2277
i am able to clone the VM from a exisiting .vHDX sysprep VM. with the next command
.\Create-VM.ps1 -VMName "VM2" -VMFolder "C:\HDD" -vSwitch "External-Switch" -GoldenImageDiskPath " C:\HDD\Golden1.vhdx" -AdditionalDisksTotal 1 -AdditionalDisksSize 30GB

what i need now is to create a VM with the same script and specify the network settings like :
IP :
Gateway:
Subnet
DNS

need to specify the admin password too

any suggestions what to add to the script ?

how to use previous snapshots of a vm after re-installing windows

$
0
0

hi friends

i have deployed a virtual machine via hyper-v in windows 2008 R2. i have also created some snapshots of this VM.

after i removed current windows & installed new windows 2008 R2 & i create a new virtual machine via existing VHD hard disk, is there any method to have previous snapshots of that virtual machine in hyper-v console?

i mean i want when i create a new virtual machine & select the previous hard disk (.VHD), under that vm, i see the list of previous snapshots & use them



VHDX become corrupted, how to track down the root case?

$
0
0

Hi all,

strange things happens to me and I would like to avoid it to the future, but I am not sure, what caused it and how to prevent.

I get corrupted VHDX file, where MSSQL DB was placed. The VHDX was 15 GB dynamic drive, where only 10 GB has been used. The drive has been located on CSV (HP 3PAR over SAN) with many others files (cca 200 VHDX, more than 60 VM running without problems).

- no VM crash or reboot

- no VM live migration

- no storage migration (HP 3 PAR, no ODX)

- no one logged in on the VM

- no application log error or warning

- no system log error or warning

- nothing special audited in the security log

- no antivirus or backup running at the time

- no special scheduled jobs

The drive simply become "Not Initialized" for the VM and for other systems the VHDX seems to be corrupted and unreadable.

Q1. how to fix (the file cannot be mounted, converted, edited or inspected)

Q2. how to track down the root case

When the problem occurred first, we simply initialize the drive, create new partition and format. Suddenly one week later we get the same issue at the same time :(


Martin

Hyper-V Replica using EnableWriteOrderPreservationAcrossDisks for SQL VM

$
0
0

I followed the instructions online to set this up using this command:

Set-VMReplication -VMName <VM-Name> -EnableWriteOrderPreservationAcrossDisks 1

But I keep getting this message:  WARNING: 'EnableWriteOrderPreservationAcrossDisks' is not required for 'Set-VMReplication'.

Well is it enabled or not?  It doesn't say.  And if I run this:

Get-VMreplication -VMName <VM-Name> | fl

It does not list that setting in the list.  So I still don't know if it is set.  Is there a way to get powershell to tell me if the setting is on or not?

We couldn't verify the product key. Please check your installation media. (Hyper-V Virtual Machine)

$
0
0

Hi there, 

I have been banging my head on an issue for the last couple of hours hoping someone can point me in the right direction. I have a Windows Server Standard 2012 R2 Media that we purchased from an online vendor. The software came with a single product key and as I understand Windows Server 2012 Standard R2 includes 2 Virtual Machine installations. When I installed the media on the physical server I was able to activate Windows without any problems at all. I installed the Hyper-V role on the same host server and when I tried to perform a virtualized installation of Windows Server 2012 Standard r2 on the machine I received the error "We couldn't verify the product key. Please check your installation media." 

I do not have any other keys other than what came with the package. As I understand I should be able to use the same Product Key included within the Virtual Machines if they are the same OS. If any one can provide any tips or experience, I appreciate the assistance greatly. 


Hyper-V Remote Management - Permission Issue

$
0
0

Hi,

 i get this error

1) Windows 2008 server(192.168.1.60) - used to manage hyper-v RM

2) Windows 2008 hyper (192.168.1.61)

3) Both are on the domain narayana.local

Hyper-V Remote Management: You do not have the required permission to complete this task. Contact the administrator of the authorization policy for the computer ‘COMPUTERNAME’

Windows 7 OS Not Work on Hyper-V Server 2012

$
0
0

Windows Server 2012 OS Installed on My Server System.

Enabled Hyper-V Service on Windows Server 2012

I Try to Install Windows 7 OS on Hyper-V Server 2012 

Windows 7 OS Installed and give User Name, Password, Date&Time, etc.... Information

But Not Log on My Windows 7 Desktop, because error raised.

Group Policy Client Service failed the log on.

Universal Unique Identifier type is not Supported.

How to Solve this Error.

Hyper-V-VmSwitch event 106

$
0
0

Hi everybody,

I have a problem with my nic teaming in Hyper-V.
In eventlog I do have events with id 106:

Available processor sets of the underlying physical NICs belonging to the LBFO team NIC /DEVICE/{GUID} (Friendly Name: Microsoft Network Adapter Multiplexor Driver #2) on switch GUID (Friendly Name: HS-vSwitch) are not configured correctly. Reason: The processor sets overlap when LBFO is configured with sum-queue mode.

I have read the following blogs:

http://blogs.technet.com/b/networking/archive/2013/09/24/vmq-deep-dive-1-of-3.aspx
http://blogs.technet.com/b/networking/archive/2013/09/10/vmq-deep-dive-2-of-3.aspx
http://blogs.technet.com/b/networking/archive/2013/10/22/vmq-deep-dive-3-of-3.aspx

I do have 2 CPU-Sockets with 12 cores per socket and hyperthreading enabled.
That makes 48 logical processors.
My NIC-Team is switchindependent with "Hyper-V Port" load balancing mode.

As far as I understand I have to configure the VMQs to use seperate logical processors (lp) per NIC.
I do this with the following commands in powershell:

Set-NetAdapterVMQ –Name NIC01 –BaseProcessorNumber 0 –MaxProcessors 24
Set-NetAdapterVMQ –Name NIC02 –BaseProcessorNumber 24 –MaxProcessors 24

After this command I still get the error in eventlog :(

I tried a bit after that and used the following commands:

Set-NetAdapterVMQ –Name NIC01 –BaseProcessorNumber 0 –MaxProcessors 12
Set-NetAdapterVMQ –Name NIC02 –BaseProcessorNumber 24 –MaxProcessors 12

There should be no overlapping anymore but error is still there.

My NICs are VMQ enabled. This is verified with get-netadaptervmq and the above settings are correctly displayed (BaseVmqProcessor and MaxProcessors).

What am I getting wrong?

Thanks for your help.

Greetings from germany,

torsten

Hyper-V - Virtual Machine issue

$
0
0

Good evening all

Im currently setting up a new test environment in Hyper-V and I've hit a problem. Here is my current setup.

- Virtual Machine running Server 2012 R2 running as a DC
- I have setup an 'External' switch so that my desktop shares my internet connection with my DC
- I have configured my DC to use a static IP address of 192.168.0.20, subnet 255.255.255.0 and Default Gateway is 192.168.0.1 (Which is my sky router) - so my VM can get out to the internet.
- I have also told my VM to use the following DNS Server address 192.168.0.20 (which is itself)

So here is a quick screen shot of my settings

I have setup my DHCP scopes which are working fine and as expected.

The issue I am facing is that I cannot access the internet. If I set my VM to automatically obtain both an IP address and DNS Server then I can access the web ok on my DC. - I'm guessing that I need to do something in DNS.

I hope someone can help.

Hyper-v 2012 on server 2012 - Virtual machin has no network

$
0
0

Have a Windows 2012 Standard Sever with Hyper-v Installed.

Server has dual broadcom Nic and the broadcom Manager.

Virtuals are

Windows Server 2008 Ent ( Eval image with Sp1) 

Windows 7 pro Sp1

none of them can connect to external network

I have re set the new Drivers for the broadcom card and remove and re installed-created the Virtual Switch 

i have only 1 connection so not even teamed up right now. Vary basic.

I can ping the Local Hyper-v Server  and the Hyper-V can ping the Virtual but i can't get out of the server. None of the Threads on the forums seams to work for me.

Very Frustrated, a the moment. This is my test environment and I'm starting to think on Vmware the more this doesn't worl.

please HELP!!

Viewing all 8743 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>