Database Availability Group (DAG) in Exchange 2010

One of the new features of Exchange 2010 is DAG Database Availability Group. The Customer were i work now wants Exchange 2010 in a dag cluster because they have a datacenter for failback.
Because i going to implement Exchange 2010 at the customer i created a test setup.

Configuration:

Server 1 – HYPERVDC-01
OS: Microsoft Windows 2008 R2 Standard x64
IP: 192.168.150.90
Roles: Active Directory / Hyper-V

Server 2 – CHEK10-01
OS: Microsoft Windows 2008 R2 Standard x64
IP: 192.168.150.91
Roles: Exchange 2010 HT / CAS

Server 3 – CHEK10-02
OS: Microsoft Windows 2008 R2 Standard x64
IP: 192.168.150.92
Roles: Exchange 2010 HT / CAS

Server 4 – DAGEK10-01
OS: Microsoft Windows 2008 R2 Enterprise x64
IP: 192.168.150.93
Roles: Exchange 2010 MBX

Server 5 – DAGEK10-02
OS: Microsoft Windows 2008 R2 Enterprise x64
IP: 192.168.150.94
Roles: Exchange 2010 MBX

Creating the DAG

clip_image002
clip_image004

Groupname: DAG01
Witness Server: CHKEK10-01 (Microsoft says use one of the CAS or Hub Servers. You cannot use a DAG Server! If you want use a non Exchange 2010 server you must at the Exchange Trusted Subsystem group at the local administrators group.
Witness Directory: C:\DAG01
clip_image006

Add a MB server to a DAG

clip_image008clip_image010

clip_image012clip_image014

clip_image016clip_image018

clip_image020

Setting a IP address on a Database Availability Group

With the following command you can set the DAG Database Availability Group an IP address. Set-DatabaseAvailabilityGroup -Identity DAG01 -DatabaseAvailabilityGroupIpAddresses 192.168.150.96

Configuring NLB for Exchange 2010 for CAS Load Balancing

Exchange’s dependence on the Client Access Server (CAS) role has increased dramatically in Exchange 2010.  This is because, in Exchange 2010, on-network Outlook MAPI connectivity now connects to a mailbox through the CAS role via the RPC Client Access Service.  As a result, high availability of the CAS role is crucial since any failure of CAS could affect Outlook client connectivity.  For smaller implementations or those where the limitations of native Windows Network Load Balancing (NLB) are not a major problem

You need two or more Exchange 2010 servers (each with two NICs) with the CAS role installed have been deployed, you are ready to start configuring NLB to provide high availability and load balancing.  First, you must allocate a dedicated private IP address and create an associated A record in DNS for the NLB cluster. 

This IP address and name are what clients will connect to and against which the ClientAccessArray will be created.  In this blog post, I will use 192.168.150.95 and casarray.hyper-v.local
To simplify the management of your NLB cluster members, I recommend that you name each NIC’s network connection so that it is easy to understand what function the NIC serves.  For example, as depicted below, I have named the connections “LAN” (used for communication with clients and servers on the network) and “NLB” (used for internal NLB heartbeat).  This process should be repeated on all NLB cluster members.

IP configuration:
Server 1:
LAN:
IP: 192.168.150.90
Subnetmask: 255.255.255.0
Gateway: 192.168.150.254
DNS: 192.168.150.1

Server 2:
LAN:
IP: 192.168.150.91
Subnetmask: 255.255.255.0
Gateway: 192.168.150.254
DNS: 192.168.150.1
clip_image002

 

Configuring NLB – First Member

On each NLB cluster member, NLB must be installed.  With Windows 2008 R2, this can be completed simply by running the command “ServerManagerCmd -i NLB” via a command prompt.  Once NLB has been installed, launch the Network Load Balancing Manager to continue the configuration process.

clip_image003[1]

To create your new cluster, you can right-click Network Load Balancing Clusters or simply click Cluster, New.  In the New Cluster wizard, enter the name of the first server in the NLB cluster (for example, CHEK10-01) and click Connect.  This will display the available NICs on the server, at which point the NLB NIC should be chosen before clicking Next.

clip_image005

Since this is the first member of the NLB cluster, you can leave the all of the Host Parameters at their default values, as depicted below.  Please note that the Priority value should be configured as 1 for the first member.

clip_image007

Next we must configure the IP address and subnet mask of the NLB cluster, which is the IP address for which we created a DNS A record at the very beginning of this process.  In this example, this would be 192.168.150.95 and 255.255.255.0, respectively.

clip_image009

For the Cluster Parameters, we want to enter the FQDN of the DNS A record we created at the very beginning of this process (casarray.hyper-v.local).  In addition, Unicast should be selected as the desired clustered operation mode.

clip_image011

I lieve the Port Rules how they are and end with Finish
clip_image013

Let the NLB cluster converge with its first member and you should eventually see the cluster report success.

clip_image015[1]

Now you can proceed with adding your second cluster member.

Configuring NLB – Second/Subsequent Member

After the configuration of the NLB cluster itself and the first NLB cluster member has been completed, you are ready to add additional members.  Provided that NLB has been installed, you can simply right-click on your NLB cluster in the Network Load Balancing Manager and click Add Host To Cluster.

Enter the name of the second NLB cluster member, for example CHEK10-02, and click Connect.  Be sure to choose the NLB LAN NIC and click Next.

clip_image017

On the Host Parameters screen, ensure that the Priority is set to 2 (or as appropriate, depending on how many cluster members you have) and click Next.

clip_image019

Confirm that your port rules are accurate and, if they are, click Finish to add your second NLB cluster member.

clip_image021

Let the NLB cluster converge with the new member and, eventually, it should report success.

clip_image023

At this point, you have an NLB cluster with two members!

Next configure CASARRAY.

VMware Workstation 7.1 is available

VMWare has released VMware Workstation 7.1.

image

What’s New in VMware Workstation 7.1

  • Support for 8 virtual processors (or 8 virtual cores) and 2 TB virtual disks.
  • Support for OpenGL 2.1 for Windows Vista and Windows 7 guests.
  • Greatly improved DirectX 9.0 graphics performance for Windows Vista and Windows 7 guests. Up to 2x faster than Workstation 7.
  • Launch virtualized applications directly from the Windows 7 taskbar to create a seamless experience between applications in your virtual machines and the desktop.
  • Optimized performance for Intel’s Core i3, i5, i7 processor family for faster virtual machine encryption and decryption.
  • Support for more Host and Guest Operating Systems, including: Hosts: Windows 2008 R2, Ubuntu 10.04, RHEL 5.4, and more Guests: Fedora 12, Ubuntu 10.04, RHEL 5.4, SEL 11 SP1, and more.
  • Now includes built in Automatic Updates feature to check, download, and install VMware Workstation updates.
  • Ability to import and export Open Virtualization Format (OVF 1.0) packaged virtual machines and upload directly to VMware vSphere, the industry’s best platform for building cloud infrastructures.

    Download VMware Workstation HERE. You need a valid VMware Account to download.

  • When trying to activate you get 0xC004F074 with description "The Key Management Server (KMS) is unavailable"

    Error:
    image

    The KMS host that is used is very probably a Windows Server 2008 KMS host that cannot standard activate Windows 7 and 2008 R2 machines.

    When you do not have Windows Server 2008 R2 KMS host key have then you must have a Volume License agreement so that your request your Windows 7 and Windows 2008 R2 kms keys.

    Resolution

    Step 1:
    -If the KMS host a Windows Server 2003 SP2 machine is you have the update from the KB article KB968915 install and restart the machine.
    -If the KMS host a Windows Server 2008 SP2 machine is you have the update from the KB article KB968912 install and start the new machine.
    -If the KMS host one Windows Server 2008 R2 machine is you have to install any further update.

    Step 2:
    You the new KMS host key import now. The commands are as follows:

    1. Uninstall KMS license Key on host – slmgr.vbs /upk

    2. Install Windows Server 2008 R2 KMS license key – slmgr.vbs /ipk <Your Key>

    3. Activate KMS server online: slmgr.vbs /ato

    4. Net Stop slsvc

    5. Net Start slsvc

    The clients can now activate

    Free eBook! Understanding Microsoft Virtualization R2 Solutions

    There is a second release from: Understanding Microsoft virtualization Solutions updated for Windows 2008 R2. 480 Pages.

    The ultimate virtualization guide for IT professionals and decision makers.

    Download Click on the Picture

    image

    Hyper-V Updates for Windows 2008 R2

    Knowledge Base Article

    Name

    Date

    Required?

    KB974598

    “You receive a "Stop 0x0000007E" error on the first restart after you enable Hyper-V on a Windows Server 2008 R2-based computer”

    10/1/2009

    Yes, if you encounter this error and your server uses a “C-state” (lower power state) that is supported by the processor, but is not supported by Hyper-V.

    KB974909

    “The network connection of a running Hyper-V virtual machine is lost under heavy outgoing network traffic on a Windows Server 2008 R2-based computer”

    10/21/2009

    No.

    KB975354

    “A Hyper-V update rollup package is available for a computer that is running Windows Server 2008 R2”

    11/10/2009

    Yes, if you are running a backup or restore solution.

    KB975530

    “Stop error message on an Intel Xeon 5500 series processor-based computer that is running Windows Server 2008 R2 and that has the Hyper-V role installed: "0x00000101 – CLOCK_WATCHDOG_TIMEOUT"

    11/20/2009

    Yes, if you are running Hyper-V on the affected hardware.

    KB974672

    “Virtual machines stop responding (hang) during startup and the Vmms.exe process crashes on a Windows Server 2008 R2 computer that has the Hyper-V role installed“

    10/14/2009

    No.

    KB977894

    “MS10-010: Vulnerability in Windows Server 2008 Hyper-V could allow denial of service”

    2/9/2010

    Yes.

    KB980856

    “Stop error in Windows Server 2008 R2: "0x000000CA PNP_DETECTED_FATAL_ERROR"”

    3/12/2010

    Yes, if you store VHDs on non-PNP disks.

    KB981618

    “The computer stops responding or restarts during the Hyper-V Live Migration process in Windows Server 2008 R2” (relates to AMD Errata 383)

    3/27/2010

    Yes, if you are running Hyper-V on AMD processors.

    KB 981836

    “Network connectivity for a Windows Server 2003-based Hyper-V virtual machine is lost temporarily in Windows Server 2008 R2”

    4/28/2010

    Yes, if the server running Hyper-V has a virtual machine that is running Windows Server 2003.

    KB981791

    “"STOP: 0x0000001a" error message on a computer that has an Intel Westmere processor together with the Hyper-V role installed on Windows Server 2008 or on Windows Server 2008 R2”

    5/5/2010

    Yes, if you are running Hyper-V on Intel Westmere processors.

    Source: http://technet.microsoft.com/en-us/library/ff394763(WS.10).aspx

    Microsoft Assessment & Planning Toolkit

    The Microsoft Assessment and Planning (MAP) Toolkit is an agentless toolkit that finds computers on a network and performs a detailed inventory of the computers using Windows Management Instrumentation (WMI) and the Remote Registry Service. The data and analysis provided by this toolkit can significantly simplify the planning process for migrating to Windows® 7, Windows Vista®, Microsoft Office 2007, Windows Server® 2008 R2, Windows Server 2008, Hyper-V, Microsoft Application Virtualization, Microsoft SQL Server 2008, and Forefront® Client Security and Network Access Protection. Assessments for Windows Server 2008 R2, Windows Server 2008, Windows 7, and Windows Vista include device driver availability as well as recommendations for hardware upgrades.

    You can use MAP to inventory the following platforms:

    • Windows 7
    • Windows Vista
    • Windows XP® Professional
    • Windows Server 2008 or Windows Server 2008 R2
    • Windows Server 2003 or Windows Server 2003 R2
    • Windows 2000 Professional or Windows 2000 Server
    • VMware ESX
    • VMware ESXi
    • VMware Server

    Reporting
    – Identification of currently installed Windows client operating systems, their hardware, and recommendations for migration to Windows 7 and Windows Vista. The tool also reports if desktops have anti-virus and anti-malware programs installed and if the Windows Firewall is turned on.
    – Identification of currently installed Windows Server operating systems, their hardware, and recommendations for migration to Windows Server 2008 R2 and Windows Server 2008.
    – Identification of currently installed Microsoft Office software and recommendations for migration to Microsoft Office 2007.
    – Detailed assessment and reporting of server utilization gathered using the Performance Metrics Wizard.
    – Recommendations for server consolidation and virtual machine placement using Hyper-V
    – Assessment of client machines, servers, and the technology environment for the implementation of Microsoft Application Virtualization (APP-V)
    – Identification of machines where Microsoft SQL Server components are installed.
    – Identification of virtual machines, their hosts, and details about each.
    – Identification of Windows Server Roles

    Hardware Requirements:
    – Windows 2003 x86/x64 or Windows 2008 x86/x64
    – 1,5 GB (2 GB 2008)

    Software Requirements:
    – NET Framework 3.5 SP1
    – Windows Installer 4.5
    – Microsoft Office Word 2007 or Word 2003 SP2
    – MIcrosoft Office Excel 2007 or Excel 2003 SP2
    – SQL Server 2008 Express Edition, SQL Server 2008, or SQL Server 2005

    image image
    image image

    Download Microsoft Assessment and Planning (MAP) Toolkit HIER

    Dart 6.5 Diagnostic And Recovery Toolset ERD Commander

    image image
    Ik gebruik in dit geval Windows 2008 R2 DVD
    image image
    image image
    image image
    image image
    image image
    image image
    image image
    Nu hebben we een handige Recovery CD.
    image image

    Management installatie System Center Desktop Error Monitoring

    Eisen:
    SQL Server moet aanwezig zijn en de database moet aangemaakt

    Op de Server Windows 2008 R2
    – Dot Net 3.5
    – IIS
    — Windows Authencation
    — IIS 6 Management Compatibility
    – ASP DOTNET AJAX 1.0

    image image
    image image
    image image
    Hier heb ik een een service account voor aangemaakt
      image 
    Ook hiervoor heb je een apart service account voor nodig dat database toegang heeft.

    imageimage

    image image
    Finish

    image 

    Het is gewoon System Center Operations Manager & System Center Essentials maar alleen dan geconfigureerd om Desktops te monitoren

    Domain Upgrade van 2003 R2 naar 2008 R2

    1. Installeer een Windows 2008 R2 server en zorg dat deze aan het huidige domain is toegevoegd.

    2. Zorg er voor dat de eventuele DHCP role al overgezet is.

    2. Kopieer van de 2008 R2 iso de adprep map naar c:\ van de eerste 2003 domain controller.

    3. Voer het volgende uit: adprep /forestprep > c:\forestprep.log
    image image
     
    4. Check domain level
    image
    4. Voor nu het volgende uit adprep /domainprep
    image  
    5. Nu kun je de geïnstalleerde Windows 2008 R2 server upgraden tot domain controllers door middel van DC promo te draaien.

    6. Draai dcpromo op desbetreffende servers. Gebruik hiervoor een account dat lid van is van de volgende groepen Schema Admins, Enterprise Admins, Domain admins.

    7. Zet alle rollen over naar de 2008 R2 domain controllers
    7.1 RID Master, PDC Emulator en Infrastructure Masters
    image image

    7.2 Active Directory Domains and Trust

    image image

    7.3 Active Directory-schema

    De module Active Directory-schema installeren

    1. Klik op Start, klik met de rechtermuisknop op Opdrachtprompt en klik vervolgens op Als administrator uitvoeren.

      If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.

    2. Typ de volgende opdracht bij de opdrachtprompt en druk vervolgens op ENTER:

      regsvr32 schmmgmt.dll
      image

    3. Klik op OK om het dialoogvenster te sluiten waarin wordt bevestigd dat de bewerking is gelukt.

    4. Klik in het menu Start op Uitvoeren, typ mmc en klik op OK.

    5. Klik in het menu Bestand op Module toevoegen/verwijderen.

    6. Klik onder Beschikbare modules op Active Directory-schema, klik op Toevoegen en klik vervolgens op OK

    7. En vervolgens doe Change Schema Master

     image image 

    8. Check met het volgende command of alle FSMO rollen netjes zijn omgezet: netdom.exe query fsmo
    image

    9. Zo te zien zijn alle rollen netjes omgezet en kan ik win2k3r2x64 gaan demoten.

    10. Zorg er voor dat de DHCP scope en overige servers de juiste dns instellingen hebben.

    11. Voer dcpromo uit.
    image image
    image image
    image image
    image

    12. Nu nog even de win2k3r2x64 server uit het domein halen dan kan daarna de server netjes uitgezet worden.

    Translate »