Windows Server 2012 - Deploying and Managing

38
Microsoft ® Official Course Module 1 Deploying and Managing Windows Server 2012

description

Windows Server 2012 - Deploying and Managing

Transcript of Windows Server 2012 - Deploying and Managing

Module1

Module 1Deploying and Managing Windows Server 2012

Microsoft Official CoursePresentation: 60 minutesLab: 60 minutesAfter completing this module, students will be able to:Describe Windows Server 2012.Describe the management tools available in Windows Server 2012.Install Windows Server 2012.Perform postinstallation configuration of Windows Server 2012.Perform basic administrative tasks with Windows PowerShell.Required MaterialsTo teach this module, you need the Microsoft Office PowerPoint file 20410B_01.pptx.Important: It is recommended that you use Office PowerPoint 2007 or a newer version to display the slides for this course. If you use PowerPoint Viewer or an earlier version of PowerPoint, all the features of the slides might not display correctly.Preparation TasksTo prepare for this module:Read all of the materials for this module.Practice performing the lab exercises.Work through the Module Review and Takeaways section, and determine how you will use this section to reinforce student learning and promote knowledge transfer to onthejob performance.120410B1: Deploying and Managing Windows Server 2012Module OverviewWindows Server 2012 OverviewOverview of Windows Server 2012 ManagementInstalling Windows Server 2012Post-Installation Configuration of Windows Server 2012Introduction to Windows PowerShellThis module instroduces students to the editions of Windows Server 2012, the new Windows Server 2012 management tools, how to install Windows Server 2012, how to perform post-deployment, tasks and how to perform basic administrative tasks. 220410B1: Deploying and Managing Windows Server 2012Lesson 1: Windows Server 2012 OverviewOn-Premises ServersWhat Is Cloud Computing?Windows Server 2012 EditionsWhat Is Server Core?Windows Server 2012 RolesWhat Are the Windows Server 2012 Features?320410B1: Deploying and Managing Windows Server 2012On-Premises ServersClientsServersResources providedto clients

Discuss with students the need for locally deployed servers, and the role that they play now that organizations are moving some of their infrastructure to cloud computing.QuestionWhat is the difference between a server and a client operating system?AnswerThe difference between a server and a client operating system is that a server provides resources to many users on a network, and a client operating system is used by only one user at a time.QuestionHow has the role of the server evolved over time from the Microsoft WindowsNT4.0 Server operating system to Windows Server 2012?AnswerAnswers will vary. Solicit class discussion about their experience with different versions of Windows Server.420410B1: Deploying and Managing Windows Server 2012What Is Cloud Computing?Private clouds have a single tenant, which:

Types of cloud services:

IaaSPaaSSaaSIs usually on-premisesIs highly automatedUses System Center 2012 to provide automation and self-serviceRequires minimal direct configuration once set upPublic clouds have multiple tenants

Ask students the extent to which they have adopted cloud services in their organizations. If they have adopted cloud services in their organizations, ask how they have integrated cloud services into information technology infrastructure. If they have not, ask if and how they are planning to utilize cloud services in the future.QuestionWhich type of cloud would you use to deploy a custom virtual machine running Windows Server 2012?AnswerYou would deploy a custom virtual machine to an IaaS cloud, which could be either a public cloud or a private cloud.520410B1: Deploying and Managing Windows Server 2012Windows Server 2012 EditionsWindows Server 2012 editions:

Windows Server 2012 Standard operating systemWindows Server 2012 Datacenter operating systemWindows Server 2012 Foundation operating systemWindows Server 2012 Essentials operating systemMicrosoft Hyper-V Server 2012Windows Storage Server 2012 Workgroup operating systemWindows Storage Server 2012 Standard operating systemWindows MultiPoint Server 2012 Standard operating systemWindows MultiPoint Server 2012 Premium operating systemDescribe for students in what type of environment they would deploy each edition, and why they should not use the Windows Server 2012 Standard edition as a one size fits all solution.620410B1: Deploying and Managing Windows Server 2012What Is Server Core?Server CoreIs a more secure, less resource-intensive installation optionCan be converted to the full version of Windows Server 2012Is the default installation option for Windows Server 2012Is managed locally using sconfig.cmdIf you enable remote management, you will rarely need to log on locally

Inform students that they can run remote administration tools from client computers that are running appropriate editions of the Windows 7 and Windows 8 operating systems.720410B1: Deploying and Managing Windows Server 2012Windows Server 2012 RolesRolesFunctionsWeb ServerDomain ControllerCertificate ServerAre made up of role services components that provide additional functionality associated with the roleIn Server Manager 2012, console servers with a similar role are grouped togetherRole deployment also includes the configuration of dependenciesAsk students about roles that are commonly deployed on their network. Ask which roles they deploy often, and which roles they are unlikely to deploy.QuestionWhich roles are often colocated on the same server?AnswerAnswers may vary. Domain Name System (DNS) and Active Directory Domain Services (ADDS) are often colocated.820410B1: Deploying and Managing Windows Server 2012What Are the Windows Server 2012 Features?Features:Are components that support the server such as Windows Server Backup or Failover clusteringUsually do not provide a service directly to clients on the networkKeep in mind the following points:Roles can have features as dependenciesFeatures on Demand are features that need to be installed using a mounted image as a sourceChoose several features to point out and discuss. For example, point out that you need to install the Wireless local area network (LAN) Service to use a wireless adapter with Windows Server 2012. Also point out that by default no roles and features are installed.QuestionWhich feature do you need to install to support NetBIOS name resolution for client computers running a Microsoft WindowsNT 4.0 operating system workstation?AnswerYou need to install the Windows Internet Name Service (WINS) server role to support NetBIOS name resolution.920410B1: Deploying and Managing Windows Server 2012Lesson 2: Overview of Windows Server 2012 ManagementWhat Is Server Manager?Administrative Tools and Remote Server Administration ToolsDemonstration: Using Server ManagerConfiguring ServicesConfiguring Windows Remote ManagementBriefly present the lesson content.1020410B1: Deploying and Managing Windows Server 2012What Is Server Manager?You can use Server Manager to:

Add roles and features Launch Windows PowerShell sessionsView events Perform server configuration tasksManage multiple servers on a network from one console

Demonstrate different Server Manager windows to illustrate the bulleted points on the slide.1120410B1: Deploying and Managing Windows Server 2012Administrative Tools and Remote Server Administration ToolsAdministrative tools:Active Directory Administrative CenterActive Directory Users and ComputersDNS consoleEvent ViewerGroup Policy Management ConsoleIIS ManagerPerformance MonitorResource MonitorTask Scheduler

Describe each administrative tool and its function.1220410B1: Deploying and Managing Windows Server 2012Demonstration: Using Server ManagerIn this demonstration, you will see how to:Sign in to Windows Server 2012 and view the Windows Server 2012 desktopAdd a feature by Using the Add Roles and Features WizardView role-related eventsRun the Best Practice Analyzer for a roleList the tools available from Server ManagerRestart Windows Server 2012When working through this demonstration, explain the purpose of each feature. Point out the following:Although the visual style differs, many wizards have the same content.When adding roles with Windows Server 2012, point out that any other necessary components will be added automatically.When viewing DNS events, describe what would appear in these dialog boxes in the event that a DNS server was unhealthy.Best Practices Analyzer will only show results if it has been run previously. When using the Start menu, explain how to pin particular consoles to the Start menu or to the taskbar.Discuss other methods for shutting down the Windows Server 2012 server.Preparation StepsIf necessary, start 20410BLONDC1. Sign in as Adatum\Administrator with the password Pa$$w0rd.Demonstration StepsSign in to Windows Server 2012 and view the Windows Server 2012 desktopSign in to server LONDC1 with the Adatum\Administrator account and the password Pa$$w0rd.Click Close to close the Server Manager console.Add a feature by Using the Add Roles and Features WizardOn the Windows Server 2012 taskbar, click the Server Manager icon. In the Server Manager console, click Manage, and then click Add Roles and Features.In the Add Roles and Features Wizard, on the Before you begin page, click Next.On the Select Installation Type page, select the Rolebased or featuredbased installation check box, and then click Next.1320410B1: Deploying and Managing Windows Server 2012(More notes on the next slide)On the Select destination server page, click Select a server from the server pool, verify that LONDC1.Adatum.com is selected, and then click Next.On the Select server roles page, select Fax Server. In the Add Roles and Features Wizard dialog box that opens, click Add Features. On the Select server roles page, click Next.On the Select features page, select BranchCache, and then click Next.On the Fax Server page, click Next.On the Print and Document Services page, click Next.On the Select role services page, click Next.On the Confirmation page, select the Restart the destination server automatically if required check box, click Yes, and then click Install.On the Installation progress page, click Close.Click the flag icon next to Server Manager Dashboard, and review the messages.Note: You can close this console without terminating the task.View rolerelated eventsIn the Server Manager console, click the Dashboard node.In the Roles and Server Groups area, under DNS, click Events.On the DNS Events Detail View, change the time period to 12 hours and the Event Sources to All, and then click OK.14(More notes on the next slide)20410B1: Deploying and Managing Windows Server 2012Run the Best Practice Analyzer for a roleIn the Roles and Server Groups area, under DNS, click BPA results.In the DNS BPA Results Detail View dialog box, click the Severity Levels dropdown menu, click All, and then click OK.List the tools available in Server ManagerIn the Server Manager console, click the Tools menu, and review the tools that are installed on LONDC1.Hold down the Alt and Home keys to open the Start menu.Sign out the currently signedin userIn the Start menu, click Administrator, and then click Sign Out.Sign back in to LONDC1 using the Adatum\Administrator account and the password Pa$$w0rd.Restart Windows Server 2012On the taskbar, click the Windows PowerShell icon.In the Windows PowerShell window, type the following command, and then press Enter:Shutdown /r /t 151520410B1: Deploying and Managing Windows Server 2012Configuring Services

Discuss configuring service recovery, and why you should avoid having the service keep restarting. Remind students to be careful with the option to restart the computer, because a service that keeps failing might trigger a cycle of restarting. Discuss the benefits of managed service accounts over traditional service accounts. Ask students what method they currently use when it comes to service accounts. The slide shows the properties of the DNS Server service which is accessible from the Services console.QuestionWhat is the advantage of a managed service account compared to a traditional domainbased service account?AnswerThe advantage of a managed service account is that you do not have to manage passwords for it.1620410B1: Deploying and Managing Windows Server 2012Configuring Windows Remote ManagementWhen deciding to use Remote Management, consider the following:You are more likely to manage a server remotely than by locally logging onWith WinRM, you can use consoles, command-line utilities, or Windows PowerShell to perform remote management tasksWith Remote Desktop, you can log on to a server locally or from across the networkAsk students how often they perform server management when they are signed in locally using a keyboard and mouse, compared to how often they perform remote server management.Ask students which management technologies they use most frequently. Ask them what the benefits and drawbacks are of these technologies.1720410B1: Deploying and Managing Windows Server 2012Lesson 3: Installing Windows Server 2012Installation MethodsInstallation TypesHardware Requirements for Windows Server 2012Installing Windows Server 20121820410B1: Deploying and Managing Windows Server 2012Installation MethodsWindows Server 2012 deployment method options include:

USB media

Optical diskWindows DS

Ask students which deployment method they most frequently use in their organization. Answer is likely to differ between clients and servers. Ask them if they have already deployed Windows Server 2012, and if so, what method they used for this deployment.QuestionWhat is another method that you can use to deploy Windows Server 2012?AnswerYou can also configure Windows Server 2012 to boot to either a .vhd or a .vhdx file. Deployment involves copying the .vhd file to a computer, either from a network share or from local media.1920410B1: Deploying and Managing Windows Server 2012Installation Types

2020410B1: Deploying and Managing Windows Server 2012Hardware Requirements for Windows Server 2012Windows Server 2012 has the following minimum hardware requirements:Processor architecturex86-64Processor speed1.4 GHzMemory (RAM)512 MBHard disk drive space32 GBMore hard disk drive spaceis needed if the server has more than 16 GB of RAM

Remind students that the minimum hardware requirements are for the operating system itself, and do not include any applications that they might want to deploy on the operating system. Hardware requirements also vary depending on the server role. For example, a SQL Server database server requires a more powerful processor and more RAM than a server that functions as a file server.QuestionWhy does a server need more hard disk drive space if it has more than 16 GB of RAM?AnswerA server needs more hard disk drive space because it requires additional hard disk space for virtual memory.2120410B1: Deploying and Managing Windows Server 2012Installing Windows Server 2012

This is an animated build slide with seven screens. The first screen is present at slide load. Click six times to see the remaining six screens. The screens are:Screen 1 (present at slide load): Choose installation language, currency format, time format, and keyboard input method.Screen 2: Click Install Now or choose to repair your computer.Screen 3: Select the operating system you want to install.Screen 4: Review and accept the license terms.Screen 5: Select the installation type, Upgrade or Custom.Screen 6: Select the installation location.Screen 7: Provide the password for the local administrator account.

Use this animated slide to demonstrate each part of the Windows Server 2012 installation process.Reinforce that only a small number of choices are required to deploy Windows Server 2012. Remind students that in almost all cases, they will use the Custom rather than the Upgrade installation option. Remind them that upgrades must be launched from within the Windows Server operating system, but that they can launch a fresh installation from bootable media.2220410B1: Deploying and Managing Windows Server 2012Lesson 4: Post-Installation Configuration of Windows Server 2012Overview of Post-Installation ConfigurationConfiguring Server Network SettingsHow to Join a DomainPerforming an Offline Domain JoinActivating Windows Server 2012Configuring a Server Core Installation2320410B1: Deploying and Managing Windows Server 2012Overview of Post-Installation Configuration

Use this animated slide to discuss the properties outlined on the slide. Click once for each of the following properties (seven times total), which appear in this order:Computer nameDomainWindows FirewallRemote DesktopLocal Area Connection(all three together) Last installed updates, Windows Update, Last checked for updatesTime zone2420410B1: Deploying and Managing Windows Server 2012Configuring Server Network Settings

Refer to slide that shows a screen capture of the local server node for the Server Manager console. In the local server node, the Local Area Connection and IP address display. Also note that the Network adapter teaming status displays.2520410B1: Deploying and Managing Windows Server 2012How to Join a Domain

Information necessary for a domain join:Domain nameAccount with permission to join computer to domainDisplay the Computer Name/Domain Changes dialog box, and review the list of information necessary for domain join.2620410B1: Deploying and Managing Windows Server 2012Performing an Offline Domain JoinProcess for performing an offline join:

Ensure the user performing the offline domain join is an administrator, or delegate the appropriate rightsTo provision the computer account object and create the binary file, run djoin on the domain controllerTransfer the binary file with the domain information to client computer systems hard disk drive To load the binary file, in the destination computer, run djoin Restart the client computer

Windows Server 2012

Discuss the scenarios for offline domain join. Ask students how they might utilize this feature in their own environments. Students from organizations that do not have branch offices will find this feature less useful than students from organizations that have remote branches.QuestionIn what situation would you perform an offline domain join rather than a traditional domain join?AnswerYou would you perform an offline domain join when deploying a server to a remote site with intermittent network connectivity.2720410B1: Deploying and Managing Windows Server 2012Activating Windows Server 2012

Discuss the traditional activation process. Ask students about the last time they performed a telephone activation. Ask students if they have ever had any problems with activation, and how they resolved the problem. Ask students if they use any automatic activation technologies in their environment.2820410B1: Deploying and Managing Windows Server 2012Configuring a Server Core Installation

Discuss with students the functionality of sconfig.cmd. Sconfig is a menudriven commandline tool that presents menu options in a numerical format. Administrators can run commands and perform configurations based on the numbered menu optionsThis tool simplifies the process of performing common basic administrative tasks on Server Core, something that was a problem for many administrators with the version of Server Core that was available with Windows Server 2008.2920410B1: Deploying and Managing Windows Server 2012Lesson 5: Introduction to Windows PowerShellWhat Is Windows PowerShell?Windows PowerShell Cmdlet SyntaxCommon Cmdlets for Server AdministrationWhat Is Windows PowerShell ISE?Demonstration: Using Windows PowerShellDemonstration: Using Windows PowerShell ISEBriefly present the lesson content.3020410B1: Deploying and Managing Windows Server 2012What Is Windows PowerShell?

3120410B1: Deploying and Managing Windows Server 2012Windows PowerShell Cmdlet Syntax

Windows PowerShell Cmdlet Syntax:Get-Help -Noun NounNameGet-Help -Verb VerbNameHelp CmdltNameGet-CommandWhen discussing Windows PowerShell, remind students that they should consider automating repetitive tasks because it gives them more time to perform nonrepetitive tasks. Students should try to automate any task that they need to perform more than a few times.3220410B1: Deploying and Managing Windows Server 2012Common Cmdlets for Server AdministrationService CmdletsUse the Service nounEvent Log CmdletsUse the Eventlog nounProcess CmdletsUse the Process nounServerManager moduleAllows the WindowsFeature noun

Discuss these common systems administration cmdlets. Discuss how these cmdlets can be used on both Server Core and full GUI servers, and that they are often quicker to use than opening the Services console, Task Manager, or the Add Roles and Features wizard. 3320410B1: Deploying and Managing Windows Server 2012What Is Windows PowerShell ISE?

Discuss the benefits of using the Windows PowerShell Integrated Scripting Environment (ISE) over using the normal Windows PowerShell window.3420410B1: Deploying and Managing Windows Server 2012Demonstration: Using Windows PowerShellIn this demonstration, you will see how to use Windows PowerShell to display the running services and processes on a serverWhen performing this demonstration, explain the information presented after executing each command. Explain how you would modify the commands to display different information.Preparation StepsIf necessary, start 20410BLONDC1. Sign in as Adatum\Administrator with a password of Pa$$w0rd.Demonstration StepsUse Windows PowerShell to display the running services and processes on a serverOn LONDC1 on the taskbar, click the Windows PowerShell icon.At the Windows PowerShell prompt, execute the following command:GetService | whereobject {$_.status eq Running}To view all the commands that are related to managing services, at the Windows PowerShell prompt, execute the following command:GetCommand Noun ServiceTo view a list of running possesses on the server, at the Windows PowerShell prompt, execute the following command:GetProcessTo view all the commands that are related to managing processes, at the Windows PowerShell prompt, execute the following command: GetHelp ProcessTo view detailed information about the StartProcess cmdlet, at the Windows PowerShell prompt, execute the following command: GetHelp Full StartProcessOn the taskbar, rightclick the Windows PowerShell icon, and then click Run as Administrator. Discuss with students why you might need to run a Windows PowerShell session using this option.3520410B1: Deploying and Managing Windows Server 2012Demonstration: Using Windows PowerShell ISEIn this demonstration, you will see how to:Use Windows PowerShell ISE to import the ServerManager moduleView the cmdlets made available in the ServerManager moduleUse the Get-WindowsFeature cmdlet from Windows PowerShell ISE

Preparation StepsIf necessary, start 20410BLONDC1. Sign in as Adatum\Administrator with a password of Pa$$w0rd.Demonstration StepsUse Windows PowerShell ISE to import the ServerManager moduleEnsure that you are signed in to LONDC1 as Administrator.In Server Manager, click Tools, and then click Windows PowerShell ISE.At the prompt, type ImportModule ServerManager, and then press Enter. This will demonstrate the command completion feature of the Windows PowerShell ISE.View the cmdlets made available in the ServerManager moduleIn the Commands pane, use the Modules dropdown menu to select the ServerManager module. Describe the function of the listed Windows PowerShell cmdlets.Use the GetWindowsFeature cmdlet from Windows PowerShell ISEClick GetWindowsFeature, and then click Show Details.In the ComputerName field, type LONDC1, and then click Run. 3620410B1: Deploying and Managing Windows Server 2012Lab: Deploying and Managing Windows Server 2012Exercise 1: Deploying Windows Server 2012Exercise 2: Configuring Windows Server 2012 Server CoreExercise 3: Managing ServersExercise 4: Using Windows PowerShell to Manage ServersLogon InformationVirtual machines20410BLONDC120410BLONSVR320410BLONCOREUser name Adatum\AdministratorPasswordPa$$w0rdEstimated Time: 60 minutesBefore the students begin the lab, read the lab scenario and display the next slide. Before each exercise, read the scenario associated with the exercise to the class. The scenarios give context to the lab and exercises, and help you facilitate the discussion at the end of the lab. Remind the students to complete the discussion questions after the last lab exercise.Exercise 1: Deploying Windows Server 2012The first Windows Server 2012 server that you are installing for the Marketing department will host a SQL Server 2012 database engine instance. You want to configure the server so that it will have the full GUI, as this will allow the application vendor to run support tools directly on the server, rather than requiring a remote connection.The first server you are installing for the new marketing application is for a SQL Server 2012 database. This server will have the full GUI to allow the application vendor to run support tools directly on the server.Exercise 2: Configuring Windows Server 2012 Server CoreThe webbased tier of the marketing application is a .NET application. To minimize the operating system footprint and reduce the need to apply software updates, you have chosen to host the IIS component on a computer that is running the Server Core installation option of the Windows Server 2012 operating system.To enable this, you will need to configure a computer that is running Windows Server 2012 with the Server Core installation option.Instructor Note: Advanced students can choose to use appropriate commandline commands rather than utilizing sconfig.cmd to perform these configuration tasks.Exercise 3: Managing ServersAfter deploying the servers LONSVR3 and LONCORE for hosting the Marketing application, you need to install appropriate server roles and features to support the application. With this in mind, you will install the Windows Server Backup feature on both LONSVR3 and LONCORE. You will install the Web Server role on LONCORE. You also need to configure the World Wide Web Publishing service on LONCORE.Exercise 4: Using Windows PowerShell to Manage Servers The marketing application vendor has indicated that they can provide some Windows PowerShell scripts to configure the web server that is hosting the application. You need to verify that remote administration is functional before running the scripts.3720410B1: Deploying and Managing Windows Server 2012Lab ScenarioA. Datum Corporation is a global engineering and manufacturing company with a head office based in London, England. A. Datum has recently deployed a Windows Server 2012 infrastructure with Windows8 clients.You have been working for A. Datum for several years as a desktop support specialist and have recently accepted a promotion to the server support team.The marketing department has purchased a new webbased application. You need to install and configure the servers in the data center for this application. One server has a GUI interface, and the other server is configured as Server Core.3820410B1: Deploying and Managing Windows Server 2012Lab ReviewWhat IP address range is used by the computers in the lab?Why must you set the DNS serveraddress prior to joining the domain?Besides sconfig.cmd, what other tool can you use to rename a computer running the Server Core operating system?QuestionWhat IP address range is used by the computers in the lab?AnswerThe IP address range used by the computers in the lab is 172.16.0.0 to 172.16.255.255.QuestionWhy must you set the DNS serveraddress prior to joining the domain?AnswerThe DNS server allows the computer to locate the Domain Controller when performing the domain join operation.QuestionBesides sconfig.cmd, what other tool can you use to rename a computer running the Server Core operating system?AnswerYou can use the command netdom renamecomputer %computername% /newname: to rename a computer running the Server Core operating system.3920410B1: Deploying and Managing Windows Server 2012Module Review and TakeawaysReview QuestionsCommon Issues and Troubleshooting TipsReview Questions Point students to the appropriate section in the course so that they are able to answer the questions that this section presents.QuestionWhat is the benefit of using Windows PowerShell to automate common tasks?AnswerAutomating common tasks by using Windows PowerShell allows you to spend more time planning and performing troubleshooting tasks.QuestionWhat are the advantages to performing a Server Core deployment compared to the full GUI deployment?AnswerThe advantages are that the operating system will require fewer updates and fewer hardware resources.QuestionWhat tool can you use to determine which cmdlets are contained in a Windows PowerShell module?AnswerYou can use Windows PowerShell or the Windows PowerShell ISE to determine which cmdlets are contained in a Windows PowerShell module.QuestionWhich role can you use to manageKMS?AnswerThe Volume Activation Services role allows you to manage KMS.4020410B1: Deploying and Managing Windows Server 2012(More notes on the next slide)Common Issues and Troubleshooting TipsCommon Issue: WinRM connections fail.Troubleshooting Tip: Verify firewall settings. Verify WinRM configuration.Common Issue: Windows PowerShell cmdlets not available.Troubleshooting Tip: Ensure that appropriate Windows PowerShell modules (such as Server Manager), are loaded.Common Issue: Cannot install the GUI features on Server Core deployments.Troubleshooting Tip: Mount a .wim image containing all of the Windows Server 2012 files, and use the Install-WindowsFeature cmdlet source option.Common Issue: Unable to restart a computer running Server Core.Troubleshooting Tip: Use sconfig.cmd or the shutdown /r command.Common Issue: Unable to join the domain.Troubleshooting Tip: Verify DNS resolution and network connectivity between the host and the domain controller. Verify that user account has necessary domainjoin permissions.4120410B1: Deploying and Managing Windows Server 2012