Distributed storage for multi-site deployment

ttblum
Beiträge: 91
Registriert: 23 Jun 2017, 14:18
Wohnort: Cleveland, Ohio USA

Distributed storage for multi-site deployment

Beitragvon ttblum » 10 Jul 2017, 20:05

Hello,

We're thinking of deploying opsi across at least 3 locations.

What is recommended to use as storage for the depots? Should we set up a distributed DFS share, or is it better to use local storage on each depot server?

uncle_scrooge
Beiträge: 579
Registriert: 21 Feb 2012, 12:03
Wohnort: Mainz

Re: Distributed storage for multi-site deployment

Beitragvon uncle_scrooge » 11 Jul 2017, 11:56

Storage should be local to the depots.
Doesn't mean the depots must have local disks. (But that would be the simpliest option.)
Could also be an NFS volume or even (god beware) a DFS share. But close to the depot. Even if you have gigabit links between main site and locations.

ttblum
Beiträge: 91
Registriert: 23 Jun 2017, 14:18
Wohnort: Cleveland, Ohio USA

Re: Distributed storage for multi-site deployment

Beitragvon ttblum » 11 Jul 2017, 15:03

OK, thanks.

How are the sites synchronized? Is it a cron job that runs a synchronization script?

uncle_scrooge
Beiträge: 579
Registriert: 21 Feb 2012, 12:03
Wohnort: Mainz

Re: Distributed storage for multi-site deployment

Beitragvon uncle_scrooge » 11 Jul 2017, 15:32

There is, as of now, no preconfigured script that will do this automagically for you.
You have to keep the depots in sync for yourself. cron/rsync are a good pair.

Benutzeravatar
n.wenselowski
uib-Team
Beiträge: 3193
Registriert: 04 Apr 2013, 12:15

Re: Distributed storage for multi-site deployment

Beitragvon n.wenselowski » 11 Jul 2017, 17:07

You know that opsi-package-manager or opsi-product-updater can do this for you, right?
Believe it or not, there even is information about that in the manual! :lol:
opsi development - uib gmbh
For productive opsi installations we recommend support contracts.

ttblum
Beiträge: 91
Registriert: 23 Jun 2017, 14:18
Wohnort: Cleveland, Ohio USA

Re: Distributed storage for multi-site deployment

Beitragvon ttblum » 11 Jul 2017, 17:21

Forgive me, I was meaning ask what storage is recommended for OS files/drivers to use with unattended Windows installs (not for the packages and configs)

Benutzeravatar
SisterOfMercy
Beiträge: 1018
Registriert: 22 Jun 2012, 19:18

Re: Distributed storage for multi-site deployment

Beitragvon SisterOfMercy » 12 Jul 2017, 14:02

uncle_scrooge hat geschrieben:There is, as of now, no preconfigured script that will do this automagically for you.
You have to keep the depots in sync for yourself. cron/rsync are a good pair.


People should start sharing their stuff ;)

ssh-copy-id can be very handy in this situation.

What user do other people use, and how is this secured? only allow passwordless authentication from certain hosts/ip addresses?
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!

uncle_scrooge
Beiträge: 579
Registriert: 21 Feb 2012, 12:03
Wohnort: Mainz

Re: Distributed storage for multi-site deployment

Beitragvon uncle_scrooge » 12 Jul 2017, 14:09

>>What user do other people use, and how is this secured?
At this point my command of the english language left me puzzled.
What are you trying to tell me?
Thanks.

ttblum
Beiträge: 91
Registriert: 23 Jun 2017, 14:18
Wohnort: Cleveland, Ohio USA

Re: Distributed storage for multi-site deployment

Beitragvon ttblum » 12 Jul 2017, 14:45

I think SisterOfMercy is asking what everyone else is using to synchronize across multiple depots.

Am I correct that opsi-package-manager and opsi-product-updater synchronize configs and packages only, not OS files/drivers?

uncle_scrooge
Beiträge: 579
Registriert: 21 Feb 2012, 12:03
Wohnort: Mainz

Re: Distributed storage for multi-site deployment

Beitragvon uncle_scrooge » 12 Jul 2017, 15:11

One lives and learns. Thanks.

You are indeed correct. Keeping OS and driver files in sync across your depots is up to you.