Download - Essa lab week 1

Transcript
Page 1: Essa lab week 1
Page 2: Essa lab week 1

Installing the Windows operating systemFrom no operating system (OS) to being able to login

Week 1aP1 – Enterprise Systems – Servers and Storage

Page 3: Essa lab week 1

A note on the lab sheets and reference material

Note that there will not be step-by-step instructions in lab sheets but key information needed to complete various tasks.For the step-by-step instructions, you can refer to the reference material mentioned.When you go through the labs, it is essential that you develop familiarity with the software you are using. Trying to figure out where to find certain steps in the reference material during the lab test will not be very effective.

3

Page 4: Essa lab week 1

How to: Install the Windows Server OS via DVD onto Oracle VirtualBox• Create a new VM on Oracle VirtualBox with the following settings:

• Name: Windows 2008 R2• 64 bit Windows OS• 1024GB RAM• 1 x network adapter attached to Bridged Network• 30 GB storage space

• Install the “Windows 2008R2 Standard Edition Full Installation”• You can choose to experiment with the Enterprise and Data Centre editions later

• If you are installing the Windows OS on Virtualbox, remember to install the VirtualBox Guest Additions for better control of the VM

• After you have successfully installed Windows Server OS (and VirtualBox Guest Addition), export the virtual machine as an template/appliance (OVA file).

• The templates will allow you to make copies of the same instance of the VMs quickly

• Export your VM as a template so that you can make clones of the VM later (cloning of VMs work most of the time but not all the time)

• Rename your virtual machine to “rootdc.castalia.org” or “rootdc”

• Reference: Hands-on Microsoft Windows Server 2008 by Michael Palmer, Chapter 2 page 43-66

4

Page 5: Essa lab week 1

How to: Configure the Windows Server OS immediately after installation (or importing OVA)• Change the time zone to Singapore time zone (if you haven’t)• Configure ip address (static or dhcp)

• Refer to the earlier section on “Setup the lab environment” for a specific server/service

• Configure the dns• Refer to the earlier section on “Setup the lab environment” for a specific

server/service• Configure the default gateway

• Refer to the earlier section on “Setup the lab environment” for a specific server/service

• Configure the computer name• Refer to the earlier section on “Setup the lab environment” for a specific

server/service• Join domain (if required)

• Goto Control Panel > System > Change Settings > Change Computer Name• Change the Domain Name (instead of Workgroup)• The domain we use in the lab session is “castalia.org” although you can use any

domain name you prefer

• Just a reminder, if the earlier section on “Setup the lab environment” prescribes that rootdc.castalia.org should have a static ip address of 192.168.x.101 Replace 192.168.x.101. x is your class register number or a number that is different to avoid any clashes in ip addresses on the network.

Reference: Hands-on Microsoft Windows Server 2008 by Michael Palmer, Chapter 2 page 67-71

5

Page 6: Essa lab week 1

Do it now: Configure the Windows Server OS for rootdc.castalia.orgApply the steps in the previous page to rootdc.castalia.org after it’s installation.

• Change the time zone to Singapore time zone (if you haven’t)• Configure ip address (static or dhcp)

• Refer to the earlier section on “Setup the lab environment” for a specific server/service

• 192.168.x.101• Configure the dns

• Refer to the earlier section on “Setup the lab environment” for a specific server/service

• 192.168.x.101• Configure the default gateway

• Refer to the earlier section on “Setup the lab environment” for a specific server/service

• 192.168.x.151• Configure the computer name

• Refer to the earlier section on “Setup the lab environment” for a specific server/service

• rootdc

• Join domain (if required)• The domain we use in the lab session is “castalia.org” although you can use any

domain name you prefer• You don’t need to do this because there is no domain yet

You should apply these same steps (install and configure) later for other servers/services mentioned in the “Setup the lab environment” section.

6

Page 7: Essa lab week 1

Know that: there are other ways of installing the Windows Server OSYou can automate the process of installation using Windows Deployment Services. This is similar to the kickstart mechanism in Linux OS installations.

Reference: Hands-on Microsoft Windows Server 2008 by Michael Palmer, Chapter 2 page 71-75

7

Page 8: Essa lab week 1

The Windows OS & file systemGetting familiar & adding roles and features

Week 1aP1 – Enterprise Systems – Servers and Storage

Page 9: Essa lab week 1

Get familiar with: the Server Manager

Reference: Hands-on Microsoft Windows Server 2008 by Michael Palmer, Chapter 3 page 87-92

9

Page 10: Essa lab week 1

Understand: What are server roles?

Write down what are the server roles you see in Server Manager:

_________________

_________________

_________________

10

Page 11: Essa lab week 1

Understand: What are features?

Write down what are the features you see in Server Manager:

_________________________________________________

_________________________________________________

_________________________________________________

11

Page 12: Essa lab week 1

How to: Add a role and remove it

• Let’s add the role “Print and document services”

• Now, remove the role “Print and document services”

Reference: Hands-on Microsoft Windows Server 2008 by Michael Palmer, Chapter 3 page 92-93

12

Page 13: Essa lab week 1

How to: Automate the task of adding a role and removing it with Power ShellLaunch PowerShell

> Servermanagercmd.exe –install print-server> Servermanagercmd.exe -query

> Servermanagercmd.exe –remove print-server> Servermanagercmd.exe -query

Reference: Hands-on Microsoft Windows Server 2008 by Michael Palmer, Chapter 3 page 124-126Hands-on Microsoft Windows Server 2008 by Michael Palmer, Chapter 3 page 93-95

13

Page 14: Essa lab week 1

How to: Add a feature

• Let’s add the feature “Desktop Experience”

• Now, remove the feature “Desktop Experience”

14

Page 15: Essa lab week 1

Understand: What’s the Windows Registry is for?

What the registry contains? Refer to the Michael Palmer book for answers.

Your answer:

_________________________________________________

_________________________________________________

_________________________________________________

_________________________________________________

Reference: Hands-on Microsoft Windows Server 2008 by Michael Palmer, Chapter 3 page 114-118

15

Page 16: Essa lab week 1

Active DirectoryBasic concepts, install and configure Active Directory Domain Services

Week 1bP2 – Enterprise Network Services and Infrastructure Configurations

Page 17: Essa lab week 1

Read: Introduction to Active Directory and Account Management

Reference: Hands-on Microsoft Windows Server 2008 by Michael Palmer, Chapter 4 page 133-180

17

Page 18: Essa lab week 1

How to: Install Active Directory Domain Services

Question: What other service(s) is installed when you install the “Active Directory Domain Services” role?Your Answer:_________________________________________________

_________________________________________________

_________________________________________________

_________________________________________________

Reference: Hands-on Microsoft Windows Server 2008 by Michael Palmer, Chapter 4 page 133-180

18

Page 19: Essa lab week 1

Use Case: Just opened for business

19

Page 20: Essa lab week 1

How to: Setup a new forest with Active Directory Domain Services (part 1)• Install a Windows Server 2008 R2 (if not already)• For steps to install AD DS, refer to Hands-on Microsoft Windows Server 2008 by Michael

Palmer, Chapter 4 page 135-138

• The following are specific configurations that might be required before and during the installation process.

• Change the computer name to “rootdc”• Change the time zone to Singapore time zone (if you haven’t)• Set static IP address to 192.168.x.101 (if you haven’t)• Leave the DNS setting empty• Set the gateway to 192.168.x.151 (if you haven’t)

• Add a new role “Active Directory Domain Services”• Promote the Windows Server to be a Domain Controller by running dcpromo.exe• Create a new domain in a new forest• Domain name: castalia.org• Forest functional level: Windows 2008• Domain functional level: Windows 2008 R2• Select Global Catalog and DNS services and DHCP services

• Change the domain controller’s computer name to “rootdc” i.e. rootdc.castalia.org (if you didn’t do so earlier, it’s alright to change it at this stage)

• Goto Server Manager > Roles > Active Directory Domain Services and check whether all the services related to AD DS was started without errors

• nslookup• > rootdc.castalia.org• (this should give you 192.168.x.101)• > 192.168.x.101• (this won’t work now until you added the reverse lookup zone)

• Goto Administrative Tools > DNS Manager > Reverse Lookup Zones, add new Zone 192.168.x.

• In DNS Manager under Reverse Lookup Zones, add new Pointer 192.168.x.101 rootdc.castalia.org

• nslookup• > rootdc.castalia.org• > 192.168.x.101 (should work now)• Check which DNS is nslookup querying

20

Page 21: Essa lab week 1

How to: Setup a new forest with Active Directory Domain Services (part 2)These are steps you might go through when install the DHCP service when you promote the DC.Parent domain: castalia.orgPrefer DNS server: REFER TO DHCP CONFIGURATION WINS not requiredIP address range: REFER TO DHCP CONFIGURATIONSubnet mask: REFER TO DHCP CONFIGURATIONDefault gateway: REFER TO DHCP CONFIGURATIONUse current credentials

21

Page 22: Essa lab week 1

How to: Perform some simple checks on AD

Check whether the DC is working properly.Server ManagerPS> dcdiagPS> repadmin /showreps

From a client,PS> netdiag

Try synchronizing all,PS > repadmin /synchall

22

Page 23: Essa lab week 1

Understand: What are these things/objects in Active Directory?

• Forest• Trees• Domains• Site• Users• Computers• Organisational unit• Security groups

23

Page 24: Essa lab week 1

Network ServicesConfigure the DHCP and DNS servers

Week 1bP2 – Enterprise Network Services and Infrastructure Configurations

Page 25: Essa lab week 1

Use case: We have a new colleague (and she will use a new laptop)

25

Page 26: Essa lab week 1

How to: Install and configure a DHCP server

To install DHCP service (if not already done when installing the DC), Goto Server Manager > Add Roles > DHCP Server.

What is a DHCP server for?Answer: ________________________________________

In the current lab environment, we are using rootdc as the DHCP server. You will notice that the DHCP has already been installed.

To configure the DHCP service, Goto Administrative Tools > DHCP

Configure the following at the DHCP server• Scope

• Address pool• Range 192.168.x.211-192.168.x.219• Netmask 255.255.255.0

• Scope options• 003 Router = 192.168.x.151 (Default Gateway) • 006 DNS Server = 192.168.x.101• 015 DNS Domain name = essa.com (usually not set manually)

Be careful. Sometimes the RRAS might take up many of the address in the DHCP scope. Be mindful sometimes the reason you can’t get an ip address is because all the addresses in scope have been allocated.

If there is a need to remove earlier allocated ip during the lab sessions, you could remove allocations from the dhcp server to free up ip addresses for new servers or workstations.

26

Page 27: Essa lab week 1

Do it now: Create a Windows 7 workstation with an OVA (template)We won’t spend time to install Windows 7 onto a new VM. Importing it from a OVA is more efficient.

Refer to the earlier section on “Setup the lab environment” for a specific server/service. Make sure the network interface is attached to right network.

27

Page 28: Essa lab week 1

How to: Get a workstation’s IP address from DHCP

Logon locally to check the IP address assigned For the lab experiment (not in real life), attached the network adapter of the rootdc and workstation to internal network (instead of bridged) temporarily. Logon locally to check the IP address assigned To summarise, make changes so that:• rootdc (hosting the dhcp server) is on the internal network• workstation is on the internal network• Configure the workstation to get the ip address from the dhcp server and check what is the

ip address assigned to it.

Once you see that this works, re-attach the network interface to the Bridged network to reverse the changes.

The reason we are switching back on forth here is because if we leave the dhcp on bridged network, there will be more than 20 dhcp servers on the same network and that might cause some confusion for the workstations on which ip address to take.

28

Page 29: Essa lab week 1

How to: Configure the Windows 7 immediately after installation (or importing OVA)• Change the time zone to Singapore time zone (if you haven’t)• Configure ip address (static or dhcp)

• Refer to the earlier section on “Setup the lab environment” for a specific server/service

• DHCP• Configure the dns

• Refer to the earlier section on “Setup the lab environment” for a specific server/service

• Handled by DHCP• Configure the default gateway

• Refer to the earlier section on “Setup the lab environment” for a specific server/service

• Handled by DHCP• Configure the computer name

• Refer to the earlier section on “Setup the lab environment” for a specific server/service

• Name: workstation• Join domain (if required)

• The domain we use in the lab session is “castalia.org” although you can use any domain name you prefer

• Just a reminder, if the earlier section on “Setup the lab environment” prescribes that rootdc.castalia.org should have a static ip address of 192.168.x.101 Replace 192.168.x.101. x is your class register number or a number that is different to avoid any clashes in ip addresses on the network.

Reference: Hands-on Microsoft Windows Server 2008 by Michael Palmer, Chapter 2 page 67-71

29

Page 30: Essa lab week 1

How to: Install and configure a DHCP server

In the current lab environment, we are using rootdc as the DHCP server. You will notice that the DNS has already been installed.

30

Page 31: Essa lab week 1

Should I give her a static ip address?

• Servers vs Workstations• Static ip address vs DHCP

Usually we will not assign static ip address to workstations.

31


Top Related