Dell Wyse Enhanced Ubuntu Linux T50 Bedienungsanleitung Seite 181

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 220
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 180
Chapter 15. Hiveconf
15.1.4. Hostwide Configuration
As we hinted in Section 15.1.2, Hiveconf lays the foundation for a hostwide configuration system where
all applications on a host can be configured using a single system with a common API. This can be
accomplished because each application will get its own subfolder in the hostwide configuration folder, so
that two applications parameters won’t collide even if they have the same name. Using the mount
command, every application can have its own configuration file, while still exporting its parameters to
the hostwide folder system.
There is a hostwide Hiveconf "root", implemented by the file /etc/root.hconf. This file mounts all
files in /etc/hiveconf.d/ where an application can drop its own hiveconf file at install-time, just like
it can drop a file in for example /etc/logrotate.d or /etc/profile.d. There is such a file for
ThinLinc that mounts the file /opt/thinlinc/etc/thinlinc.hconf under the folder thinlinc.
15.1.5. Hiveconf Tools
In addition to the system libraries used by applications to read and write configuration parameters that
reside in Hiveconf files, there is a command line utility named hivetool for inspecting and setting
parameters from the command line. This can be very convenient, for example when scripting setup
scripts that need to set some parameter.
Hivetool without parameters will do nothing. To see all parameters on the system, run:
# hivetool -Ra /
which instructs hivetool to print all parameters, beginning from the root (/) and recursing downwards.
With a standard Hiveconf installation this will list Samba and KDE configuration parameters. If
ThinLinc is installed, it will list ThinLinc parameters as well.
To print a specific parameter, run hivetool with the name of the parameter as parameter. For example:
[root@tlha-primary etc]# hivetool /thinlinc/vsmserver/admin_email
root@localhost
Setting a parameter is equally easy. To set the admin_email parameter above, execute the following:
# hivetool /thinlinc/vsmserver/[email protected]
15.2. Hiveconf and ThinLinc
ThinLinc uses Hiveconf as its primary configuration system on the serverside. In this section, we will
describe the convenience utility shipped with ThinLinc. For descriptions of the folders and parameters
used by ThinLinc, please refer to Chapter 14
15.2.1. The ThinLinc Configuration Tool - tl-config
In order to access the ThinLinc part of the Hiveconf configuration namespace without having to address
it using the hostwide path (i.e. to avoid having to add /thinlinc/ to all parameters, a tool named
tl-config is shipped with ThinLinc.
171
Seitenansicht 180
1 2 ... 176 177 178 179 180 181 182 183 184 185 186 ... 219 220

Kommentare zu diesen Handbüchern

Keine Kommentare