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

Hyper-V lab with one VM as DC and two VMS as members of the DC

0
0

My lab setup:

I have a windows 2012 Hyper-V parent on which I installed three windows 2012 VMs with default configurations. After the setup, everything was good and the VMS were able to access the internet and parent.  I did not check communication between VMs though. This is my lab setup and followed instructions from a Microsoft certification guide for SQL server 2012.

Next I renamed machine one as DC, and made following configuration changes after a restart-

  1.       netsh interface ipv4 set address “Ethernet” static 10.10.10.10
  2.       Configured Active Directory Domain Services (AD DS) on computer DC
  3.       Open the DNS console and create a primary reverse lookup zone for the subnet 10.10.10.x.
  4.       Ensured that the zone is stored within AD DS and is replicated to all DNS servers running on domain controllers in the forest. My domain name is MD.com

Next I renamed machine two as SQLA, and made following configuration changes after a restart-

  1.       Netsh interface ipv4 set address “Ethernet” static 10.10.10.20
  2.       Netsh interface ipv4 set dnsservers “Ethernet” static 10.10.10.10 primary
  3.       netdom join SQLA /domain:MD.com
  4.       after restart I am able to logon to SQLA as  MD\Administrator

Repeated above steps for SQLB with its ipv address set to 10.10.10.30

After the setup all looks good and I am able to join logon SQLA and SQLB as domain admin.

My issue:

 I lost access to internet through the parent. Also from SQLA I cannot ping SQLB or vice versa.

I like to be able to access internet from the VMS while on a private domain. I also want to have the connectivity between the VMs.


Hyper-V hardware / system performance issues

0
0

Hi:

Are there any specific BIOS settings for Hyper- V that we should take into account when reinstalling a server with Windows Server 2012 Std to virtualize 8 virtual machines with Windows Server 2008 R2? I detail more our problem if anyone can help with any other ideas :

We have a Hyper- V cluster of two nodes with two Dell Servers (PowerEdge R620) and a SAS SAN (PowerVault MD3200 with dual controller). The connection between the servers and the SAN is via two dedicated 6Gbps SAS HBA in each server (one HBA on each server to each of the controllers). Physical operating systems are Windows Server 2012 Std and virtual operating systemas are Windows Server 2008 R2 Std.

From the beginning we had performance problems with virtualized applications (proprietary databases). We assumed it was something related to the SAN or to the storage access. After many changes and testing we have ensured that the disk subsystem is not a problem, and performance has greatly improved, but some problems remain the same, and one of them especially.

Anyway, tired of trying , testing , configuring ... we have mounted the main application virtual server, where more marked is the problem, into an old server (almost 5 years) installed also with Windows Server 2012 Std, and surprise, the problem disappears. We repeated the procees in another outdated server, and again OK. Further tests are consistent, and the new hardware performance in processor and disk access are much worse than the current system, as expected.

The obvious conclusion is that there is some problem on the new servers, and in the two servers (since the virtual machine directly executed on both, without cluster and without SAN, exactly reproduces the problem ), which leads us to think of a problem with the physical operating system installation (both servers have the default Dell factory installation), BIOS parameterization, or some component firmware.

The specific problem is a process that runs locally on the application server, not using network communication, but using hundreds of thousands of sockets open from the server with himself. Spying the process with a sockets sniffer we can see how the socket opening speed are slowing as the number of sockets grows. In the standard test the application virtualized on a new Dell server takes about 4 and a half minutes to complete the process, and exactly the same time using SAS HDs in the SAN, or even local SATA HDs or local SSD HDs. Simply changing to the old servers with a local SATA storage the process takes only 1 minute and 30 seconds.

Any help is welcome. Thanks in advance.

How to get a bootable vhd for a Linux on Hyper-V with two disks ?

0
0

Hi folks,

I am running a custom linux on my Hyper-V in Windows Server 2008 R2. I initially configured one disk(4GB) and then I added one more hard disk of higher capacity (8GB). Now I got two vhd files with different sizes.

If I want to create a new linux VM (with two hard disks as original), with an existing vhd file, which one can I use?
I tried the first one, but it is not working as expected.

Is there any other way to get a bootable vhd file for a linux VM with two hard disks? 

Any tools to make it?

Thanks in advance,

Saleem


Building a Lab for 70-412

0
0

    Im setting up a lab at home to start testing my knowledge . I have a pretty power-full pc and is the one I used for 70-410/411 I have Hyper-V setup. Although on all the other certs I made 4 VMs from scratch on this one I wanted to crate a VHDX with an image of Win server 2012 and create 4 VMs that use a differential HDD so I didn't have to install the OS 4 times. But I ran in to a problem, on the lab I need to create a child and a tree within a forest, so on 1 vm I have the forest contoso.com and on the other 2 vms when I try to create the child domain or the tree i get the following error:  

The operation failed because:
The security account manager (SAM) has determined that the security identifier (SID) for this computer is already in use in the forest you want to join. This can happen when restoring an Active Directory Domain Controller with an improper backup. Reinstall the operating system on the local AD DC to obtain a new SID.
"The specified domain already exists."

I sysprep the parent hard drive re-created the vms and I got the same error.

If anyone have a suggestion please let me know, I guess Im going to have to create 4 new VMS and not do differential hard drive.

HyperV Server 2012 R2 Lab Setup

0
0

Hello,

I’m looking for some recommendations on how to proceed with the setup of a Hyper-V Server 2012 R2 lab environment. I have two systems that I’d like to setup in a cluster.  These two systems have enough drives for two RAID volumes, one for OS and one for the VHDs. My initial investigation results are hazy on if I can use these same systems for the clustered storage, and if possible the limitations I will encounter. I do not have a SAN or NAS to use as storage.  Can I use these same systems as both the Hyper-V clustered hosts and as the clustered storage? If so, what is the best setup?  Will I experience any limitations versus using a SAN or NAS as storage?

Thank you very much for input.

Can you expand OS drive?

0
0

Hi all,

I created one Fixed disk size with 6 GB OS drive.  Now, I need to expand it.  I did expand to 16 GB.  But, When I rebooted this VM, it shows me that 10GB is unallocated space.

So, Is there a way to expand OS drive and how?

 

Thank you very much!

hyper v server 2012 R2

0
0

Hi,

Installed Microsoft Hyper-V server 2012 R2 on a computer and would like to create virtual machines on this server for users who requests for a VM based on their specifications ( like RAM=4GB,HDD=60GB etc)... 

Added the server to the domain ,assigned the ip and enabled remote management.

when i  am trying to access the hyper-v server from a windows server 2008 r2 sp1 server ,it say "An error occured while attempting to connect to server check that the VM service is running and that you are authorized to connect to the server"

how to proceed on this and what are the features which gets disabled when we connect to hyper-v server from a windows 2008 or win 7 machine.

Thanks ..

WINDOWS 2012 HYPER V BACKUP ERROR 153

0
0

Hello all

I am currently finishing settin up a new env. for  a customer, everything is ok except backup, i am currently backinup host and 3 vm on it.

i am receiving the following errors everytime the backup starts :

filter manager error id 3

volsnap error id 27

disk i/o error at logical bloc etc.. id 153

is everyone experiencing this ?

I already tried everything related to these knowns errors since they are quite  famous in the windows history .. but no luck at the moment.

they only occurs if vms are on, if powered off backup runs fine.

however even with these errors backups finishes and restores are ok.

The bad part is that they are all related to the shadow that backup is mounting everytime for the procedure. (dont tell me to chkdsk my lun :) )

Thanks

Regards



Managing free Hyper-V server 2012r2 from 2012 std non R2

0
0

Hi,

Can i manage Hyper-v server 2012r2 from windows 2012 standard with RSAT installed? I am worried about the R2 difference and not sure will i have issues because of it.

Thanks!


Removing Absent VMs from Hyper V

0
0

A few months ago I had the following situation on one of our Hyper-V 2012 servers:

-Accidentally changed security permissions on a root folder containing VMs and their storage

-Despite changing them back, Hyper-V manager couldn't restart, change settings for or delete VMs

I created new VMs and attached the original VHDs and got everything running again. I tried to delete the XMLs for the dead VMs but this didn't remove them from the VM list. I've tried using powershell and looking through the registry to delete the VMs but no luck. I keep getting errors about the VM not being able to do anything in its current state.

Although I don't care much about them hanging around. I'm getting funny issues when using New-VM from a remote client to create VMs in powershell. The command always fails only saying:

New-VM: Not Found

Which I believe to be an error trying to enumerate VMs at the server-end. I can use New-VM to create VMs remotely on all of our other Hyper-V hosts, both 2012 and 2012 R2. I'm struggling a bit to find documentation on how to brute-force remove these stale/orphaned VM entries. I have tried twice to reboot the server to see if that would make a difference.

Any tips would be appreciated, thanks

What will be the better option 15k HDD or SSD?

0
0

Hi All - I'm trying to build a WS that will be my test box for learning & development. One of these is running multiple VM's. Sometimes as many as 18 or may be more.

Considering my budget for storage is around $ 15.k, should I buy 15k HDD or SSD for this?


yup

CentOS 6.4 still reports [SRAT: hotplug zone not continuous] on 2012R2

0
0
According to the HyperV 2012R2 docs here CentOS 6.4 comes with the Linux Integration Services as part of the install, however when I do a minimal CentOS 6.4 install, I don't get dynamic memory, what am I missing?

how to up Windows Server 2008 R2 SP1 created VM with Windows 8.1 hyper-v manager

0
0

Hi

I have VM that created with Windows Server2008 R2 SP1. This was up without a problem with the windows 8 hyper-v manager. I have recently upgraded my OS with 8.1. Now I have tried to import this VM but itthrowme following message.

This is a real pain when there is no way of doing this. Any help greatly appreciated.

Regards

Radika


2012R2 Hyper-V Failover cluster - one node makes guests wmiprvse.exe go berzerk

0
0

Hi, I have a 2 node Windows Server 2012R2 (GUI install) Hyper-V Failover Cluster. The guest OS'es (mostly 2008R2) run fine on both nodes, however when they are on one specific node, the WMIPRVSE.EXE process is using somewhere between 20 and 40% cpu inside that specific guest OS every about 3 seconds. I've been trying to investigate, but can't get my finger behind it yet.

This is one of the guests, where it was running on the 'good' node, then a live migration to the 'bad node' and then again live migration back to the good one. The process using the CPU is WMIPRVSE.EXE.

The cluster is using CSV disks, cluster validation is OK, only some warnings on VM's that are currently shutdown. It looks like the host talks to the Guest OS for some reason (performance / health / heartbeat or something?) which makes the load go high. Guest additions are up-to-date.

We also run VMM, I shut that down to make sure that isn't polling something for a reason, but that didn't help.

Hosts are exactly the same hardware, same patchlevel, same drivers. They have boot been rebooted to no avail either.

Fetch KVP of VM running on another node

0
0

Hello,

I am having a two node cluster running Windows 2008 R2 - Hyper-V Enabled. (Node1, Node2)

Now, when I try fetching the KVP of a VM running on Node2 from Node1 I get a blank response using the below code, but when I try to fetch KVP of VM running on Node1 I get correct results. Why is this behavior or the code needs to be changed ?

Please help.

filter Import-CimXml{
 $CimXml = [Xml]$_
 $CimObj = New-Object -TypeName System.Object
 foreach ($CimProperty in CimXml.SelectNodes("/INSTANCE/PROPERTY")){
    $CimObj | Add-Member -MemberType NoteProperty -Name $CimProperty.NAME -Value $CimProperty.VALUE
 }
$CimObj
}
$Vm = Get-WmiObject -ComputerName Node2 -Namespace root\virtualization -Query "Select * From Msvm_ComputerSystem Where Name='98238ABC-B7ED-499A-A8BE-4E7F32DD3284'"
$Kvp = Get-WmiObject -ComputerName Node2  -Namespace root\virtualization -Query "Associators of {$Vm} Where AssocClass=Msvm_SystemDevice ResultClass=Msvm_KvpExchangeComponent"
$GuestKvp = Get-WmiObject -ComputerName Node2-Namespace root\virtualization -Query "Associators of {$Kvp} Where AssocClass=Msvm_ElementSettingData ResultClass=Msvm_KvpExchangeComponentSettingData"
$GuestKvp.HostExchangeItems | Import-CimXml

Thanks.


Connecting Hyper-V to Dell iSCSI

0
0

Hi,

I have an instance of Hyper-V 2008 R2 hypervisor installed on an HP DL360 G7.  I have a Dell Equallogic with a LUN allocated with IQN and the correct IP address configured to be allowed to connect.

I have configured a virtual switch connecting the Hypervisor to the SAN and I can ping it.  How do I provision a VM in the storage through Hypervisor management console?  All the server sees is local or network storage but not the SAN.

Any advice, thanks Matt.

Mout-VHD cmdlet not recognized on 2008 r2 to 2012 r2 upgraded setup

0
0

I upgraded my setup from windows 2008 R2 DataCenter to Windows 2012 R2,


But when i try Mount-VHD cmdlet,it is giving me an error not recognized cmdlet.
It worked on my other setup where fresh install of win 2012 r2 is done..

This is the command i use in win 2008 R@
$VHDService = get-wmiobject -class "Msvm_ImageManagementService" -namespace "root\virtualization\v2" -computername "."

$VHDService.Mount($Paath)

Now the above command is also not working!

Event ID 55: The file system structure on the disk is corrupt and unusable. ...

0
0

In my Hyper-V server I get an error message in the event log:

Event ID 55

The file system structure on the disk is corrupt and unusable. Please run the chkdsk utility on the volume\\?\Volume{d8cfcca8-c935-11e1-acc4-d94f72d41a21}.

I think that the volume is an ID of a Virtual hard disk, but how do I find which one?

Things I already tried:

mountvol.exe does not list the volume;

vssadmin list writers does not show the volume.

We suspect this happens when Backup Exec makes a shadow copy of a volume as it occurs as the backups are going. But how do we see which volume on which virtual machine is corrupt?

(We have a 5-cluster Hyper-V host, cluster shared volumes based on iSCSI, runing Server 2008R2 Datacentre edition).


Real World - 10 users - DC + HyperV on host

0
0

Scenario - 10 user or less environment.   Think small Dr./ Lawyer/ accounting firm - They need Active Directory and they need a terminal server because they have clients that remote.   The 'file server' is the terminal server.

Yes I have read, and coming from a much bigger environment I agree that having at least 2 physical boxes - one as the DC is the best (albeit much more expensive) way to handle it.

Currently have I have only Hyper-v Running on the host (NOT a domain member), with a DC guest and a 2nd guest as the terminal server/file services.   When I run the  'best practices' in Microsoft I get the dire warning to have a 2nd physical DC.

In all my reading though - I have come across only theory, and security reasons for not loading both HyperV and AD on the HOST, and then having 1 Guest (staying within the licensing).

With 10 users or less, and a host with 16gb, 10k drives is there a technical reason not to have the AD and the HyperV on the Host?

Packets sent out the wrong Interface on Hyper-V 2012 Failover Cluster

0
0
Here is some background information:
2 Dell PowerEdge servers running Windows Server 2012 w/ Hyper-V in a Failover Cluster environment.  Each has:
1 NIC for Live Migration 192.168.80.x/24 (connected to a private switch)
1 NIC for Cluster Communication 192.168.90.x/24 (connected to a private switch)
1 NIC for iscsi 192.168.100.x/24 (connected to a private switch)
1 NIC for host management with a routable public IP (*connected to corp network) w/ gateway on this interface
1 NIC for Virtual Machine traffic (*connected to corp network)
All NICs are up, we can ping the IPs between servers on the private network and on the public facing networks.  All functions of hyper-v are working and the failover cluster reports all interfaces are up and we receive no errors.  Live migration works fine.  In the live migration settings i have restricted the use of the 2 NICs (live migration or cluster comm).

My problem is that our networking/security group sees on occasion (about every 10 minutes with a few other packets thrown in at different times) syn packets that are destined for the 192.168.80.3 interface goes out of the public interface and is dropped at our border router.  These should be heading out of the 192.168.80.x or 192.168.90.x interfaces without ever hitting our corporate network. Anyone have an idea of why this might be happening?  Traffic is on TCP 445.

Appreciate the help.
Nate
Viewing all 19461 articles
Browse latest View live




Latest Images