Hi Folks,
I've been going spare trying to get silent agent installs working properly on several servers which are all in the same domain. Taking apart the Agent install process has been interesting but certain results I'm getting are just bonkers.
This is all in Azure BTW.
From the Agent Download page I created a manually configured MST with the FQDN of our test poller with matching IP address. The test environment is running 2024.1 successfully.
Copied the MSI and MST onto the target servers and install with 'msiexec -i "msiName" TRANSFORMS="mstName" /qn' and a few seconds later I have an Agent running. However, on the first server the install was fine and I got the config file I was expecting and it's talking to the test poller. The second server got a completely different config file that I know had previously been on that server.
Realising the MST contained the certificate with the poller address etc I looked at the certs installed on the first server.

'SolarWinds Agent Provision - <GUID>' must be created when Provisioning succeeds. Solarwinds-Orion is the same on all servers and is the cert that authenticates with the poller.
On the second server I have this:

Solarwinds-Orion is the same as before with identical details. The second one I have no idea, unless that's created by the agent and when provisioning takes place this cert is removed and the 'Provison- <GUID>' one takes its place.
Question is, why should two identical servers act completely differently and where is this incorrect config coming from? It's not the templates or stored in %appdata% that I can see.
Another oddity is if I create an MST with an IP address of 1.2.3.4 and install the agent with it I do get a config file containing that IP address. If I stop the service and change the IP address to one I know is correct and restart, the IP no longer matches the cert and that config file is OVERWRITTEN with the incorrect one which is obviously stored...somewhere. To test this I changed the permissions of the config file so only I could access it and started the service - it complained that the cert didn't match.
I realise I might not be explaining very well, this could explain the radio silence from Support after I logged a ticket last week.
Anyone come across this before?
Cheers
Adrian