Reboot / Cluster

Questions about WAPT Server / Requests and help related to the WAPT server
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Locked
Skynot
Messages: 3
Registration: January 22, 2018 - 2:19 PM

January 24, 2018 - 10:59

Hello,
I have several questions that need answers to. :)
First, if I launch the installation of a Windows patch that automatically triggers a reboot, will the installation resume automatically after the reboot?

Second, my infrastructure has a production site and a backup site. Is it possible to cluster the WAPT server? So far, I've only managed to set up a remote repository. But if the server goes down, I have no backup.

Thank you in advance.
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

January 24, 2018 - 8:07 PM

Skynot wrote: Jan 24, 2018 - 10:59 AM Hello,
I have several questions that I need answered. :)
Firstly, if I launch the installation of a Windows patch that automatically triggers a reboot, will the installation resume on its own after the reboot?
We haven't planned anything for this at the moment, however you can code the package to restart the installation with a scheduled task after a reboot
Skynot wrote: Jan 24, 2018 - 10:59 AM Secondly, my infrastructure has a production site and a backup site. Is it possible to cluster the WAPT server? For now, I've only managed to set up a remote repository. But if the server goes down, I have nothing to replace it with.

Thanks in advance.
A postgresql cluster would be needed, but there is no official documentation for it at the moment.
Skynot wrote: Jan 24, 2018 - 10:59 My infrastructure has a production site and a backup site
In your case, is HA not managed by virtualization?
User avatar
dcardon
WAPT Expert
Messages: 1932
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

January 26, 2018 - 10:10

Skynot wrote: January 24, 2018 - 10:59 AM Hello,
I have several questions that I need answered :)
It's best to ask your question in a discussion thread. It's easier to follow that way. And please specify which WAPT version you're using.
Skynot wrote: Jan 24, 2018 - 10:59 First, if I launch the installation of a Windows patch that automatically triggers a reboot, will the installation resume on its own after the reboot?
If the installation of a package has not completed, the package will be marked as "to upgrade" or "missing" on the machine, and it will be installed at the next shutdown of the machine if WAPTExit is enabled, or before if the admin or the user requests the installation immediately.
Skynot wrote: Jan 24, 2018 - 10:59 AM Secondly, my infrastructure has a production site and a backup site. Is it possible to cluster the WAPT server? For now, I've only managed to set up a remote repository. But if the server goes down, I have nothing to replace it with.
There are two important data "sources" in WAPT:
- the machine, software and group packages in /var/www
- the postgresql (wapt 1.5) or mongodb (1.3) database which contains the inventory.

In your case, for a disaster recovery plan (DRP), I doubt it's useful to cluster the PostgreSQL database and use a clustered filesystem for the packages. The simplest solution would be to use the virtualization layer for the DRP component, as Simon suggested. If that's not possible, you'll need to regularly replicate the database and the /var/www files to the second site.

From an architecture and disaster recovery point of view, a WAPT server is not the most urgent; it is easy to restore from backups or snapshots, and it is not a critical server in terms of minutes: if the update takes an extra hour to come down because the main server room is burning down, it remains acceptable (unless you need WAPT to push configuration changes and change IP addresses urgently, etc.). :-)

Denis
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
Locked