wan mode interval

Antworten
Gabriele
Beiträge: 8
Registriert: 02 Okt 2018, 17:47

wan mode interval

Beitrag von Gabriele »

Hi all,
today I had the need to test a new package that I have to release on critical systems that are in WAN mode and I wanted to do it just using that feature to simulate a situation as close as possible to reality, however the client connects to the server only every 60 minutes, which slowed me down a lot...

Is there any way to force a client in WAN mode to contact the server to see if there are updates to start downloading in the cache? Or even reduce the interval in which the client does the check from 60 minutes to 10 or less?
Benutzeravatar
wolfbardo
uib-Team
Beiträge: 1354
Registriert: 01 Jul 2008, 12:10

Re: wan mode interval

Beitrag von wolfbardo »

Gabriele hat geschrieben: 07 Apr 2022, 17:36
Is there any way to force a client in WAN mode to contact the server to see if there are updates to start downloading in the cache?
One can trigger for instance the timer-Event

Code: Alles auswählen

opsi-admin -a https://<ClientIp>:4441/opsiclientd -u "<FQDN>" -p "<OpsiHostKey>" method fireEvent "timer"

or

opsi-admin -d  method hostControlSafe_fireEvent "timer" <clientID>
regards,
Bardo Wolf


OPSICONF 2024
https://opsi.org/en/opsiconf/

opsi-Basisworkshops:

22. - 25. 04. 2024


opsi support - uib gmbh
For productive opsi installations we recommend maintainance + support contracts which are the base of opsi development.

http://www.uib.de
Gabriele
Beiträge: 8
Registriert: 02 Okt 2018, 17:47

Re: wan mode interval

Beitrag von Gabriele »

Tried just now the commands you suggested that happened a situation where it was useful to use it and worked perfectly, many thanks :)

In case, it could be useful to have it also in the "opsi config editor" in the menu "Fire opsiclientd event", but I imagine that for this thing you have to make a change in the source code of the program but being a function related to a cofunding module... however I pass you the idea.
Benutzeravatar
wolfbardo
uib-Team
Beiträge: 1354
Registriert: 01 Jul 2008, 12:10

Re: wan mode interval

Beitrag von wolfbardo »

Thanks for your reply.

Regarding
Gabriele hat geschrieben: 28 Apr 2022, 17:22 In case, it could be useful to have it also in the "opsi config editor" in the menu "Fire opsiclientd event", but I imagine that for this thing you have to make a change in the source code of the program but being a function related to a cofunding module... however I pass you the idea.
Sometimes it might be helpfull reading the docs

https://download.uib.de/opsi4.2/documen ... g-ondemand

and/or section

https://download.uib.de/opsi4.2/documen ... verconsole

As some kind of advertisement it might be better thinking about

https://www.uib.de/en/support-training/support

regards

bardo wolf


OPSICONF 2024
https://opsi.org/en/opsiconf/

opsi-Basisworkshops:

22. - 25. 04. 2024


opsi support - uib gmbh
For productive opsi installations we recommend maintainance + support contracts which are the base of opsi development.

http://www.uib.de
Antworten