Automated installations documentation inaccuracies
AlesGolob
Posts: 4 New member
While trying to perform an automated upgrade with the new automated install method I ran in some problems that are mostly the result of the documentation being wrong.
- Website parameter PRESERVECONFIG is set to 'no' by default while the documentation states it's set to 'yes'. So if you attempt an upgrade and wish to use the same connection configuration as before you have to set this parameter. The solution here would probably be to change the default value to yes in the MSI or correct the documentation.
- Base Monitor parameter SERVICERPCPORTNUM is empty by default and not set to 7399 as the documentation states. It in fact isn't a mandatory parameter but if it's not defined the base monitor configuration after upgrade (and perhaps even new install) is set to an empty string. This in turn causes the service to start and run but not listen on any network interface or port.
- Website and Base Monitor parameter I_AGREE_TO_THE_EULA is in fact mandatory for an upgrade even though the documentation states it's needed only for a new install.
It also seems this is the perfect method to install the Base Monitor with a gMSA account out of the box without any post install tinkering and manual service modification.
All in all a great job!
P.S.: I really hope that web.msi and base.msi files will be available separately for download as the current method of obtaining them is a bit convoluted.
Tagged:
Comments
1 - this actually does not work at all yet I'm afraid to say, but we will correct the documentation to reflect what should work (and will work when we've fixed it).
2 - this does not appear empty for me with 11.0.5 at least, can you retest with the latest version?
3 - I've raised an issue for this. Not sure if it should be mandatory or the documentation needs changing - we'll get to it.
We are working on a better way of making the MSIs available, no ETA on that yet though!
And when the service restarted the RPC port was not set in RedGate.SqlMonitor.Engine.Alerting.Base.Service.exe.settings.config:
And when the service restarted the RPC port was not set in RedGate.SqlMonitor.Engine.Alerting.Base.Service.exe.settings.config:
After I change enter the correct port number and restart the service the page works as expected.
But if I run the same upgrade by adding the SERVICERPCPORTNUM=7399 parameter the configuration is correct: