Combining affinity rule types

Recently a customer asked if host-vm affinity rules and VM-VM anti-affinity rules can be combined and what the impact and caveats are of this particular configuration.

Example scenario

In this scenario two virtual machines run an application that is clustered at application level. Virtual machine 1 and 2 provide the service of App-cluster1, similar clusters are configured on VM3-VM4 and VM5-VM6. The compute cluster contains 6 ESXi hosts. The customer requires each app-cluster contained on its own hosts, during normal operations no app-cluster should share an ESXi host. The virtual machine within the app cluster cannot share the same ESXi host.

App clusters - full compute cluster

Virtual Machine to Host affinity groups

The first step is to create and configure the VM-Host affinity groups. A virtual machine DRS group is created for each App-cluster and a host DRS group is created that contain the hosts on which the app cluster will run. Lets zoom in to the configuration used for App-Cluster1.

Step 1: Create virtual machine DRS group add VM1 aContinue reading “Combining affinity rule types”

Deployment Prerequisites Exchange 2010

Need to install before
1. PowerShell
2. Remote AD DS Management tools
3. Open powershell and run the following command
◦Import-Module ServerManager
For a server that will have the typical installation of Client Access, Hub Transport, and the Mailboxroles:
◦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,Web-WMI -Restart
For a server that will host the Client Access and Hub Transportserver roles:
◦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,Web-WMI -Restart
For a server that will host only the Mailboxrole:
◦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 -Restart
For a server that will host only the Unified Messagingrole: ◦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,Desktop-Experience -Restart
For a server that will host the Edge Transportrole:
◦Add-WindowsFeature NET-Framework,RSAT-ADDS,ADLDS -Restart
After the system has restarted, configure the Net.Tcp Port Sharing Service for Automatic startupby running the following command:
◦Set-Service NetTcpPortSharing -StartupType Automatic

Imp Note:

Give user Schema Administrator and Enterprise Administrator rights.