Hi All,
I have three servers using which I have configured database mirroring and transactional replication with pull subscription.
ServerA--Publisher/Distributor/principal
ServerB--Subscriber
ServerC--Mirror
After failover now ServerB pulls the data from ServerC which is the new Principal andI have set the -PublishfailoverPartner as ServerC .
After the failover is performed I see subscriber is pulling transactions from ServerC and transactions are getting replicated but I cannot see the publication listed under new publisher(ServerC) nor under old publisher ServerA from replication monitor.
What is the reason I cannot see the publications from replication Monitor. How will distributor know that ServerC is now the publisher.
Also I got the error when I executed below command for distribution agent. But still transactions are getting replicated after failover.
exec
sp_add_agent_parameter@profile_id= 4, @parameter_name =N'-PublisherFailoverPartner', @parameter_value =N'ServerC
Msg 21806, Level 16, State 1, Procedure sp_MSvalidate_agent_parameter, Line 63
parameter -PublisherFailoverPartner. The value must be an integer. Verify that replication is installed properly and that sp_add_agent_parameter is invoked with a valid value.The agent profile creation process cannot validate the specified agent parameter value: the profile_id 4 does not exist or it does not support the
Any inputs will be of great help.
Regards,
Raj
Raj