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

Configure Virtual Switch - hyper V - Windows Server 2012R2

$
0
0

On my laptop i have windows server 2012 R2 data center edition installed connected to Wifi. I was able to install and configure to VM's on it. However i am little lost on how to configure the virtual switch for these two VM's. Below are the details:

IP Address : 192.168.1.155

Subnet: 255.255.255.0

Default Gateway: (Blank)

DNS: 192.168.1.254

I do not have any ethernet port, i only have wifi. I did create a virtual switch linked to the NIC (Wifi), and same virtual switch is used by the two VM's. I want few things out of this:

i) I should be able to RDC into both the VM's from other computer when on the same network.

ii) I also want the host and two VM's to be accessible from outside the network.

I need to know what IP addresses should i assign to the virtual switch and each of the VM's. Thanks in advance.


Migrating VMs from a Hyper-V 2 Cluster on Hypervisor 2008 to A Hyper-V 3 Clusteer on 2012

$
0
0
We have an existing cluster on HV 2008 and are wanting to migrate our existing VMs to a new HV3 Cluster on 2012 R2. We have the new cluster established and we have SCVMM 2012 installed also. I am wondering how to best get the existing cluster imported into SCVMM 2012 without messing anything up so that we can migrate from the old cluster to the new one. We also are running SCVMM 2008 R2 to manage the current cluster on HV 2008. Any insight into the process would be greatly appreciated.

VM replication setup fails 0x80070032

$
0
0

I am attempting to setup replication between two 2012 R2 hosts. When I enable replication I receive an error message:

Hyper-v failed to perform reverse replication

Hyper-v failed to perform reverse replication for 'vm name': The request is not supported, (0x80070032)

I have tried a new replication and replication to a restored replica VM.  I created a small test VM and was able to replicate it fine between the hosts.

I was trying to replicate to a drive with only 16.5 GB free after the restored VM and thought space might be an issue.  I moved the restored VM to a drive with 100 GB free.  I also checked and the source host has 134 GB free on the drive that has the VM.

Any help is appreciated.


Mark

Hyper-V incremental backups

$
0
0

Hello.

In a Hyper-V 2012 R2 cluster, with multiple nodes, I witness the following behaviour. When a VM migrates to a different node, all VMs on that node are backed up full. Even though the schedule is to be incremental. If importan; we use transportable vss backup, presenting the snapshots to a backup server.

Storage Sizing for MS RDS VDI on Hyper-v

$
0
0

Hi Folks,

We have requirement for deploying 500 windows 7 VDI using MS VDI. I couldn't find any exact sizing guide for this.Please Help me with sizing the storage part.

4 images of 30 GB each.

Total 500 desktops

Personal desktop (ability to install own applications).

Block storage available

thanks and regards

J.P Raj

Migrating Hyper-V 2008 R2 HA Clustered to Hyper-V 2012R HA Clustered with minimal downtime to new hardware and storage

$
0
0

Folks:

Alright, let's hear it.

I am tasked with migrating an existing Hyper-V HA Clustered environment from v2008R2 to new server hardware and storage running v2012R2.

Web research is not panning out, it seems that we are looking at a lot of downtime, I am a VMware guy and I would do likely a V2V migration at this point with minimal downtime.

What are my options in the Hyper-V world?  Help a brother out.

BSOD ONLY after logging in.

$
0
0

I have a Hyper-V Windows Web Server 2008 R2 (Core) that's only role is an FTP server. I know that the GUI is a blank desktop and task manager on a core server, but I cannot even access that.  Every time I connect to the server (either via RDP or Virtual Machine Connection) I get a BSOD after I enter my credentials and the server reboots.  The BSOD is not the same every time either, most of the time it's 0x00000050 though.

I can access remote powershell, psexec to the command line, issue remote commands, use RSATs, etc... but I cannot access the "desktop" i normal mode (I can in safe mode).

I didn't mind too much because I could do everything I needed to do remotely.  But just recently we've developed a problem where OSX devices download files from the FTP EXTREMELY slow and the server needs to be rebooted.  I'm not a fan of the "reboot fix" and need a more permanent solution.

Here's some more technical specs:

Host server: Server 2008 R2 Enterprise SP1, Dual Xeon E5645, 48GB RAM

Host server uses iSCSI connection to a Windows Storage Server Standard w/ a Xeon E5620, 12GB RAM so each VHD is using it's own iSCSI LUN and therefore independent (and redundant) spindles to increase I/O throughput.  The Storage server uses a 10Gbps connection directly to the host server (iSCSI data is not sent over our main network).

Client Server: Windows Web Server 2008 R2 SP1 (core), 1 CPU, 1 GB RAM.

Here's what I've tried so far:

1. Create a new virtual server and attach a copy of the FTP servers drive

2. Apply all windows updates from the internet and not our WSUS server

3. Remove our anti-virus from the client

4. Remove SCSI virtual devices from the virtual server

5. Remove all integration services

6. Using safe-mode, used autoruns to disable all services

Normally I'd just rebuild the server and copy all the necessary info over, but the FTP server has dozens of local users (and their passwords) that need to be migrated to the new server.  I guess this can be done with the migration kit, just not on windows web server (booo).  A 3rd party tool is an option as well if that's all there is available.

Any help will be greatly appreciated.

Windows teaming and network latency of VM

$
0
0

Hi ,

we have configure windows teaming on the hyper-v host 2012 R2 , and creating virtual swich on the teaming interface

when i assign a  Virtual machine to  that switch , i get latency for browsing the websites inside the VM and  time out error

if i assign the virtual switch to non team adapter  , there is no error and no latency

Do you know why the window teaming do latency ?


Ramy


Windows Storage Server 2012 BSOD on first boot

$
0
0

Hi

We are currently changing all of our servers to virtual servers based on Hyper-V. Everything is running un Hyper-V 2012 R2 and all virtual machines are configured as Generation 2. We have successfully deployed Windows Server 2012 R2 Essentials and Windows Server 2012 R2 Standard (Used for SQL-Server 2012).

But we also have a Windows Storage Server 2012 R2 Workgroup which we are trying to deploy. But when installing this as a Gen2 virtual machine we get BSOD on first system boot before entering OOBE. BSOD is INACCESSIBLE_BOOT_DEVICE.

We have tried installing Windows Storage Server as a Gen1 virtual machine. With this type of installation we got all the way to the desktop without any issues.

Is Windows Storage Server 2012 R2 Workgroup not able to run as a Gen2 virtual machine with support for UEFI and Secure Boot?

We want to use Gen2 virtual machine for the Storage Server as we are trying to get identical configuration of all servers.

Find Host VHD File correlation to Guest Partition

$
0
0

Hello everybody,

i have a simple question but couldn't find an answer on my own:

I have a Hyper-V Cluster with several guests, all VHDs are stored in one folder on the Cluster Shared Volume (C:\ClusterStorage).

I installed a SQL-Server (Guest) and added additional 4 VHD-Files all equal in size. I named the VHDs like SQL-Data, SQL-Log, SQL-temp, SQL-Backup.

I could find the 4 Volumes in the guest OS. But unfortunately because they are all the same in size, i cannot identify them - i want to be sure that the SQL-Data Files are stored on the VHD called SQL-Data and not on the one called SQL-Log.

I could find the SCSI-Number in the Settings of the VM and i also find a LUN-Number on the guest at the properties of the disks in disk Manager.

Is this the correlation or how can i find that info?

Thank you,

Tom

Virtual Server Re-starts every couple of days without any reason

$
0
0

Hi,

We are using Hyper-V on Windows Server 2012. We have three virtual servers defined under Hyper-V. One of these is our terminal server and it is re-starting every couple of days without any reason. I have gone through the event logs. There is no event recorded 15 mins before the server re-starts. Hyper-V records the following event details :

Host-Server Error : 18590 Critical Microsoft-Windows-Hyper-V-Worker Microsoft-Windows-Hyper-V-Worker-

'Terminal-Server123' has encountered a fatal error.  The guest operating system reported that it failed with the following error codes: ErrorCode0: 0xD1, ErrorCode1: 0xFFFFFFF0, ErrorCode2: 0x2, ErrorCode3: 0x1, ErrorCode4: 0x44D2C22.  If the problem persists, contact Product Support for the guest operating system.  (Virtual machine ID 3A25CCF9-BC65-4422-A69B-A629E719140A)

Can someone push me in the direction of a probable solution ?


Can only bring some CSV's online on one specific host

$
0
0

Hi.

I have a three node Hyper-V (2012 R2) cluster.

It has 12 CSV's connected. Two of the CSV's can only be brought online on one of the hosts. It seems, they are locked to that host in some way.

The end result is that when I take that host down for maintenance, the two CSV's go offline and all VM's on them, crash.

I suspect a particular VM of causing this but I don't know how to fix the problem.

Anyone?

Thanks in advance.

/Michael

Interrupted VM stuck

$
0
0
I was doing updates on my 2012R2 Hyper-V VM and power dropped. When I booted my host PC back up the VM would start and say Hyper-V Updating your system (x%) and get stuck at 5%. I can't get past this and I have no snapshots/backups of the VM. Is there anyway to recover this VM?

BSOD system_thread_excption_not_handled (WppRecorder.sys)

$
0
0

have installed windows 2012 R2,  all have been working fine and installed a Hyper-v server which am have install AD, DNS, DHCP which has been working grate.

after install an update on virtual server I rebooted and now am receiving a BSOD system_thread_excption_not_handled (WppRecorder.sys)

and it not allowing me to access anything. 

I have look into the firmware setting on the virtual server  and noticed file type called bootmgfw.efi on the firmware virtual setting.  which details 

Description: Windows Boot Manager

Value: \HD(2,GPTBA6F9016-9039-4EED-95D7-7C9DFDA947F4,77056,66560)\EFI\Microsoft\Boot\bootmgfw.efi

Firmware device path: \HD(2,GPTBA6F9016-9039-4EED-95D7-7C9DFDA947F4,77056,66560)\EFI\Microsoft\Boot\bootmgfw.efi

am using a physical hard disk which I have created using virtual disks which is offline and I have other Hyper-v Virtual server which are using the same settings and it working fine.

can anyone help me with this issue?

Many thanks,

PJ


PJ Moka

Disk Configuration Question for Performance

$
0
0

Hi,

I am looking for some advice on what the best way to configure my disk system is for performance when using Hyper-V. Currently I have two midline 7.2k SATA disks used for the hyper-V OS in RAID 1, and then 14 x 10k 600GB SAS enterprise disks in RAID 10. The RAID 10 is where all my VM’s exist on, but not directly on the physical disk, I use a product called StarWind which consumes almost all of the physical disk space, this is a virtual SAN and I use this for my CSV in the cluster, the VM’s all exist on this starwind disk, there is a tiny amount of overhead but I don’t think that’s really where my problem lies. We have 12 Virtual machines, so there is 1 spindle per VM, however it’s in RAID 10 so does this actually mean I have 7 spindles for 12 VMs?

The entire system almost grinds to a halt whenever I am copying new VM’s onto this host. I can’t use any other RAID type except for RAID 1 or 10. I know RAID 0 would give me better performance but we are not willing to take the risk. Now, it is my understanding that RAID 1 and 10 are essentially the same with the same performance and capacity, because of this I chose RAID 10 so I can take advantage of the combined capacity, but I am wondering if this is the best configuration.

I can think of a few other variations:

  • A single RAID 10 with one large partition but multiple CSV’s instead of one large one
  • A single RAID 10 with multiple partitions and a CSV on each partition
  • Multiple RAID 1, each having a single partition and a single CSV

Reading this site, there are a few pointers I have taken away regarding disk performance, a couple below I have questions about.

http://www.altaro.com/hyper-v/23-best-practices-improve-hyper-v-vm-performance/

Point 6 says “Use separate volumes for each VM. Since the administrative tasks of a virtual machine are controlled by its own process (VMWP.exe), keeping several virtual machines on a single volume will cause more Disk I/O operations from each worker process. Hence, it is recommended to use separate volumes for storing virtual machine files (VHD, VHDx, checkpoints, and XML).

Does this mean the arrangement I propose in my second point above – multiple partitions and a CSV on each partition? The term “Volume” seems to be a bit ambiguous depending on where you read

I believe point 14 to be incorrect though. “De-fragment Hyper-V Server regularly or before creating a virtual hard disk. It is advisable to defrag Hyper-V Server disks where the VHD and virtual machine configuration files are stored regularly or before creating a large virtual hard disk file.

It is my understanding that defrag only tends to work well if there are many files on the disk, on the physical disk in my case there is one massive starwind file so I don’t think defrag on the physical will do anything, defrag in the starwind disk might help but it is mostly large VHDX files – will defrag really make much difference?

Additionally, I don’t have any generation 2 VM’s and there’s nothing I can do about this right now, all data disks use SCSI channels on the VMs, all VHDX are fixed size.

Also, a slight side question but kind of related – I have both an exchange server and SQL server running as VM’s (the log files already exist on separate VHDs, but on the same physical RAID 10 disk), does my physical disks used for log files need to match those used for the DB, or can they be slower lower class disks… for example, if I place a 7.2K disk in with a RAID made up of 10K disks, it is my understanding that the entire RAID will lower its performance of the slowest member – is this true with log files and databases, if the log files are on slow disks will the database also go slower to match the pace of log files being written?

many thanks

Steve


Windows Server 2012 R2 Windows Server Backup/Hyper-V Fails. Hyper-V VSS Writer Failure Result 80042336 FIXED!

$
0
0

I made an astounding discovery this morning.

I have an hp ML350 server with three RAID 1+0 drive arrays that offer three logical disks for use. There is no clustering or SAN involved, just three simple disks. The first is used for the OS, and the other two to hold VHD files for Hyper-V.

I installed Windows Server 2012 R2 fresh with Hyper-V and attempted to use Windows Server Backup to backup the entire server to an external USB drive. The Hyper-V application portion of the backup constantly failed. The Hyper-V VSS Writer returned state 5, Failure Result 80042336, with the Component Message'Could not create the backup checkpoint...; the system cannot find the file specified."

After a 5 day expedition through permissions, registered DLLs and a ton of other stuff, I found the problem.

The VHD files CANNOT be located in the root directory of local disk drives. They MUST be in a folder off the root directory. I confirmed this through multiple A-B tests with the files in the root of a drive, and then in a folder off the root.

Oddly enough, the permissions on the root folder are identical to the folder off the root, so that's not the problem.

On Windows Server 2008 R2 Standard I constantly located my VHD files on the root folder of a drive with no issue.

I hope this spares someone a lot of trouble!


Added update: I should also have said that the four VMs were all shutdown (offline) during the failures. So this had nothing to do with VM-internal snapshots or Integration services. This amounted to a failure of a straight file backup, some of which were related to Hyper-V. And, I believe the REAL cause was the .avhd file (snapshot) could not be created in the first place, and THAT was the file the writer couldn't find.

In house IT infrustracture

$
0
0

Hello,

So I am the only IT person in our company. It's a mid sized business , we have about 90 employees. We have office 365 for office suites. We don't have Active directory or exchange server or any servers for that matter, we have two file servers in house but that's about it. We have a vendor (myhosting) for our email so they have a server for us on the cloud and they charge us by user. Most of our servers are hosted by Rackspace. 

Now I have a pretty good idea about configuring servers including server 2012 but most of my career I have always been a helpdesk technician, tier 3, in all of the big companies I worked for in the past. However, this company doesn't have any ideas on how IT department is suppose to run, how it would involve a system engineer at the minimum so I they come to me for everything...advanced staff...so now they want me to come up with a plan to have IT in house, bringing all servers from racks-pace, implementing exchange server, AD ...( they have no idea what i'm talking about IT infrastructure, AD or Exchange server... they just want to cut costs... and they want everything to be done by me. This includes, planing, budgeting, implementing, deploying and IT Infrastructure by me...they point their figure at me for everything. I mentioned to them we might need an engineer but they pointed their figure at me...no wonder why they paid me a litter more extra than what other companies would pay for a helpdesk technician and i'm used to the money so I don't want to go back. Also, I do want advance my career somewhere so I want to do it all...this is stepping stone  for me to be a system engineer. 

So my question is:

1. What is the best Microsoft certification exam or a book  I need to prepare my self.

2. Is it ideal to implement Active Directory for 80-100 employees, also is there a number of employee required for AD?

3. What is the best resource or guide I can get to help me design an IT Infrastructure for Midsized business?

4. What kind of networking do I need? Is it better to manage Networking, Firewall in-house when having IT Infrastructure in-house?

5. What are the minimum Hardware and Software I need to begin with?...we have about 20 instances on Rackspace...our SharePoint and web server is hosted by myhosting.com

4. What is the maximum for visualization...how many servers? Also, what servers are better off to put them in Hyper-v or any visualization...SQL, file servers?

5. Would AD and Exchange server be configure in one server and are called domain servers?

6. Is there a best  tool or software to design an IT infrastructure ...that's already designed for that? Other than Visio?

7. What are the main networking infrastructure concepts I need to know for implementing IT Infrastructure in-house. DNS, DHCP, TCP/IP? What is the best resource/book/guide/too/ I can get to get a good understanding of how to implement those?

8. Are DNS and DHCP servers configure in a separate server, I know what they are but I never configured one...so how does it work...does it work in a server that has AD or it has to be on a different server?

9. Is it easier to get Microsoft partnership for midsize business or go through dealers?

10. What is the easiest way to get Microsoft certification? I have a good experience with Microsoft windows and products but never had any certification. How long does it take to study the required exams and get certified?

11. How long does it take to build an IT Infrastructure for midsize business (we are government contractors, most of our servers like SQL servers and web servers are for our clients but we have developers for dealing with those...I just need to bring those servers in-house and configure them as a company equipment and maintain them... kind of like System Administrator. 

I appreciate any help on this...I do!

Best regards.

Passing LUN through Virtual HBAs on Server 2012 R2

$
0
0

i have two Hyper-V hosts running Server 2012 R2 connected to a Fibre Channel SAN with an EMC back end.  I am at the point where I have configured the zoning and can see the LUNs on the Hyper-V nodes using virtual HBA initiators.  However, I cannot find any way to pass the LUNs through to the Virtual Machines running Server 208 R2.  If I used the method of a shared SCSI controller I don't see the pint of the Virtual HBAs.

Needless to say, the Virtual OS does not see any LUNs at this point.


PC_Doctor

Excluding a VHDX Attached to the VM Being Backed Up From Hyper-V Host

$
0
0

Is it possible to backup VM's using wbadmin or powershell's wbbackup and also exclude certain vhdx attached to the vm's being backed up.  For example I have a server DC1.  It has a C:\, D:\, and E:\ drive.  The E:\ drive is drive that contains items I don't care if lost but also has a lot of data so I don't want to have to back it up (for times sake).  

I've tried several things with excluding files but it didn't seem to work.  I don't want to do backups from inside the VM as I have multiple VM's needing backed up.

Thanks!




How to shrink a dynamically expanding VHD after remove content from vhd?

$
0
0

Hello!

    I have a VM with SO Ubuntu, this VM have one 200GB dynamically expanding VHD.  At a given time, I copied a backup files to this dynamically expanding VHD and reached maximum size of the dynamically expanding VHD (200GB). Now, I delete the backup files, the content size from VHD is 20GB, but the size of VHD in the parent partition continues with the maximum size (200 GB).

Can I shrink the size from VHD ?

I am sorry for my bad English. :D

Thank you!

Viewing all 19461 articles
Browse latest View live




Latest Images