Search This Blog

Wednesday, March 24, 2010

Server 2008 Roles for Core

New

Steps for installing server roles on a 2008 Server Core installation

To see the roles installed on the server, we should use oclist command.

DNS Server role

To install the DNS Server role

1.At a command prompt, type:

start /w ocsetup DNS-Server-Core-Role

After this by using dnscmd from the command prompt we can configure the configuration part like adding DNS zones & records, One more easy way is there by using remote management we can configure all these configurations from the remote server by using DNS management GUI console.

To uninstall the DNS server role

start /w ocsetup DNS-Server-Core-Role /uninstall

IMPORTANT: Server role should be mentioned with case sensitive.

DHCP Server role

To install the DHCP Server role

1.At a command prompt, type:

start /w ocsetup DHCPServerCore

2.Configure a DHCP scope at the command prompt by using netsh, or by remotely using the DHCP snap-in from Windows Server 2008.

3.If the DHCP server is installed in an Active Directory domain, you must authorize it in Active Directory.

The DHCP Server service does not start automatically by default. Use the following procedure to configure it to start automatically and to start the service for the first time.

To configure and start the DHCP Server service

1.At a command prompt, type:

sc config dhcpserver start= auto

2.Start the service by typing:

net start dhcpserver

start /w ocsetup DHCPServerCore /uninstall at the command prompt will uninstall the DHCP Server role

To install File Services role features

•For File Replication Service, type the following at a command prompt:

start /w ocsetup FRS-Infrastructure

•For Distributed File System service, type:

start /w ocsetup DFSN-Server

•For Distributed File System Replication, type:

start /w ocsetup DFSR-Infrastructure-ServerEdition

•For Services for Network File System (NFS), type:

start /w ocsetup ServerForNFS-Base

start /w ocsetup ClientForNFS-Base

Hyper-V role

To install the Hyper-V role, at a command prompt, type:

start /w ocsetup Microsoft-Hyper-V

To manage Hyper-V on a Server Core installation, use the Hyper-V management tools to manage the server remotely. These tools are available for Windows Server 2008 and Windows Vista Service Pack 1.

Print Services role

To install Print Services role features

•For the Print Server feature, type the following at a command prompt:

start /w ocsetup Printing-ServerCore-Role

•For the Line Printer Daemon (LPD) service, type:

start /w ocsetup Printing-LPDPrintService

To add a printer to the print server

1.Determine the IP address or host name of the printer. This may be on the printer's test or printer configuration page or you might need to refer to the manufacturer's documentation for instructions.

2.Verify that the print server can communicate with the printer through the network by pinging the printer from the print server.

3.On another computer running Windows Vista or Windows Server 2008, open the Print Management console and add the server running the Server Core installation.

4.Expand the entry for the print server running a Server Core installation, right-click Drivers, and then click Add Driver. The Add Printer Driver Wizard starts.

5.Complete the wizard to install the printer driver for your printer.

6.In the Print Management console, right-click Printers and then click Add Printer. The Network Printer Installation Wizard starts.

7.Click Add a TCP/IP or Web Services printer by IP address or hostname and then click Next.

8.Enter the printer's host name or IP address (the port name will be the same by default), and then click Next.

9.Make any necessary changes to the printer name, contact information, or sharing status, and then click Next.

Web Server (IIS) role

To install the Web Server role

1.For the default installation, type the following at a command prompt and press ENTER:

start /w pkgmgr /iu:IIS-WebServerRole;WAS-WindowsActivationService;WAS-ProcessModel

2.For an installation that includes all of the options, type the following at a command prompt and press ENTER:

start /w pkgmgr /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;IIS-DefaultDocument;

IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-HttpRedirect;IIS-ApplicationDevelopment;IIS-ASP;IIS-CGI;IIS-ISAPIExtensions;

IIS-ISAPIFilter;IIS-ServerSideIncludes;IIS-HealthAndDiagnostics;IIS-HttpLogging;IIS-LoggingLibraries;IIS-RequestMonitor;

IIS-HttpTracing;IIS-CustomLogging;IIS-ODBCLogging;IIS-Security;IIS-BasicAuthentication;IIS-WindowsAuthentication;

IIS-DigestAuthentication;IIS-ClientCertificateMappingAuthentication;IIS-IISCertificateMappingAuthentication;IIS-URLAuthorization;

IIS-RequestFiltering;IIS-IPSecurity;IIS-Performance;IIS-HttpCompressionStatic;IIS-HttpCompressionDynamic;

IIS-WebServerManagementTools;IIS-ManagementScriptingTools;IIS-IIS6ManagementCompatibility;IIS-Metabase;

IIS-WMICompatibility;IIS-LegacyScripts;IIS-FTPPublishingService;IIS-FTPServer;WAS-WindowsActivationService;

WAS-ProcessModel

Known issues for installing a server role on a Server Core installation of Windows Server 2008 R2

•You cannot use the Active Directory Domain Controller Installation Wizard (Dcpromo.exe) on a server running Server Core installation. You must use an unattend file with Dcpromo.exe to install or remove the domain controller role.

Alternately, you can run Dcpromo.exe on another computer running Windows Server 2008 R2 and use the wizard to save an unattend file that you can then use on the server running Server Core installation.

•Dcpromo.exe will restart the computer immediately when the installation is complete or when Active Directory is removed unless RebootOnCompletion=No is included in the answer file.

•The Web Server (IIS) role supports a subset of ASP.NET in Server Core installations of Windows Server 2008 R2. The following IIS features are available in Server Core installations of Windows Server 2008 R2, see the section “Web Server (IIS) role.”

Task: View system information

•Msinfo32

•Set

•Systeminfo

Task: View user information

•Whoami

Task: Manage users and groups

•Net accounts

•Net group

•Net localgroup

•Net user

Task: View or change computer name

•Hostname

•Netdom renamecomputer

Task: Join or leave a domain

•Netdom join

Task: Log off or shut down

•Logoff

•Shutdown

Task: Configure networking

•Ipconfig

•Netsh interface

•Netsh routing

•Route

Task: Configure Windows Firewall

•Netsh advfirewall

Task: Configure Internet Protocol security (IPsec)

•Netsh ipsec

•Scregedit.wsf

Task: Activate Windows

•Slmgr.vbs

Task: Manage services

•Net continue

•Net pause

•Net start

•Net stop

•Sc

•Tasklist

Task: Manage processes

•Taskkill

•Tasklist

•Taskmgr

Task: Manage tasks

•At

•Schtasks

Task: Collect and analyze performance data

•Logman

•Relog

•Typeperf

Task: View events and manage event logs

•Wevtutil

Task: Manage disks and storage

•Compact

•Defrag

•Diskpart

•Diskraid

•Mountvol

Task: Manage Volume Shadow Copy Service (VSS)

•Vssadmin

•Cacl

Task: Manage file systems and file permissions

•Convert

•Fsutil

•Icacls

•Takeown

Task: Manage files

•Openfiles

•Sigverif

Task: Manage shares and share permissions

•Net share

Task: Manage the registry

•Reg

•Regedit

Task: Install and manage drivers

•Driverquery

•Pnputil

•Sc

Task: Install and manage updates

•Pkgmgr

•Scregedit.wsf

•Systeminfo

•Wuauclt

•Wusa

Task: Install roles and features

•Oclist

•Ocsetup

Task: Install applications

•Msiexec

Task: Manage Group Policy

•Gpresult

•Gpupdate

•Secedit

Task: Manage certificates

•Certreq

•Certutil

Task: Manage Terminal Services (Remote Desktop for Administration)

•Change

•Logoff

•Msg

•Mstsc

•Qappsrv

•Qprocess

•Query

•Qwinsta

•Reset session

•Rwinsta

•Shadow

•Tscon

•Tsdiscon

•Tskill

No comments: