There is a problem with remote multi server install and SharePoint 2016.
The problem is in main here:
----
Setup-Services
Finalize-Install
# We only want to Install-Remote if we aren't already *in* a remote session, and if there are actually remote servers to install!
If ((Confirm-LocalSession) -and !([string]::IsNullOrEmpty($remoteFarmServers))) {Install-Remote}
------
We correct order is to move the complete line "Install-Remote" before "Setup-Services" .
We need to install all and then setup services.
(an classic/common example of problem if that same services, like "managed metadata" on frontend role require topology services that is present only on application role when I execute Install-SPService (the setup-farm of remote install).
The problem is in main here:
----
Setup-Services
Finalize-Install
# We only want to Install-Remote if we aren't already *in* a remote session, and if there are actually remote servers to install!
If ((Confirm-LocalSession) -and !([string]::IsNullOrEmpty($remoteFarmServers))) {Install-Remote}
------
We correct order is to move the complete line "Install-Remote" before "Setup-Services" .
We need to install all and then setup services.
(an classic/common example of problem if that same services, like "managed metadata" on frontend role require topology services that is present only on application role when I execute Install-SPService (the setup-farm of remote install).