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

Hyper-V running multiple IIS servers

$
0
0

Hi Everyone,

I'm very new to the virtualization scene. I have a had a server running with Windows Server 2008R2, IIS, SQL Server for some sites and web applications that I develop. What I'm trying to do now is migrate into a "VPS" like set up. Here is what i'm trying to achieve:

  • Host Server: Windows Server 2008 R2 ( or just Hyper-V server if you recommend it)
  • Want to run multiple virtual machines, all running their own IIS, SQL and so on. I need multiple vms because I'm trying to use this as my development server and all of these VMs will run different things. For example one VM might run Windows Server 2003 with IIS + SQL while the other runs Server 2008 + IIS + SQL

What I need to know is how I should set this server up and what i need. I've been playing around with it and I installed Server 2008R2 on the host, and installed Hyper-V as a role. The host server has been set up to have a static IP of 192.168.1.111. I've set up my router to forward all requests to this IP (192.168.1.111) for the current moment (DMZ), so I'm using 192.168.1.111 as if it were the "public" IP provided by ISP. Also added a VM into Hyper-V with Windows Server 2008 R2 Standard. And in the VM I added a role of IIS for it so I can see how it works. Also, I connected the Network adapter as an "External Virtual Network". With this setup my router is successfully giving the VM an IP address and I can view the site using any computer on my network using the the VM's IP address (192.168.1.112).

I've also tried to set up an internal network, but I don't think I did it correctly. All I did was add an internal network in Hyper-V, and then set the VM's adapter to the internal network. The only problem with this is I get a very wierd IP assigned (168.254.x.x) and I cannot ping the host and the host cannot ping the VM. When I ping the host from within the VM it states: "PING: transmit failed".

1. So what I'm stuck at is how do I get my domain name (www.digitalcrown.com) to get forwarded to that VM?

2. What if I wanted to added another VM that will only handle requests from another domain (example.com). By this I mean, VM1 handles HTTP requests for digitalcrown.com and VM2 handles HTTP requests for example.com. I've read up and some people suggest adding IIS to the host and using a redirect, but this doesn't seem quite right to me. Pretty much what I'm trying to accomplish is what VPS hosting companies do!

I'm pretty sure I'm missing something along the lines of RRES? DNS? DHCP? I'm very confused, been working at this for over 3 days now, and google has not been friendly!

BTW I only have one static external IP. So as of right now all the domain names I own point to the same IP, which means I need some way to prase these requests that come in and direct it to the correct VM. (DNS?)

UPDATED: Also, some specs on the server hardware: Dual NIC, Xeon X3430.

Please advise, or even a link to some step-by-step guide to have your own VPS system running would be of great help!

 

Your help is GREATLY appreciated!


[SLES 11 Guest] KVP Daemon Fills up /var/log/messages

$
0
0

Hi,

I don't know if this is the right forum to ask this, but... I have an Hyper-V Server with several VMs, one of them is a SLES 11 virtual machine.

I found that the "hv_kvp_daemon" in this vm started writing repeatedly to the syslog a message:

hv_utils: KVP: user-mode registering done.

This gets written over, and over, till the /var filesystem got full. Right now I'm dealing with a 40GB messages file. :(

I found that if I stop the "hv_kvp_daemon", those messages stop getting written. But, why did this happened, and how can I get rid of this?

network virtualization gateway.

$
0
0
can windows server 2012 itself setup as a  network virtualization gateway?

P2V convertion to Hyper-V 3.0 platform

$
0
0
how do i P2V W2K3 machine to Hyper-V 3.0 platform

Karthik R

Loosing sporadically network connectivity on WS 2012 Hyper-V with NAT routing enabled

$
0
0

Hi, 

i am using Windows Server 2012 (Standard, English) as Hyper-V host. I do have a single vSwitch configured as "internal" network. 

If I configure RRAS as a NAT router (on the host) I  sporadically loose my network connection to the host. It works for a few minutes, sometimes for an hour, and without any obvious cause I loose my network connection/RDP session. 

I used that exact configuration for years in WS 2008 R2. I have no idea, what the root of the problem is. 

Thanks for your help in advance,

Thorsten

Hyper-V Certificate based deployments

$
0
0

Hello,

Can someone please help. I can't get my certificate valid. I fallow this http://social.technet.microsoft.com/Forums/en-US/winserverhyperv/thread/a773b00e-fc74-4bd6-9e4d-02801ba3c690 but still not fix error. It saying that hyper-v can't validate cert with thumbprint...


Hyper-V Cluster Network Configuration

$
0
0
I have a 3 node Hyper-V cluster setup on W2K8R2.  My nic configuration is as follows:
1 Team for Host Management - 10.11.x.x
1 Team for VM Access - DHCP
1 Team for Live Migration/CSV 172.16.x.x
Each node has two QLogic iscsi adapters to access storage on netapp.

My questions are:
1- Can I use the Host Management Nics for VM Access instead of having two separate networks?  What are the pros or cons of that?  

2 - Keeping the current configuration should my network for VM Access stay on DHCP or should it get a static IP?

3- With the current configuration I set the Live Migration\CSV network to "not allow cluster network communication on this network"  -  By doing this if I pull both Host Management NICs (Testing) my VMs failover to their failover node.  However if I unplug the Live Migration\CSV nics (Testing) My VM's do not failover, they remain up but you can't ping them or access them.  How should I configure my Live Migration\CSV network if I want to use one network for both?

4 - If I set my Live MIgration\CSV network to "Not allow cluster network communication on this network" I don't believe the cluster is doing redirect through my csv network (Live Migration\CSV)  If I set this network to just "Allow cluster network communication on this network" it won't failover when I pull the Host Management Nics

Thanks,

Why wont they stay paused

$
0
0

I am running Windows 8 Client Hyper-V and have various VMs I use for demonstration.

I often set these to a paused state so that I can easily resume them later.

I'm finding though that most of the time when I start up my laptop these VMs are running and not paused.  But not every time?

So I'm confused, why are they coming out of paused state? Is this by design?

Thanks,

Terry


Remove-VmMigrationNetwork

$
0
0

Okay, I'm stumped.  I have tried every combination of formats I can think of, but I cannot seem to find the proper string to remove a network from use by live migration.  Maybe I'm trying to use the wrong cmdlet, but the description of Remove-VmMigrationNetwork seems to be what I am looking for -"The Remove-VMMigrationNetwork cmdlet removes a network from use with migration."  I have tried from a host within a cluster.  I have tried it from a remote host that I used to build the cluster with remote commands.  I have tried wild cards and /24 notation (which results in a syntax error).  I tied specifying a cluster name, a single host name, and all the host names in the cluster.  And on and on.

The primary error I end up with is this (executed from one of the cluster nodes):

Remove-VMMigrationNetwork : Failed to modify service settings.
Cluster migration network tags cannot be modified. Please ensure you are not trying to add or remove a cluster
migration network for '192.168.16.22/32' : One or more arguments are invalid (0x80070057).
A parameter that is not valid was passed to the operation.
At line:1 char:1
+ Remove-VMMigrationNetwork 192.168.16.*
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (Microsoft.HyperV.PowerShell.VMTask:VMTask) [Remove-VMMigrationNetwork]
   , VirtualizationOperationFailedException
    + FullyQualifiedErrorId : InvalidParameter,Microsoft.HyperV.PowerShell.Commands.RemoveVMMigrationNetworkCommand

What is strange is that I am using a Remove command and the error message asks me to ensure I am not trying to remove.


tim

Intermittent Host & VM Connectivity Issues

$
0
0

We have several Hyper-V clusters stretched across multiple blades/blade chassis. Starting Sunday the 28th, we started having issues where our monitoring software was showing web applications running on dozens of Hyper-V guest VMs were temporarily unavailable. It seems that the VMs were temporarily losing connectivity. Since then, we’ve also had several different blades (hosts) appear to lose connectivity - sometimes long enough that they were kicked out of the cluster and all of the VMs were live migrated to other hosts. This continues through today. We can set up pings between a guest VM and another guest VM on the same host, and when this brief loss of connectivity occurs, there are groups of ping delays and only a few “request timed out” messages. When we monitor the virtual NIC, we see counters drop to 0 briefly and recover. When we monitor the Hyper-V virtual switch, we also see that dropping all counters to 0 and recover. This connectivity issue happens around the clock, regardless of load.

The drops in communication are brief enough (maybe 3-5 seconds sometimes) that our active monitors are picking up the downtime, but the web applications (for the most part) are not crashing. This means our customers are seeing some slowness periodically when this happens, but they don't call our Support center since they can move on as normal a few seconds later.

Our setup is:  (5) DELL blade chassis with a mixture of M600, M610 and M710 blades. R2 Core. All guest VMs are a mix of Windows 2003 and 2008. Currently our hosts are configured with two NICs. We are in the process of configuring a 3 NIC on each host for our busiest blade chassis.

Has anyone run into issues like this?

Manage Hyper-v hosts from my laptop

$
0
0

Hi guys,

My customer's admins would like to manager their Hyper-v hosts from their laptop. BUT, in this customer, all the network is partitioned between VLAN and by default all is denied except what must be opened.

So, I would like to know what network ports should I open to allow the administration of these hosts.

When I launch the MMC, I got an issue : " Impossible connection to the RPC service on the computer xxx ... "

Thank you for your help.

How much static memory to set for Hyper-V for disaster recovery testing on 16 GB Windows 2008 R2 std. server running SQL Server 2012?

$
0
0

I am loking to setup the Hyper-V role on Windows Server 2008 R2 Standard with SQL Server 2012 previously installed. We do not have budget for two separate servers. SQL Server is the main priority on the server. Only one virtual machine will be installed and used periodically to test disaster recovery restores (using Ultrabac) from image backups of servers.  We want to minimize the use of memory for Hyper-V so we plan to remove the virtual machine when done testing the restore (if necessary). The other servers we plan to restore are of similar build or the servers to restore are less powerful using less memory.

We have plenty of space on our RAID drives for now and was not planning to make a partition for Hyper-V. I was thinking of using Static Memory and limit the Virtual Machine to 4 GB of RAM and set 12 GB for the server/SQL Server. The server to host Hyper-V is a Dell PowerEdge 2900 with 16 GB RAM, Intel Xeon, E5345 @3.33 GHZ (2 processers).

a. Will Hyper-V use memory / CPU if Hyper-V role installed but not used (No Virtual machines installed or vm installed but not being used/tested) ?
b. Will Hyper-V need more than 4 GB of memory (how much needed?) if we do have a Virtual machine installed and we are testing the restore (very basic testing).

Lastly, do we need to 'turn off' Hyper-V when we do not need it to save memory and CPU resources? Or is this handled automatically when not used?  For example: If we set static memory to 4 GB for Hyper-V and Hyper-V is not being used are we always limited to 12 GB of RAM for SQL Server?

Question regarding storage spaces and hyper-v in a lab environment

$
0
0

Hi!

I am setting up a testlab for windows server 2012 running a few VM's under Hyper-V. I have 3 2TB disks that I want to use for general storage in the various VM's. Storage spaces seemed like the perfect fit here as I could provision larger than existing disks and just add another disk when I ran out of space. My question is a practical one as I now have created a virtual disk from the storage pool manager and I am wondering whether the best way to give storage to the VM's is to:

1. Add the virtual disk created from the storage pool wizard to the vm as a physical disk

or

2. Create a vhdx file on the virtual disk created from the storage pool wizard and then add that as a disk on the vm.

Would love some response to this as I am worried about the disk speed on a virtual disk that is located on a virtual disk managed by storage spaces.

Thanks in advance!! 

Hyper V Replica Cross Site Cross Domain certificate issue

$
0
0

Hello, I've issued SAN certificates for both my primary server (domain1) and replica server (domain2) from my enterprise CA and replication with these certificates works just fine if I use the internal name of my replica server when enabling replication on a specific VM.  If I change the name of the replica server to the public address though "servername.dyndns.org"  (using dyn for some cheap external access testing) in order to try replication over the WAN then I get the following errors.  This is with the same certificates and configuration that work just fine with the local name.  I have all of the internal and external names on the certificate as well as Subject Alternative Names, I've imported the CA certificate into the trusted root store of the Primary server, have the hyper v replica open on the firewall, and am forwarding 443 through my external firewall as well.  Thanks for any help!

 

Enabling replication failed.

Hyper-V failed to enable replication.

Hyper-V received a digital certificate that is not valid from Replica server
servername.dyndns.org.

Hyper-V failed to enable replication for virtual machine New Virtual Machine’:
The specified certificate is self signed.

(0x80092007).
(Virtual Machine ID OBF44cBD-O8AF-4430-BSBF-FBFc3EO13F8D)

Hyper-V received a digital certificate that is not valid from the Replica server
‘servername.dyndns.org’. Error: The specified certificate is self signed. (0x80092007).


Windows 8 and Hyper-V Server 2008R2

$
0
0
I suspect this question may have been asked in the past but I was wondering if can provide any way for our Windows 8 clients to access virtual environments hosted within Hyper-V Server 2008R2?

file and print sharing resource is online but isnt responding to connection attempts.

$
0
0

I am having issues with accessing file share on the host machine. This is my test environment which is my Win 8 Laptop with hyper V.  I have multiple guests running on the host.

Host: Hyper-V on windows 8, connected to a domain
Guest: Multiple Guests all running Win server 2008 R2.

- I have internal, private and external network configured and all are working fine.
- Able to ping the host from the guest.
- When I access the file share from guest I receive the following error "file and print sharing resource is online but isnt responding to connection attempts."
- Able to RDP to the guest from host. Copy/paste works in this scenarios. But not able to move large files such as SQL databases to guest. It starts copying but after 90% the windows just vanishes.
- File sharing is turned on on both Guest and VM. 

I am trying to resolve this problem for a while with no success and quite frustrated. I would really appreciate any help.

sam.

Server 2012 Licensing and Hyper-V Role

$
0
0

If I deploy a server 2012 with the Hyper-V role, am I able to use the host server to run applications other than Hyper-V or does that violate the license? An Example would be to run Symantec Backup Exec to backup the virtual guest to a connected tape drive.

Thanks!

Hyper-V Manager RPC Error

$
0
0
Hi,
 
I'm having problems connecting to an instance of Hyper-V RTM running on Server Core via the Hyper-V Manager MMC snap-in (I've tried both x64 and x86 versions).  Every time I try to connect I get an error stating that:

"Cannot connect to the RPC service on computer <Hyper-V Server>. Make sure your RPC service is running."

I've tried reinstalling Hyper-V, disabling all firewalls, using the IP address to connect instead of FQDN, etc. all without success.  What's strange is that I've got no problems connecting to other MMCs remotely (such as Event Log Viewer, the Services console, Computer Management, etc.).  Also, both systems are in a domain environment which should rule out any authentication / permissions issues.

Unfortunately this issue has caused our Hyper-V deployment to grind to a halt as we can't connect to the Hyper-V instance to configure any VMs!  Any assistance anyone can provide would be very much appreciated.

Thanks!

Windows 8 - Network Not Available

$
0
0

I've created a VM using Hyper-V on my Windows 8 Pro laptop. The VM launches and is fully functional except that Networking is not available.

When I select the settings for the VM and Network Adapter, the only option available in the Drop Down under the Virtual Switch is "Not Connected". Do I need to create some sort of virtual switch from my end? If so, how do I go about doing this?

Thanks a bunch.


-- Val

VHD corruption issues

$
0
0

I am getting a very frustrating problem with with corruption on the Vm's virtual disks.  we have had numerous instances where a virtual machine has reported problems and upon restart it won't boot up until you have run windows repair tool at boot up and in some cases it hoses the Vm entirely.  We have 2 Dell R515's connected to a Netgears ReadyNAS 4200 over a 10gb fibre, so bandwitdh can't be an issue.  On the last one the host reported several iscsiprt errors and it appears to be related (ie the errors occurred between the machine being ok and the machine not being ok).  My question is Has anyone else experienced these type of issues with similar equipment?

At the moment we are in the process of installing HDD's in the server to run the VM's on DAS, bue this is by no means an ideal solution as we have invested a lot of money in this.  we would like to get this configuration running but need it to be rock solid.

Any help or pointers would be appreciated.

Regards

Drac

Viewing all 19461 articles
Browse latest View live




Latest Images