One of the exciting new features in SharePoint 2016 is Minrole. It defines the server’s role in the SharePoint 2016 farm and ensures all necessary services are running on that server! SharePoint 2016 comes with the below Minroles:
- Single Server Farm
- Front End
- Distributed Cache
Change MinRole in SharePoint 2016:
Server roles are selected during the installation of SharePoint 2016 or when you join a server to your farm. Based on the Server role selected, certain services will get activated on designated servers. What if you want to change the server role after SharePoint has been provisioned? With the introduction of MinRoles in SharePoint 2016, it’s fairly straightforward to switch server roles between anyone among them:
- Go to SharePoint 2016 Central Administration >> System Settings
- Click on Convert server role in this farm under Servers
Now, It takes you to the “Role conversion” page, where you will see the options for all Minroles. Pick the new role from the dropdown and click Apply, and Your server will be changed to the New role!
You can’t combine two or more MinRoles in one server. However, You can use the Custom role to achieve the same! To check roles assigned to servers in the farm, Go to: SharePoint 2016 Central Administration >> System Settings > Manage servers in this farm. This page lists all servers and their roles on the farm.
How to Switch Server MinRole using PowerShell?
To change the server role using PowerShell, use the Set-SPServer cmdlet.
Set-SPServer -Identity SERVER1 -Role Application #Set-SPServer -Identity SERVER2 -Role WebFrontEnd