Sunday, December 28, 2014

SharePoint Farm configure in Azure

When I was trying to configure the SharePoint farm in Windows Azure, I often encountered this problem.

My SharePoint farm consists of Domain Controller , two WFE and one SQL Server.

I have create the Azure Virtual Network and all of the above VMs are connected in the same sub net.

Still the server manager reports this below problem and subsequently I am not able to connect the VMs in to Domain Controller.

When I am trying to make the WFE-1 as member of Domain controller,It was not able to connect the DC even though virtual network listing all VMs are part of it and shows this error.

WinRM cannot complete the operation.Verify that the specified computer name is valid,that the computer is accessible over the network and that a firewall exception for the WinRM service is enable and allows access from this computer. By default,the WinRM firewall exception for public profiles limits access to remote computers within the same local sub net.

To identify this problem and resolve, I searched through on windows azure forums and discussion and come up with resolution. Eariler I joined the WFE-1 with the domain controller by choosing the computer name (Murugesan-SP) instead of DNS or fully qualified name and then ran the winrm quickconfig on the same VM and reboot the server and the problem got solved. Now my VMs are connected with DC. 

And also the member computer was created before the VM which was promoted to domain controller that's why DC is not recognize the member computer and WinRM service also not started automatically on the member computer.

When you are joining to DC, always use the DNS name instead of computer name and restart the member computer.

After ran the command , all of the VMs are connected and joined happily with DC.

Topic related video