Download opsi Getting Started - Index of

Transcript
16 / 85
Mise en route d’opsi (Version d’opsi 4.0.3)
This command installs the opsi-listener into the UCS univention-directory-listener and restarts it. With a standardinstallation this listener works without further configuration. If a client is created or removed in LDAP, this information
is sent to opsi. So with this ucs-listener there is no need to create a client in opsi in addition. Don’t forget to deploy
the opsi-client-agent on new windows-clients as described in Section 4.2.1. The opsi-client-agent isn’t automatically
deployed with the opsi-listener.
The behavior of the opsi-listener can be controlled via UCR-variables. These are the possible configurations:
UCR-variable
digitec/opsi/listener/host/filter
digitec/opsi/listener/host/modify
digitec/opsi/listener/host/delete
digitec/opsi/listener/host/create
Function
LDAP search filter
opsi-Host-Objekt
Change an opsi-Host-Object
Remove an existing
opsi-Host-Object, if it is no longer
there in LDAP
Create an opsi-Host-Objekt
Default
(objectClass=univentionWindows)
true
true
true
These variables may be edited via UCS web interface or via command line. The following example describes how
to change one of the options named above via command line and how to make it undone. (For questions about the
handling via UCS web interface, look at the official UCS documentation)
Configuration of the LDAP search filter:
ucr set digitec/opsi/listener/host/filter=’(&(objectClass=univentionWindows)(customAttr=opsi))’
To make it undone and set it to default use:
ucr unset digitec/opsi/listener/host/filter
To activate these configurations, the univention-directory-listener service has to be restarted.
/etc/init.d/univention-directory-listener restart
It is possible to run a complete synchronization. This is useful e.g. if opsi is installed in an existing infrastructure.
Even if the variables named above have changed a complete synchronization may make sense. The following command
starts this synchronization:
univention-directory-listener-ctrl resync opsilistener
The listener writes its messages into: /var/log/univention/listener.log. The loglevel will be taken over from
univention-directory-listener and cannot separately be set, what would be usual for other services in opsi. The loglevel
is defined in the UCR-variable: listener/debug/level. Please notice, that the opsi-listener doesn’t offers the opsi
standard loglevels. It takes the loglevels from the univention-directory-listener (e.g. 4 is debug and 2 is normal output.
For more loglevel information look at the official UCS-documentation).
3.1.4
Installation sur openSUSE
S’il vous plaît notez:
– opsi 4.0 est testé et relâché pour openSUSE 11.3, 12.1 , 12.2.
– Le support pour openSUSE 11.3 est obsolèt.
– uib gmbh recommandent vivement aux fins d’évaluation l’utilisation de opsi-VM.
Lisez [?simpara] (si vous ne l’avez pas encore fait).
Préparatifs nécessaires:
– La commande
hostname -f