Sync from master depot to satelite depots

julen
Beiträge: 3
Registriert: 15 Dez 2016, 09:37

Sync from master depot to satelite depots

Beitragvon julen » 26 Nov 2018, 15:57

I have an opsi master which acts as config and depot server.
I have installed an extra depot server as a "satelite" (no metadata). But my question is:

Is there any "opsi" way to sync the contents of a "master" depot into the satelite ones?
... sure, other than just rsync-ing the content or manually installing the packages...

ThomasT
Beiträge: 85
Registriert: 26 Jun 2013, 12:26

Re: Sync from master depot to satelite depots

Beitragvon ThomasT » 28 Nov 2018, 11:13

I would recommend the opsi-package-updater tool, especially combined with a recurring cron event.
You can find usage hints in the opsi-manual.

For starters i would adjust the settings in /etc/opsi/package-updater.repos.d/opsi-server.repo and after verifying the success of a package-updater run on the depot-server, adding a cron-task.

Another way would be the usage of opsi-package-manager with the "-d all" switch...
Kein Support per DM!
_________________________
opsi support - http://www.uib.de/
For productive opsi installations we recommend support contracts.

julen
Beiträge: 3
Registriert: 15 Dez 2016, 09:37

Re: Sync from master depot to satelite depots

Beitragvon julen » 29 Nov 2018, 16:54

Thank you very much Thomas,
I'll go with the opsi-package-updater one :)