In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article is about how to use SCVMM 2012 R2 to manage Hyper-v clusters. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
I. Test environment
Computer name
Functional role DC.jiangjianlong.cn for operating system IP address installation
Win2012R2
192.168.10.110 (production network)
DC 、 DNS 、
ISCSI Target
192.168.20.110 (iscsi Network)
Hyper-v01.jiangjianlong.cnWin2012R2192.168.10.111 (production network)
Hyper-v 、
Failover clustering,
Multipath IO
10.10.10.111 (heartbeat network) 192.168.20.111 (iscsi network)
Hyper-v02.jiangjianlong.cn
Win2012R2
192.168.10.112 (production network)
Hyper-v 、
Failover clustering,
Multipath IO
10.10.10.112 (heartbeat network) 192.168.20.112 (iscsi network)
Scvmm.jiangjianlong.cn
Win2012R2
192.168.10.113 (production network)
SQL2012SP1 、 WinADK8.1 、
SCVMM2012R2
Second, install SCVMM2012
1. Install the database SQL Server 2012 SP1 locally in SCVMM
2. Install WinADK8.1 on SCVMM Native
3. Launch the installation wizard of SCVMM2012R2
4. Choose to install the VMM Manager and the VMM console installed by default
5. Select the installation location, which is the default path
6. Configure the database. Since the database server is installed on this machine, select the instance name, and other defaults are available.
7. Configure the service account. For the convenience of authorization, a domain administrator account is directly used here. For the sake of security in the production environment, the principle of minimizing permissions should be adopted to configure domain users.
8. Port configuration. Default is fine.
9. To configure library sharing is to actually specify a shared folder as a library share, where the default settings are directly used to create a new library share.
10. Check the installation summary and click install
11. Installation completed successfully
12. Open the SCVMM console to log in
13. Log in to the SCVMM console successfully, and the installation of SCVMM is completed successfully
Add Hyper-v clusters for management
The original origin of this article: Jiang Jianlong's technology blog http://jiangjianlong.blog.51cto.com/3735273/1891896
1. Right-click all hosts and select add Hyper-v hosts and clusters
2. Select the Windows Server computer in the trusted AD domain
3. Enter credentials
4. You can specify by name, or you can specify an AD query to search the Windows Server computer
5. Select the discovered Hyper-v cluster
6. Assign the selected computers to all host groups
7. Confirm that the settings are correct and click finish.
8. Automatically pop up the job box to show the progress of the job
9. Successfully added Hyper-v virtualized cluster, prompting the completion of the multipath Iampo device declaration that the host needs to be restarted.
10. Go back to the VM and service interface to view the newly added virtualized clusters and running virtual machines
11. Click Construction to see that the proxy status of the server is responding.
Create an IP pool
1. By default, a logical network has been created automatically, and we also need to create an IP pool for this logical network. The IP pool can automatically assign static IP to virtual machines created from VM templates (there is no need to create a MAC address pool because it already exists by default)
2. Enter the name of the IP pool
3. Create a network site and enter an IP subnet
4. Enter the IP address range and reserved address
5. Specify the default gateway
6. Specify the DNS server
7. Confirm the settings and click finish.
Create a VM template
The original origin of this article: Jiang Jianlong's technology blog http://jiangjianlong.blog.51cto.com/3735273/1891896
1. There are many ways to create a VM template. You can use an existing virtual machine or a virtual hard disk to create a VM template. We use a virtual hard disk to create a VM template. First of all, we need to generalize the virtual hard disk, that is, to repackage and shut down the virtual machine with Sysprep, so that the virtual hard disk of the virtual machine can be used to create a VM template.
2. Copy the virtual hard disk of the virtual machine VMTest which has been repackaged and shut down by sysprep to the VHDs subdirectory of the library shared directory of SCVMM.
3. Create a guest operating system configuration file to facilitate direct reference when creating a VM template. The main modification here is the setting of the added domain.
4. Create a hardware configuration file to facilitate direct reference when creating a VM template. The main modification here is that the network card chooses to connect to the VM network, and the IP address chooses static IP (from the static IP pool), so that the IP pool we created earlier can come in handy. Unlike DHCP assigning dynamic addresses, IP address pools assign static addresses.
5. Copy the sysprep.exe and unbcl.dll in the C:\ Windows\ System32\ Sysprep directory to the sysprepp subdirectory under the SCVMM installation directory (C:\ Program Files\ Microsoft System Center 2012 R2\ Virtual Machine Manager\ Sysprep\ amd64) so that SCVMM can customize the virtual machine created from the template.
6. Create a VM template and choose to use the virtual hard disk VMTest.vhdx stored in the library.
7. Select algebra, here choose the traditional first generation
8. Configure the hardware and directly select the hardware configuration file Win that we created earlier.
9. Configure the operating system and directly select the guest operating system configuration file Win that we created earlier.
10. Application configuration option none-do not install any applications
11. SQL Server configuration Select none-No SQL Server configuration Settings
12. View the summary and click create
13. Complete the creation of VM template Win2012R2-Template. Next, we will use the VM template to create a virtual machine.
Create a virtual machine using VM template
The original origin of this article: Jiang Jianlong's technology blog http://jiangjianlong.blog.51cto.com/3735273/1891896
1. Select the VM template Win2012R2-Template we created above, and then click create Virtual Machine in the upper left corner, so that you can use the VM template to create a virtual machine.
2. In the create virtual machine wizard, enter the name of the virtual machine Win2012R2-VM01
3. In the configuration of hardware, the default is to follow the settings of the VM template, so I will not make any other changes here.
4. When configuring the operating system, the default is to follow the settings of the VM template, and the identification information has automatically followed the name of the virtual machine. I will not make any other changes here.
5. Place the virtual machine on the host
6. Select the host Hyper-v02
7. Here in the configuration settings, you can specify the location of the virtual machine. Since the previous configuration hardware has been checked for high availability, the path of the cluster shared volume is automatically entered by default. If there are multiple cluster shared volumes, you can also modify the path yourself. The identity information is the computer name, and the virtual machine name is automatically followed by default. The static address of the network adapter does not need to be filled in and will be automatically assigned from the address pool
8. Add attributes to set whether the virtual machine starts automatically when the host is powered on, and the action of the virtual machine when the host is powered off. You can press the default here.
9. View the summary and click create
10. The virtual machine is being created
11. The virtual machine has been created successfully. From the details of the job, we can see that SCVMM has customized the virtual machine, so when we start the virtual machine for the first time, there will be no Sysprep re-encapsulation interface. This is the difference from using a virtual hard disk that has been repackaged and shut down to create a virtual machine manually.
12. Enable the created virtual machine Win2012R2-VM01
13. Log in to the virtual machine with a domain user, indicating that the domain-adding operation of configuring the operating system when we created the virtual machine before is successful.
14. Looking at the IP details, you can see that the computer name, DNS suffix and IP address are all the same as the information provided when creating the virtual machine, and the IP address is also the static IP assigned from the IP pool.
15. AD users and computers in DC confirm that the virtual machine is indeed a domain member
Thank you for reading! This is the end of the article on "how to use SCVMM 2012 R2 to manage Hyper-v clusters". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.