Analytics

顯示具有 [6421:Windows Server 2008網路基礎架構組態與疑難排除] 標籤的文章。 顯示所有文章
顯示具有 [6421:Windows Server 2008網路基礎架構組態與疑難排除] 標籤的文章。 顯示所有文章

2010年6月6日 星期日

[6421:Windows Server 2008網路基礎架構組態與疑難排除] Module2-Lesson2 : Configuring the DNS Role


2-10。What Are the Components of a DNS Solution?
2-10 What Are the Components of a DNS Solution

2-11。DNS Resource Records
DNS resuirce records include:
  • SOA:Start of Authority(1Zone一定只有1筆)
  • A:Host Record(為IPV4的IP命名)
  • CNAME:Alias Record(已被命名後,可取別名)
  • MX:Mail Exchange Record(若有架Mail Server則要記錄)
  • SRV:Service Resource(註冊位置識別AD)
  • NS:Name Servers(1~N筆作為備援用)
  • AAAA:IPv6 DNS Record(為IPV6的IP命名)

2-12。What Are Root Hints
Root Hints contain the IP address for DNS root servers
2-12 What Are Root Hints

2-13。What Is a DNS Query?
A query is a request for name resolution and is directed to a DNS Server
  • Queries are recursive or iterative
  • DNS Client and DNS servers both initiate queries
  • DNS servers are authoritative or nonauthoritative for a namespace
  • An authoritative DNS server for the namespace will either:

    • Return the requested IP address
    • Return an authoritative “NO”
  • A nonauthoritative DNS server for the namespace will either:

    • Check its cache
    • Use forwarders
    • Use root hints

MyNote
  • What Is a DNS Query?
  • 2-13 What Is a DNS Query

2-14。What Are Recursive Queries?
A recursive query is sent to a DNS server and requires a complete answer
2-14 What Are Recursive Queries

2-15。What Are Iterative Queries ?
A iterative query directed to a DNS server may be answered with a referral to another DNS Server
2-15 What Are Iterative Queries

2-16。What Is a Forwarder?
A forwarder is a DNS server designated to resolve external or offsite DNS domain names
2-16 What Is a Forwarder

2-17。What Is a Conditional Forwarding?
Conditional forwarding forwards requests using a domain name condition
2-17 What Is a Conditional Forwarding

MyNote
  • Conditional Forwarding?

    • 依據要查詢名稱的尾碼,優先交給設定的DNS Server查
  • Forwarder避免犯的錯誤:

    • 2-17 What Is a Conditional Forwarding mynote
  • command prompt windows 底下:

    • ipconfig /displaydns(顯示DNS IP)
    • ipconfig /flushdns(清除DNS快取)

2010年6月5日 星期六

[6421:Windows Server 2008網路基礎架構組態與疑難排除]Module2-Lesson1 : Installing the DNS Server Role


2-4。Overview of the Domain Name System Role
Domain Name System is a hierarchical distributed database
  • DNS is the foundation of Internet naming scheme
  • DNS supports accessing resources by using alphanumeric names
  • InterNIC is responsible for managing the domain namespace
  • DNS was created to support the Internet’s growing

2-5。Overview the DNS Namespace
2-5 Overview of the DNS Namespace

2-6。DNS Imporvements for Windows Server 2008
New or enhanced feature in the Windows Server 2008 version of DNS include:
  • Background zone loading
  • IP version 6 support
  • Support for read-only domain controllers
  • Global single names


2-8。Considerations for Deploying the DNS Server Role
  • The user account must be a member of the local administrator group or equivalent
  • Manually configuring the server to use a static IP address is recommended
  • Manually editing the server and boot files is not recommended
  • Use the DNS console or dnscmd
  • Active Directory-integrated DNS zone cannot be administered using a text editor

MyNote
  • DNS:Domain Name System:


    • 用途:解析1個主機或服務(等)在哪裡的資訊
    • 實際上,它是一種"特定用途"的階層分散式網路資料庫系統(採Client/Server 架構)
階層分散式:1.管理分散2.儲存分散3.查詢分散
  • Internet DNS Namespace:


    • 將Internet的主機,服務等,命名後,由這些名字邏輯組織而成的結構
    • 階層式,只管自己直接的下層,最上層為root(。)
  • DNS Domain:


    • 在DNS Namespace中,1個可含有下層的節點=>一群共用相同尾碼的集合
  • FQDN(Fully Quailed Domain Name):


    • 在DNS Namespace中,1個節點的完整名稱(規則:由下往上每層加"."隔開)
  • ZONE:


    • 因分散管理或分散儲存的需求,將Namespace切割的連續區域
    • 不同的zone可以委派不同的人管理
    • 不同的zone必有獨立的資料儲存區(不同的檔或AD終不同的容器)
  • 下圖為總整理: 
2-5 MyNote
相同名稱的尾碼=>Domain
程式開發走Socket API=>要靠DNS解析
NetBIOS(配合WINS)=>IBM開發,從2000被捨棄,無階層
  • Virtual PC連網路方法:
    • 1.連接到實體電腦(HOST:注意電腦名曾不得重複)
    • 2.接到虛擬ID分享器(NAT:IP要自動取得)
    • 3.新增Microsoft Lookup Adapter :
      • 1.Start=>Control Panel=>Add Hardware=>Next=>Yes,xxxx=>Add a new Hardware Device=>Next=>Network Adapter=>Microsoft=>Lookup Adapter
      • 2.安裝好後,設定IP Address跟subnet mask:
        • a.關閉Firewall=>net firewall set opmode disable
        • b.停止服務=>sc stop sharedaccess
        • c.關閉服務=>sc config sharedaccess start= disabled
      • 3.啟動Routing and Remote Access:
        • a.Start=>run=>rrasmamt.msc
        • b.對SVRX=>右鍵Configure and Enable xxx=>選最底下=>Next=>選最底下=>Finish
      • 4.安裝好後,IP Routing底下=>General=>右鍵New Routing portcal=>NAT/Base Firewall=>Next=>會多一個NAT/Basic Firewall=>右鍵New Interface=>選擇網路連線=>選Host的連線,點對外=>Next=右鍵New Interface=>選擇網路連線=>選Lookup Adapter的網路連線,點對內
      • 5.在Virtual PC裡,網路卡改為Microsoft Lookup Adapter
      • 6.測試:
        • 在SVRXX裡,Command Prompt windows底下:
        • nslookup=>server nyc-svrxx(用自己的dns server)=>www.uuu.com.tw(查對外網路是否接的出去)

2010年5月29日 星期六

[6421:Windows Server 2008網路基礎架構組態與疑難排除]Module1-Lesson3 : Overview of the Server Core Installation Option


1-18。Benefits of Server Core Installation
Benefits of a Server Core installation include:
  • Reduced maintenance
  • Reduced attack surface
  • Reduced management
  • Less disk space required

1-19。Server Roles That a Server Core Installaion Supports
A Server Core installation supports the following server roles:
  • Active Directory Domain Service
  • Active Directory Lightweight Directory Services
  • DHCP Server
  • DNS Server
  • File Services
  • Print Server
  • Streaming Media Services(Web Server)
  • Windows Server Virtualization(Hyper-V)
MyNote
  • Server Core Installation
1.沒有桌面,且大多數圖形介面的工具不能用(regedit,notepad,taskmgr,timedate.cpl,intl.cpl仍可用)
2.只提供部分的Role及Feature(DC,DNS,DHCP,IIS,WINS,Hyper-V,File Services,Print Server)
3.安全,效能好(硬體需求低),較少需維護
4.Windows Server 2008 Core installation...沒有.Net Framework(Windows Server 2008 R2 Core 有)
    • GUI桌面程式執行檔名為explorer.exe
    • .cpl檔在Windows資料夾下,為控制台的檔名
    • 原系統升級(In place Upgrade)
    1.Server 2003=>Server 2008(or Server 2008 R2)
    2.同CPU架構(X86=>X86,X64=>X64)
    3.同語言(繁中=>繁中,英=>英)
    4.同Installation
    Server 2003=>Server 2008 Core,無法升級因2003沒有Core版本
    Server 2008 Core=>Server 2008 R2 Core
    • Server Core 沒有 ServerManager,ServerManagercmd
    使用OCList=>查看Role,Features
    使用OCSetup=>Add/Remove Role,Features(參數區分大小寫)

    Exercise 3:Configuring Server Core and Performing Basic Management Tasks.

    Task 3:Use command-line tools to set parameters in the Server Core virtual machine.
    Set
    Computername=NYC-DNSSVR2
    IP address=10.10.0.12
    Mask=255.255.0.0
    Gateway=10.10.0.1
    DNS=10.10.0.10
    In the command prompt windows:
    1.To dettermine the current default assigned computer name=>type set
    2.To change the computer name=>type Netdom renamecomputer NYC-SVR2 /NewName:NYC-DNSSVR2=>type y
    3.To set static IP address=>type Netsh interface ipv4 set address name="Local area connection" source=static address=10.10.0.12 mask=255.255.0.0 gateway=10.10.0.1
    4.To set primary DNS=>type Netsh interface ip set dns"Local area connection" static 10.10.0.10 primary
    5.To verify the IP address assignment=>type ipconfig/all
    6.To Resatrt Computer=>type shoutdown /r

    Task 4:Connect the server to the WoodgroveBank.com domain.
    In the command prompt windows:
    1.To join Domain=>type netdom join NYC-DNSSVR2/Domain:WoodgroveBank.com /Userd:Administrator / passwordD:*
    2.To verify User=>type Pa$$w0rd
    3.To Resatrt Computer=>type shoutdown /r

    Task 6:Verify the firewall configuration.
    In the command prompt windows:
    1.To view current firewall configuration=>type Netsh firewall show state
    Task 7:Use the Netsh commamd to open ports.
    In the command prompt windows:
    1.type netsh firewall add portopening ALL 53 DNS-server
    2.type netsh firewall add portopening TCP 135 remote-admin
    3.type netsh firewall add portopening UPD 137 netbios-ns
    4.type netsh firewall add portopening UPD 138 netbios-dgm
    5.type netsh firewall add portopening TCP 139 netbios-ssn
    6.type netsh firewall add portopening TCP 445 netbios-ns
    7.type netsh firewall show config

    Note:Notice that in the Service configuration for domain profile,File and Print Sharing and Remote Desktop service are set to enable,and both TCP and UDP port 53 open for the DNS Server.

    Task 8:View the current status of role,and install the DNS server role.
    In the command prompt windows:
    1.To Verify that no server roles are installed=>type oclist
    2.To install the DNS server=>type start/w ocsetup DNS-Server-Core-Role
    3.To Verify that the DNS-Server-Role are installed=>type oclist

    Task 9:Manage the server by using DNS Manager form a remote computer.
    Start=>Administrative Tools=>DNS
    1.right-click DNS=>click Connect to DNS Server
    2.On the Connect to DNS Sever box=>select The following computer =>type NYC-DNSSVR2=>OK


    MyNote
    • Server Core指令整理
    oclist-查看已安裝的Role,Feature
    ocsetup-新增Role,Feature
    =>ocsetup [Role,Feature名] 
    1.注意區分大小寫
    2.ocsetup會在背景執行,裝好也不會提示,可以用start /w 載入ocsetup,等執行完後,才返回命令提示字元
    3.移除:ocsetup -uninstall [Role,Feature名]

    [6421:Windows Server 2008網路基礎架構組態與疑難排除] Module1-Lesson2 : Managing Server Roles and Features


    1-14。What Are Server Roles?
    A Server Role describes the primary function of a server
    • Administrators can dedicate an entire computer to one role or insatll mutiple server roles on a single computer
    • Each role can include one or more role services or subelement of a role
    • Server Manager is the tool that is used to install,configure,and remove Server Roles
    MyNote
    • Server Manager
    In the command prompt windows:
    ServerMangercmd -query-查詢
    ServerMangercmd -install dhcp-安裝某Role
    ServerMangercmd -remove dhcp-移除某Role


    1-15。What Are Server Features?
    Server features provide auxiiary or supporting functions to servers
    • Typeically,administrators add features,not as the primary function of server,but to augment the functionality of installed roles
    • Server Manager is the tool that you can use install,configure,and manage features in Windows Server 2008

    Exercise 2:Installing and Configuring Server Roles and Features
    Task 3:Form Server Manager,install the Terminal Services role.
    Start=>Administrative Tools=>Server Manager
    1.In the Server Manager list pane=>right-click Roles=>Add Roles
    2.On the Before You Begin page=>select Terminal Services check box=>Next
    3.On the Select Server Roles page=>select the Terminal Services check box=>Next
    4.On the Introduction to Terminal Service page=>Next
    5.On the Select Roles Services page=>select the Terminal Server check box=>Next
    6.On the Uninstall and Reinstall Applications for Compatibluty page=>Next
    7.On the Specify Authentication Method for Teminal Server page=>cilck Do not require Network Level Authentication=>Next
    8.On the Specify Licensing Mode page=>Next
    9.On the Select User Group Allowed Access To This Terminal Server=>Next
    10.On the Confirm Installations Selections Page=>Install
    11.On the Installation Results page=>Close=>Yes to Restart

    Task 5:Install the Server Backup feature from the Server Manager console.
    Start=>Administrative Tools=>Server Manager

    1.In the Server Manager list pane=>right-click Features=>Add Features
    2.On the Select Features page=>select the Windows Server Backup Features check box=>Next
    3.On the Confirm Installation Results page=>Close


    MyNote

    2010年5月27日 星期四

    [6421:Windows Server 2008網路基礎架構組態與疑難排除] Module1-Lesson1 : Installing and Configuring Server


    1-4。Windows Server 2008 Editions
    Edition Server Core
    Windows Web Sever 2008
    No
    Windows Server 2008 Standard
    Yes
    Windows Server 2008 Enterprise
    Yes
    Windows Server 2008 DataCenter
    Yes
    Windows Server 2008 for Itanium-based Systems
    No


    MyNote
    Edition
    應用
    DNS&DHCP
    File&Printer Server
    Domain Controller
    Network Load Balane
    Failover Cluster
    WebServer
    小企業
    V
    10個連線
    X
    V
    X
    Standard
    小型企業
    V
    by CAL
    V
    V
    X
    Enterprise
    中上型企業
    V
    by CAL
    V
    V
    V
    DataCenter
    高運算需求
    V
    by CAL
    V
    V
    V
    CAL=Client Acess License
    32位元 vs 64位元
    How to Choice?
    • RAM over 4G?
    • Software Support?
    • Use Hyper-V?

    1-6。x64 Installation Consideration
    • Requrire that all kernel-mode device drivers are digitally signed
    • Device drivers are necessarily trusted because they have direct access to the system hardware
    • May be able to mitigate some "rootkit" software

    1-7。Common Installation Scenarios
    • Clean installations
    • Upgardes
    • Unattended installations
    MyNote
    Unattended installations
    安裝時不用手動回答問題(建立unattended.xml或Autounattedned.xml)
    方式a.notepad
    方式b.下載Windows AIK(Automiced Installition Kit)System Image Manager
    Regedit
    系統開機時會載入C:\Windows\System32\config

    1-9。Preparing for the Installations of Windows Server 2008
    • Check for application
    • Disconnect UPS Devices
    • Back up existing servers to be upgraded
    • Disable virus protection
    • Run the Windows Memory Diagnostic Tool
    • Obtain mass storage drivers
    • Be aware of Windows Firewall Installation default
    • Prepare Active Directory for the Active Directory Domain Services role

    1-11。Process for Installing Windows Server 2008
    1. Provide language and preferences
    2. Setup copies and installs Windows
    3. Administrator configures the server using the Initial Configuration Tasks page at first logon
    MyNote
    ICT(Initial Configuration Tasks)
    呼叫方式:
    Start=>Run=>cmd=>oobe
    Server Manager
    由於ICT只會初始化安裝的時候出現,一般第一次執行後,就勾選不再顯示
    而往後的維護工作,都交由Server Manger去管理,而Server Manger所擁有的工具,比ICT多很多
    Command底下操作方式:
    =>ServerMangercmd -query(查詢)
    =>ServerMangercmd -install dhcp(安裝某Role)
    =>ServerMangercmd -remove dhcp(移除某Role)

    熱門文章