I have a SharePoint2013 farm with 1 application (AP1), 1 frontend (FE1) and 1 database (DB1) server and I've added a new frontend server (FE2) to this farm. Everything works perfect except SPD worflow e-mails. Before adding new frontend server, all e-mails were working perfect but after adding this frontend server sometimes some e-mails are not sending. I have F5 load balancer in front of the FE1 and FE2 and sticky sessions enabled and also new FE2 have permission on our relay server. I did not find anything on ULS logs but still searching. What am I doing wrong? Is there anything else to do when adding new FE to farm?
Edit: I tried sending e-mail using following scripts.
$email = "[email protected]"
$subject = "Email through FE"
$body = "Message body. "
$site = New-Object Microsoft.SharePoint.SPSite "http://myspapp"
$web = $site.OpenWeb()
[Microsoft.SharePoint.Utilities.SPUtility]::SendEmail($web,0,0,$email,$subject,$body)
$web.Dispose()
1 -> FE1 and FE2 are up. Ran script 3 times from FE2 server and ULS logs says 3 e-mails successfully sent but only 2 e-mails I received.
2 --> FE1 up and FE2 down. Ran script 3 times and I received 3 e-mails as expected.
3 --> FE2 up and FE1 down. Ran script 3 times and I received 3 e-mails as expected.
4 --> FE1 up and FE2 up. Ran script 3 times and I received 1 e-mail.
Can F5 load balancer cause such problem? Sticky sessions enabled on F5 but is there any other configuration for SharePoint? Are Affinity and Persistence configuration mode for F5 sticky sessions and can they be enable or disable? I found this for difference between affinity and persistence but I don't know anything about F5 and how to do or what to tell F5 admins for this configuration.
Thanks in advance.