Do you guys restart your server after installing a minor upgrade?
Question asked by Ronald Raley - January 1 at 10:48 PM
Unanswered
I do each and every time and I'm wondering if others do as well.
 
It is necessary though?  The reason I ask is because after installation MailService.exe starts it's engine in the task manager.
 
Thanks,
Ron

8 Replies

Reply to Thread
0
Robert Emmett Replied
Employee Post
Ron, the installer will stop and start the MailService.exe. While it is not necessary to manually stop the service, my internal testing has found that the installer is slightly faster if the service is already stopped before performing an upgrade. You may also want to bounce the AppPool associated with SmarterMail, though the installer also does that depending on the option selected in the IIS configuration tool.  You do not need to restart the entire server after installation.  The installer does say you may have to if it detects the service running when you try to do an upgrade, another reason I personally stop the service before doing the upgrade.  Regardless, a server restart is not required.
Robert Emmett
Software Developer
SmarterTools Inc.
(877) 357-6278
www.smartertools.com
1
echoDreamz Replied
We always iisreset /stop, then stop the SmarterMail service, wait for all of them to go down. Uninstall SM, reboot the server, iisreset /stop again to shutdown IIS, install the new version of SmarterMail, then we have an a custom executable that polls port 25 until it responds, then starts IIS back up.
 
We simply do it out of habit as well as to give the server a fresh start along with SM.

Christopher

0
Ronald Raley Replied
Robert, thanks for the clarification.
0
Ronald Raley Replied
Okay, so you guys do a complete uninstall. At least you know your getting an absolutely fresh copy of SmarterMail.

We simply run the installer on top of the existing SmarterMail installation (minor upgrades).

I wonder if there are any interesting concerns either way.
0
echoDreamz Replied
Yes. We fully uninstall the previous build. Reboot the server, then install the new build. Just how we have always done it. Never had any issues.

Christopher

0
kevind Replied
If you had a dozen servers and had to do this 28 times in 2017 (# of 16.x releases), you would lose a lot of sleep doing 336 early AM updates. :)
1
Linda Pagillo Replied
I always reboot a server after the uninstall, before the install of a new minor build. I don't restart after the installation.
Linda Pagillo
Mail's Best Friend
Email: linda.pagillo@mailsbestfriend.com
Web: www.mailsbestfriend.com
Office: 703.988.3606

Authorized Reseller of SmarterTools Products
Authorized Reseller of Message Sniffer
1
Ionel Aurelian Rau Replied
This is the way we proceed, both for minor and major versions (unless there is another recommendation for a specific version):
1. Back up!
2. Stop SM service, IIS and WWW Publishing
3. Uninstall SM
4. Reboot whole VM
5. Install new version of SM. After finishing all dialogues, log into an user account and an admin account for the SM installation, just to check it`s up and running
6. Reboot whole VM
7. Log in again into SM as admin and check the domains.
8. Log in as user and send test mails to and from external accounts at major providers. View the source of the messages sent from SmarterMail using 3 major mail providers (Outlook.com, gMail.com, Yahoo.com) and check for anything suspicious.
10. In case of errors, check logs, etc
 
We never had any issues with the upgrade process itself using this method (which is usually done on a Sunday or Saturday evening). The server on which the VM sits is quite fast, so points 2-7 are done in 5, or max 10 minutes in extreme cases (e.g. server also had some updates pending and it was waiting for a reboot). Of course, maybe if we had tens of SM servers, it would not be so easy to do this whole process with all of them.

Reply to Thread