Archive

Posts Tagged ‘Exchange’

Exchange 2013 Preview – ExchangeSetup.log and few observations

August 13th, 2012 No comments

This is a short post around Exchange 2013 Preview setup, there is no much useful information, but just few observations as the title suggests.  Note:- This is from a Exchange 2013 Preview Setup of ClientAccess and Mailbox Role Combined on a Windows Server 2012 RC.

Observation 1:

First few lines of the setup log:

Fun part, the setup log still says “Exchange Server 2010 Setup”, next you could also see the OS version on which the setup is run and the setup version, which here is 15.0.466.13

Next, it will record the credentials used to run the setup, this is helpful in some setup failure troubleshooting.

The next important information is the complete setup options chosen while starting the setup is recorded, this is another useful data.

 

Observation 2:

Detailed role components listed in the setup

There is no HUB and EDGE Roles in Exchange 2013 but you could see here, its installing components required for the transport functions.

The $RoleInstallPath  is not defined while the setup is run only with /PrepareAD switch

This was found while I was troubleshooting my ADPrep failure, interesting – if you see Install-ExchangeSchema function, it looks like its constructing a path to a schema file, but using a variable $RoleInstallPath which is not defined, but more interestingly the function still constructs the path as you can see the end lines showing the complete expected path.

But while you are installing the any roles such as ClientAccess or Mailbox the Variable is well defined

 

 Observation 3:

 Some services started by the setup as seen from the logs:

So is it necessary to set “Net. Tcp Port Sharing Service” to Automatic as a pre requisite, that needs to be checked during next installation.

That’s all for now.

 

Please drop your comments.

Cheers!

My First Installation of Exchange 2013 Preview

August 1st, 2012 No comments

Disclaimer: This post is based on a pre-release version of Microsoft Exchange Server, do not use this for your production deployment.

I could download Preview on the released date, but first I had to install a DC, so I could install Exchange the next day and after few days now I am consolidating all the experience and steps in setting up my first Exchange server.  Not to mention that again I will be performing all tasks from my favorite console, Powershell.

I have already installed a AD Forest and DC on a Windows Server 2012 RC, and in this post we will be looking at installing Exchange on another Window Server 2012 RC Virtual Machine, this will be a combined installation (Client Access + Mailbox) as separated installation is NOT supported on WinSrv8.

 

Brief Overview of the Process:

  • Assign IP Address, DNS Server Addresses, Rename the Server, Add to Domain
  • Log in using Exchange Installation account and add the account to local admin group
  • Disable UAC – don’t ask me why and Reboot
  • Extracting Setup Files
  • Install RSAT-ADDS windows features and run PrepareAD
  • Verifying PrepareAD Changes
  • Set NetTcpPortSharing Service to Auto and Start
  • Install CAS and Mailbox Role OS Components
  • Install Role Specific prerequisites
  • Uninstall Microsoft Visual C++ 11 Beta Redistributable (x64)
  • Install Roles
  • First Quick Look

 

Lets quickly look at the steps with some screen shots:

 

Start with invoking Powershell as Administrator

I will skip the IP Address and Computer Rename, part, lets start with Adding the server to Domain, the Get-Credential cmdlet used as the value for -DomainCredential Parameter will prompt you to enter the credential of the Domain Account which has rights to add a machine to domain

 

Now login with Exchange Installation Account (this account is member of Domain Admins, Enterprise Admins and Schema Admins now – as these rights are required while setting up first Exchange Server, afterwards these will be revoked), and Add the Account to local administrators group

Now, you can disable UAC (User Access Control), this will avoid the prompts popping up while writing some files or making changes, its not necessary though.

Extract Setup File:

Double click on the downloaded Setup file Exchange-x64.exe and save it to a folder you can use again.

Preparing AD and Organization for Exchange 2013 Installation

 

Installing PrepareAD pre-requisites:

Run Exchange Setup with below switches, of cause GetExchangeLab is my Exchange Organization Name:

 

Setup.exe /PrepareAD /OrganizationName:GetExchangeLab /IAcceptExchangeServerLicenseTerms

 

Verifying the PrepareAD Changes:

Checking the Exchange 2013 Universal Security Groups created and comparing with Exchange 2010

From the above screen shots, I could see we still have 16 USGs created, but with one change, “Exchange All Hosted Organizations” has been removed and “Compliance Management” has been Added. So this clearly shows that managing hosted mailboxes in an hybrid scenario has got some good changes especially related to Applying  Password Settings

 

Having a look at the Configuration Partition where all Exchange Configurations are stored under Services Node, I don’t see any changes on this part:

 

Lets have a look at what configuration objects are added or removed from the Organization Container:

 

So, there are these three new stuff: “Auth Configuration”,  “Team Mailbox Provisioning Policies”, and “Workload Management Settings”.

The gone are “Availability Configuration”, and “Mailbox Replication”

 

Checking the OtherWellKnowObjects attribute of the “Microsoft Exchange” Container, which should contain all the Universal Security Groups created by the setup, you can Expand the Property from Powershell console to view the complete list:

From LDP it was easy to view this attribute:

 

Finally, lets verify our Schema and PrepareAD as per TechNet

 

ms-Exch-Schema-Verision-Pt (Object) – rangeUpper (attribute) -15132

Organization Container  (Object)  – objectVersion (attribute) – 15448

MESO Container  (Object)  – objectVersion  (attribute) – 13236

And you cannot use Get-ExchangeServer cmdlet until you got your first server installed

 

Installing and configuring Exchange 2013 Mailbox and Client Access Pre-Requisites

 

Enable and Start Service NetTcpPortSharing

 

Install Role Specific OS Components:

Components for Mailbox and Client Access Combined Installation:

http://technet.microsoft.com/en-us/library/bb691354(v=exchg.150)

 Install-WindowsFeature AS-HTTP-Activation, Desktop-Experience, NET-Framework-45-Features, RPC-over-HTTP-proxy, RSAT-Clustering, Web-Mgmt-Console, WAS-Process-Model, Web-Asp-Net45, Web-Basic-Auth, Web-Client-Auth, Web-Digest-Auth, Web-Dir-Browsing, Web-Dyn-Compression, Web-Http-Errors, Web-Http-Logging, Web-Http-Redirect, Web-Http-Tracing, Web-ISAPI-Ext, Web-ISAPI-Filter, Web-Lgcy-Mgmt-Console, Web-Metabase, Web-Mgmt-Console, Web-Mgmt-Service, Web-Net-Ext45, Web-Request-Monitor, Web-Server, Web-Stat-Compression, Web-Static-Content, Web-Windows-Auth, Web-WMI, Windows-Identity-Foundation

Install Role Specific Pre-Requisites: 

Install below three pre requisites in its order, installation is pretty straight forward, just double click to start the setup and following the easy wizard will do the job

  1. Microsoft Unified Communications Managed API 4.0, Core Runtime 64-bit
  2. Microsoft Office 2010 Filter Pack 64 bit
  3. Microsoft Office 2010 Filter Pack SP1 64 bit

UC Managed API 4.0 Core Runtime x64

Office 2010 Filter Pack

SP1 for Office 2010 Filter Pack

 

Very Important point, do not miss this step:

Uninstall Microsoft Visual C++ Redistributable (x64) 11.0.50531.0

Why do you need to do this:

Microsoft Exchange Server 2013 Preview requires that you install Microsoft Unified Communications Managed API (UCMA) 4.0, Core Runtime 64-bit before you install Exchange. However, UCMA contains a version of Microsoft Visual C++ 11 Beta Redistributable that’s incompatible with Exchange 2013 Preview. After you install UCMA 4.0, but before you install Exchange 2013 Preview, you need to uninstall Microsoft Visual C++ 11 Beta Redistributable (x64) – 11.0.50531.

Read More here: http://technet.microsoft.com/en-us/library/ms.exch.setupreadiness.vc11runtime(v=exchg.150)

 

Running Unattended setup for Client Access and Mailbox Server Role Installation:

Setup.exe /mode:Install /Roles:ClientAccess,Mailbox /IAcceptExchangeServerLicenseTerms

As you see it is a 14 step process, and trust me from step 8 to 13 it takes quite a long time. The TechNet Article says estimated 60 minutes, but I would say nearly 90 minutes.

 

So, we are done with the installation, now lets have a very quick first look:

Options added to Start Menu, read it properly its not EMC, its just the Toolbox, and Management Shell, as you know EMC is history now. By the way you would also have noticed, during the setup once you install OS components Start Menu similar to Win8 RP has appeared, the component for this was Desktop-Experience

 Exchange Management Shell:

Exchange Toolbox – Where is my Best Practice Analyzer and Other tools?

The New Friend – Exchange Administration Center – Replacement for EMC and a Cloud Enabled Console

Inside EAP

 

Okey, that’s it from my First Server Installation, there were some issues I faced, that  would be another post.

I will try to explore further the new product, and share my experience here.

 

Thanks for reading this far :-)

Please drop your comments!