다음을 통해 공유


How to Configure NLB for a Service Tier(서비스 계층에 NLB를 구성하는 방법)

 

게시 날짜: 2016년 7월

적용 대상: System Center 2012 SP1 - Virtual Machine Manager, System Center 2012 R2 Virtual Machine Manager, System Center 2012 - Virtual Machine Manager

<_caps3a_sxs _xmlns3a_caps="https://schemas.microsoft.com/build/caps/2013/11"><_caps3a_sxstarget locale="ko-KR">Virtual Machine Manager(VMM)에서 서비스는 함께 구성 및 배포되며 단일 엔터티로 관리되는 가상 컴퓨터 집합입니다(예: 다층 계층 LOB(기간 업무) 응용 프로그램).VMM에서 하나 이상의 서비스 템플릿 계층에 대해 Microsoft NLB(네트워크 부하 분산)를 구성하려면 다음 절차를 수행합니다. 예를 들어 웹 계층과 중간 비즈니스 논리 계층에 대해 부하 분산 장치를 구성할 수 있습니다.Linux를 실행하는 서비스 계층에서는 NLB를 사용할 수 없습니다.네트워크 가상화를 사용하여 구성된 VM 네트워크에서는 NLB은 사용할 수 없습니다.위의 두 구성에서는 Configuring Load Balancing in Virtual Machine Manager Overview에 설명된 대로 하드웨어 부하 분산을 대신 사용할 수 있습니다.NLB를 지원하려면 여러 필수 구성 요소를 충족해야 합니다. 여기에는 패브릭 관련 필수 구성 요소와 부하를 분산할 가상 컴퓨터에 필요한 특정 운영 체제 요구 사항 및 구성 설정이 포함됩니다.서비스를 배포하기 전에 계층에 대한 부하 분산 장치를 구성해야 합니다. 서비스를 배포한 후에는 서비스를 업데이트하여 부하 분산 장치를 추가할 수 없습니다.계정 요구 사항 패브릭 필수 구성 요소를 구성하려면 관리자 또는 위임된 관리자여야 합니다. 위임된 관리자는 해당 사용자 역할 범위 내의 필수 구성 요소만 구성할 수 있습니다. 서비스 템플릿에 부하 분산 장치를 추가하거나 가상 컴퓨터 템플릿 필수 구성 요소를 완료하려면 관리자, 위임된 관리자 또는 해당 범위에서 작성자 작업을 수행할 수 있는 셀프 서비스 사용자 역할의 멤버여야 합니다.패브릭 선행 조건이 절차를 시작하기 전에 다음과 같은 전제 조건을 충족해야 합니다.NLB용 VIP(가상 IPP) 템플릿을 만듭니다. 자세한 내용은 NLB(네트워크 부하 분산)용 VIP 템플릿을 만드는 방법https://go.microsoft.com/fwlink/p/?LinkID=221547을 참조하세요.네트워크 사이트가 하나 이상 연결된 논리 네트워크를 만듭니다. 사용자가 서비스를 배포할 네트워크 사이트에 고정 IP 주소 풀을 만들 수 있는 IP 서브넷이 하나 이상 연결되어 있는지 확인합니다. 또한 서비스를 배포할 수 있는 호스트 그룹 또는 해당 부모 호스트 그룹에 각 네트워크 사이트를 연결했는지 확인해야 합니다.자세한 내용은 논리 네트워크를 만드는 방법https://go.microsoft.com/fwlink/p/?LinkID=212420을 참조하세요.사용자가 서비스를 배포할 네트워크 사이트와 연결된 고정 IP 주소 풀을 만듭니다. 이 풀은 사용자가 서비스를 배포할 네트워크 사이트와 연결되어 있어야 합니다. IP 주소 풀은 부하 분산 장치에 할당할 수 있는 VIP(가상 IP) 주소의 예약된 범위 및 부하 분산 장치 뒤에 배치할 수 있는 가상 컴퓨터 범위를 포함해야 합니다.VIP의 주소와 가상 컴퓨터의 전용 IP 주소는 같은 풀의 주소일 수도 있고 다른 풀의 주소일 수도 있습니다. 그러나 VIP 주소와 전용 가상 컴퓨터 IP 주소는 모두 같은 서브넷에 있어야 합니다.자세한 내용은 IP 주소 풀을 만드는 방법https://go.microsoft.com/fwlink/p/?LinkID=212422을 참조하세요.서비스를 배포할 수 있는 각 호스트에서 호스트의 물리적 네트워크 어댑터가 서비스 계층에서 사용하려는 것과 같은 논리 네트워크를 사용하도록 구성되어 있는지 확인합니다. 예를 들어 계층에서 BACKEND 논리 네트워크를 사용하는 경우 BACKEND 논리 네트워크가 호스트의 실제 어댑터와 연결되어 있어야 합니다. 자세한 내용은 Hyper-V 호스트에서 네트워크 설정을 구성하는 방법https://go.microsoft.com/fwlink/p/?LinkID=212537을 참조하세요.가상 컴퓨터 템플릿 필수 구성 요소NLB를 사용하여 부하를 분산하려는 서비스 계층에 대해 VM 템플릿 만들기 마법사를 사용하여 가상 컴퓨터 템플릿을 만들거나 기존 가상 컴퓨터 템플릿을 사용하려는 경우에는 다음 필수 구성 요소가 충족되어 있는지 확인합니다.다음 테이블에는 NLB의 필수 설정만 나와 있습니다. 가상 컴퓨터 요구 사항에 따라 다른 설정을 구성합니다. 서비스 계층에 대해 가상 컴퓨터 템플릿을 만드는 방법에 대한 자세한 내용은 How to Create a Virtual Machine Template을 참조하세요.NLB 요구 사항추가 정보가상 하드 디스크의 운영 체제가 "추가 정보" 아래에 나열된 적합한 버전인지 확인합니다.요구 사항 중 하나는 게스트 운영 체제에서 NLB 기능을 설치하는 것입니다.VMM용으로 System Center 2012을 통해 기능을 설치하려면 게스트 운영 체제를 Windows Server 2008 R2로 설정해야 합니다.System Center 2012 SP1부터는 게스트 운영 체제를 Windows Server 2008 R2 이상의 서버 운영 체제로 설정해야 합니다.NLB 기능은 HPC Edition을 제외한 모든 Windows Server 2008 R2의 버전에 포함되어 있습니다. 그리고 모든 Windows Server 2012 및 Windows Server 2012 R2 버전에도 포함되어 있습니다.고정 IP 주소 할당 기능이 있는 논리 네트워크와 정적 MAC 주소를 사용하도록 네트워크 어댑터를 구성하고 서비스를 배포하려는 하이퍼바이저에 따라 MAC 주소 스푸핑을 사용하도록 설정합니다.VM 템플릿 만들기 마법사의 하드웨어 구성 페이지나 기존 가상 컴퓨터 템플릿 속성의 하드웨어 구성 탭에서 네트워크 어댑터를 클릭하고 다음을 수행합니다.하드웨어 프로필을 사용하는 경우 하드웨어 프로필에서 다음 설정을 구성합니다.연결에서 연결 대상을 클릭하고 이 항목의 "패브릭 요구 사항" 섹션에 요약되어 있는 요구 사항을 충족하는 논리 네트워크 중 원하는 논리 네트워크를 선택합니다.고정 IP(고정 IP 풀 사용)를 클릭하여 고정 IP 주소를 사용하도록 네트워크 어댑터를 구성합니다.IP 프로토콜 버전 목록에서 IPv4만과 같이 올바른 IP 프로토콜 버전을 선택합니다.MAC 주소에서 정적을 클릭합니다.Windows Server 2008 R2 기반 Hyper-V 호스트(서비스 팩 1 포함/미포함)에 서비스를 배포하려는 경우에는 MAC 주소 스푸핑도 사용하도록 설정해야 NLB가 올바르게 작동합니다. 사용하도록 설정하지 않으면 서비스를 배포하지 못합니다. 그러나 서비스 팩 1이 포함되지 않은 System Center 2012에서는 가상 컴퓨터 템플릿 또는 연결된 하드웨어 프로필에서 MAC 주소 스푸핑 사용 확인란을 사용하여 이 설정을 구성할 수 없습니다. 대신 템플릿을 만든 후에 VMM 명령 셸을 사용하거나 템플릿에 사용하는 하드웨어 프로필에서 이 설정을 구성해야 합니다.가상 컴퓨터 템플릿을 업데이트하려면 다음 구문을 사용합니다. 여기서 VMTemplate01은 가상 컴퓨터 템플릿의 이름을 나타냅니다.PS C:\> $VMTemplate = Get-SCVMTemplate -Name "VMTemplate01" PS C:\> $VirtNetworkAdapter = Get-SCVirtualNetworkAdapter -VMTemplate $VMTemplate PS C:\> Set-SCVirtualNetworkAdapter -VirtualNetworkAdapter $VirtNetworkAdapter -EnableMACAddressSpoofing $True하드웨어 프로필을 업데이트하려면 다음 구문을 사용합니다. 여기서 HWProfile01은 가상 하드웨어 프로필의 이름을 나타냅니다.PS C:\> $HWProfile = Get-SCHardwareProfile | where { $_.Name -eq "HWProfile01" } PS C:\> $VirtNetworkAdapter = Get-SCVirtualNetworkAdapter -HardwareProfile $HWProfile PS C:\> Set-SCVirtualNetworkAdapter -VirtualNetworkAdapter $VirtNetworkAdapter -EnableMACAddressSpoofing $TrueWindows Server 2008 서비스 팩 2 기반 Hyper-V 호스트, Citrix XenServer 호스트 또는 VMware ESX 호스트에 서비스를 배포하는 데 사용할 가상 컴퓨터 템플릿 또는 연결된 하드웨어 프로필에는 MAC 주소 스푸핑을 사용하도록 설정하지 마세요.관리자 암호 설정VM 템플릿 만들기 마법사의 운영 체제 구성 페이지 또는 기존 가상 컴퓨터 템플릿 속성의 OS 구성 탭에 있는 일반 설정에서 관리자 암호를 클릭합니다. 로컬 관리자 계정의 암호를 지정하거나 로컬 관리자 계정에 대해 실행 계정을 선택합니다.게스트 운영 체제 프로필을 사용하는 경우 프로필에서 관리자 계정 설정을 구성합니다.도메인에 가입하도록 가상 컴퓨터 구성VM 템플릿 만들기 마법사의 운영 체제 구성 페이지 또는 기존 가상 컴퓨터 템플릿 속성의 OS 구성 탭에 있는 네트워킹에서 가상 컴퓨터가 도메인에 가입하도록 구성합니다. 이때 도메인 가입을 위한 자격 증명도 구성합니다.게스트 운영 체제 프로필을 사용하는 경우 프로필에서 도메인 설정을 구성합니다.네트워크 부하 분산 기능 사용VM 템플릿 만들기 마법사의 운영 체제 구성 페이지 또는 기존 가상 컴퓨터 템플릿 속성의 OS 구성 탭에서 다음을 수행합니다.게스트 운영 체제 프로필을 사용하는 경우 프로필에서 이러한 설정을 구성합니다.역할 및 기능에서 기능을 클릭합니다.네트워크 부하 분산 확인란을 선택합니다.필요에 따라 원격 서버 관리 도구에서 네트워크 부하 분산 도구 확인란을 선택합니다. 네트워크 부하 분산 도구에는 네트워크 부하 분산 관리자 스냅인, 네트워크 부하 분산 관리용 Windows PowerShell 도구 및 Nlb.exe/Wlbs.exe 명령줄 도구가 포함됩니다.Windows Server 2008 R2 운영 체제 또는 Windows Server 2012 운영 체제의 Server Core 설치에서는 NLB 도구를 사용할 수 없습니다. 따라서 Server Core 설치를 사용 중인 경우에는 이 옵션을 선택하지 마세요. 해당 옵션을 선택하면 서비스를 배포하지 못합니다. Server Core 설치를 사용하는 경우 NLB 및 NLB 도구 기능을 선택해야 한다는 유효성 검사 오류 메시지가 표시되면 NLB 기능이 선택되어 있는지 확인합니다. NLB 도구에 대한 경고 메시지 부분은 받드시 확인할 필요가 없으므로 무시해도 됩니다.가상 컴퓨터 템플릿 필수 구성 요소를 충족하는 가상 컴퓨터 템플릿을 만든 후에는 해당 가상 컴퓨터 템플릿을 사용하는 서비스 템플릿을 만듭니다. 다음 절차에서는 기존 서비스 템플릿이 있다고 가정합니다. 서비스 템플릿을 만드는 방법에 대한 자세한 내용은 How to Create a Service Template을 참조하세요.서비스 계층에 NLB 부하 분산 장치를 추가하려면이 항목의 "가상 컴퓨터 템플릿 필수 구성 요소" 섹션에 요약되어 있는 필수 구성 요소를 충족하는 기존 서비스 템플릿을 엽니다. 이를 수행하려면 다음 단계를 따르십시오.라이브러리 작업 영역을 엽니다.라이브러리 창에서 템플릿을 확장하고 서비스 템플릿을 클릭합니다.템플릿 창에서 열려는 서비스 템플릿을 클릭합니다.서비스 템플릿 탭의 작업 그룹에서 디자이너 열기를 클릭합니다.Virtual Machine Manager 서비스 템플릿 디자이너가 열리고 서비스 템플릿이 표시됩니다.부하를 분산할 계층을 나타내는 가상 컴퓨터 템플릿을 클릭합니다. 가상 컴퓨터 템플릿 세부 정보 창에서 이 컴퓨터 계층을 확장할 수 있습니다. 확인란을 선택하고 인스턴스 수를 구성합니다.홈 탭의 서비스 템플릿 구성 요소 그룹에서 부하 분산 장치 추가를 클릭합니다.이 작업은 패브릭 작업 영역에 VIP 템플릿이 정의된 경우에만 사용할 수 있습니다. 전체 관리자 또는 위임된 관리자만 VIP 템플릿을 구성할 수 있습니다.NLB에 대해 올바른 VIP 템플릿을 선택해야 합니다. 이를 수행하려면 다음 단계를 따르십시오.서비스 맵에 추가되는 부하 분산 장치 개체(VIP 템플릿 이름으로 식별 가능함)를 클릭합니다.필요한 경우 부하 분산 장치 세부 정보의 부하 분산 장치 VIP 프로필 목록에서 다른 VIP 템플릿을 선택합니다.부하 분산 장치 모델 필드에 NLB(네트워크 부하 분산)가 표시되어 있는지 확인합니다.서비스 계층의 가상 네트워크 어댑터에 대한 부하 분산 장치 연결을 구성합니다.홈 탭의 도구 그룹에서 연결선 도구를 클릭하여 선택합니다.서비스 맵에서 부하 분산 장치와 연결된 서버 연결 개체를 클릭하고 NIC 개체를 클릭합니다. 예를 들어 BACKEND 논리 네트워크용 네트워크 어댑터를 클릭합니다. 그러면 네트워크 어댑터에 부하 분산 장치가 연결됩니다.NIC 개체를 클릭하여 세부 정보 영역에 해당 속성을 표시합니다. 논리 네트워크 구성에 따라 IPv4 주소 유형이나 IPv6 주소 유형 또는 두 유형이 모두 고정이며 MAC 주소 유형이 정적인지 확인합니다.올바른 논리 네트워크를 사용하도록 부하 분산 장치에 대한 클라이언트 연결을 구성합니다. 연결선 도구를 선택한 상태로 서비스 맵에서 부하 분산 장치와 연결된 클라이언트 연결 개체를 클릭하고 논리 네트워크 개체를 클릭합니다. 예를 들어 BACKEND 논리 네트워크를 클릭합니다. 그러면 논리 네트워크에 부하 분산 장치가 연결됩니다.NLB 배포의 경우 클라이언트 연결과 관련된 논리 네트워크와 5단계에서의 서버 연결과 관련된 NIC의 논리 네트워크는 같아야 합니다.업데이트된 서비스 템플릿 설정을 저장합니다.홈 탭의 서비스 템플릿 그룹에서 저장 및 유효성 검사를 클릭합니다.서비스를 배포할 때 VMM은 고정 IP 주소 풀에 정의되어 있는 예약된 범위에서 자동으로 가상 IP 주소를 선택하여 부하 분산된 서비스 계층에 할당합니다. 사용자가 서비스에 연결할 수 있도록 설정하려면 다음을 수행해야 합니다.전체 관리자 또는 위임된 관리자가 VMM에서 부하 분산 장치에 할당한 가상 IP 주소를 확인해야 합니다.가상 IP 주소를 확인한 후에는 DNS(Domain Name System) 관리자가 가상 IP 주소에 대해 DNS 항목을 수동으로 만들어야 합니다. 가상 IP 주소의 DNS 항목은 ServiceName.contoso.com과 같이 사용자가 서비스에 연결하기 위해 지정할 이름이어야 합니다.자세한 내용은 How to Determine the Virtual IP Address for a Service 항목을 참조하세요.How to Add Networking Components to a Service Template How to Configure a Hardware Load Balancer for a Service Tier How to Deploy a Service <_caps3a_sxssource locale="en-US">In Virtual Machine Manager(VMM), a service is a set of virtual machines that are configured and deployed together and are managed as a single entity—for example, a deployment of a multi-tier line-of-business application. Use the following procedure to configure Microsoft Network Load Balancing (NLB) for one or more tiers of a service template in VMM. For example, you might configure a load balancer for a Web tier and for a middle business logic tier.In service tiers running Linux, NLB cannot be used.With VM networks configured with network virtualization, NLB cannot be used.For both of the previous configurations, hardware load balancing can be used instead, as described in Configuring Load Balancing in Virtual Machine Manager Overview.To support NLB, there are several prerequisites that must be met. These include fabric-related prerequisites, and specific operating system requirements and configuration settings that are required for the virtual machines that you want to load balance.You must configure a load balancer for a tier before you deploy a service. After you deploy a service, you cannot add a load balancer by updating the service.Account requirements To configure the fabric prerequisites, you must be an administrator or a delegated administrator. Delegated administrators can only configure the prerequisites that are within the scope of their user role. To add a load balancer to a service template, or to complete the virtual machine template prerequisites, you must be an administrator, a delegated administrator, or a member of a self-service user role that has the Author action in their scope.Fabric PrerequisitesBefore you begin this procedure, make sure that the following prerequisites are met:Create a virtual IP (VIP) template for NLB. For more information, see How to Create VIP Templates for Network Load Balancing (NLB)https://go.microsoft.com/fwlink/p/?LinkID=221547.Create a logical network, with one or more associated network sites. Ensure that the network sites where users will deploy the service have one or more associated IP subnets that you can create static IP address pools from. Also, ensure that you associate each network site with the host group or one of its parent host groups where the service may be deployed.For more information, see How to Create a Logical Networkhttps://go.microsoft.com/fwlink/p/?LinkID=212420.Create static IP address pools that are associated with the network sites where users will deploy the service. The pools must be associated with the network sites where users will deploy the service. The IP address pools must contain a reserved range of virtual IP (VIP) addresses that can be assigned to the load balancer, and a range for the virtual machines that will be placed behind the load balancer.The addresses for the VIPs and the dedicated IP addresses for the virtual machines can be from the same pool or from different pools. However, the VIP address and the dedicated virtual machine IP addresses must all be in the same subnet.For more information, see How to Create IP Address Poolshttps://go.microsoft.com/fwlink/p/?LinkID=212422.On each host where the service may be deployed, ensure that a physical network adapter on the host is configured to use the same logical network that the service tier will use. For example, if the tier will use the BACKEND logical network, the BACKEND logical network must be associated with a physical adapter on the host. For more information, see How to Configure Network Settings on a Hyper-V Hosthttps://go.microsoft.com/fwlink/p/?LinkID=212537.Virtual Machine Template PrerequisitesWhen you use the Create VM Template wizard to create a virtual machine template for a service tier that you want to load balance by using NLB, or if you have an existing virtual machine template that you want to use, verify that the following prerequisites are met:The following table lists only the required settings for NLB. Configure other settings according to your virtual machine requirements. For information about how to create a virtual machine template for a service tier, see How to Create a Virtual Machine Template.NLB RequirementsMore InformationEnsure that the operating system for the virtual hard disk is an appropriate version, as listed under “More information.”One of the requirements is that you install the NLB feature in the guest operating system. To install features through VMM, for System Center 2012, the guest operating system must be set to Windows Server 2008 R2. Starting with System Center 2012 SP1, the guest operating system must be set to a server operating system no earlier than Windows Server 2008 R2.The NLB feature is included with all editions of Windows Server 2008 R2 except for HPC Edition. It is included with all editions of Windows Server 2012 and Windows Server 2012 R2.Configure the network adapter to use a logical network with static IP address assignment, static MAC addresses, and, depending on the hypervisor that you want to deploy the service to, enable MAC address spoofing.On the Configure Hardware page of the Create VM Template wizard (or the Hardware Configuration tab in the properties of an existing virtual machine template), click a network adapter, and then do the following:If you are using a hardware profile, configure these settings in the hardware profile.Under Connectivity, click Connected to, and then select the desired logical network that meets the requirements that are outlined in the “Fabric Requirements” section of this topic.Click Static IP (from a static IP pool) to configure the network adapter to use a static IP address. In the IP protocol version list, select the correct IP protocol version, for example, IPv4 only.Under MAC Address, click Static.If you want to deploy the service to a Windows Server 2008 R2-based Hyper-V host (with or without Service Pack 1), you must also enable MAC address spoofing for NLB to work correctly. If you do not, service deployment will fail. However, in System Center 2012 (without Service Pack 1) you cannot use the Enable spoofing of MAC addresses check box in the virtual machine template or the associated hardware profile to configure this setting. Instead, you must use the VMM command shell to configure this setting after you create the template, or in the hardware profile that you use for the template.To update a virtual machine template, use the following syntax, where VMTemplate01 represents the name of the virtual machine template:PS C:\> $VMTemplate = Get-SCVMTemplate -Name "VMTemplate01" PS C:\> $VirtNetworkAdapter = Get-SCVirtualNetworkAdapter -VMTemplate $VMTemplate PS C:\> Set-SCVirtualNetworkAdapter -VirtualNetworkAdapter $VirtNetworkAdapter -EnableMACAddressSpoofing $TrueTo update a hardware profile, use the following syntax, where HWProfile01 represents the name of the virtual hardware profile:PS C:\> $HWProfile = Get-SCHardwareProfile | where { $_.Name -eq "HWProfile01" } PS C:\> $VirtNetworkAdapter = Get-SCVirtualNetworkAdapter -HardwareProfile $HWProfile PS C:\> Set-SCVirtualNetworkAdapter -VirtualNetworkAdapter $VirtNetworkAdapter -EnableMACAddressSpoofing $TrueDo not enable MAC address spoofing for a virtual machine template or an associated hardware profile that will be used to deploy a service to a Windows Server 2008 with Service Pack 2-based Hyper-V host, a Citrix XenServer host, or a VMware ESX host.Set the administrator passwordOn the Configure Operating System page of the Create VM Template wizard (or the OS Configuration tab in the properties of an existing virtual machine template), under General Settings, click Admin Password. Either specify the password of the local administrator account or select a Run As account for the local administrator account.If you are using a guest operating system profile, configure the administrator account settings in the profile.Configure the virtual machine to join a domainOn the Configure Operating System page of the Create VM Template wizard (or the OS Configuration tab in the properties of an existing virtual machine template), under Networking, configure the virtual machine to join a domain. This includes the credentials to join the domain.If you are using a guest operating system profile, configure the domain settings in the profile.Enable the Network Load Balancing featureOn the Configure Operating System page of the Create VM Template wizard (or the OS Configuration tab in the properties of an existing virtual machine template), do the following:If you are using a guest operating system profile, configure these settings in the profile.Under Roles and Features, click Features.Select the Network Load Balancing check box.Optionally, under Remote Server Administration Tools, select the Network Load Balancing Tools check box. Network Load Balancing Tools include the Network Load Balancing Manager snap-in, Windows PowerShell tools for managing Network Load Balancing, and the Nlb.exe and Wlbs.exe command-line tools.The NLB tools are not available in a Server Core installation of the Windows Server 2008 R2 operating system or the Windows Server 2012 operating system. Therefore, do not select this option if you are using a Server Core installation, or service deployment will fail. (If you are using a Server Core installation, and you receive a validation error message saying that you must select NLB and the NLB tools feature, make sure that you have the NLB feature selected. You can ignore the part of the warning message about NLB tools as it is not required.)After you have a virtual machine template that meets the virtual machine template prerequisites, create a service template that uses the virtual machine template. The following procedure assumes you have an existing service template. For information about how to create a service template, see How to Create a Service Template.To add an NLB load balancer to a service tierOpen an existing service template that meets the prerequisites that are outlined in the “Virtual Machine Template Prerequisites” section of this topic. To do this, follow these steps:Open the Library workspace.In the Library pane, expand Templates, and then click Service Templates.In the Templates pane, click the service template that you want to open.On the Service Template tab, in the Actions group, click Open Designer.The Virtual Machine Manager Service Template Designer opens with the service template displayed.Click the virtual machine template that represents the tier that you want to load balance. In the virtual machine template details pane, select the This computer tier can be scaled out check box, and configure the number of instances.On the Home tab, in the Service Template Components group, click Add Load Balancer.This action is only available if VIP templates are defined in the Fabric workspace. Only a full administrator or delegated administrator can configure VIP templates.Make sure that the correct VIP template for NLB is selected. To do this, follow these steps:Click the load balancer object (identifiable by the VIP template name) that is added to the service map.In the load balancer details, in the Load Balancer VIP Profile list, select a different VIP template if needed.Verify that the Load Balancer Model field indicates Network Load Balancing (NLB).Configure the load balancer connection to a virtual network adapter for the service tier.On the Home tab, in the Tools group, click the Connector tool to select it.On the service map, click the Server connection object that is associated with the load balancer, and then click a NIC object (for example, click the network adapter for the BACKEND logical network). This connects the load balancer to the network adapter.Click the NIC object to display its properties in the detail area. Verify that the IPv4 address type, the IPv6 address type, or both types (depending on the logical network configuration) are static, and that the MAC address type is static.Configure the client connection for the load balancer to use the correct logical network. With the Connector tool still selected, on the service map, click the Client connection object that is associated with the load balancer, and then click a logical network object. For example, click the BACKEND logical network. This connects the load balancer to the logical network.For NLB deployments, the logical network that is associated with the client connection and the logical network of the NIC that is associated with the server connection in step 5 must be the same.Save the updated service template settings. On the Home tab, in the Service Template group, click Save and Validate.When the service is deployed, VMM automatically selects a virtual IP address from the reserved range that is defined in the static IP address pool, and assigns it to the load-balanced service tier. To enable users to connect to the service, the following must occur:A full administrator or delegated administrator must determine the virtual IP address that VMM assigned to the load balancer.After the virtual IP address is determined, a Domain Name System (DNS) administrator must manually create a DNS entry for the virtual IP address. The DNS entry for the virtual IP address should be the name that users will specify to connect to the service, for example ServiceName.contoso.com.For more information, see How to Determine the Virtual IP Address for a Service.How to Add Networking Components to a Service Template How to Configure a Hardware Load Balancer for a Service Tier How to Deploy a Service