Exam Ref 70-740 Installation, Storage and Compute with Windows Server 2016 Craig Zacker 2 Exam Ref 70-740 Installation, Storage, and Compute with Windows Server 2016 Published with the authorization of Microsoft Corporation by: Pearson Education, Inc. Copyright © 2017 by Craig Zacker All rights reserved. Printed in the United States of America. This publication is protected by copyright, and permission must be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permissions, request forms, and the appropriate contacts within the Pearson Education Global Rights & Permissions Department, please visit www.pearsoned.com/permissions/. No patent liability is assumed with respect to the use of the information contained herein. Although every precaution has been taken in the preparation of this book, the publisher and author assume no responsibility for errors or omissions. Nor is any liability assumed for damages resulting from the use of the information contained herein. ISBN-13: 978-0-7356-9882-6 ISBN-10: 0-7356-9882-1 Library of Congress Control Number: 2016962646 First Printing January 2017 Trademarks Microsoft and the trademarks listed at https://www.microsoft.com on the “Trademarks” webpage are trademarks of the Microsoft group of companies. All other marks are property of their respective owners. Warning and Disclaimer Every effort has been made to make this book as complete and as accurate as possible, but no warranty or fitness is implied. The information provided is on an “as is” basis. The authors, the publisher, and Microsoft Corporation shall have neither liability nor responsibility to any person or entity with respect to any loss or damages arising from the information contained in this book or programs accompanying it. Special Sales For information about buying this title in bulk quantities, or for special sales opportunities (which may include electronic versions; custom cover designs; and content particular to your business, training goals, marketing focus, or branding interests), please contact our corporate sales department at [email protected] or (800) 382-3419. For government sales inquiries, please contact [email protected] 3 For questions about sales outside the U.S., please contact [email protected] Editor-in-Chief Greg Wiegand Acquisitions Editor Trina MacDonald Development Editor Rick Kughen Managing Editor Sandra Schroeder Senior Project Editor Tracey Croom Editorial Production Backstop Media Copy Editor Christina Rudloff Indexer Julie Grady Proofreader Christina Rudloff Technical Editor Ajay Kakkar Cover Designer Twist Creative, Seattle 4 Contents at a glance Introduction Preparing for the exam CHAPTER 1 Install Windows Servers in host and compute environments CHAPTER 2 Implement storage solutions CHAPTER 3 Implement Hyper-V CHAPTER 4 Implement Windows containers CHAPTER 5 Implement high availability CHAPTER 6 Maintain and monitor server environments Index 5 Contents Introduction Organization of this book Microsoft certifications Free ebooks from Microsoft Press Microsoft Virtual Academy Quick access to online references Errata, updates, & book support We want to hear from you Stay in touch Preparing for the exam Chapter 1 Install Windows Servers in host and compute environments Skill 1.1: Install, upgrade, and migrate servers and workloads Determine Windows Server 2016 installation requirements Determine appropriate Windows Server 2016 editions per workloads Install Windows Server 2016 Install Windows Server 2016 features and roles Install and configure Windows Server Core Manage Windows Server Core installations using Windows PowerShell, command line, and remote management capabilities Implement Windows PowerShell Desired State Configuration (DSC) to install and maintain integrity of installed environments Perform upgrades and migrations of servers and core workloads from Windows Server 2008 and Windows Server 2012 to Windows Server 2016 Determine the appropriate activation model for server installation Skill 1.2: Install and configure Nano Server Determine appropriate usage scenarios and requirements for Nano Server Install Nano Server Implement Roles and Features on Nano Server Manage and configure Nano Server Managing Nano Server remotely using PowerShell Skill 1.3: Create, manage, and maintain images for deployment 6 Plan for Windows Server virtualization Plan for Linux and FreeBSD deployments Assess virtualization workloads using the Microsoft Assessment and Planning (MAP) Toolkit Determine considerations for deploying workloads into virtualized environments Update images with patches, hotfixes, and drivers Install Roles and Features in offline images Manage and maintain Windows Server Core, Nano Server images, and VHDs using Windows PowerShell Chapter summary Thought experiment Thought experiment answer Chapter 2 Implement storage solutions Skill 2.1: Configure disks and volumes Configure sector sizes appropriate for various workloads Configure GUID partition table (GPT) disks Create VHD and VHDX files using Server Manager or Windows PowerShell Mount Virtual Hard Disks (VHDs) Determine when to use NTFS and ReFS File Systems Configure NFS and SMB shares using Server Manager Configure SMB share and session settings using Windows PowerShell Configure SMB server and SMB client configuration settings using Windows PowerShell Configure file and folder permissions Skill 2.2: Implement server storage Configure storage pools Implement simple, mirror, and parity storage layout options for disks or enclosures Configure tiered storage Configure iSCSI target and initiator Configure iSNS Configure Datacenter Bridging (DCB) Configure Multipath I/O (MPIO) Determine usage scenarios for Storage Replica Implement Storage Replica for server-to-server, cluster-to-cluster, and stretch 7 cluster scenarios Skill 2.3: Implement data deduplication Implement and configure deduplication Determine appropriate usage scenarios for deduplication Monitor deduplication Implement a backup and restore solution with deduplication Chapter summary Thought experiment Thought experiment answer Chapter 3 Implement Hyper-V Skill 3.1: Install and configure Hyper-V Determine hardware and compatibility requirements for installing Hyper-V Install Hyper-V Install management tools Upgrade from existing versions of Hyper-V Delegate virtual machine management Perform remote management of Hyper-V hosts Configure virtual machines using Windows PowerShell Direct Implement nested virtualization Skill 3.2: Configure virtual machine (VM) settings Creating a virtual machine Add or remove memory in running a VM Configure dynamic memory Configure Non-Uniform Memory Access (NUMA) support Configure smart paging Configure resource metering Manage Integration Services Create and configure Generation 1 and 2 VMs and determine appropriate usage scenarios Implement enhanced session mode Create Linux and FreeBSD VMs Install and configure Linux Integration Services (LIS) Install and configure FreeBSD Integration Services (BIS) Implement Secure Boot for Windows and Linux environments 8 Move and convert VMs from previous versions of Hyper-V to Windows Server 2016 Hyper-V Export and import VMs Implement Discrete Device Assignment (DDA) Skill 3.3: Configure Hyper-V storage Create VHDs and VHDX files using Hyper-V Manager Create shared VHDX files Configure differencing disks Modify virtual hard disks Configure pass-through disks Resize a virtual hard disk Manage checkpoints Implement production checkpoints Implement a virtual fibre channel adapter Configure Storage Quality of Service (QoS) Skill 3.4: Configure Hyper-V networking Add and remove virtual network interface cards (vNICs) Configure Hyper-V virtual switches Optimize network performance Configure MAC addresses Configure network isolation Configure synthetic and legacy virtual network adapters Configure NIC teaming in VMs Configure virtual machine queue (VMQ) Enable Remote Direct Memory Access (RDMA) on network adapters bound to a Hyper-V virtual switch using Switch Embedded Teaming (SET) Configure bandwidth management Chapter summary Thought experiment Thought experiment answer Chapter 4 Implement Windows containers Skill 4.1: Deploy Windows containers Determine installation requirements and appropriate scenarios for Windows containers 9 Install and configure Windows Server Container Host in physical or virtualized environments Install and configure Windows Server container host to Windows Server Core or Nano Server in a physical or virtualized environment Install Docker on Windows Server and Nano Server Configure Docker Daemon start-up options Configure Windows PowerShell for use with containers Install a base operating system Tag an image Uninstall an operating system image Create Windows Server containers Create Hyper-V containers Skill 4.2: Manage Windows containers Manage Windows or Linux containers using the Docker daemon Manage Windows or Linux containers using Windows PowerShell Manage container networking Manage container data volumes Manage resource control Create new container images using Dockerfile Manage container images using DockerHub Repository for public and private scenarios Manage container images using Microsoft Azure Chapter summary Thought experiment Thought experiment answer Chapter 5 Implement high availability Skill 5.1: Implement high availability and disaster recovery options in Hyper-V Implement Hyper-V Replica Implement live migration Implement shared nothing live migration Configure CredSSP or Kerberos authentication protocol for Live Migration Implement storage migration Skill 5.2: Implement failover clustering Implement workgroup, single, and multi domain clusters 10 Configure quorum Configure cluster networking Restore single node or cluster configuration Configure cluster storage Implement cluster-aware updating Implement cluster operating system rolling upgrade Configure and optimize clustered shared volumes (CSVs) Configure clusters without network names Implement Scale-Out File Server (SoFS) Determine different scenarios for the use of SoFS vs. clustered file server Determine usage scenarios for implementing guest clustering Implement a clustered Storage Spaces solution using shared SAS storage enclosures Implement Storage Replica Implement cloud witness Implement VM resiliency Implement shared VHDX as a storage solution for guest clusters Skill 5.3: Implement Storage Spaces Direct Determine scenario requirements for implementing Storage Spaces Direct Enable Storage Spaces direct using Windows PowerShell Implement a disaggregated Storage Spaces Direct scenario in a cluster Implement a hyper-converged Storage Spaces Direct scenario in a cluster Skill 5.4: Manage failover clustering Configure role-specific settings, including continuously available shares Configure VM monitoring Configure failover and preference settings Implement stretch and site-aware failover clusters Enable and configure node fairness Skill 5.5: Manage VM movement in clustered nodes Perform a live migration Perform a quick migration Perform a storage migration Import, export, and copy VMs Configure VM network health protection 11 Configure drain on shutdown Skill 5.6: Implement Network Load Balancing (NLB) Configure NLB prerequisites Install NLB nodes Configure affinity Configure port rules Configure cluster operation mode Upgrade an NLB cluster Chapter summary Thought experiment Thought experiment answer Chapter 6 Maintain and monitor server environments Skill 6.1: Maintain server installations Implement Windows Server Update Services (WSUS) solutions Configure WSUS groups Manage patch management in mixed environments Implement an antimalware solution with Windows Defender Integrate Windows Defender with WSUS and Windows Update Perform backup and restore operations using Windows Server Backup Determine backup strategies for different Windows Server roles and workloads, including Hyper-V Host, Hyper-V Guests, Active Directory, File Servers, and Web Servers using Windows Server 2016 native tools and solutions Skill 6.2: Monitor server installations Monitor workloads using Performance Monitor Configure data collector sets Determine appropriate CPU, memory, disk, and networking counters for storage and compute workloads Configure alerts Monitor workloads using Resource Monitor Chapter summary Thought experiment Thought experiment answer Index 12 What do you think of this book? We want to hear from you! Microsoft is interested in hearing your feedback so we can continually improve our books and learning resources for you. To participate in a brief online survey, please visit: https://aka.ms/tellpress 13 Introduction Many Windows Server books take the approach of teaching you every detail about the product. Such books end up being huge and tough to read. Not to mention that remembering everything you read is incredibly challenging. That’s why those books aren’t the best choice for preparing for a certification exam such as the Microsoft Exam 70-740, “Installation, Storage, and Compute with Windows Server 2016.” For this book, we focus on your review of the Windows Server skills that you need to maximize your chances of passing the exam. Our goal is to cover all of the skills measured on the exam, while bringing a real-world focus to the information. This book shouldn’t be your only resource for exam preparation, but it can be your primary resource. We recommend combining the information in this book with some hands-on work in a lab environment (or as part of your job in a real-world environment). The 70-740 exam is geared toward IT professionals who have a minimum of 3 years of experience working with Windows Server. That doesn’t mean you can’t take and pass the exam with less experience, but it probably means that it will be harder. Of course, everyone is different. It is possible to get the knowledge and skills required to pass the 70740 exam in fewer than 3 years. But whether you are a senior-level Windows Server administrator or just a couple of years into your Windows Server journey, we think you’ll find the information in this book valuable as your primary exam prep resource. This book covers every major topic area found on the exam, but it does not cover every exam question. Only the Microsoft exam team has access to the exam questions, and Microsoft regularly adds new questions to the exam, making it impossible to cover specific questions. You should consider this book a supplement to your relevant real-world experience and other study materials. If you encounter a topic in this book that you do not feel completely comfortable with, use the “Need more review?” links you’ll find in the text to find more information and take the time to research and study the topic. Great information is available on MSDN, TechNet, and in blogs and forums. Organization of this book This book is organized by the “Skills measured” list published for the exam. The “Skills measured” list is available for each exam on the Microsoft Learning website: https://aka.ms/examlist. Each chapter in this book corresponds to a major topic area in the list, and the technical tasks in each topic area determine a chapter’s organization. If an exam covers six major topic areas, for example, the book will contain six chapters. Microsoft certifications Microsoft certifications distinguish you by proving your command of a broad set of skills and experience with current Microsoft products and technologies. The exams and 14 corresponding certifications are developed to validate your mastery of critical competencies as you design and develop, or implement and support, solutions with Microsoft products and technologies both on-premises and in the cloud. Certification brings a variety of benefits to the individual and to employers and organizations. More Info All Microsoft Certifications For information about Microsoft certifications, including a full list of available certifications, go to https://www.microsoft.com/learning. Free ebooks from Microsoft Press From technical overviews to in-depth information on special topics, the free ebooks from Microsoft Press cover a wide range of topics. These ebooks are available in PDF, EPUB, and Mobi for Kindle formats, ready for you to download at: https://aka.ms/mspressfree Check back often to see what is new! Microsoft Virtual Academy Build your knowledge of Microsoft technologies with free expert-led online training from Microsoft Virtual Academy (MVA). MVA offers a comprehensive library of videos, live events, and more to help you learn the latest technologies and prepare for certification exams. You’ll find what you need here: https://www.microsoftvirtualacademy.com Quick access to online references Throughout this book are addresses to webpages that the author has recommended you visit for more information. Some of these addresses (also known as URLs) can be painstaking to type into a web browser, so we’ve compiled all of them into a single list that readers of the print edition can refer to while they read. Download the list at https://aka.ms/examref740/downloads. The URLs are organized by chapter and heading. Every time you come across a URL in the book, find the hyperlink in the list to go directly to the webpage. Errata, updates, & book support We’ve made every effort to ensure the accuracy of this book and its companion content. You can access updates to this book—in the form of a list of submitted errata and their related corrections—at: https://aka.ms/examref740/errata 15 If you discover an error that is not already listed, please submit it to us at the same page. If you need additional support, email Microsoft Press Book Support at [email protected] Please note that product support for Microsoft software and hardware is not offered through the previous addresses. For help with Microsoft software or hardware, go to http://support.microsoft.com. We want to hear from you At Microsoft Press, your satisfaction is our top priority, and your feedback our most valuable asset. Please tell us what you think of this book at: https://aka.ms/tellpress We know you’re busy, so we’ve kept it short with just a few questions. Your answers go directly to the editors at Microsoft Press. (No personal information will be requested.) Thanks in advance for your input! Stay in touch Let’s keep the conversation going! We’re on Twitter: http://twitter.com/MicrosoftPress. Important: How to use this book to study for the exam Certification exams validate your on-the-job experience and product knowledge. To gauge your readiness to take an exam, use this Exam Ref to help you check your understanding of the skills tested by the exam. Determine the topics you know well and the areas in which you need more experience. To help you refresh your skills in specific areas, we have also provided “Need more review?” pointers, which direct you to more in-depth information outside the book. The Exam Ref is not a substitute for hands-on experience. This book is not designed to teach you new skills. We recommend that you round out your exam preparation by using a combination of available study materials and courses. Learn more about available classroom training at https://www.microsoft.com/learning. Microsoft Official Practice Tests are available for many exams at https://aka.ms/practicetests. You can also find free online courses and live events from Microsoft Virtual Academy at https://www.microsoftvirtualacademy.com. This book is organized by the “Skills measured” list published for the exam. The “Skills measured” list for each exam is available on the Microsoft Learning website: https://aka.ms/examlist. Note that this Exam Ref is based on this publicly available information and the author’s experience. To safeguard the integrity of the exam, authors do not have access to the exam questions. 16 Chapter 1. Install Windows Servers in host and compute environments Windows Server 2016 provides administrators with a variety of ways to deploy servers. You can install the operating system on a physical computer, as always, but you can also create a virtual deployment, using Hyper-V virtual machines and also the new Nano Server installation option. Important Have you read page xix? It contains valuable information regarding the skills you need to pass the exam. Skills in this chapter: Install, upgrade, and migrate servers and workloads Install and configure Nano Server Create, manage, and maintain images for deployment Skill 1.1: Install, upgrade, and migrate servers and workloads There is more to installing Windows Server 2016 than running a setup wizard. Deploying servers, however you choose to do it, requires careful planning before you touch any hardware. This planning includes selecting the proper operating system edition and the best installation option for your organization’s needs. If you have existing servers running prior Windows Server versions, you must decide how to upgrade or migrate them to Windows Server 2016. This section covers how to: Determine Windows Server 2016 installation requirements Determine appropriate Windows Server 2016 editions per workloads Install Windows Server 2016 Install Windows Server 2016 features and roles Install and configure Windows Server Core Manage Windows Server Core installations using Windows PowerShell, command line, and remote management capabilities Implement Windows PowerShell Desired State Configuration (DSC) to install and maintain integrity of installed environments 17 Perform upgrades and migrations of servers and core workloads from Windows Server 2008 and Windows Server 2012 to Windows Server 2016 Determine the appropriate activation model for server installation, such as Automatic Virtual Machine Activation (AVMA), Key Management Service (KMS), and Active Directory-based Activation Determine Windows Server 2016 installation requirements Planning a Windows Server 2016 installation requires several important decisions that affect not only the initial deployment of the server, but also its ongoing maintenance. While the Windows installation process is relatively simple, there are options to be considered both before you purchase the server hardware and the operating system, and after the initial installation is complete. Some of the questions you must consider when planning a server deployment are as follows: Which Windows Server 2016 edition should you install? Microsoft provides Windows Server 2016 in several editions, which vary in the features they include, the resources they support, and the cost of the license. The details of the editions are described later in this chapter. Which installation option should you use? Most of the Windows Server 2016 editions include two installation options: Desktop Experience and Server Core. Desktop Experience includes all of the Windows features and a full graphical user interface (GUI). Server Core has a minimal user interface and a significantly reduced resource footprint, so it can utilize less memory and disk space than a Desktop Experience installation. There is also a third installation option, Nano Server, which requires an even smaller resource footprint, but this option does not appear in the initial installation wizard; you deploy Nano Server later, using Windows PowerShell. Which roles and features does the server need? The type and number of roles and features you plan to install can greatly affect the hardware resources the server will need, as well as the edition you purchase. For example, complex roles such as Active Directory Certificate Services and Failover Clustering typically require additional resources and are not available in all editions. Third-party applications also affect resource utilization. What virtualization strategy should you use? The increased emphasis on virtualization in enterprise networking has profoundly altered the server deployment process. The ease with which administrators can migrate virtual machines from one host server to another has led then to consider not only what roles the physical server runs, but what roles could be needed on any virtual servers it is hosting. It is also important to consider what resources could be required if a server has to host 18 additional virtual machines during a disaster situation. By answering these questions, you can begin to determine what resources a server will need. Microsoft publishes minimum hardware requirements for a Windows Server 2016 installation, but it is difficult to predict just what resources a server will need to run efficiently, once you have installed all of the roles, features, and applications it requires to function. Minimum hardware requirements If your computer does not meet the following minimum hardware specifications, Windows Server 2016 will not install correctly (or possibly not install at all): Processor: 1.4-GHz 64-bit RAM: 512 MB ECC for Server Core, 2 GB ECC for Server with Desktop Experience Disk space: 32 GB minimum on a SATA or comparable drive Network adapter: Ethernet, with gigabit throughout Monitor: Super VGA (1024 x 768) or higher resolution Keyboard and mouse (or other compatible pointing device) Internet access 32 GB of available disk space should be considered the absolute minimum. A minimal Server Core installation with only the Web Server (IIS) role added should install successfully in 32 GB, but using the Desktop Experience installation option and installing additional roles will require more storage. Windows Server 2016 does not support the use of the ATA, PATA, IDE, or EIDE interfaces for boot, page, or data drives. The system partition also needs additional space if you install the system over a network or if the computer has more than 16 GB of RAM. The additional disk space is required for paging, hibernation, and dump files. Note Installing a Minimum Hardware Configuration A Windows Server 2016 installation on a virtual machine with the minimum single processor core and 512 MB of RAM fails. However, you can allocate more memory for the installation and then reduce it 512 MB afterwards, and the operating system runs. Maximum hardware and virtualization limits Virtualization has complicated the issue of the maximum hardware configurations supported by Windows Server 2016. It’s no longer a simple matter of how many processors, how much memory, and largest possible disk size. While processor maximums were at one time measured in the number of sockets, now they refer to numbers of cores 19 and logical processors. There are now also different maximums for physical and virtual machines in some resources. The maximum hardware configurations for Windows Server 2016 are as follows: Processors A server host supports up to 512 logical processors (LPs) if Hyper-V is installed. Memory Up to 24 terabytes per host server and up to 12 terabytes per virtual machine. VHDX size Up to 64 terabytes. Virtual machines Up to 1,024 per host server. Virtual machine processors Up to 240 per virtual machine. Note Understanding LPs Intel processors have a feature called hyperthreading, which enables a single core to process two threads simultaneously when Hyper-V is running. Thus, an Intel processor is considered to have two LPs per core when Hyper-V is running and one LP per core when it is not. In an AMD processor with multiple cores, each core is equivalent to one LP. Determine appropriate Windows Server 2016 editions per workloads Windows Server 2016 is available in multiple editions, with varying prices and features. To select an edition for your server deployment, you should consider the following questions: What roles and features will you need to run on the server? How will you obtain licenses for the servers? Will you be running Windows Server 2016 on virtual or physical machines? The current trend in server deployment is to use relatively small servers that perform a single task, rather than large servers that perform many tasks. In cloud deployments, whether public, private, or hybrid, it is common to see virtual machines performing one role, such as a web server or a DNS server. It is for this reason that Microsoft introduced the Server Core installation option in Windows Server 2008 and Nano Server in Windows Server 2016, so that virtual machines could function with a smaller resource footprint. Before you choose an installation option, however, you must select the appropriate Windows Server 2016 edition for the server workload you intend to implement. The Windows Server 2016 editions are as follows: Windows Server 2016 Datacenter The Datacenter edition is intended for large and powerful servers in a highly virtualized environment. The license allows for an unlimited number of operating system environments (OSEs) or Hyper-V containers. 20
* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project
advertisement