First published on TECHNET on Jul 17, 2017
https://blogs.technet.microsoft.com/umairkhan/2017/07/17/configmgr-1702-adding-a-new-node-secondary-...
Scenario:
We already have a working Primary and secondary replica and we know that ConfigMgr 1702 does support an extra replica i.e. 2 nd Secondary replica. So we are adding a freshly built node as a secondary replica.
The documentation we have around this can be found below.
To add a new replica member
Issues with the above approach:
Now what we do not consider above is the fact that there are many things which are critical to us that is not synched when a new replica is set up. The SQL replica will not sync any instance\Server level objects but it only sync database level objects.
So what do we miss synching?
Hence working on this issue we did come on the things to do for such addition. After some good back and forth troubleshooting, Sean Mahoney helped to get this check list compiled. Below is the scenario for adding a new node for a Primary Site. It is highly recommended to open a CSS case so that we can help you perform these things as they are dynamic dependent on where the steps are performed.
USE MASTER Backup Certificate ConfigMgrEndpointCert TO FILE='C:\Temp\CAS.CER'
CREATE LOGIN [DOMAIN\SITESERVER$] FROM WINDOWS WITH DEFAULT_DATABASE=[master], DEFAULT_LANGUAGE=[us_english] ALTER SERVER ROLE [sysadmin] ADD MEMBER [DOMAIN\SITESERVER$] ALTER SERVER ROLE [securityadmin] ADD MEMBER [DOMAIN\SITESERVER$]
DECLARE @DBNAME NVARCHAR(128) SELECT @DBNAME = 'CM_<Site>' -- DBName EXECUTE (' USE ' + @DBNAME + ' ALTER DATABASE ' + @DBNAME + ' SET HONOR_BROKER_PRIORITY ON ALTER DATABASE ' + @DBNAME + ' SET TRUSTWORTHY ON EXEC sp_configure ''show advanced options'', 1; RECONFIGURE; EXEC sp_configure ''clr enabled'', 1; RECONFIGURE; EXEC sp_configure ''max text repl size (B)'', 2147483647; RECONFIGURE; EXEC sp_changedbowner ''sa'' ; ')
declare @XMLParam XML; select @XMLParam= Body from XMLConfigStore where name = 'ServiceBrokerConfiguration' exec spConfigureServiceBroker @XMLConfig = @XMLParam, @SSBPort = 4022, @SqlCertFile = 'd:\CAS.cer', @ParentSiteCode ='<CASSiteCode>' , @ParentSiteSqlServerFqdn = '<CAS SQL Server FQDN>'
USE MASTER Backup Certificate ConfigMgrEndpointCert TO FILE='C:\Temp\<PRISiteCode>.CER'
Assuming CAS is also running SQL AO AG with two nodes.
Exec dbo.spCreateSSBLogin @EndPointLogin='ConfigMgrEndpointLogin<PRISiteCode>', @DestSiteCode='<PRISiteCode>', @DestSiteCertFile='C:\<PRISiteCode>.cer', @EndpointName='ConfigMgrEndpoint', @DestSqlServerFqdn='<PRISQLNodeFQDN>'
Exec dbo.spCreateSSBLogin @EndPointLogin='ConfigMgrEndpointLogin<PRISiteCode>', @DestSiteCode='<PRISiteCode>', @DestSiteCertFile='C:\<PRISiteCode>.cer', @EndpointName='ConfigMgrEndpoint', @DestSqlServerFqdn='<PRISQLNodeFQDN>'
Repeat steps for third node if needed.
Now if the Node addition scenario happens to be a CAS site then the certificates from all primaries will need to be reimported on the new node.
We are working on to change this behavior for more automated way in ConfigMgr 1710.
Hope it helps!
Sean Mahoney | Sr. PFE, Microsoft
Umair Khan | SEE, Microsoft
Disclaimer: This posting is provided “AS IS” with no warranties and confers no rights.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.