swaudit time consuming and heavy load on opsi server
swaudit time consuming and heavy load on opsi server
I just want to ask, whether is normal, that the instalation of swaudit package takes very long time when the installation process is in the phase "writing log data back to service". We recently updated 50 clients to latest opsi version and we also set to update the swaudit on all clients. When the users came to work in the morning it tooks very long time to boot the machine. The swaudit package hangs for a long time on "writing data back to service". The opsi server was under heavy load. the opsiconfd python processes were using all processors on the serveron 100%. The server When I strace the opsiconfd processes. There is lot of tux wait and poll fnctions calling. Further, the load is reproducible. When you set to setup the swaudit on one client, the load of one opsiconfd process is 100% on the server processor.
Is there something wrong in my installation?
Thank you in advance,
Jan Hubeny
Re: swaudit time consuming and heavy load on opsi server
Code: Alles auswählen
/etc/opsi/backendManager/dispatch.conf
bardo wolf
Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.
Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.
uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de
Re: swaudit time consuming and heavy load on opsi server
Code: Alles auswählen
backend_.* : file, opsipxeconfd
host_.* : file, opsipxeconfd
productOnClient_.* : file, opsipxeconfd
configState_.* : file, opsipxeconfd
.* : file
Re: swaudit time consuming and heavy load on opsi server
see
http://download.uib.de/opsi4.0/doc/html ... dp30629168
- install mysql-server
- run opsi-setup --configure-mysql
- change your dispatch.conf
Code: Alles auswählen
#
Recommended standard configuration (dhcpd not at the opsi server)
# file as main backend, mysql as hw/sw invent
# and license management backend and opsipxeconfd backend:
backend_.* : file, mysql, opsipxeconfd
host_.* : file, opsipxeconfd
productOnClient_.* : file, opsipxeconfd
configState_.* : file, opsipxeconfd
license.* : mysql
softwareLicense.* : mysql
audit.* : mysql
.* : file
Code: Alles auswählen
opsi-setup --init-current-config
opsi-setup --set-rights
/etc/init.d/opsiconfd restart
/etc/init.d/opsipxeconfd restart
bardo wolf
Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.
Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.
uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de
Re: swaudit time consuming and heavy load on opsi server
it seems, that the chenge of backend helped.
Regards,
Jan Hubeny
Re: swaudit time consuming and heavy load on opsi server
if it helps, we install windows from a depot server, but we did the backend configuration on the central server.
the dispatch.conf.default file on the depot contains the following lines:
backend_.* : jsonrpc, opsipxeconfd, dhcpd
.* : jsonrpc
the central server configuration file:
backend_.* : file, opsipxeconfd
host_.* : file, opsipxeconfd
productOnClient_.* : file, opsipxeconfd
configState_.* : file, opsipxeconfd
.* : file
audit.* : mysql
I think this is the proper configuration.
regards, np
Re: swaudit time consuming and heavy load on opsi server
running via product installation, hwaudit runs smoothly.
Re: swaudit time consuming and heavy load on opsi server
Please note your configuration might lead to some problems.inszekt_ hat geschrieben:
the central server configuration file:
backend_.* : file, opsipxeconfd
host_.* : file, opsipxeconfd
productOnClient_.* : file, opsipxeconfd
configState_.* : file, opsipxeconfd
.* : file
audit.* : mysql
I think this is the proper configuration.
Code: Alles auswählen
# Recommended standard configuration (dhcpd not at the opsi server)
# file as main backend, mysql as hw/sw invent
# and license management backend and opsipxeconfd backend:
backend_.* : file, mysql, opsipxeconfd
host_.* : file, opsipxeconfd
productOnClient_.* : file, opsipxeconfd
configState_.* : file, opsipxeconfd
license.* : mysql
softwareLicense.* : mysql
audit.* : mysql
.* : file
Especially the last Update
http://download.uib.de/opsi4.0/doc/html ... notes.html
with changes on Hardware Inventory "The Dell Express Code is now determined for Dell computers" will be broken with your config cause in the line
Code: Alles auswählen
backend_.* : file, opsipxeconfd
regards,
bardo wolf
Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.
Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.
uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de
Re: swaudit time consuming and heavy load on opsi server
backend_.* : file, mysql, opsipxeconfd
host_.* : file, opsipxeconfd
productOnClient_.* : file, opsipxeconfd
configState_.* : file, opsipxeconfd
.* : file
audit.* : mysql
Re: swaudit time consuming and heavy load on opsi server
Code: Alles auswählen
backend_.* : file, mysql, opsipxeconfd
host_.* : file, opsipxeconfd
productOnClient_.* : file, opsipxeconfd
configState_.* : file, opsipxeconfd
.* : file
audit.* : mysql
The lines are parsed from the top and the first matching wins.
This is for any 'audit*' file in this case.
use instead (the 'license' lines are useful if you perhaps later add a license management):
Code: Alles auswählen
backend_.* : file, mysql, opsipxeconfd
host_.* : file, opsipxeconfd
productOnClient_.* : file, opsipxeconfd
configState_.* : file, opsipxeconfd
license.* : mysql
softwareLicense.* : mysql
audit.* : mysql
.* : file
http://download.uib.de/opsi_stable/doc/ ... ig-backend
regards
d.oertel
Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.
Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.
uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de