Seite 1 von 1

Deregister depot

Verfasst: 26 Apr 2012, 10:04
von Amit
I have created a opsi-depot-server and connected it to my central opsi-server using opsi-setup --register-depot

However i would like to reverse action and make a standalone opsi-server.

How would this be possible?

Thanks

Re: Deregister depot

Verfasst: 26 Apr 2012, 17:31
von d.oertel
Hi,

I think (not tested) you should do the following things:
At your config-server:

Code: Alles auswählen

opsi-admin -d method deleteDepot <depotId>
--> you will loose all data that are connected to this depot

Code: Alles auswählen

opsi-setup --init-current-config
opsi-setup --set-rights
/etc/init.d/opsiconfd restart
/etc/init.d/opsipxeconfd restart
At your depot-server:
Redefine the usage of a real backend:
http://download.uib.de/opsi_stable/doc/ ... ig-backend

regards

d.oertel

Re: Deregister depot

Verfasst: 26 Apr 2012, 18:28
von Amit
Thanks, worked perfectly.

One quick question.

Using opsi-admin -d method is it possible to fire on demand events for a selected client?

Eg.

opsi-admin -d method setProductActionRequest <product_name> <client_name>

I would like to then fire this selected product on the selected client.

Thanks

Re: Deregister depot

Verfasst: 26 Apr 2012, 18:37
von d.oertel
Hi,

have a look at the method:

opsi-admin> method hostControl_fireEvent event *hostIds

regards
d.oertel