Seite 1 von 1

wan mode interval

Verfasst: 07 Apr 2022, 17:36
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?

Re: wan mode interval

Verfasst: 11 Apr 2022, 15:04
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

Re: wan mode interval

Verfasst: 28 Apr 2022, 17:22
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.

Re: wan mode interval

Verfasst: 29 Apr 2022, 15:37
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