Seite 1 von 2

Distributed storage for multi-site deployment

Verfasst: 10 Jul 2017, 20:05
von ttblum
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?

Re: Distributed storage for multi-site deployment

Verfasst: 11 Jul 2017, 11:56
von uncle_scrooge
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.

Re: Distributed storage for multi-site deployment

Verfasst: 11 Jul 2017, 15:03
von ttblum
OK, thanks.

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

Re: Distributed storage for multi-site deployment

Verfasst: 11 Jul 2017, 15:32
von uncle_scrooge
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.

Re: Distributed storage for multi-site deployment

Verfasst: 11 Jul 2017, 17:07
von n.wenselowski
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:

Re: Distributed storage for multi-site deployment

Verfasst: 11 Jul 2017, 17:21
von ttblum
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)

Re: Distributed storage for multi-site deployment

Verfasst: 12 Jul 2017, 14:02
von SisterOfMercy
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?

Re: Distributed storage for multi-site deployment

Verfasst: 12 Jul 2017, 14:09
von uncle_scrooge
>>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.

Re: Distributed storage for multi-site deployment

Verfasst: 12 Jul 2017, 14:45
von ttblum
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?

Re: Distributed storage for multi-site deployment

Verfasst: 12 Jul 2017, 15:11
von uncle_scrooge
One lives and learns. Thanks.

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