Documente Academic
Documente Profesional
Documente Cultură
Abstract
Server Manager is a new tool that is included in Windows Server 2008 to guide information technology administrators through the process of installing, configuring, and managing server roles and features that are part of Windows Server 2008. This document describes Server Manager and includes a set of scenarios to demonstrate how Server Manager helps administrators deploy and manage server roles.
This document supports a preliminary release of a software product that may be changed substantially prior to final commercial release, and is the confidential and proprietary information of Microsoft Corporation. It is disclosed pursuant to a non-disclosure agreement between the recipient and Microsoft. This document is provided for informational purposes only and Microsoft makes no warranties, either express or implied, in this document. Information in this document, including URL and other Internet Web site references, is subject to change without notice. The entire risk of the use or the results from the use of this document remains with the user. Unless otherwise noted, the example companies, organizations, products, domain names, e-mail addresses, logos, people, places, and events depicted herein are fictitious, and no association with any real company, organization, product, domain name, e-mail address, logo, person, place, or event is intended or should be inferred. Complying with all applicable copyright laws is the responsibility of the user. Without limiting the rights under copyright, no part of this document may be reproduced, stored in or introduced into a retrieval system, or transmitted in any form or by any means (electronic, mechanical, photocopying, recording, or otherwise), or for any purpose, without the express written permission of Microsoft Corporation. Microsoft may have patents, patent applications, trademarks, copyrights, or other intellectual property rights covering subject matter in this document. Except as expressly provided in any written license agreement from Microsoft, the furnishing of this document does not give you any license to these patents, trademarks, copyrights, or other intellectual property. 2007 Microsoft Corporation. All rights reserved. Active Directory, Microsoft, MS-DOS, Visual Basic, Visual Studio, Windows, Windows NT, and Windows Server are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. All other trademarks are property of their respective owners.
Contents
Server Manager Step-by-Step Guide - Scenarios...........................................................................1 Abstract....................................................................................................................................1 Contents..........................................................................................................................................3 Server Manager Scenarios Step-by-Step Guide.............................................................................5 In this guide.................................................................................................................................5 Who should use this step-by-step guide......................................................................................5 Server Manager overview............................................................................................................6 Requirements for Server Manager..............................................................................................6 Scenario Overview.......................................................................................................................6 Scenario 1: Completing the configuration of a new installation of Windows Server 2008 by using Initial Configuration Tasks............................................................................................7 Scenario 2: Performing initial configuration tasks in the Server Manager console...................8 Participating in CEIP by using Server Manager....................................................................8 Changing automatic updating settings by using Server Manager.........................................8 Participating in Windows Error Reporting by using Server Manager.....................................9 Scenario 3: Adding Terminal Services and viewing its status...................................................9 Adding Terminal Services and TS Web Access.....................................................................9 Managing Terminal Services by using Server Manager......................................................10 Removing Terminal Services by using Server Manager......................................................10 Scenario 4: Using Remote Server Administration Tools to manage Print Services remotely. .11 Adding Remote Server Administration Tools for Print Services...........................................11 Managing Print Services remotely by using the Print Management snap-in.......................12 Removing Remote Server Administration Tools for Print Services......................................12 Scenario 5: Adding and removing the Print Services role by using the Server Manager command line......................................................................................................................13 Adding Print Services by using the Server Manager command line....................................13 Removing Print Services role services by using the command line....................................14 Removing Print Services by using the command line.........................................................15 Scenario 6: Adding File Services and Windows Server Backup by using an answer file........15 Adding File Services and Windows Server Backup by using an answer file.......................15 Managing File Services and Windows Server Backup........................................................16 Removing all roles and features by using an answer file....................................................17 Scenario 7: Adding Windows Server virtualization.................................................................18 Installing Windows Server virtualization..............................................................................18 Managing Windows Server virtualization by using Server Manager...................................19 Removing Windows Server virtualization by using Server Manager...................................19 3
Additional resources..................................................................................................................20
In this guide
Who should use this step-by-step guide Server Manager overview Requirements for Server Manager Scenario overview
An IT architect responsible for computer management and security throughout your organization. An IT operations engineer who is responsible for the day-to-day management and troubleshooting of networks, servers, operating systems, or applications. An IT operations manager who is accountable for network and server management, IT hardware and software budgets, and technical decisions.
Scenario Overview
The following scenarios guide you through several common uses for Server Manager and its related technologies Initial Configuration Tasks and Remote Server Administration Tools. Scenario 1: Completing the configuration of a new installation of Windows Server 2008 by using Initial Configuration Tasks Scenario 2: Performing initial configuration tasks in the Server Manager console Scenario 3: Adding Terminal Services and viewing its status
Scenario 4: Using Remote Server Administration Tools to manage Print Services remotely Scenario 5: Adding and removing the Print Services role by using the Server Manager command line Scenario 6: Adding File Services and Windows Server Backup by using an answer file Scenario 7: Adding Windows Server virtualization
Scenario 1: Completing the configuration of a new installation of Windows Server 2008 by using Initial Configuration Tasks
After Windows Server 2008 Setup is finished, an administrator logs on to the server for the first time, and the Initial Configuration Tasks window automatically opens. The administrator completes configuration of the new server by using commands in the Initial Configuration Tasks window. Note If you accidentally close Initial Configuration Tasks, click Start, and then click Run. Type oobe in the Open text box, and then click OK or press ENTER. To complete the configuration of a server 1. In the Initial Configuration Tasks window, in the Provide Computer Information area, click Provide computer name and domain. 2. On the Computer Name tab of the System Properties dialog box, click Change to change the computer name. 3. In the Computer Name/Domain Changes dialog box, type a name for this computer, and provide the name of a domain or workgroup to which you want to join the computer. Click OK. 4. For the computer name and domain changes to take effect, restart the computer. You can wait to do this until after you have completed your work in Initial Configuration Tasks. 5. Configure network settings for this server, such as how the server obtains an IP address. For example, you can configure settings that determine how the IP address is assigned. In the Initial Configuration Tasks window, in the Provide Computer Information area, click Configure networking. 6. In the Network Connections window, click File, and then click New Incoming Connection to create a new network connection for this computer. 7. Configure Enable automatic updating and feedback according to your organizations policies. 8. Configure the servers use of Remote Desktop according to your organizations policies. 9. If you do not want to open Initial Configuration Tasks every time an administrator logs on to the computer, select Do not show this window at logon, and then close the Initial Configuration Tasks window.
The other settingsAsk me about sending reports every time an error occurs, and I don't want to participate, and don't ask me againdisable Windows Error Reporting. Ask me about sending reports every time an error occurs prompts you to report errors only as they occur. 5. Click OK.
several configuration options. Complete the configuration pages of the Add Roles Wizard based on what is most appropriate for your organization. For more information about configuring Terminal Services, and detailed step-by-step guides, see the Terminal Services page on the Windows Server TechCenter (http://go.microsoft.com/fwlink/? LinkId=48555).
pointing to Administrative Tools, and then clicking Server Manager. 2. Open the Roles Summary area, if it is not already open. 3. Click Remove roles. 4. On the Remove Server Roles page of the Remove Roles Wizard, clear the check box for Terminal Services. Click Next. 5. After confirming that you want to remove Terminal Services, on the Confirm Removal Selections page, click Remove.
Scenario 4: Using Remote Server Administration Tools to manage Print Services remotely
An administrator is running the Server Core installation option of Windows Server 2008. The administrator installs the Print Services role on this server. After that, the administrator wants to manage the server remotely from another computer that is running a full installation of Windows Server 2008.
Print Services role, type the commands net stop spooler, followed by net start spooler, at the command prompt.
12
Scenario 5: Adding and removing the Print Services role by using the Server Manager command line
A company has purchased a new server. The new computer must run Print Services for the engineering department. After installing Windows Server 2008 on the computer and completing initial configuration tasks, a system administrator adds the Print Services role to the server by using the Server Manager command line.
You can install each additional role service one at a time, or use the allSubFeatures option to install all the child elements of a role or feature. Server Manager automatically skips those elements already installed on the computer, in this case the Print Server role service. 6. When installation is complete, the Command Prompt window displays the following message: Success: Installation succeeded. 7. Verify that the LPD Service and Internet Printing Service role services were installed by typing the following at the command prompt: ServerManagerCmd.exe -query Ensure that the Print Services line item in the -query command results is checked and highlighted, and that all role services of Print Services are now checked and highlighted.
14
Scenario 6: Adding File Services and Windows Server Backup by using an answer file
An administrator wants to create a DFS namespace to facilitate file sharing among company employees. Because important data is hosted on the server running File Services, it is important to back up the server by using Windows Server Backup. Note For the complete Server Manager command-line schema, see the Microsoft Web site (http://go.microsoft.com/fwlink/?LinkId=81203).
Adding File Services and Windows Server Backup by using an answer file
The administrator creates an XML answer file to use with the Server Manager command line to add the File Services role and the Windows Server Backup subfeature on the server.
15
To install File Services and Windows Server Backup by using an answer file 1. Create the following answer file for the Server Manager command line, and save it to a convenient location as an XML document:
<?xml version="1.0" encoding="utf-8" ?> <ServerManagerConfiguration Action="Install" xmlns="http://schemas.microsoft.com/sdm/Windows/ServerManager/Configuration/2007/1" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <RoleService Id="FS-DFS-Namespace" /> <Feature Id="Backup" />
Note Although the only role service of File Services installed by this answer file is DFS Namespace, the File Services role is installed. 2. If a Command Prompt window is not already open, open a Command Prompt window with elevated privileges by right-clicking the Command Prompt executable or the Command Prompt object on the Start menu, and then clicking Run as administrator. 3. At the prompt, type the following, and then press ENTER: ServerManagerCmd.exe -inputPath <answerfile.xml> -whatIf -restart The placeholder answerfile represents the path and name of the XML answer file created in Step 1. The -whatIf parameter displays a list of all software installed as a result of the command, including dependent roles, role services, and features. Adding -restart to the command line restarts the computer automatically when installation is complete, if restarting is required by the software that you are removing. In this instance, a restart of the server is required to install Windows Server Backup. 4. When installation is complete, the Command Prompt window displays the following message: Success: Installation succeeded. 5. Open the Server Manager console by clicking Start, pointing to Administrative Tools, and then clicking Server Manager. 6. Verify that the File Services role is installed with the DFS Namespace role service, and that the Windows Server Backup subfeature of Windows Server Backup Features is also installed.
16
To manage File Services and Windows Server Backup 1. Back up the server. For more information about backing up your server, see the Help provided with Windows Server Backup Features. 2. If Server Manager is not already open, open Server Manager by clicking Start, pointing to Administrative Tools, and then clicking Server Manager. 3. In the Server Manager hierarchy pane, expand Roles, and then select File Services to view the role management home page for File Services. 4. View the status of event messages and services related to File Services. Expand the File Services node in the hierarchy pane. 5. Select the DFS Management node to open the DFS Management snap-in. Add, remove, or modify namespaces. Add a new replication group, following the steps in the wizard.
2. If a Command Prompt window is not already open, open a Command Prompt window with elevated privileges by right-clicking the Command Prompt executable or the Command Prompt object on the Start menu, and then clicking Run as administrator. 3. At the prompt, type the following, and then press ENTER: ServerManagerCmd.exe -inputPath <answerfile.xml> -whatIf -restart The placeholder answerfile represents the path and name of the XML answer file created in Step 1. The -whatIf parameter displays a list of all software removed as a result of the command, including dependent roles, role services, and features. 17
Adding -restart to the command line restarts the computer automatically when installation is complete, if restarting is required by the software that you are removing. 4. When removal is complete, the Command Prompt window displays the following message: Success: Removal succeeded. 5. Open the Server Manager console by clicking Start, pointing to Administrative Tools, and then clicking Server Manager. 6. Verify that the File Services role and Windows Server Backup are no longer installed on the computer.
2. If Server Manager is not already open, open Server Manager by clicking Start, pointing to Administrative Tools, and then clicking Server Manager. 3. In the Roles Summary area, click Add Roles. 4. On the Select Server Roles page of the Add Roles Wizard, select Windows Server 18
virtualization. 5. Complete the Add Roles Wizard. For more information about specific configuration pages and settings for Windows Server virtualization, see the Windows Server virtualization Step-by-Step Guide on the Windows Server TechCenter (http://go.microsoft.com/fwlink/?LinkId=98822).
19
Additional resources
Server Manager on Windows Server TechCenter (http://go.microsoft.com/fwlink/? LinkId=48541) Server ManagerTechnical Overview (http://go.microsoft.com/fwlink/?LinkId=85101) Server ManagerCommand-Line Schema (http://go.microsoft.com/fwlink/?LinkId=81203)
20