Monday, 26 November 2012

Tech Round Up 26th November 2012

A set of links with some brief notes – and perhaps even images – of interesting tech things happened upon since 11th November! With stuff from: Citrix, Microsoft, Nedi, SanXfer, Veeam and VMware!

## Citrix ##

Citrix Solutions page:

Citrix XenDesktop Site Checker & Worker Diag:

CloudStack Developer Day – an interesting set of YouTube videos and Slideshares!

XenDesktop – High Availability & Load Balancing Add On For Web Interface!

Fig. how the XenDesktop HA & LB add on code works

## Microsoft ##

Free (pay with a tweet) study guides for 70-246, 70-659 and 70-243:

Windows Server 2012 Microsoft Virtual Academy Track:

Infrastructure Planning and Design Guide for System Center 2010 – Operations Manager:

To get the password for the SharePoint Farm account, and probably any service that uses IIS and application pools (credit to my colleague Nevets Nosjnho). Copy and paste the following code snippet into powershell (change the "SharePoint Central Administration v4" to whatever it is in IIS that you’re trying to retrieve), and you’ll be returned the password:
&$env:windir\system32\inetsrv\appcmd.exe list apppool "SharePoint Central Administration v4" /text:ProcessModel.Password

## Nedi ##

An excellent free network management tool:
The name is like Jedi but with an N!

## SanXfer ##

An interesting alternative to using Double-Take or PlateSpin for minimal downtime P2Vs!

## Veeam ##

Symantec admits all its VMware backup customers are in danger!
Modern Architecture Wins Every Time: Veeam Customers Unaffected!

A few links from Gostev’s Community Forums Digest – Nov 11:

Including the following from onVeeam Explorer for SAN Storage (VESS) (which currently only supports HP LeftHand):

A few links from Gostev’s Community Forums Digest – Nov 18:

## VMware ##

Upgrading to vCenter Server 5.1 Best Practices:

VMware vCenter 5.0 Update 1b Release Notes – among other issues it fixes a major memory hog by the tomcat process!

Best practices for using and troubleshooting VMware Converter:

Using esxtop to identify storage performance issues:

VCAP5DCD_StudyOutline from

Which vSphere client should I use and when?

Fig. vSphere Web Client Only functionality

Fig. vSphere Desktop Client Only functionality

Sunday, 25 November 2012

Everything You Need To Know About NetApp …

… is not here but we’ll let you know where to find it!

About the Company

(Free) NetApp iPhone Apps you must try out!
FlexPod: Fantastic FlexPod resources!
HW Universe: Hardware Specs!
OnCommand: Everything you need to know about OnCommand!
nFiler: allows you to manage your Filer via your iPhone!
Storage RFP: Creates professional RFPs with responses – a must see!
Support: Search by Hostname, Cluster Name, Serial #, System Id, or Case!
VDI Storage: Okay, never got into it, but I’m sure it’s great J!
Jive: Setup as an instant one-touch gateway to!

Figure: Eight Awesome Free NetApp iPhone Apps

Saturday, 24 November 2012

Decommissioning Exchange 2003 in a 2010 Environment - Walkthrough Guide

Scenario: Commonly with Exchange 2003 to 2010 migrations, an Exchange Consultant will come in and set up the environment for coexistence, set off public folder replication, and show the customer how to migrate mailboxes; then a time later when mailboxes have been moved across – and ideally the Exchange 2003 servers have been left shutdown for at least 2 days but ideally 2 weeks to be sure nothing is still using them – an Exchange Consultant will come back in (not always the same one hence the checks in this guide) and perform the final decommissioning steps.

Part A: Exchange 2003 to Exchange 2010 Coexistence Crib Sheet

So as not to have missed any critical steps, below is a quick step by step guide of how to setup coexistence (essentially using an example of a CA, HT, and MB role Exchange 2010 server with single Exchange 2003 server – but the theory is applicable to larger Exchange deployments too)!

1. Suppress Link State Updates on Exchange 2003 Server
1.1) Add “SuppressStateChanges” value = 1 (regedit)
New DWORD = “SuppressStateChanges”
Value = 1
1.2) Restart SMTP, MSExchange Routing Engine, MSExchange MTA Stack (command prompt)
> net stop SMTPSVC
> net start SMTPSVC
> net stop RESvc
> net start RESvc
> net stop MSExchangeMTA
> net start MSExchangeMTA

2. Install Pre-requisites for Exchange 2010 on Windows 2008R2
2.1) Install Microsoft Office Filter Packs for Office 2007 and Office 2010
2.2) Administrator: Windows PowerShell:
> Import-Module ServerManager
> Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server,Web-ISAPI-Ext,Web-Digest-Auth,Web-Dyn-Compression,NET-HTTP-Activation,RPC-Over-HTTP-Proxy -Restart
2.3) Administrator: Windows PowerShell (after restart in 2):
> Set-Service NetTcpPortSharing -StartupType Automatic

3. Installing Exchange 2010 CA, HT, MB Server
3.1) Administrator: Windows PowerShell (with Exchange 2010 Media):
> d:
> .\ /pl
> .\ /ps
3.2) Administrator: Command Prompt (with Exchange 2010 Media):
> d:
> /mode:Install /roles:CA,HT,MB /EnableLegacyOutlook / /
3.3) Reboot!

4. Exchange 2010 Configuration After Initial Install
4.1) Enter the Product Key (via EMS):
> Get-ExchangeServer
> Set-ExchangeServer -Identity ExServer01 -ProductKey xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
> restart-service MSExchangeIS
4.2) Register Filter Pack IFilters with Exchange 2010 (in regedit or using RegisterMicrosoftFilterPack.ps1 in PowerShell or EMS as below):
> .\RegisterMicrosoftFilterPack.ps1
> Stop-Service msftesql-Exchange -Force; Start-Service MSExchangeSearch

5. Configure Exchange 2010 Hub Transport Server Role
5.1) Configure Receive Connector (via EMC > Server Configuration > Hub Transport > Default SERVERNAME) to allow Anonymous users
5.2) Configure Send Connector (via EMS):
> New-SendConnector -Name "Internet Connector" -Usage Custom -AddressSpace "*;5" -DNSRoutingEnabled $True -MaxMessageSize 20MB
5.3) Configure Firewall Rules to allow outbound/inbound SMTP communication from HT server

6. Configure Exchange 2010 Client Access Server Role
6.1) Configure Outlook Web App (via EMS):
> Set-OwaVirtualDirectory -Identity "EXCHANGE2010\owa (Default Web Site)" -ExternalUrl "" -InternalUrl ""
6.2) (Optional) Enable additional logon methods (via EMS) for example if you are publishing OWA through ISA or TMG 2010:
> Set-OwaVirtualDirectory -Identity "EXCHANGE2010\owa (Default Web Site)” -BasicAuthentication:$True -WindowsAuthentication:$True
6.3) Configure Exchange Control Panel (ECP) (via EMS):
> Set-EcpVirtualDirectory -Identity "EXCHANGE2010\ecp (Default Web Site)" -ExternalUrl "" -InternalUrl ""
6.4) (Optional with 6.2) Change authentication settings on ECP virtual directory (via EMS):
> Set-EcpVirtualDirectory -Identity "EXCHANGE2010\ecp (Default Web Site)” -BasicAuthentication:$True -WindowsAuthentication:$True
6.4) Configure Microsoft Exchange ActiveSync (via EMS):
> Set-ActiveSyncVirtualDirectory -Identity "EXCHANGE2010\Microsoft-Server-ActiveSync (Default Web Site)" -InternalUrl "" –ExternalUrl “”
6.5) Configure Offline Address Book Distribution (via EMS):
> Set-OabVirtualDirectory -Identity "EXCHANGE2010\OAB (Default Web Site)" -PollInterval 720 -InternalUrl "" -ExternalUrl ""
6.6) Configure Outlook Anywhere (via EMS):
> Enable-OutlookAnywhere -Server 'EXCHANGE2010' -ExternalHostname '' -DefaultAuthenticationMethod 'Basic' -SSLOffloading $false
6.7) Request, Download and Configure a SAN/WildCard SSL Certificate (for example a PKCS#12 auto-csr)

7. Configure Exchange 2010 Mailbox Server Role
7.1) Move the Exchange 2010 Database and Logs Locations (via EMS):
> Get-MailboxDatabase
> Move-DatabasePath -Identity 'Mailbox Database 0269743206' -EdbFilePath 'M:\Mailbox Database 0269743206\Mailbox Database 0269743206.edb' -LogFolderPath 'L:\Mailbox Database 0269743206\Logs'
7.2) Restart IIS and Exchange Information Store Service (via EMS):
> IISReset
> Net Stop MSExchangeIS
> Net Start MSExchangeIS

Part B: Moving Settings and Data to Exchange 2010

8. Moving Settings and Data to Exchange 2010
8.1) Move Mailboxes via EMC > Recipient Configuration > Mailbox > New Local Move Request
8.2) Move Public Folders (via EMS):
> cd “C:\Program Files\Microsoft\Exchange Server\V14\Scripts”
> .\AddReplicaToPFRecursive.ps1 -TopPublicFolder "\" -ServerToAdd "exchange2010"
Note: if there is a desire not to replicate the entire root “\”, then the “\” above can be changed to the desired top-level folder and the additional command must be run
> .\AddReplicaToPFRecursive.ps1 -TopPublicFolder "\NON_IPM_SUBTREE\" -ServerToAdd “exchange2010
> Update-PublicFolderHierarchy –server “exchange2010
Note: it is fine to re-run the above commands if required!
(Wait 24-48 hours depending on source PF database!)
> .\MoveAllReplicas.ps1 -Server "Exchange2003" -NewServer "Exchange2010"
Note: the above will remove replicas from the Exchange 2003 server

9. Move Organization Settings
9.1) Move OAB Generation Server (via EMS):
> Move-OfflineAddressBook -Identity '\Default Offline Address List' -Server 'EXCHANGE2010'
9.2) Update Address Lists (via EMS):
> Set-AddressList “All Users” –IncludedRecipients MailboxUsers
> Set-AddressList “All Groups” –IncludedRecipients MailGroups
> Set-AddressList “All Contacts” –IncludedRecipients MailContacts
> Set-AddressList “Public Folders” –RecipientFilter { RecipientType –eq ‘PublicFolder’ }
> Set-GlobalAddressList “Default Global Address List” –RecipientFilter {(Alias –ne $null –and (ObjectClass –eq ‘user’ –or ObjectClass –eq ‘contact’ –or ObjectClass –eq ‘msExchSystemMailbox’ –or ObjectClass –eq ‘msExchDynamicDistributionList’ –or ObjectClass –eq ‘group’ –or ObjectClass –eq ‘publicFolder’))}
9.3) Upgrade Email Address Policies (via EMS):
> Set-EmailAddressPolicy "Default Policy" -IncludedRecipients AllRecipients
To upgrade a custom Email Address Policy
> Set-EmailAddressPolicy -Identity "South" -ConditionalStateorProvince "Hampshire","Kent"

Part C: Decomissioning Exchange Server 2003
This is the point of no return – you will want to check all the items above are done.

10 Decommissioning Exchange Server 2003
10.1) Check mailboxes have been moved across!
10.2) Check public folders replicas have been moved across!
> Get-PublicFolder -Identity \ -Recurse | FL Name,Replicas
> Get-PublicFolder -recurse \non_ipm_subtree |fl name, replicas
> Get-PublicFolderStatistics
10.3) Re-run the commands in 9 to verify they have been run (they will just error if they have already been run)!
10.4) Shut down Exchange 2003 for 2 days to 2 weeks (ideal) to be sure nothing is still using it!
10.5) Remove Exchange 2003 Mailbox Databases via ESM

Fig. 10.5.1: Delete Mailbox Store

10.6) Remove Exchange 2003 Public Folder Database via ESM
When you come to delete the public folder store, you will receive the error below, just click OK, select the new Exchange 2010 Public Folder database and click OK again.

Fig. 10.6.1: Warning when delete Public Folder Store

10.7) Remove Routing Group Connect (via EMS):
> Get-RoutingGroupConnector | Remove-routingGroupConnector -confirm:$false

Fig. 10.7.1: ESM Connectors – the 2003 to 2010 connector is removed by the above command

10.8) Remove Recipient Update Service on Exchange 2003 server using ADSIEDIT.msc (available with Windows Support Tools):
- CN=Configuration,DC=ace,DC=priv
-  CN=Services
-   CN=Microsoft Exchange
-    CN=First Organization
-     CN=Address Lists Container
-      CN=Recipient Update Services
Delete the Domain RUS and Enterprise RUS and then close ADSIEDIT.

Fig. 10.8.1: Domain RUS and Enterprise RUS to be deleted

10.9) Uninstall Exchange Server 2003 (this will need the Exchange 2003 Install Media)
> d:
> cd \setup\i386
> setup
Within the Microsoft Exchange Installation Wizard, change the action to ‘Remove’ and follow the prompts to remove Exchange Server 2003!

Fig. 10.9.1: Microsoft Exchange 2003 Installation Wizard – Remove

10.10) Restart the Exchange 2003 Server


Further Reading and Credits

Credit to Milind Naphade’s for his excellent PDF document “Rapid transition guide from Exchange 2003 to Exchange 2010”

Friday, 23 November 2012

Installing and Using the NetApp Virtual Storage Console (VSC) for XenServer 6

Following on from Installing the NetApp Virtual Storage Console (VSC) for VMware vSphere back in January; the following article is a brief walkthrough on how to install and use the VSC with Citrix XenServer 6.

Things we’ll need

- XenServer or XenServer Resource Pool (Version 6.0 or higher)
- XenCenter installed on a Windows workstation/server
- NetApp 7-mode or Cluster Mode (Version 7.3.6 and higher) with NFS license

Part 1: Obtain the VSC

1.1) Log In to with your NOW login
1.2) Downloads > Software > Virtual Storage Console > Select Platform: Citrix XenServer > Go!
1.3) Virtual Storage Console 1.0 > View & Download
1.4) Confirm your system meets the minimum requirements > CONTINUE
1.5) Accept the EULA
1.6) Click ‘Installation package’ to obtain the VSCX-1.0.exe

Note i: Can also download an Installation and Administration Guide from the above
Note ii: VSC 1.0 for XenServer is the current (as of Nov. 2012) latest version
Note iii: Whilst logged into, you may also want to download:
- OnCommand System Manager 2.0.2 (current latest version)
- Simulate ONTAP 8.1.1 (current latest version)

Part 2: Install the VSC

Here we install the VSC for XenServer on a machine with the Citrix XenCenter installed.

2.1) Double-click the VSCX-1.0.exe

Fig 2.1.1: VSCX-1.0.exe

2.2) Next > Accept EULA : Next > Choose Installation Location : Next > Close

And that’s it!

Note i: If you’re setting this up in a lab, the XenServer 6 host needs at least a 16GB hard disk, and 2GB of RAM to install
Note ii: The XenCenter.msi is located on the XenServer installation disk (e.g. XenServer-6.0.2\client_install)
Note iii: Default install location is C:\Program Files (x86)\Citrix\XenCenter\ and it requires less than 40MB disk space

Part 3: Using the VSC

Here we examine some of the new NetApp options that the NetApp VSC makes available in Citrix XenCenter. To demonstrate the usefulness of the VSC tool, the lab XenServer6 host has not even been configured to connect to a NetApp device yet (the NetApp device being the ONTAP 8.1 simulator with basic configuration as detailed in the Appendix below)!

3.1) Log in to your XenCenter

3.2) Provision a Storage Repository

Right-click the XenServer 6 host > NetApp VSC > Provision Storage Repository

Fig. 3.2.1: NetApp VSC > Provision Storage Repository

The XenCenter NetApp VSC GUI will tell us ‘No NetApp controllers are currently managed by the…’

Fig. 3.2.2: Would you like to configure?

Click YES and this brings up the Storage Controllers window
Click on the ‘Add a Controller’ button
Input your controller’s details then click Next >

Fig. 3.2.3: Citrix XenServer NetApp VSC > Storage Controllers > New Controller Wizard

Select the usable interface and aggregates then click Finish!

Fig. 3.2.4: Citrix XenServer NetApp VSC > New Controller Wizard ‘Usables’

Close the Storage Controllers window (when finished adding all necessary controllers)

NFS Storage Repository Provisioning Wizard
Specify the target controller for the storage repository: Next >

Fig. 3.2.5: Citrix XenServer NetApp VSC > Storage Provisioning > Target Controller

Enter details for the storage repository: Next >

Fig. 3.2.6: NetApp VSC XenServer – Storage repository options

Ready to apply your settings: click Finish!

Fig. 3.2.7: NetApp VSC XenServer – New Storage Summary

3.3) NetApp VSC for XenCenter – Things You Can Do to an NFS SR!

Once the NetApp NFS storage repository is added to XenCenter, right-click on the volume brings up the following options:
- Resize Storage Repository
- Deduplicate Storage Repository
- Destroy Storage Repository

Fig. 3.3.1: NetApp VSC in XenServer NFS SR Options

3.4) NetApp VSC for XenCenter – Things You Can Do to a VM!

Right-clicking a Virtual Machine or via the VM menu > NetApp VSC
Bring up the option to use the NetApp VSC for XenServer to Clone Virtual Machines

Fig. 3.4.1: NetApp VSC Clone Virtual Machine

3.5) NetApp VSC for XenCenter – Tools menu

Tools menu > NetApp VSC
Brings up the following options:
- Discovery and Configuration (adding/removing NetApp controllers)
- User Preferences
- View Audit Log
- Export Support Logs

Fig. 3.5.1: XenServer Tools > NetApp VSC options

Final Comment

This is only version 1.0 of the NetApp VSC for XenServer, and I must say I’m impressed. Looking forward to even more features and functionality in future versions!

Appendix: ONTAP 8.1 Simulator Basic Configuration for the Lab Above

The ONTAP 8.1 Simulator used in the lab examples above is a fresh build pretty much as detailed in with the addition of the NFS license, and a basic aggregate setup as below:
> license add BQOEAZL #nfs
> disk assign all
> aggr add aggr0 9@1G
> aggr create aggr1 –B 64 –r 14 –t raid_dp 14@1G

Tuesday, 13 November 2012

Exchange Health Check – How To Notes

A quick listing of some useful links and notes for purposes of conducting an Exchange Health Check analysis!

Health Check Topics

Exchange Health Check Article ID: 982911

Topology Concerns:
Cities; locations and IP addresses of firewalls, Domain Controllers and Exchange Servers; bandwidth and latency of site links; subnets; Active Directory and Exchange topology; site link costs; number of users

Exchange Hardware and Load Concerns:
Number of mailboxes; usage patterns of the mailboxes (heavy, light, medium); Exchange Server version, service pack and rollup level; driver versions for all devices; item counts in mailbox folders; disk subsystem and RAID; disk partitions for databases, logs and O/S files; RAM for Exchange server; other products or roles installed on Exchange server; Exchange roles installed on the server; behind a firewall or in a perimeter network

Backup Concerns:
High availability solution; database backups done regularly; how long does the backup take; can the backup be restored in the time allowed by your SLA; testing for ability to restore and rebuild the server periodically

Exchange Server questions:
Version of the O/S including SP level; number of Administrative Groups (Exchange 2003); name of the Exchange Server(s); hardware manufacturer & model of the server(s); Anti-Virus software; how many Exchange Server 2003 Front End servers; how many Exchange Server 2003 Back End servers; how many Exchange Server 2007/2010 Edge role servers; how many Exchange Server 2007/2010 Mailbox role servers; how many Exchange Server 2007/2010 CAS role servers; how many and what kind of High Availability solutions have been deployed

Client-side questions:
Outlook client version(s) & service pack(s); Outlook running in Exchange cached mode or online mode; 3rd party add-ins in Outlook

Networking related questions:
Exchange servers on the same network or separated by a WAN (remote); network devices between the Exchange servers, i.e. routers, firewall, etc.; what network card and driver is installed on the Exchange servers; NICs teamed

Software related questions:
Recent changes in the environment including servers removed, network changes, group policy changes, software updates, security patches, …; do Exchange admins have the ability to install software on the Exchange server

Health Check Tools and Sizing

Exchange Server Health Script (Exchange 2010)
Download the Test-ExchangeServerHealth.ps1 script and – in EMS – run:
.\Test-ExchangeServerHealth.ps1 –reportmode $true –sendemail $true
Note: Variables are configured inside the script under ‘Email Settings’

vCheck Health Script for Exchange (Exchange 2010)
Runs via the EMS. Download and unblock the zip via Properties – General tab for “This file came from another computer…”
Set-ExecutionPolicy Unrestricted

v19.9 of the Exchange 2010 Mailbox Server Role Requirements Calculator
And along the same lines see: Exchange 2010 Sizing Cheat Sheet

Fig. 1: CAS/HUB/GC to Mailbox ratios

Fig. 2: Exchange 2010 Roles, Cores, and Memory

Exchange Best Practices Analyzer

Exchange Best Practices Analyzer v2.8 (Exchange 2003)
Note i: Exchange Best Practices Analyzer v2.8 should not be used to scan Exchange Server 2007 and Exchange Server 2010. In Exchange Server 2007 and Exchange Server 2010, the Best Practices Analyzer is installed during Exchange Setup and can be run from the Exchange Management Console Toolbox (the option to export is found via ‘Select a Best Practices scan to view – Export this scan’)

Microsoft Exchange Best Practices Analyzer Web Update Pack (Exchange 2003)

Microsoft Exchange Troubleshooting Assistant v1.1 (Exchange 2003)

Configuration Guides

How to Install an Exchange Server 2010 Client Access Server (CAS) Array using Windows Network Load Balancing (WNLB)
Recommends: 2 interfaces per CAS on the same network, Unicast, and more!

Exchange Server 2010 load balancer deployment
Note: Hardware load balancers are recommended over WNLB

Exchange Server 2010 Database Availability Group (DAG) Installation Step by Step
Recommends: Separate NIC for MAPI traffic, and Replication traffic. Untick ‘Register this connection’s address in DNS on the Replication NIC. Disable replication on the MAPI network. And more!
Note 1: The NIC used for replication traffic will typically not have a default gateway but can use a static route to in multi-site, multi-subnet DAG environments.
Note 2:  Replication NIC uncheck – Client for Microsoft Networks, File and Printer Sharing for Microsoft Networks, (optional – IPv6, QoS Packet Scheduler)
Note 3: Advanced Settings – Prod Network should be first in the binding order

Exchange 2010 Site Resilient DAGs and Majority Node Set Clustering – Part 2
Useful primer on DAG design

Fig. 3: Example 3 Node DAG down scenario


26 things I shouldn’t forget about Exchange 2010 DAG, nor should you! RECOMMENDED

The 17 biggest mistakes made in Exchange 2010 Deployments.

Troubleshooting Tools

Description of the Isinteg utility (Exchange 5.5, 2000, 2003, 2007)
Isinteg is a utility that searches through an offline information store for integrity weaknesses. You can also repair issues that Isinteg detects. Isinteg is run at a command prompt.

Eseutil (Exchange 2003, 2007, 2010)
The Exchange Server Database Utilities (Eseutil.exe) is a tool that you can use to verify, modify, and repair an Exchange database file. Runs from command prompt!
To check status> Eseutil /mh “D:\PATH\DB.edb”
To fix (if dirty shutdown)> Eseutil /p “D:\PATH\DB.edb”
To check logs> Eseutil /ml “L:\LOGPATH\E00”
Note: A E00.log file reporting as corrupt is best fixed by restoring from backup – if this is not an option and transaction log roll-back is not required, can move/delete all the contents of the logs folder (an auto-DB will autostart and repopulate that folder.)

Resources for Exchange 2003 to Exchange 2010 Coexistence and Decommissioning Exchange 2003

Command Reference (Exchange 2010)

How to Obtain DAG Information:
Get-DatabaseAvailabilityGroup | FL
Test-replicationhealth | FL
Get-mailboxdatabase | get-mailboxdatabasecopystatus
Get-mailboxdatabase | get-mailboxdatabasecopystatus –connectionstatus | fl | more

Try repairing copy:
Test-ReplicationHealth –Identity “DB_name”
Suspend-MailboxDatabaseCopy –Identity “db_name\server”
Update-MailboxDatabaseCopy –Identity “DB_name\Server” –DeleteExistingFiles

How to Decrease Exchange 2010 DAG Failover Sensitivity:
cluster /prop
cluster /prop SameSubnetDelay=2000:DWORD
cluster /prop CrossSubnetDelay=4000:DWORD
cluster /prop CrossSubnetThreshold=10:DWORD
cluster /prop SameSubnetThreshold=10:DWORD

Blocking automatic activation in DAGs
Set-MailboxServer –Identity – DatabaseCopyAutoActivationPolicy Blocked
Set-MailboxServer –identity –DatabaseCopyAutoActivationPolicy Unrestricted
Suspend-MailboxDatabaseCopy –identity \ –ActivationOnly
Resume-MailboxDatabaseCopy –identity \

Public Folders:
Get-PublicFolder -Identity \ -Recurse | FL Name,Replicas > C:\Replicas.txt
Get-PublicFolder -Identity \ -Recurse | Update-PublicFolder
Note: The above is one of 3 ways to get public folders to replicate (others being adding an item to the folder, or removing the replica from Exchange 2010 and re-adding)

Public Folder Migration (Exchange 2010) – run from EMS (or CMD using .ps1 extension):
C:\Program Files\Microsoft\Exchange Server\V14\Scripts
.\AddReplicaToPFRecursive.ps1 -TopPublicFolder "\" -ServerToAdd "Exchange2010"
Note 1: Can I re-run the pfmigrate and AddReplicateToPFRecursive scripts – yes you can!
Note 2: If you don’t want all the public folders, can change the –TopPublicFolder “\” to folder name but must additionally do
.\AddReplicaToPFRecursive -TopPublicFolder "\NON_IPM_SUBTREE\" -ServerToAdd HOSTNAME
Note 3: Moving replicas to Exchange Server is done via:
.\MoveAllReplicas.ps1 -Server "Exchange2003" -NewServer "Exchange2010"

Public Folder Migration (Exchange 2003):
From D:\support\Exdeploy
To obtain a report> pfmigrate.wsf /S:OLDSERVERNAME /T:NEWSERVERNAME /R /F:c:\LOGNAME.log
To replicate System Folders> pfmigrate.wsf /S:OLDSERVERNAME /T:NEWSERVERNAME /SF /A /N:10000 /F:c:\LOGNAME.log
To replicate Public Folders> pfmigrate.wsf /S:OLDSERVERNAME /T:NEWSERVERNAME /A /N:10000 /F:c:\LOGNAME.log
To remove replicas from Exch 2003> pfmigrate.wsf /S:OLDSERVERNAME /T:NEWSERVERNAME /D
Note 1: PFMIGRATE is an Exchange 2003 Tool, for 2007 to 2010 use AddReplicaToPFRecursive.ps1 script
Note 2: Public folder replication uses SMTP, so – for any problems replicating – be sure to check your SMTP configuration!

Moving mailboxes:
New-moverequest –identity ‘’ –targetdatabase “DBNAME” –BadItemLimit 1000 –AcceptLargeDataLoss
Resume-moverequest –identity ‘’
Remove-moverequest –identity ‘’
New-MailboxRepairRequest -Mailbox -CorruptionType SearchFolder, AggregateCounts, ProvisionedFolder, FolderView
New-MailboxRepairRequest -Database “Name of database to be fixed” -CorruptionType SearchFolder, AggregateCounts, ProvisionedFolder, FolderView

General Exchange References

Exchange Server Pro

Exchange 2010 DAG

Technet – Exchange 2013

Technet – Exchange 2010

Technet – Exchange 2007

Technet – Exchange 2003

Miscellaneous Notes

Problem: DAG Cluster Core Resources – Status Offline and IP Address Failed
Fix: Not a critical issue! Fix is to tick the “Allow clients to connect through this network” in Failover Cluster Manager and the affected cluster networks properties.

How to configure an account to use the ExMerge utility

Sunday, 11 November 2012

Tech Round Up 11th November 2012

A set of links with some brief notes and images, of interesting tech things unearthed since 4th November. With stuff from: Citrix, Huawei, Microsoft, Netapp, StarWind, and VMware!

## Citrix ##

If Citrix is your thing, I’d highly recommend running through Citrix KC Top 10 October list!

ShareFile with StorageZones gives IT the flexibility to choose between customer-managed StorageZones allowing IT to leverage on-premises storage within their private cloud or Citrix-managed secure cloud storage options in multiple worldwide locations.” Think Dropbox for Enterprise with on-premise!

A very useful set of recommended antivirus exclusions for Citrix Provisioning Server!

A few recommended Server Side file exclusions:
C:\Windows\System32\drivers\CVhdBusP6.sys => (PVS 6.1)
C:\Windows\System32\drivers\CVhdBus2.sys => (PVS 5.6)
C:\Windows\System32\drivers\CFsDep2.sys => (PVS 5.6 and PVS 6.1)
C:\Program Files\Citrix\Provisioning Services\BNTFTP.EXE => (PVS 5.6 and PVS 6.1)
C:\ProgramData\Citrix\Provisioning Services\Tftpboot\ARDBP32.BIN => (PVS 5.6 and PVS 6.1)
D:\Store => (i.e. local vdisk store)

A few recommended Server Side processes to be excluded:
C:\Program Files\Citrix\Provisioning Services\StreamService.exe => (All versions)
C:\Program Files\Citrix\Provisioning Services\StreamProcess.exe => (All versions)
C:\Program Files\Citrix\Provisioning Services\soapserver.exe => (All versions)

A few recommended Target Device exclusions:
C:\Windows\System32\drivers\bnistack.sys => (Only targets, Win2003/XP)
C:\Windows\System32\drivers\bnistack6.sys => (Only targets, 2008/Win7)
C:\Windows\System32\drivers\BNNF.sys => (Only targets)
C:\Windows\System32\drivers\BNNS.sys => (Only targets, Win2003/XP)
C:\Windows\System32\drivers\BNNS6.sys => (Doesn’t exist anymore with PVS6.1 Agent)
C:\Windows\System32\drivers\BNPort.sys => (Only targets)
C:\Windows\System32\drivers\CFsDep2.sys => (Only targets, Win2003/XP)
C:\Windows\System32\drivers\CVhdBusP52.sys => (Only targets, Win2003/XP)
C:\Program Files\Citrix\Provisioning Services\BNDevice.exe => (Only targets, 2008/Win7)
C:\Program Files\Citrix\Provisioning Services\TargetOSOptimizer.exe => (Only targets, 2008/Win7)

## Huawei ##

“Chinese storage interloper Huawei has shattered standards body SPEC's sfs2008 Network File System (NFS) benchmark, scoring 3,064,602 IOPS, 49 per cent more than an Avere cluster and 51 per cent more than a NetApp cluster.”

## Microsoft ##

Don’t like Windows 8’s missing start button – try Classic Shell!

“Take a short survey that assesses your current IT environment with regard to systems, processes, and productivity.  The survey information creates a custom non-commercial report that provides recommendations on your IT state and helps you evaluate the benefits of cloud computing.”

Sysinternals Live Sync Tool!
Ever wanted to keep the sysinternals packages on a server up to date - now you can!

More flexible than the built-in MMC Remote Desktops snap-in!

“Download the datasheets, white papers and technical presentations that will help you evaluate Microsoft SQL Server 2012” – a hefty 129.8MB of information!

“Windows Azure hosts do not offer a feature which Hyper-V has called Live Migration. Azure runs a dedicated, Microsoft developed hypervisor, not Hyper-V. Azure has been designed for a PaaS role in which an application is served by multiple instances, and when a single instance fails there are no issues. So in the architecture of Azure, a Live Migration feature was not a requirement.”

## NetApp ##

“Our new NetApp FAS3200 Series enables flash, clustering to improve IT performance and agility.”

More on the new FAS3200 range:
“We now get:
- A FAS3220, an uprated 3210, with up to 480 drives, 1.44PB capacity, and 1TB of flash cache; its drive count and flash cache amount have both doubled.
- A FAS3250 with a maximum of 720 drives, 2.16PB of capacity, and 2TB of flash cache – replace(s) both the FAS3240 and the FAS3270 …”

Exchange 2010 two member DAG virtual server OS, DB, and Log volume migration to Netapp
No link, just a note from a discussion on Linkedin:
Use NetApp SnapDrive to migrate Exchange 2010 from EqualLogic to NetApp, and then SnapManager for Exchange (SME) to back it up.

## StarWind Software ##

A couple of interesting StarWind iSCSI SAN PDFs for HA Shared Storage:

## VMware ##

What’s new in the VMware IO Analyzer 1.5?
- Test scheduler
- More detailed storage/network/CPU statistics
- Tests and results annotation

Friday, 9 November 2012

VMware SRM Error ‘VMX cannot be found’ and EMC CLARiiON AdminFractured Mirrors

The Problem

Running a Test failover in VMware Site Recovery Manager, revealed the following error:

Error - Virtual machine file '[snap-XXX] XXX/XXX.vmx' cannot be found on recovered datastore.

Analysis of the mounted snapshot in the DR site revealed that indeed the VMX was not there. The virtual machine in question, had only been moved into the datastore a few days previously, so the conclusion was that the replication is not running every 15 minutes as it should have been.

Logging into the Navisphere Web UI revealed that the Secondary Image of some of the Remote Mirrors had become AdminFractured.

Fig. 1: AdminFractured Secondary Image

Right-clicking on one of the affected mirrors > selecting Properties > and navigating to the ‘Secondary Image’ tab, revealed the following Last Image Error:

Unable to create protective snap session on secondary array. Snapview returned an error on an attempt to create a protective snap session due to lack of free cache LUN's on secondary array. As a result of the error the mirror will be admin fractured. Add more cache LUN's on the secondary array and retry the sync request. (0x7152863e)

Fig. 2: Administratively fractured Secondary Image 'Last Image Error'

The Culprit

The error above refers to free cache LUN’s and these are found in the ‘Reserved LUN Pool’ on the secondary array. Navigating to the ‘Reserved LUN Pool’ or RLP via the Navisphere GUI > right-click and select Properties - revealed a misconfiguration.

Fig. 3: Reserved LUN Pool

Fig. 4: Reserved LUN Pool Properties

The reserved LUN pool is recommended to be 20% of the size of all the LUNs added up (it doesn’t have to be and if have only a few LUNs and/or few changes, then can configure it lower.) What had happened is that due to an ISP failure, the replication that was working, and was originally setup locally, had failed for a long time, and so – in order to re-replicate the data after the replication link was restored – additional storage was added to the reserved LUN pool. Unfortunately, the storage that was added was added in one big chunk (one big LUN – notice the 917.149 GB LUN in the image above.) The reserved LUN pool needs to be made up of small chunk sized LUNs, so that when replicating multiple LUNs, different mirrors can utilise different chunks – if you have one big reserved LUN then this can only be used by one replicating datastore.

Recommended size for a reserved pool LUN is found by:

i. Calculate 20% of the size of all the LUNs added up
ii. Divide this value by a number less than the ‘Maximum number of reserved LUNs’ for the array

You then create your pool of reserved LUNs of that size and number.

Fig. 5: Maximum number of reserved LUNs on CLARiiON AX/CX arrays

The Fix

The solution is easily achieved by creating more LUNs, then right-clicking the Reserved LUN Pool, selecting configure and add/removing LUNs as required (here we removed the wrong sized RLP LUN first, deleted it, and recreated the LUNs in the same RAID pool.)

Fig. 6: Reserved LUN Pool – Configure

Finally, you want to re-synchronize the AdminFractured mirrors by right-clicking the Secondary Image and selecting ‘Synchronize…’

Fig. 7: Secondary Image – Synchronize…

And you can monitor the synchronization progress on the Remote Mirror Properties – Secondary Image tab.

Fig. 8: Remote Mirror Synchronization in Progress


The Final Word

To help understanding of RLP, monitor that as the secondary image is synchronized, gradually, more and more Reserved LUN Pool LUNs get allocated.

Fig. 9: Three RLP LUNs Allocated

Fig. 10:  Eight RLP LUNs Allocated

When synchronization is finished, RLP LUNs get un-allocated and return to ‘Free’ status.