Learn how to create host groups in Virtual Machine Manager. This is one of the first steps to setting up VMM. It allows you to add groups of objects into a location you can manage more effectively than putting all objects into one area.
- [Instructor] In a previous video, we installed Virtual Machine Manager, and now we're ready to do our first task. And that is going to be to create a host group. So, on the left hand side, go ahead and click on Fabric, and then you're going to see the Servers link, and you see our server that we installed earlier. Now if you click on All Hosts, you see there's no hosts currently there. So what we're going to want to do is we're going to want to create what's called a host group, or actually, several different host groups, just so we can see how it's done.
Let's right-click on All Hosts, and choose Create Host Group. And let's choose to create a second one, and let's go ahead and choose to create a third one. Now, you can see, that depending on if you click on the New Host group, or the All Hosts, whether or not it puts a sub-host in there as well. So let's go ahead and right-click on the first one, and we'll give it a city name. We're going to choose to create our host groups based on location.
Let's right-click on the second one, and we'll choose Seattle. And, under the Portland one we'll choose a small town nearby, and we'll just call it Salem. Now that the host groups are in place, we need to put in hosts, and that's going to be something we do in an upcoming video. But we can right-click on the host groups, and we can change some of the properties. So the host groups, basically, are there to put new hosts that we add in in the future, and these hosts are going to be virtual machine Hyper-V hosts, so they're going to host virtual machines.
And we're going to need to push out an agent to those host servers. And when we do that, we're going to want to have some rules in place so we don't end up using up too much of the resources of the host servers. Let's go ahead and take a look at some of the different options that we have. We can click on Placement Rules. Now, by default, Virtual Machine Manager is going to put the host in whichever location it thinks is going to be the best, but you don't have to do that.
You can go ahead and uncheck, and you can add the placement rule of where you want that particular item to go. And then, from there, you can create these custom requirements, such as the virtual machine must match the host. A virtual machine should match the host, et cetera et cetera. Let's go ahead and choose should match the host and click OK. So basically what this does is when we create a virtual machine on a host that is in this particular host group, then we said, in this particular case, with this custom rule, that it should match the settings of the host itself, and there's lots of different settings here to choose from.
However, it doesn't have to match those settings. Let's take a look at some of the other settings that apply with the placement rules. One of those is going to be the Host Reserves. So we can see at the top there's a nice little explanation that says the host reserves are the resources set aside for the host operating system. So this keeps the virtual machines from using the last of the resources from the host itself. So we can reserve certain amounts of CPU, memory, disk space, et cetera.
So we can choose to use the default from the parent host group, in this case, the VM Host One. Or we can go in and manually say "okay, we want at least 15% of the CPU available. We want at least, we can say in this particular case, three gigabytes of the memory available", or we can change from megabytes to percentage, and use that as well. We can also do the same thing with Disk I/O, next Disk space, and Network I/O.
So all these different things can be reserved for the host so not all the resources get taken. Let's take a look at Dynamic Optimization. If you're using a cluster, then what Dynamic Optimization does is it automatically balances the load within a host cluster. So if you have more than one node, or host in this particular case, then it's going to balance the virtual machines so it's spread out among all the different nodes.
We can also set certain thresholds so if a particular host exceeds these thresholds, then the virtual machine can automatically be moved to one of the other nodes that has a lower amount of pressure on it from the various different virtual machines when it comes to CPU, RAM, and hard drive space. Let's go ahead and take a look at Network. We can choose from several different options as far as the resource type. Let's go ahead and hit the dropdown list. We've got IP pools, balancers, logical networks, and MAC pools.
Let's take a look at MAC pools first. So, if we want, we can have the virtual machines that we create on our hosts use these different MAC addresses. We see a starting space and an ending space. So that way the virtual machines don't accidentally use the same MAC address, which is the hardware address on the network card. If more than one virtual machine does accidentally use the same MAC address as another virtual machine or other server, then you'll end up disabling one of those servers.
We can also choose from logical networks. In this particular case we don't have multiple networks on here, and we're going to be doing a section on network in upcoming videos. So stay tuned for that. We also have load balancing, as we talked about with Dynamic Optimization. We can also do the same with network load balancing where the network load, when it reaches a certain amount, then the virtual machines can get moved to other hosts or nodes. And then we have IP pools themselves, where we can create a pool of IP addresses that the virtual machines automatically use, so that way they won't use anything from our DHCP scopes.
Let's click on Storage. At this time, we don't have the storage ready to go for this particular host group, but we will in upcoming videos, where we do an entire section on storage. So we'll come back to this at that time, where we can allocate some storage pools. And then we have custom Properties, so if you're an advanced user, you can create custom properties that will allow you to do various things that don't come standard with Virtual Machine Manager.
We won't be covering that in this particular course, but those certainly are available at technet.com. When we're all done making our changes to our host group we'll go ahead and click OK, and you can also make changes in a similar fashion to the other host groups that we created simply by right-clicking and going to Properties. Adding host groups allows us to add host servers into logical groupings for better management of Virtual Machine Manager.
- Creating host groups
- Adding and managing VMM hosts
- Managing VMware hosts
- Setting up logical and VM networks
- Creating port profiles and logical switches
- Configuring load balancing
- Deploying a virtual machine
- VMM library
- Deploying virtual machines and services in VMM
- VMM profiles and templates