Dell Wyse Enhanced Ubuntu Linux T50 Manual de usuario Pagina 179

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 220
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 178
Chapter 15. Hiveconf
15.1. Overview
Hiveconf is the name of the configuration system used in ThinLinc. It is however not a ThinLinc-specific
configuration system, but instead a generic configuration framework for storing key/value pairs in a
human readable way, although still in a format that’s easy to read and modify from a computer program.
Hiveconf stores data using a "backend", meaning configuration data can be stored in different ways. The
default backend which is also used in ThinLinc is using a text file format similar to Windows .INI-files,
or the format used in smb.conf from Samba.
In this section, we will describe Hiveconf from a general point of view and also describe
ThinLinc-specific details.
15.1.1. Basic Syntax
Basically, a Hiveconf file consists of key/value pairs with a equalsign(=) between them, as in the
following example:
vsm_server_port = 9000
vnc_port_base = 5900
The values after the equal sign can be of the following types:
String
Boolean
Integer
Float
Binary data as hexadecimal ASCII
Data can also be lists of the above types.
15.1.2. Tree Structure
Parameters in Hiveconf all reside in folders. Folders are just like a directory or folder in a normal file
system. By adding folder directives to Hiveconf files, the parameters will be split up in a tree structure,
meaning each parameter will be addressed using a path. This way, two folders can have two parameters
with the same name without collision.
The benefits of this is that a software suite (for instance ThinLinc) can have one common configuration
namespace, without having to name all configuration parameters uniquely, since every component in the
suite can have its own namespace. In ThinLinc, the VSM server has its parameters in the vsmserver/
folder, the VSM agent has its parameters in the vsmagent/ folder and so on.
Looking from a system global point of view, every software package has its own folder, meaning all
configuration parameters of the system can be accessed using a common tool.
169
Vista de pagina 178
1 2 ... 174 175 176 177 178 179 180 181 182 183 184 ... 219 220

Comentarios a estos manuales

Sin comentarios