Config & Depot server

Antworten
dorian.borovina
Beiträge: 36
Registriert: 24 Aug 2017, 12:32

Config & Depot server

Beitrag von dorian.borovina »

Hello everyone,

i would appreciate some help on this case.

Location A => Slave (OS Installations, software deployment, testings)
Location B => Master (Software deployment)

The thing is I have OPSI server (Debian 8.8) installed on location A (SLAVE) where we use it for client roll out, OS Installation and some testings.
Now I installed another fresh OPSI server (Debian 8.8) on a remote location B which I would like to use as MASTER server and connect all future OPSI servers to the master.

I fired

Code: Alles auswählen

opsi-setup --register-depot

on location A (SLAVE) and registered depot at config server.
Everything went fine, after I refreshed opsi-configed, another Depot-Server showed up.

The problem is, all my clients and local products from slave server are gone.
Clients are not "existing" on both servers.
Local products are still there on "workbench" and "depot", but they're like uninstalled from server or something.
Like I did some factory reset :D

Backup is restored and everything is back like it was before.

Is there a way to "sync" a slave server with master and vice-versa in order to control all the slaves from master?

Example;

Create a OPSI client on slave or vice-versa, is it visible on master?


Best regards,
Dorian Borovina
Best regards,
Dorian Borovina
Benutzeravatar
n.wenselowski
Ex-uib-Team
Beiträge: 3194
Registriert: 04 Apr 2013, 12:15

Re: Config & Depot server

Beitrag von n.wenselowski »

Hi Dorian,

the terms used are usually configserver for the server holding metadata and depot(server) for the ones holding installation data.
A depot does not hold any metadata but instead relies all requests to the config server.

If you now register your old configserver (server A) to a new configserver (server B) your location A server get's demoted to a depot.
What you miss here is migrating all the data from server A to the server b before doing so.


Kind regards

Niko

Code: Alles auswählen

import OPSI
dorian.borovina
Beiträge: 36
Registriert: 24 Aug 2017, 12:32

Re: Config & Depot server

Beitrag von dorian.borovina »

Hi Niko,

Thank you very much for your answer.

I will try it out and let you know about the outcome.
n.wenselowski hat geschrieben:Hi Dorian,

the terms used are usually configserver for the server holding metadata and depot(server) for the ones holding installation data.
A depot does not hold any metadata but instead relies all requests to the config server.

If you now register your old configserver (server A) to a new configserver (server B) your location A server get's demoted to a depot.
What you miss here is migrating all the data from server A to the server b before doing so.


Kind regards

Niko
Best regards,
Dorian Borovina
dorian.borovina
Beiträge: 36
Registriert: 24 Aug 2017, 12:32

Re: Config & Depot server

Beitrag von dorian.borovina »

Hi Niko,

Sorry for the late response.
I took me some time to research and figure out how does it work.
Now I'm able to send commands from the Config to the Depot server.
This was the idea I wanted to accomplish.

Admin => Config server => Depot server => End device

Best regards! :D
Best regards,
Dorian Borovina
Antworten