Vous êtes sur la page 1sur 48

EXPRESSCLUSTER X for Windows

Quick Start Guide for Microsoft Exchange Server 2013


Version 1

NEC EXPRESSCLUSTER X 3.0/3.1 for Windows


Microsoft Exchange 2013 Quick Start Guide
Document Number ECX-001-QSG, Version 1, April 2013
Copyright 2013 NEC Corporation.
Microsoft and Windows are registered trademarks of Microsoft Corporation.
Other system names, company names, and product names are trademarks and
registered trademarks of their respective companies.

EXPRESSCLUSTER X for Windows Microsoft Exchange Server 2013

Disclaimer
The contents of this document are subject to change without notice. NEC Corporation assumes
no responsibility for technical or editorial mistakes in or omissions from this document. To obtain
the benefits of the product, it is the customers responsibility to install and use the product in
accordance with this document. The copyright for the contents of this document belongs to NEC
Corporation. Copying, altering, or translating this document, in full or in part, without the
permission of NEC Corporation, is prohibited.

EXPRESSCLUSTER X for Windows Microsoft Exchange Server 2013

Contents
Using this guide...................................................................................................................... 5
Where to go for more information ........................................................................................... 6
1
Overview ............................................................................................................................ 7
2
System Requirements and Planning................................................................................... 8
2.1
System Requirements ................................................................................................ 8
2.2
System Planning......................................................................................................... 9
3
Base System Setup ...........................................................................................................11
3.1
Setup the Primary Server (Machine 1) .......................................................................11
3.2
Setup the Standby Server (Machine 2) ......................................................................12
4
Microsoft Exchange 2013 Installation ................................................................................13
4.1
Microsoft Exchange 2013 setup on the Primary Server (Machine 1) ..........................13
4.2
Microsoft Exchange 2013 setup on the Standby Server (Machine 2) .........................17
5
EC X Server Installation ....................................................................................................18
5.1
Install EC X on the Primary Server (Machine 1) .........................................................18
5.2
Install EC X on the Standby Server (Machine 2) ........................................................18
5.3
Restart the Primary and Standby Servers (Machines 1 & 2) ......................................18
6
Base Cluster Setup ...........................................................................................................19
6.1
Install Java Runtime Environment (JRE)....................................................................19
6.2
Start the cluster manager ..........................................................................................19
6.3
Create a cluster .........................................................................................................19
6.4
Create a failover group ..............................................................................................19
6.5
Create Floating IP and Mirror Disk Resources ...........................................................20
6.6
Upload the cluster configuration and initialize the cluster ...........................................21
7
Microsoft Exchange 2013 Cluster Setup............................................................................23
7.1
Move the Mailbox Database from default location to Data Partition ...........................23
7.2
Configure services on the Primary Server (Machine 1) ..............................................23
7.3
Configure the data path on the Primary Server (Machine 1) ......................................24
7.4
Configure services and the data path on the Standby Server (Machine 2) .................25
7.5
Adding a Script resource for Single Mailbox Database (Private and Public) ...............25
7.6
Upload the cluster configuration and start the cluster.................................................26
8
Preparing Scripts for Single Mailbox Database ..................................................................27
9
Final Deployment in a LAN Environment ...........................................................................43
10 Common Maintenance Tasks ............................................................................................44
10.1 Start Cluster Manager................................................................................................44
10.2 Reboot/shutdown one or all servers...........................................................................44
10.3 Startup/stop/move failover groups .............................................................................45
10.4 Isolate a server for maintenance ................................................................................45
10.5 Return an isolated server to the cluster .....................................................................45
10.5.1
Automatic Recovery ...........................................................................................45
10.5.2
Manual Recovery ...............................................................................................45
10.6 Rebuild a mirror disk ..................................................................................................45
Appendix A: EC X Server Uninstallation ....................................................................................47
Appendix B: Example System Planning Worksheet ..................................................................48

EXPRESSCLUSTER X for Windows Microsoft Exchange Server 2013

About this Guide


Using this guide
This guide provides a hands-on Quick Start set of instructions to install and configure
EXPRESSCLUSTER X (EC X) for Windows with Microsoft Exchange Server 2013. The guide
assumes users have Microsoft Windows system administration knowledge and skills with
experience in installation and configuration of Microsoft Windows operating systems, networks,
and Exchange.
This guide covers the following topics:
Chapter 1: Overview describes the general steps of setup procedures.
Chapter 2: System Requirements and Planning describes the overall system and network
requirements, and includes a set of tables for planning the installation and configuration.
Chapter 3: Base System Setup describes the configurations required for each system before
installing target application.
Chapter 4: Microsoft Exchange 2013 Installation describes the installation of Microsoft
Exchange 2010 Server on the Primary and Standby Servers.
Chapter 5: EC X Server Installation describes EC X installation on the Primary and Standby
Servers.
Chapter 6: Base Cluster Setup describes the process of generating a cluster, creating a
failover group, and uploading a configuration.
Chapter 7: Microsoft Exchange 2013 Cluster Setup describes required configuration to enable
full cluster functionality.
Chapter 8: Preparing Scripts for Single Mailbox Database describes script preparation before
uploading to configuration.
Chapter 9: Final Deployment in a LAN Environment describes steps to verify the cluster and
complete the deployment on a Primary and a Standby Server.
Chapter 10: Common Maintenance Tasks describes how to perform common maintenance
tasks using the EC X Manager.

EXPRESSCLUSTER X for Windows Microsoft Exchange Server 2013

Where to go for more information


Refer to additional documentation under the documentation directory on the
EC X distribution CD.
For more information, go to: http://www.nec.com/expresscluster
Other EC X guides are at:
http://www.nec.com/expresscluster/en/support/manuals.html

Getting Started Guide General cluster concepts and overview of EC X functionality.

Installation and Configuration Guide EC X installation and configuration procedures.

Reference Guide Commands for EC X scripts and maintenance commands to


execute from the command prompt.

Contact: info@expresscluster.jp.nec.com

EXPRESSCLUSTER X for Windows Microsoft Exchange Server 2013

1 Overview
The general procedure to deploy Microsoft Exchange Server 2013 with EC X on two servers
(Primary and Standby) consists of the following major steps:
1. Perform system planning to determine requirements and specify configuration settings
prior to the start of actual system installation and configuration.
2. Prepare the Primary and Standby Servers, including OS installation and configuration.
3. Install, configure, and verify Microsoft Exchange 2013 on the Primary and Standby
Servers.
4. Install and configure EC X on the Primary and Standby Servers.
5. Create and configure the EC X failover group to enable continuous protection and
automatic recovery for Microsoft Exchange 2013.
6. Upload the configuration file and start the cluster to complete deployment in the mirror disk
configuration.

Client

Primary server

Standby server
Interconnect

Exchange
instance

Active system
local disk

Standby system
local disk

Note
The EC software is run using the domain administrator account.

EXPRESSCLUSTER X for Windows Microsoft Exchange Server 2013

2 System Requirements and Planning


2.1

System Requirements
Machine 1: Primary Server
Machine 2: Standby Server
Machine 3: Test Client

Machine 1
Primary Server

Machine 2
Standby Server

Machine 3
Test Client

CPU

Pentium 4 3.0 GHz or better

Pentium 4 3.0 GHz or better

Memory

8GB or more

512MB or more

Disk

1 physical disk

1 physical disk with 20GB or more


space available

OS partition: 50GB or more space


available (to include the installation of
Microsoft Exchange 2013)
Cluster partition: Partition of 17MB or
more, available for EC X Management
the same size for each server system
Data partition: enough partition space to
store Microsoft Exchange 2013 data

OS

Windows Server 2012 (Standard or


Datacenter) with the latest Service Pack

Windows XP or newer

Software

Java Version 6.0 Update 20 (or later)


enabled Web browser
Microsoft Exchange 2013

Java Version 6.0 Update 20 (or later)


enabled Web browser

Network

2 100Mbit or faster Ethernet network


interface cards

1 100Mbit or faster Ethernet network


interface card

EXPRESSCLUSTER X for Windows Microsoft Exchange Server 2013

2.2

System Planning
Review the requirements from the last section and then fill in the tables of the worksheet below. Refer to
Appendix B for an example worksheet.
Machine 1 Primary Server
Machine 2 Standby Server
Machine 3 Test Client

Table 1: System Network Configuration


Machine

Host name

Network
Connection

IP Address

Subnet
Mask

Default
Gateway

Preferred
DNS Server

Public:
1
Interconnect:
Public:
2
Interconnect:
3

Floating IP (FIP) address:


Web Management Console FIP:
Cluster FIP:

(1) ______________
(2) ______________

Table 2: System OS and Disk Configuration


Machine

OS

Disk 0 (OS Disk)

Boot Partition:
Drive Letter:
Size:
Boot Partition:
Drive Letter:
Size:

Disk 1 (Data Disk)


Cluster Partition:
Drive Letter:
Size (>20MB) :
*Data Partition:
Drive Letter:
Size:

* The size must be large enough to store all data, and log files for a given Microsoft Exchange 2013
installation to meet current and expected future needs.

EXPRESSCLUSTER X for Windows Microsoft Exchange Server 2013

Table 3: System Logins and Passwords


Computer/Account

Login

Password

Machine 1
Administrator
Machine 2
Administrator
Machine 3
Administrator
Domain
Administrator

EXPRESSCLUSTER X for Windows Microsoft Exchange Server 2013

10

3 Base System Setup


3.1

Setup the Primary Server (Machine 1)


1. If necessary, install hardware components, OS, and Service Packs (refer to
Chapter 2).
2. Verify basic system boot and administrator login functionality and availability of
required hardware components (refer to Chapter 2).
3. Configure network interface names.

a. Rename the network interface for network communication with client systems to
Public.

b. Rename the network interface for internal EC X management and data mirroring
network communication between servers to Interconnect.
4. Configure the Network interface TCP/IP settings:

a. In the Network Connections window, right-click Public and then click


Properties.

b.
c.
d.
e.

In the Properties window, double-click Internet Protocol Version 4 (TCP/IPv4).


Click the Use the following IP address: option button.
Type the IP address, Subnet mask, and Default gateway (refer to section 2.2).
Click the Use the following DNS server addresses: option button, and then
type the address of the Preferred DNS server (refer to section 2.2).

f. Click the Advanced button. Click the DNS tab. Click to clear the Register this
connections addresses in DNS check box. Click OK. Click OK. (Two times
total).

g. Go back to the Network Connections window. Right-click Interconnect, and


then click Properties.

h.
i.
j.
k.

In the Properties window, double-click Internet Protocol Version 4 (TCP/IPv4).


Click the Use the following IP address: option button.
Type the IP address and Subnet mask (refer to section 2.2).
Click OK. Click OK. (Two times total). Click Close.

5. Configure network interface binding order:


a. In the NetworkConnections window, click the Advanced menu, and click
Advanced Settings. If the menu bar is not visible, press the Alt-key.
b. On the Adapters and Bindings tab, under Connections: use the up and down
arrow buttons to move Public to the first (top) position. Click OK.
c. Close the Network Connections window.

EXPRESSCLUSTER X for Windows Microsoft Exchange Server 2013

11

6. Connect the network interfaces:


1. Connect the network interface Interconnect to the Cluster Interconnect
Network, and verify a healthy physical link status.
2. Connect the network interface Public to the Public Network and verify
connectivity to the Test Client (Machine 3).
7. Configure the Data Disk:
a. Make sure the disk device or LUN is initialized as a Windows Basic disk device.
b. Create a mirrored disk cluster partition on the disk and verify it is 17MB or greater.
Assign a drive letter to the partition, but do NOT format (refer to Table 2).
c. Create a mirrored disk data partition on the disk. Assign a drive letter to the
partition and format to NTFS (refer to Table 2).
d. Verify the mirrored disk cluster and data partitions are visible in Windows Explorer
under their assigned drive letters.

3.2

Setup the Standby Server (Machine 2)


Perform steps 1-8 in Section 3.1 on the Standby Server (Machine 2).

EXPRESSCLUSTER X for Windows Microsoft Exchange Server 2013

12

4 Microsoft Exchange 2013 Installation


4.1

Microsoft Exchange 2013 setup on the Primary Server (Machine 1)


Installation steps for Microsoft Exchange 2013
1. Log onto the server with a user account which has permissions to install Microsoft
Exchange Server 2013.
2. Install the Remote Tools Administration Pack by opening a Windows PowerShell
window and executing the following command:
Install-WindowsFeature RSAT-ADDS
3. Next run the following command to install the required windows components:
Install-WindowsFeature AS-HTTP-Activation, Desktop-Experience, NETFramework-45-Features, RPC-over-HTTP-proxy, RSAT-Clustering, RSATClustering-CmdInterface, RSAT-Clustering-Mgmt, RSAT-Clustering-PowerShell,
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
Restart the server when prompted.
4. Install Microsoft Unified Communications Managed API 4.0, Core Runtime 64-bit
from http://go.microsoft.com/fwlink/?LinkId=260990.
5. Next Install the Microsoft Office 2010 Filter Packs Version 2.0 from
http://go.microsoft.com/fwlink/?LinkID=191548.
6. Then Install the Microsoft Office 2010 Filter Packs Version 2.0 Service pack 1
from http://go.microsoft.com/fwlink/?LinkID=262358.
7. To install Exchange 2013, open the Exchange 2013 installer source path and
execute setup.exe. The Installation wizard will start.

EXPRESSCLUSTER X for Windows Microsoft Exchange Server 2013

13

8. On the Check for Updates? page, select either option and click next.
Note: If the option to download updates was selected, wait for the download to finish,
and click next.
9. After files are copied and the setup is initialized, click next on the Introduction page.

10. Accept the license agreement. Click next.

EXPRESSCLUSTER X for Windows Microsoft Exchange Server 2013

14

11. Select a setting for providing usage feedback. Click next.

12. Select the Server Roles (Mailbox and Client Access). Click next.

13. Specify the Exchange Server installation path and click next.

EXPRESSCLUSTER X for Windows Microsoft Exchange Server 2013

15

14. Type the name of Exchange Organization. Click next.

15. Select an option in the Malware Protection Settings window. Click next.
16. After the Readiness Checks have run and Exchange is ready to be installed, click
install or next and installation begins.

EXPRESSCLUSTER X for Windows Microsoft Exchange Server 2013

16

17. To complete the Exchange 2013 installation, click finish.

18. Restart the server.


Note
Post-installation tasks can be performed in Exchange Administration Center
(https://%machine name%/ECP) before or after restarting the server.

4.2

Microsoft Exchange 2013 setup on the Standby Server (Machine 2)


Perform the steps under 4 ("Microsoft Exchange 2013 Installation") on the
Standby Server (Machine 2).
Note
Reboot the Server whenever required.
Some steps are not available on the second installation.

EXPRESSCLUSTER X for Windows Microsoft Exchange Server 2013

17

5 EC X Server Installation
5.1

Install EC X on the Primary Server (Machine 1)


1.
2.
3.
4.
5.
6.
7.

Insert the EXPRESSCLUSTER X CD-ROM into a CD-ROM drive on the server.


In the License Agreement window, click I Agree.
In the pop-up window, click NEC EXPRESSCLUSTER for Windows.
Click on NEC EXPRESSCLUSTER X 3.1 for Windows.
In the Welcome window, click Next.
In the Choose Destination Location window, click Next.
In the next window, click Install.

8.

In the Port Number window, if necessary, modify the default port numbers. Click
Next.
In the Filter Settings of Shared Disk window, click Next.
In the Confirmation window, click Yes.
In the License Manager window, click Register.
In the License Registration window, click Register with License Information.
In the Product Selection window, select the OS and Product/Trial types. For
Product Name, click EXPREESSCLUSTER X 3.1 for Windows. Click Next.
In the License Unit Selection window, depending on the type of license, enter the
number of CPU or Node Units. Click Next.
In the License Key Entry window, enter the Serial No. and License Key. Click
Next.
In the License Registration Confirmation window, confirm the information entered
is correct. Click Next.
Click OK. If the license registration fails, start again from step 11.
Repeat steps 11-17 again for the EXPRESSCLUSTER X Replicator 3.1 for
Windows product license. Select EXPRESSCLUSTER X Replicator 3.1 for
Windows as the Product Name in step 13.
In the next window, click Finish.
On the InstallShield Wizard Complete window, click the No, I will restart my
computer later option button, and then click Finish.
In the next window, click Exit. Click Exit. (Two times total).

9.
10.
11.
12.
13.
14.
15.
16.
17.
18.

19.
20.
21.
5.2

Install EC X on the Standby Server (Machine 2)


Perform all of the steps in Section 5.1 on the Standby Server.

5.3

Restart the Primary and Standby Servers (Machines 1 & 2)


First restart the Primary Server, and then restart the Standby Server.

EXPRESSCLUSTER X for Windows Microsoft Exchange Server 2013

18

6 Base Cluster Setup


6.1

Install Java Runtime Environment (JRE)


Verify JRE Version 6.0 Update20 or newer is installed on Test Client (Machine 3). Also
install on the nodes (Machine1 and Machine2) if they might be used for cluster
management. If necessary, install JRE by performing the following steps:
1. Run jre-1_5_0 <build and platform version>.exe (a compatible JRE distribution is
in the jre folder on the EXPRESSCLUSTER CD).
2. In the License Agreement window, verify the default Typical setup option button is
selected. Click Accept.
3. On the Installation Completed window, click Finish.

6.2

Start the cluster manager


Start by accessing port 29003 from the Web browser of Test Client (Machine 3).
Example: http://10.1.1.1:29003. When the security warning window displays, select the
Always trust content from this publisher check box. Click Run.

6.3

Create a cluster
For all of the steps below, refer to Table 1 for the IP addresses and server names.
1. When the cluster manager is opened for the first time, there is a pop-up window with
three options. Click Start cluster generation wizard.
2. In the new window, type a cluster name. (Example: cluster).
3. Type the Management IP address, and click Next.
4. In the next window, to add another server to the cluster, click Add.
5. Type the hostname or the IP address of the second server, and then click OK.
6. Both servers are now on the list. If the Primary Server is not in the top (Master)
Server position, then move it up. Click Next.
7. EC X automatically detects the IP addresses of the servers. Select the network to
use the Heartbeat path in the Kernel Mode type. The primary network is for
mirroring the data; set Type to Mirror Communication and the MDC as mdc1. Click
Next.
8. In the NP Resolution window, click Next.

6.4

Create a failover group


For all of the steps below, refer to Table 1 for the IP addresses and server names.
1. To add a group, in the Cluster Generation Wizard, in the Group section, click Add.

EXPRESSCLUSTER X for Windows Microsoft Exchange Server 2013

19

2. In the next window, select failover for group type. Name the group (Example:
Exchange_Failover), click Next, and then click Next. (Two times total).
3. Select the default options for the Group Attribute Settings, and then click Next.
6.5

Create Floating IP and Mirror Disk Resources


1. In the Group Resources section of the Cluster generation wizard, to add a resource,
click Add.
2. In the next window, to add a Floating IP Resource (FIP), from the drop-down menu,
select floating IP resource, and then click Next.
3. By default, the FIP resource is not dependent on any other resource. Click Next.
4. Verify the default options are correct, and then click Next.
5. Type the floating IP address that is not used by any other network element, and then
click Finish.
6. To Add a mirror disk (MD), click Add.
7. In the next window, from the drop-down menu, select mirror disk resource, and
then click Next.
8. Verify the Follow the default dependency box is selected, and then click Next.
9. Verify the default options are correct, and then click Next.
10. Click Add to add the first server.
11. Click Connect to populate the server partitions.
12. Select the data and cluster partitions. Click OK.
13. Repeat steps 9-11 for the second server.
14. Click Finish.
15. Click Finish, and then click Next.
16. If a version of ExpressCluster previous to version 3.1 is used, the floating ip
monitor (fipw1) may not be automatically created. If it is missing, add it with the
following six steps:
17. In the Monitor Resource section, click Add.
18. Select floating ip monitor, and then click Next.
19. In the Target Resource box, click on Browse. Select the %fip resource%, and then
click OK. Click Next. Click Next. (Two times total).
20. In the Recovery Target box, click Browse.
21. Click %failover group% (Example: Exchange_Failover), and then click OK.
22. To add the FIP monitor, click Finish.
23. Click Finish.
24. Click Yes to enable recovery action when an error occurs in a monitor resource.

EXPRESSCLUSTER X for Windows Microsoft Exchange Server 2013

20

6.6

Upload the cluster configuration and initialize the cluster


1. In the Cluster Manager window, click the File menu and then Apply the
Configuration File. Click OK. Click OK. (Two times total).
2. After the upload is complete, change to Operation Mode.
3. Restart Cluster Manager. Click the Service menu, and then click Restart Manager.
Click OK.
4. Click the Service menu, and then click Start Cluster. Click OK.
5. When the cluster tree displays, in the left pane of the Cluster Manager window,
expand the %failover group% section, right click %mirror disk%, and click Details.
Mirror disk copy starts automatically, replicating data from the Primary to the Standby
server. Refer to the figure below.

Note
This step may take a while depending on the size of the data in the mirrored disk data
partition.

EXPRESSCLUSTER X for Windows Microsoft Exchange Server 2013

21

6. After the copy completes, in the Mirror Disk Helper window, click Close.
Refer to the figure below.

7. In the Cluster Manager window, all icons in the tree view are now green. Refer
to the figure below.

EXPRESSCLUSTER X for Windows Microsoft Exchange Server 2013

22

7 Microsoft Exchange 2013 Cluster Setup


To configure the Microsoft Exchange 2013 cluster, services are configured with EC. Move
the Microsoft Exchange 2013 data to the data partition and change the path using the
Exchange Administration Center.
7.1

Move the Mailbox Database from default location to Data Partition

1. Create a folder (Mailbox Folder) on the Data Partition (example: X:\Mailbox Folder).
2. Before moving the Mailbox Database and LogFolderPath, make a backup copy of all
files.
3. Once the backup is made, click on Start and click on Exchange Management Shell.
4. Run the following command at the prompt:
Move-DatabasePath Identity <MDB name> -EdbFilePath <new path to .edb file> LogFolderPath <new path to folder>
Example: Move-DatabasePath Identity Mailbox01 EdbFilePath X:\Mailbox
Folder\Mailbox01.edb LogFolderPath X:\Mailbox Folder
Refer to the figure below.

5. To verify the change, run the command (using mailbox name in example above):
Get-MailboxDatabase Mailbox01 | Fl Name,*Path*
7.2

Configure services on the Primary Server (Machine 1)


1. Right-click Start and then click Run.
2. Type services.msc and click OK to open the Services management console.
3. Right-click on the services specified below one-at-a-time, and then select Properties.
4. Set the startup type to manual and then stop the service.
a. Microsoft Exchange Active Directory Topology

EXPRESSCLUSTER X for Windows Microsoft Exchange Server 2013

23

b.
c.
d.
e.
f.
g.
h.
i.
j.
k.
l.
m.
n.
o.
p.
q.
r.
s.
t.
u.
v.
w.
x.
y.

7.3

Microsoft Exchange Anti-spam Update


Microsoft Exchange Diagnostics
Microsoft Exchange EdgeSync
Microsoft Exchange Frontend Transport
Microsoft Exchange Health Manager
Microsoft Exchange IMAP4
Microsoft Exchange Information Store
Microsoft Exchange Mailbox Assistants
Microsoft Exchange Mailbox Replication
Microsoft Exchange Mailbox Transport Delivery
Microsoft Exchange Mailbox Transport Submission
Microsoft Exchange POP3
Microsoft Exchange Replication
Microsoft Exchange RPC Client Access
Microsoft Exchange Search
Microsoft Exchange Search Host Controller
Microsoft Exchange Service Host
Microsoft Exchange Throttling
Microsoft Exchange Transport
Microsoft Exchange Transport Log Search
Microsoft Exchange Unified Messaging
Microsoft Exchange Unified Messaging Call Router
Microsoft Filtering Management Service
Tracing Service for Search in Exchange

Configure the data path on the Primary Server (Machine 1)


Move the Queue folder from default location to the Data Partition.
1. Create a folder (name: Queue directory) in the Data Partition (example: X:\Queue
directory)
2. Start Windows Explorer on the server and open the %Exchange_2013_installation
folder%\bin folder (C:\Program Files\Microsoft\Exchange Server\V15\Bin).
3. Open the file EdgeTransport.exe.config by using Notepad.
4. Change the following path for the <appSettings> section to the queue storage
destination:
<add key=QueueDatabasePath value=%LocalPath% />
<add key=QueueDatabaseLoggingPath value = %LocalPath% />
5. Set the %LocalPath% value to X:\Queue directory.

EXPRESSCLUSTER X for Windows Microsoft Exchange Server 2013

24

6. Save and close the EdgeTransport.exe.config file.


7. Delete files from the original location (for example: C:\Program
Files\Microsoft\Exchange Server\V15\TransportRoles\data\Queue)

7.4

Configure services and the data path on the Standby Server (Machine 2)
1. In the Cluster Manager, right-click %failover group%.
2. Click Move.
3. Select the Standby Server. Click OK.
4. Perform steps 7.2 and 7.3 on the Standby Server.
Note
New directories will not need to be created on the Data Partition.

7.5

Adding a Script resource for Single Mailbox Database (Private and Public)
1. Locate or create Exchange failover scripts. The scripts are located in Chapter 8
and include start.bat, stop.bat, W#EXCHG.bat, and exch.vbs.
2. On the Test Client (Machine 3) open the Cluster Manager (Example: Example:
http://10.1.1.1:29003)
3. Stop the Cluster. Click on the Service menu at the top of the Cluster Manager
window, and then click Stop Cluster. Click OK to confirm.
4. Switch to the configuration mode. Click the drop-down list at the top left corner of
the Cluster Manager, and then click Config Mode.
5. Right-click on the %failover group%, and then click Add Resource.
6. From the drop-down list, select script resource, and give a name to the resource
( example.: Exchange_Script ). If necessary, add optional comments.
7. Click Next.
8. By default, the Follow the default dependency option is selected. Click Next.
9. Click Next if the default values are acceptable. Or make changes. To learn more,
refer to the EXPRESSCLUSTER Reference Guide.
http://www.nec.com/en/global/prod/expresscluster/en/support/manuals.html
10. Select start.bat and click Replace.
11. Navigate to the location of start.bat in the Open dialog window (refer to Exchange
2013 scripts in Chapter 8). Select start.bat, and then click Open. Click Yes to
confirm replacing the old file with the new one.
12. Select stop.bat and click replace.

EXPRESSCLUSTER X for Windows Microsoft Exchange Server 2013

25

13. Navigate to the location of stop.bat in the Open dialog window (refer to Exchange
2013 scripts in Chapter 8). Select stop.bat, and then click Open. Click Yes to
confirm replacing the old file with the new one.
14. Click Add and Browse to the directory containing exch.vbs (refer to Exchange
2013 scripts in Chapter 8). Change type to All Files to view. Select exch.vbs and
click Open. Click OK.
15. Click Add and Browse to the directory containing W#EXCHG.bat (refer to
Exchange 2013 scripts in Chapter 8). Select W#EXCHG.bat and click Open.
Select the Edit and exit box. Click OK.
16. Edit and modify the variables in this script to match your environment (refer to the
System Planning worksheet in section 2.2). Save and close.
17. Click Finish.
18. Right-click on Cluster (refer to the figure below), and then click Properties.

19. Click the Account Tab. Click Add to add your domain account credentials.
20. Type the account name in the User Name section (example:
DOMAIN\administrator).
21. Click Change to set the User name and password. Type a password. Click OK.
22. Click OK to close the Enter account window and then OK again to close the

Cluster Properties window.

7.6

Upload the cluster configuration and start the cluster.


1. In the Cluster Manager window, click the File menu, and then Apply the
Configuration File. Click Yes. Click OK.
2. After the upload is complete, change to the Operation Mode.
3. Restart Cluster Manager. Click the Service menu, and then click Restart Manager.
Click OK.
4. Click the Service menu, and then click Start Cluster. Click OK.

EXPRESSCLUSTER X for Windows Microsoft Exchange Server 2013

26

8 Preparing Scripts for Single Mailbox Database


Single Mailbox Database
Single Private and Public Mailbox Database are configured in the Exchange 2013
environment. Copy the scripts and paste into Notepad. Save the specified file name.
File Name: start.bat
rem ***************************************
rem *
START.BAT
*
rem *
*
rem * Title : Exchange start option *
rem * Date : 2011.09.22
*
rem * Version : 3.0
*
rem ***************************************
rem --------------------------------------rem Set parameters
rem -----------------------------------------CALL W#EXCHG.BAT
rem -----------------------------------------rem Log output
rem -----------------------------------------IF "%W#EXCHG5%" == "0" GOTO NO_LOG_EXCHG1
ARMLOG "START START.BAT"
:NO_LOG_EXCHG1
rem ***************************************
rem Change parameters to your environment
rem ***************************************
SET DOMAIN_ADMIN_ACCOUNT=%W#EXCHG1%
SET AD_SERVER_NAME=%W#EXCHG2%
SET PRIMARY_SERVER_NAME=%W#EXCHG3%
SET BACKUP_SERVER_NAME=%W#EXCHG4%
SET AD_ADMIN=%W#EXCHG6%
SET AD_ADMIN_PWD=%W#EXCHG7%
EXPRESSCLUSTER X for Windows Microsoft Exchange Server 2013

27

SET AD_DOMAIN=%W#EXCHG8%

rem ***************************************
rem Check startup attributes
rem ***************************************
IF "%CLP_EVENT%" == "START" GOTO NORMAL
IF "%CLP_EVENT%" == "FAILOVER" GOTO FAILOVER
IF "%CLP_EVENT%" == "RECOVER" GOTO EXIT
rem CLUSTERPRO Server is not started
GOTO no_arm

rem ***************************************
rem Normal and Failover Startup process
rem ***************************************
:NORMAL
:FAILOVER
rem Check Disk
IF "%CLP_DISK%" == "FAILURE" GOTO ERROR_DISK
IF "%W#EXCHG5%" == "0" GOTO NO_LOG_EXCHG2
ARMLOG "cd %CLP_SCRIPT_PATH%"
:NO_LOG_EXCHG2
cd %CLP_SCRIPT_PATH%
IF "%CLP_SERVER%" == "OTHER" GOTO ON_SECONDARY_SERVER
:ON_SECONDARY_SERVER
IF "%W#EXCHG5%" == "0" GOTO NO_LOG_EXCHG4
ARMLOG "ARMLOAD EXCHSCR /W /U %DOMAIN_ADMIN_ACCOUNT% cscript
exch.vbs %PRIMARY_SERVER_NAME% %BACKUP_SERVER_NAME% %CLP_PRIORITY%
" 2>c:\scripts.txt
:NO_LOG_EXCHG4
EXPRESSCLUSTER X for Windows Microsoft Exchange Server 2013

28

ARMLOAD
EXCHSCR
/W
/U
%DOMAIN_ADMIN_ACCOUNT%
cscript
exch.vbs %PRIMARY_SERVER_NAME% %BACKUP_SERVER_NAME% %CLP_PRIORITY%
2>c:\scripts.txt
IF "%W#EXCHG5%" == "0" GOTO NO_LOG_EXCHG5
ARMLOG "ARMLOAD EXCHSA /S /A /R 1 MSEXCHANGESA"
:NO_LOG_EXCHG5
rem *** start exchange services ***
ARMLOAD EXCHIS /S /A /R 1 MSEXCHANGEIS
ARMLOAD EXCHADT /S /A /R 1 MSEXCHANGEADTopology
ARMLOAD EXCHFMS /S /A /R 1 FMS
ARMLOAD EXCHASU /S /A /R 1 MSEXCHANGEAntispamUpdate
ARMLOAD EXCHDIAG /S /A /R 1 MSExchangeDiagnostics
ARMLOAD EXCHEDS /S /A /R 1 MSEXCHANGEEdgeSync
ARMLOAD EXCHFET /S /A /R 1 MSExchangeFrontEndTransport
ARMLOAD EXCHHM /S /A /R 1 MSExchangeHM
ARMLOAD EXCHIMAP4 /S /A /R 1 MSEXCHANGEIMAP4
ARMLOAD EXCHPOP3 /S /A /R 1 MSEXCHANGEPOP3
ARMLOAD EXCHREPL /S /A /R 1 MSEXCHANGERepl
ARMLOAD EXCHRPC /S /A /R 1 MSEXCHANGERPC
ARMLOAD EXCHFS /S /A /R 1 MSExchangeFastSearch
ARMLOAD EXCHCS /S /A /R 1 HostControllerService
ARMLOAD EXCHSVH /S /A /R 1 MSEXCHANGEServiceHost
ARMLOAD EXCHTHROT /S /A /R 1 MSExchangeThrottling
ARMLOAD EXCHTRN /S /A /R 1 MSEXCHANGETransport
ARMLOAD EXCHTRNLS /S /A /R 1 MSEXCHANGETransportLogSearch
ARMLOAD EXCHMA /S /A /R 1 MSEXCHANGEMailboxAssistants
ARMLOAD EXCHMBR /S /A /R 1 MSExchangeMailboxReplication
ARMLOAD EXCHDELIV /S /A /R 1 MSExchangeDelivery
ARMLOAD EXCHSUB /S /A /R 1 MSExchangeSubmission
ARMLOAD EXCHUM /S /A /R 1 MSExchangeUM
ARMLOAD EXCHUMCR /S /A /R 1 MSExchangeUMCR
ARMLOAD EXCHTRAC /S /A /R 1 SearchExchangeTracing
GOTO EXIT

EXPRESSCLUSTER X for Windows Microsoft Exchange Server 2013

29

rem ***************************************
rem Irregular process
rem ***************************************
rem Process for disk errors
:ERROR_DISK
ARMBCAST /MSG "Failed to connect the switched disk partition" /A
GOTO EXIT

rem CLUSTERPRO Server is not started


:no_arm
ARMBCAST /MSG "CLUSTERPRO Server is offline" /A

rem ***************************************
rem Terminate process
rem ***************************************
:EXIT
rem -----------------------------------------rem Log output
rem -----------------------------------------IF "%W#EXCHG5%" == "0" GOTO NO_LOG_EXCHG_EXIT
ARMLOG "END START.BAT"
:NO_LOG_EXCHG_EXIT
rem -----------------------------------------rem End
rem -----------------------------------------File Name: stop.bat
rem ***************************************
rem *
STOP.BAT
*
rem *
*
rem * Title : Exchange stop option
*
rem * Date : 2011.09.22
*
rem * Version : 3.0
*
rem ***************************************

EXPRESSCLUSTER X for Windows Microsoft Exchange Server 2013

30

rem -----------------------------------------rem Set parameters


rem -----------------------------------------CALL W#EXCHG.BAT
rem -----------------------------------------rem Log output
rem -----------------------------------------IF "%W#EXCHG5%" == "0" GOTO NO_LOG_EXCHG_START
ARMLOG "START STOP.BAT"

:NO_LOG_EXCHG_START
rem ***************************************
rem Check startup attributes
rem ***************************************
IF "%CLP_EVENT%" == "START" GOTO NORMAL
IF "%CLP_EVENT%" == "FAILOVER" GOTO FAILOVER
rem CLUSTERPRO Server is not started
GOTO no_arm

rem ***************************************
rem Normal and Failover Stop process
rem ***************************************
:NORMAL
:FAILOVER
IF "%W#EXCHG5%" == "0" GOTO NO_LOG_EXCHG1
ARMLOG "ARMKILL POP3"
:NO_LOG_EXCHG1
ARMKILL EXCHTRAC
ARMKILL EXCHUMCR
ARMKILL EXCHUM
ARMKILL EXCHSUB
ARMKILL EXCHDELIV
EXPRESSCLUSTER X for Windows Microsoft Exchange Server 2013

31

ARMKILL EXCHMBR
ARMKILL EXCHMA
ARMKILL EXCHTRNLS
ARMKILL EXCHTRN
ARMKILL EXCHTHROT
ARMKILL EXCHSVH
ARMKILL EXCHCS
ARMKILL EXCHFS
ARMKILL EXCHRPC
ARMKILL EXCHREPL
ARMKILL EXCHPOP3
ARMKILL EXCHIMAP4
ARMKILL EXCHHM
ARMKILL EXCHFET
ARMKILL EXCHEDS
ARMKILL EXCHDIAG
ARMKILL EXCHASU
ARMKILL EXCHFMS
ARMKILL EXCHADT
ARMKILL EXCHIS
rem Check Disk
IF "%CLP_DISK%" == "FAILURE" GOTO ERROR_DISK

GOTO EXIT
rem ***************************************
rem Irregular process
rem ***************************************
rem Process for disk errors
:ERROR_DISK
ARMBCAST /MSG "Failed to connect the switched disk partition" /A
GOTO EXIT

rem CLUSTERPRO Server is not started


EXPRESSCLUSTER X for Windows Microsoft Exchange Server 2013

32

:no_arm
ARMBCAST /MSG "CLUSTERPRO Server is offline" /A

rem ***************************************
rem Terminate process
rem ***************************************
:EXIT
rem -----------------------------------------rem Log output
rem -----------------------------------------IF "%W#EXCHG5%" == "0" GOTO NO_LOG_EXCHG_EXIT
ARMLOG "END STOP.BAT"
:NO_LOG_EXCHG_EXIT
rem -----------------------------------------rem End
rem -----------------------------------------File Name: W#EXCHG.bat
rem ***************************************
rem *
W#EXCHG.BAT
*
rem *
*
rem * Title : Exchange setting option *
rem * Date : 2011.09.22
*
rem * Version : 3.0
*
rem ***************************************
rem -----------------------------------------rem Parameters
rem W#EXCHG1 : Domain administrator account
rem W#EXCHG2 : Active Directory server name
rem W#EXCHG3 : Primary server name
rem W#EXCHG4 : Backup server name
rem W#EXCHG5 : Log output using ARMLOG command
rem
0: Disable
rem
1: Enable
rem W#EXCHG6 : Account to change AD setting
rem W#EXCHG7 : Password for user (W#EXCHG6)
EXPRESSCLUSTER X for Windows Microsoft Exchange Server 2013

33

rem W#EXCHG8 : Domain name


rem -----------------------------------------SET W#EXCHG1=DOMAIN\administrator
SET W#EXCHG2=WIN-8DC
SET W#EXCHG3=Primary
SET W#EXCHG4=Standby
SET W#EXCHG5=1
SET W#EXCHG6=administrator
SET W#EXCHG7=admin@123
SET W#EXCHG8=domain.com
File Name: exch.vbs
'===============================================================
' Purpose:
Execute all tasks required to failover Exchange server
' Authors:
Gary Pope and Jennifer Ricketts
' Date:
October 6, 2006
' Revised Date: September 23, 2011
' Revised by: Sanjeev Pandey
' Revised Date: October 3, 2011
' Revised Date: June 11, 2012
'===============================================================
Option explicit
On Error Resume Next
Err.number = 0

'===============================================================
' Variables and Constants
'===============================================================
' Declare variables
Dim strDNSDomain
Dim strPrimary, strBackup
Dim strOrg, strAdminGrp, strMBStorePub, strMBStore, strExchMDBCopy, strOAB
Dim strOrgClass, strAdminGrpClass
Dim strMBStorePrivClass, strMBStorePubClass, strExchMDBCopyClass, strOABClass
Dim objRootDSE
EXPRESSCLUSTER X for Windows Microsoft Exchange Server 2013

34

Dim conn
Dim flagFailOver
' Declare Constants
Const ADS_PROPERTY_APPEND = 3
Const ADS_PROPERTY_DELETE = 4
Const ForReading = 1
Const ForWriting = 2
If WScript.Arguments.Count <> 3 Then
WScript.echo "Invalid parameters."
WScript.Quit
End If
strPrimary = WScript.Arguments(0)
strBackup = WScript.Arguments(1)
WScript.echo "Primary Server:" & strPrimary
WScript.echo "Backup Server:" & strBackup
If WScript.Arguments(2) = "1" Then
flagFailOver = 0
WScript.echo "failback"
Else
flagFailOver = 1
WScript.echo "failover"
End If

' Variables set automatically in script


strOrgClass = "msExchOrganizationContainer"
strAdminGrpClass = "msExchAdminGroup"
strMBStorePrivClass = "msExchPrivateMDB"
strMBStorePubClass = "msExchPublicMDB"
strExchMDBCopyClass = "msExchMDBCopy"
strOABClass = "msExchOAB"
'===============================================================
' Subroutines and Functions
EXPRESSCLUSTER X for Windows Microsoft Exchange Server 2013

35

'===============================================================
' Error handling
Sub ErrorCheck(strError)
If Err.Number <> 0 Then
Wscript.Echo strError & vbCrLf _
& "Error number: " & Err.Number & " " & VbCrLf _
& "Error source: " & Err.Source & " " & vbCrLf _
& "Error description: " & Err.Description & vbCrLf _
& VbCrLf & "Cancelling script now."
Err.Clear
Wscript.Quit
End If
End Sub
' Sets variables
Function GetObjectName (DNSDomainName,Attribute)
Dim strLdapstring, rs1, objVar
strLdapstring = "<LDAP://CN=Configuration," & DNSDomainName & ">;(&(objectClass=" &
Attribute & "));adspath;subtree"
Set rs1 = conn.Execute(strLdapstring)
Set objVar = GetObject(rs1.Fields(0).Value)
GetObjectName = objVar.cn
End Function
'===============================================================
' Mounting MailBox store
'===============================================================
Sub MountStores(Organization, AdminGroup, MailboxStore)
Dim objBase
set objBase=GetObject("LDAP://CN=" & MailboxStore &_
",CN=Databases" &_
",CN=" & AdminGroup &_
",CN=Administrative Groups,CN=" & Organization &_
",CN=Microsoft Exchange,CN=Services,CN=Configuration" &_
"," & strDNSDomain)
objBase.msExchPatchMDB = True 'This database can be overwritten by a restore
EXPRESSCLUSTER X for Windows Microsoft Exchange Server 2013

36

objBase.SetInfo
WScript.echo "New mount setting: " & objBase.msExchPatchMDB
End Sub

'===============================================================
' Change HostServer attribute
'===============================================================
Sub ChangeHostServer(Organization, AdminGroup, MailboxStore )
Dim objBase, strHostServer
set objBase=GetObject("LDAP://CN=" & strExchMDBCopy &_
",CN=" & MailboxStore &_
",CN=Databases" & ",CN=" & AdminGroup &_
",CN=Administrative Groups,CN=" & Organization &_
",CN=Microsoft Exchange,CN=Services,CN=Configuration" &_
"," & strDNSDomain)
strHostServer = objBase.msExchHostServerLink
If flagFailOver Then
strHostServer = Replace(strHostServer, strPrimary, strBackup, 1, -1, vbTextCompare)
Else
strHostServer = Replace(strHostServer, strBackup, strPrimary, 1, -1, vbTextCompare)
End If
objBase.msExchHostServerLink = strHostServer
objBase.SetInfo
WScript.echo "Mailbox Database Host Server set to: " & objBase.msExchHostServerLink
End Sub
'===============================================================
' Change Attributes of Master, Owning and LegacyDN
'===============================================================
Sub ChangeServerattributes(Organization, AdminGroup, MailboxStore)

EXPRESSCLUSTER X for Windows Microsoft Exchange Server 2013

37

' Changing MailBox Owning Server


Dim objBase, strOwningServer, strMasterServer, strLegacyExchangeDN
set objBase=GetObject("LDAP://CN=" & MailboxStore &_
",CN=Databases" & ",CN=" & AdminGroup &_
",CN=Administrative Groups,CN=" & Organization &_
",CN=Microsoft Exchange,CN=Services,CN=Configuration" &_
"," & strDNSDomain)
strOwningServer = objBase.msExchOwningServer
If flagFailOver Then
strOwningServer = Replace(strOwningServer, strPrimary, strBackup, 1, -1,
vbTextCompare)
Else
strOwningServer = Replace(strOwningServer, strBackup, strPrimary, 1, -1,
vbTextCompare)
End If
objBase.msExchOwningServer = strOwningServer
objBase.SetInfo
WScript.echo "Mailbox Database Owning Server set to: " & objBase.msExchOwningServer
' Changing MailBox Master Server
strMasterServer = objBase.msExchMasterServerOrAvailabilityGroup
If flagFailOver Then
strMasterServer = Replace(strMasterServer, strPrimary, strBackup, 1, -1, vbTextCompare)
Else
strMasterServer = Replace(strMasterServer, strBackup, strPrimary, 1, -1, vbTextCompare)
End If
objBase.msExchMasterServerOrAvailabilityGroup = strMasterServer
objBase.SetInfo
WScript.echo "Mailbox Database Master Server set to: " &
objBase.msExchMasterServerOrAvailabilityGroup

' Changing MailBox Legacy Server


EXPRESSCLUSTER X for Windows Microsoft Exchange Server 2013

38

strLegacyExchangeDN = objBase.legacyExchangeDN
If flagFailOver Then
strLegacyExchangeDN = Replace(strLegacyExchangeDN, strPrimary, strBackup, 1, -1,
vbTextCompare)
Else
strLegacyExchangeDN = Replace(strLegacyExchangeDN, strBackup, strPrimary, 1, -1,
vbTextCompare)
End If
objBase.legacyExchangeDN = strLegacyExchangeDN
objBase.SetInfo
WScript.echo "Mailbox Database Legacy ExchangeDN set to: " &
objBase.legacyExchangeDN
End Sub

'===============================================================
' Binding to Active Directory
'===============================================================
Set objRootDSE = GetObject("LDAP://RootDSE")
strDNSDomain = objRootDSE.Get("DefaultNamingContext")
Call ErrorCheck("Error while binding to AD.")
'===============================================================
' ADODB Connect
'===============================================================
Set conn = CreateObject("ADODB.Connection")
conn.Provider = "ADSDSOObject"
conn.Open "ADs Provider"
Call ErrorCheck("Error while connecting to ADODB.")
'===============================================================
' Set variables
EXPRESSCLUSTER X for Windows Microsoft Exchange Server 2013

39

'===============================================================
strOrg = GetObjectName(strDNSDomain,strOrgClass)
WScript.echo "Organization Name: " & strOrg
strAdminGrp = GetObjectName(strDNSDomain,strAdminGrpClass)
WScript.echo "Administration Group: " & strAdminGrp
strMBStore = GetObjectName(strDNSDomain,strMBStorePrivClass)
WScript.echo "Private MB Store: " & strMBStore
strMBStorePub = GetObjectName(strDNSDomain,strMBStorePubClass)
WScript.echo "Public MB Store: " & strMBStorePub
strExchMDBCopy = GetObjectName(strDNSDomain,strExchMDBCopyClass)
WScript.echo "strExchMDBCopy: " & strExchMDBCopy
strOAB = GetObjectName(strDNSDomain,strOABClass)
WScript.echo "strOAB: " & strOAB
'===============================================================
' Prepare Offline Address Book for mounting
'===============================================================
Sub ChangeOABPath(Organization)
Dim objBase, strOABVirtDirLink
set objBase=GetObject("LDAP://CN=" & strOAB &_
",CN=Offline Address Lists,CN=Address Lists Container" &_
",CN=" & Organization & ",CN=Microsoft Exchange" &_
",CN=Services,CN=Configuration," & strDNSDomain)
strOABVirtDirLink = objBase.msExchOABVirtualDirectoriesLink
If flagFailOver Then
strOABVirtDirLink = Replace(strOABVirtDirLink, strPrimary, strBackup, 1, -1,
vbTextCompare)
Else

EXPRESSCLUSTER X for Windows Microsoft Exchange Server 2013

40

strOABVirtDirLink = Replace(strOABVirtDirLink, strBackup, strPrimary, 1, -1,


vbTextCompare)
End If
objBase.msExchOABVirtualDirectoriesLink = strOABVirtDirLink
objBase.SetInfo
WScript.echo "OAB Virtual Directory Link set to: " &
objBase.msExchOABVirtualDirectoriesLink
End Sub
'===============================================================
' Prepare mailbox stores for mounting
'===============================================================

If flagFailOver Then
Call MountStores(strOrg, strAdminGrp, strMBStore)
Call ChangeServerattributes(strOrg, strAdminGrp, strMBStore)
Call ChangeHostServer(strOrg, strAdminGrp, strMBStore)
Call ChangeOABPath(strOrg)
' Public Mailbox mounting
Call MountStores(strOrg, strAdminGrp, strMBStorePub)
Call ChangeServerattributes(strOrg, strAdminGrp, strMBStorePub)
Call ChangeHostServer(strOrg, strAdminGrp, strMBStorePub)
Call ChangeOABPath(strOrg)
Else
Call MountStores(strOrg, strAdminGrp, strMBStore)
Call ChangeServerattributes(strOrg, strAdminGrp, strMBStore)
Call ChangeHostServer(strOrg, strAdminGrp, strMBStore)
Call ChangeOABPath(strOrg)
' Public Mailbox mounting
Call MountStores(strOrg, strAdminGrp, strMBStorePub)
Call ChangeServerattributes(strOrg, strAdminGrp, strMBStorePub)
Call ChangeHostServer(strOrg, strAdminGrp, strMBStorePub)
Call ChangeOABPath(strOrg)
EXPRESSCLUSTER X for Windows Microsoft Exchange Server 2013

41

End If
Call ErrorCheck("Error while mounting stores.")
WScript.Echo "Mounting of stores completed."
WScript.echo "Done!"
''''''''''''''''''''
WScript.Quit

Configure an email client such as Outlook 2007 SP3 (with November 2012 Cumulative
Update) or higher to test the system.

EXPRESSCLUSTER X for Windows Microsoft Exchange Server 2013

42

9 Final Deployment in a LAN Environment


1. Verify the connection between the Primary and Standby Servers to meet the following
requirements:

Two logically separate IP protocol networks: one for the Public Network and one for
the Cluster Interconnect.

The Public Network must be a single IP subnet that spans the Primary and Standby
servers to enable transparent redirection of the client connection to a single floating
server IP address.

The Cluster Interconnect is a single IP subnet that spans the Primary and Standby
Servers to simplify system setup.

A proper IP network between client and server machines on the Public Network on
both the Primary and Standby Servers.
2. Verify the Primary server is in active mode with a fully functional target application and
the Standby Server is running in passive mode.
3. Ping both the Primary and Secondary Servers from the test system, and verify the
Standby Server has all the target services in manual and stopped mode.
4. Start the cluster and try accessing the application from the Primary Server, and then
move the cluster to the Standby Server. Verify the availability of the application on the
Standby Server after failover. Deployment is complete.
Note
The first time the cluster is moved to the Standby server, the mailbox database may not mount.
Use the Mount-Database (Example: Mount-Database Mailbox01) in Exchange Management
Shell to mount the database to the Standby server.

EXPRESSCLUSTER X for Windows Microsoft Exchange Server 2013

43

10 Common Maintenance Tasks


10.1 Start Cluster Manager
There are two methods to start/access Cluster Manager through a supported Java
enabled Web browser.
Method 1
Through the IP address of the physical server running the cluster management server
application.
Use during the initial setup.
Method 2
Through the floating IP address of the cluster management server within a cluster.
Use after the initial setup.
1.
2.

Start Internet Explorer or any other supported Java enabled Web browser.
Method 1: Type the URL with the IP address of the active physical server; a
colon (:); and then the cluster server port number.
Example: http://10.1.1.1:29003/
Method 2: Type the URL with the IP address of the cluster management
server; a colon (:); and then the cluster management server port number.
Example: http://10.1.1.3:29003/

10.2 Reboot/shutdown one or all servers


1. Start Cluster Manager. (refer to 10.1)
2. Shutdown one server.
Right-click the %machinename%, and then click Shutdown.
Shutdown all servers
Right-click the %cluster name%, and then click Shutdown.
Reboot all servers
Right-click the %cluster name%, and then click Reboot.

EXPRESSCLUSTER X for Windows Microsoft Exchange Server 2013

44

10.3 Startup/stop/move failover groups


1. Start Cluster Manager (refer to 10.1).
2. Under Groups, right-click %failover group% and then click Start/Stop/Move.
3. In the Confirmation window, click OK.
10.4 Isolate a server for maintenance
1.
2.
3.
4.

Start Cluster Manager (refer to 10.1).


In the Cluster Manager window, change to Config Mode.
Right-click the %cluster name%, and then select Properties.
Click the Auto Recovery tab. To manually return the server to the cluster, select
Off for the Auto Return option. Otherwise, leave it set to On for automatic
recovery when the server is turned back on. Click OK.
5. If a change was made, upload the configuration file.
6. Shut down the server to isolate for maintenance. The server is now isolated and
ready for maintenance tasks.
10.5 Return an isolated server to the cluster
10.5.1 Automatic Recovery
1. Turn the machine back on.
2. Recovery starts automatically to return the server to the cluster.
10.5.2

Manual Recovery
3. Turn the machine back on and wait until the boot process is complete.
4. Start Cluster Manager.
5. In the Cluster Manager window, right-click the name of the isolated
server, and then select Recover. The isolated server returns to the cluster.

10.6 Rebuild a mirror disk


1. Start Cluster Manager (refer to 10.1).
2. In the Cluster Manager window, in the left pane, right-click Servers and then
click Mirror Disks.
3. In the Mirror Disks window, click the Details button.
4. In the next window, click the button below the %machine name% of the machine
to copy files from [Primary Server (Machine 1)] and then click the button below

EXPRESSCLUSTER X for Windows Microsoft Exchange Server 2013

45

the %machine name% of the machine name of the destination server to copy
files to [Standby Server (Machine 2)].
5. Click the Execute button. In the Confirmation window, click OK.

EXPRESSCLUSTER X for Windows Microsoft Exchange Server 2013

46

Appendix A: EC X Server Uninstallation


1. On the Test Client (Machine 3), in Cluster Manager, click the Service menu, and then
click Stop Cluster.
2. Close Cluster Manger.
3. On the server where starting the uninstall process, stop all EC X services. To stop all
services, follow the steps below:
a. On the Start menu, point to Programs, point to Administrative Tools, and then
click Services.
b. In the right pane, scroll down and double-click the entry for EXPRESSCLUSTER.
Click the Stop button.
c. In the Stop Other Services window, click Yes. Click OK.
d. Repeat step 3.b. above for the entry for EXPRESSCLUSTER EVENT, and then
click OK.
4. On the Start menu, point to Settings, and click Control Panel. Double-click Add or
Remove Programs.
5. In the Add or Remove Programs window, under Currently installed programs, click
NEC EXPRESSCLUSTER Server. Click Uninstall.
6. To start the uninstall process, in the Confirmation window, click Yes.
7. In the next window, click Yes to reset the registry settings to disable the media sense
functions of TCP/IP disconnect detection.
8. In the first Install Wizard Complete window, click Finish.
9. On the next Install Wizard Complete window, select the Yes, I want to restart my
computer now option button. Click Finish. This completes the uninstall process for an
individual server system.
Note
To uninstall an EC X Server, you must be logged on as an administrator or have an
account with administrator privileges.
After the installation is complete, if any shared disks are in use, unplug all disk cables
connected to the servers.

EXPRESSCLUSTER X for Windows Microsoft Exchange Server 2013

47

Appendix B: Example System Planning Worksheet


Machine 1 Primary Server
Machine 2 Standby Server
Machine 3 Test Client
Table 1: System Network Interfaces
Machine

Host name

Network
Connection

IP Address

Subnet Mask

Default
Gateway

Preferred
DNS
Server

Primary

Public
Interconnect

10.1.1.1
192.168.1.1

255.255.255.0
255.255.255.0

10.1.1.5
----------

10.1.1.5
-----------

Standby

Public
Interconnect

10.1.1.2
192.168.1.2

255.255.255.0
255.255.255.0

10.1.1.5
----------

10.1.1.5
----------

Test Client

Public

10.1.1.6

255.255.255.0

10.1.1.5

10.1.1.5

Table 2: System OS and Disks


Machine
1

OS

Disk 0 (OS Disk)

Disk 1 (Data Disk)

Win Server 2012 Std.


Ed. or later

Boot Partition:

* Cluster Partition:

Drive Letter: C
Size: 75GB

Drive Letter: W

Boot Partition:

Data Partition:

Drive Letter: C
Size: 75GB

Drive Letter: X

Win Server 2012


Std. Ed. or later

Win XP SP1 or later

Size: 24MB

Size: 50GB

C: 20GB

* Must be a raw partition and larger than 17MB.


Floating IP (FIP) address:
Web Management Console FIP:
Cluster FIP:

(1) 10.1.1.3
(2) 10.1.1.4

Table 3: System Logins and Passwords


Computer/Account
Machine 1
Administrator
Machine 2
Administrator

Login

Password

Administrator

admin1234

Administrator

admin1234

EXPRESSCLUSTER X for Windows Microsoft Exchange Server 2013

48

Vous aimerez peut-être aussi