minor optimizations
[util-vserver.git] / util-vserver / doc / configuration.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <database xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
3           xsi:noNamespaceSchemaLocation="file:configuration.xsd">
4
5  <!-- Global configuration -->
6  <collection name=".default" use="optional">
7   <collection name="init" type="fixed">
8    <data name="mtab">
9     <description>Default mtab file</description>
10    </data>
11   </collection>
12
13   <link name="vdirbase">
14    <default>/vservers</default>
15   </link>
16   
17   <collection name="apps">
18    <collection name="pkgmgmt">
19     <link name="base">
20      <default>/vservers/.pkg</default>
21     </link> 
22     <data name="apt.conf">
23      <description>
24       The default apt.conf which is going to be used. It is overridden by
25       distribution specific configuration file.
26      </description>
27     </data>
28    </collection>
29    
30    <collection name="debootstrap">
31     <scalar name="mirror">
32      <description>
33       The Debian mirror to use with the 'debootstrap' program
34      </description>
35     </scalar>
36     <scalar name="uri">
37      <description>
38       When the 'debootstrap' package is not installed; fetch it from this uri and
39       install it at a temporary place.
40      </description>
41     </scalar>
42    </collection>
43    
44    <collection name="vprocunhide">
45     <list name="files">
46      <description>
47       A list of files which will be made visibly by vprocunhide. Wildcards are
48       allowed and anything ending in '/' will be processed recursively. When this file exists,
49       it overrides the defaults in SYSDEFAULTDIR/vprocunhide-files. The entries there must be
50       absolute filenames inclusive the leading '/proc'.
51      </description>
52     </list>
53    </collection>
54    
55    <collection name="init">
56     <link name="tty">
57      <description>
58       A symlink to the TTY device where input/output will be redirected from/to
59       at startup via initscript.
60      </description>
61     </link>
62    </collection>
63    
64    <collection name="vunify">
65     <list name="exclude">
66      <description>
67       Static list of excluded files.
68      </description>
69     </list>
70    </collection>
71   </collection>
72    
73   <collection name=".distributions" use="optional">
74    <collection name="dist" type="symbolic">
75     <scalar name="dev">
76      <description>
77      </description>
78     </scalar>
79     <data name="apt.conf">
80      <description>
81       The default apt.conf which is going to be used. It overrides the apt.conf
82       from CONFDIR/.defaults/apps/pkgmgmt.
83      </description>
84     </data>
85     <program name="initpre">
86      <description>
87       Script which will be executed before packages will be installed.
88      </description>
89      <parameterList>
90       <parameter name="confdir">
91        <description>
92         The configuration directory of the vserver which is going to be set up.
93        </description>
94       </parameter>
95       <parameter name="vserver">
96        <description>
97         The pathname of the vserver binary.
98        </description>
99       </parameter>
100      </parameterList>
101     </program>
102     <program name="initpost">
103      <description>
104       Script which will be executed after packages are installed.
105      </description>
106      <parameterList>
107       <parameter name="confdir">
108        <description>
109         The configuration directory of the vserver which is going to be set up.
110        </description>
111       </parameter>
112       <parameter name="vserver">
113        <description>
114         The pathname of the vserver binary.
115        </description>
116       </parameter>
117      </parameterList>
118     </program>
119     
120     <collection name="pkgs">
121      <description>
122       Contains files with packages.
123      </description>
124      <list name="list">
125       <description>
126        File which contains the name of packages. On top of file the special
127        keywords '--reinstall' and '--can-fail' are possible.
128       </description>
129      </list>
130     </collection>
131     
132     <collection name="pubkeys">
133      <description>
134       Directory with GPG pubkeys which are used to sign the packages of this
135       distribution.
136      </description>
137     </collection>
138     
139     <collection name="apt">
140      <description>
141       Default content of the /etc/apt/ directory.
142      </description>
143     </collection>
144     
145     <collection name="rpm">
146      <description>
147       Default content of the /etc/rpm directory.
148      </description>
149     </collection>
150     
151     <link name="rpmlib">
152      <description>
153       Directory which overrides /usr/lib/rpm.
154      </description>
155     </link>
156     <link name="execdir">
157      <description>
158       Directory with all executables and libraries which are required for this
159       distribution.
160      </description>
161     </link>
162    </collection>
163   </collection>
164  </collection>
165  
166  <!-- Vserver configuration -->
167  <collection name="vserver-name" type="symbolic">
168   <description>
169    The configuration directory for the vserver vserver-name.
170   </description>
171   
172   <link name="vdir">
173    <description>
174     Path of the vserver root directory
175    </description>
176   </link>
177
178   <link name="run">
179    <description>
180     Path of the vserver run directory
181    </description>
182   </link>
183
184   <link name="run.rev">
185    <description>
186     Path of the vserver run reverse directory
187    </description>
188   </link>
189   
190   <list name="bcapabilities">
191    <description>
192     [experimental; name is subject of possible change] Contains the system capabilities. See
193     <ulink url="http://savannah.nongnu.org/cgi-bin/viewcvs/util-vserver/util-vserver/lib/bcaps-v13.c?rev=HEAD">lib/bcaps-v13.c</ulink>
194     for possible values.
195    </description>
196   </list>
197   <list name="ccapabilities">
198    <description>
199     [experimental; name is subject of possible change] Contains the context capabilities. See
200     <ulink url="http://savannah.nongnu.org/cgi-bin/viewcvs/util-vserver/util-vserver/lib/ccaps-v13.c?rev=HEAD">lib/ccaps-v13.c</ulink>
201     for possible values.
202    </description>
203   </list>
204   <hash name="schedule">
205    <description>
206     [experimental; name is subject of possible change] Contains the scheduler parameters, 
207     one per line.
208     
209     The Hard CPU limit uses a mechanism called a Token Bucket.
210     the concept is simple: you have a bucket of a certain size
211     which is filled with a specified amount R of tokens each
212     interval T until the maximum is reached (excess tokens
213     are spilled). At each timer tick, a running process consumes
214     one token from the bucket, unless the bucket is empty. If the
215     bucket is empty the process is put in the hold queue. When the
216     bucket has been refilled to at least M tokens, all on hold 
217     processes are rescheduled.
218    </description>
219    <keys>
220     <key name="fill-rate">
221      <description>
222       Amount of tokens append to the bucket each interval.
223      </description>
224     </key>
225     <key name="interval">
226      <description>
227       The intervall between refills of amount 'fill_rate'. This value is express in ticks.
228      </description>
229     </key>
230     <key name="tokens">
231      <description>
232       Initial bucket contents.
233      </description>
234     </key>
235      <key name="tokens-min">
236      <description>
237       The minimum amount of tokens required to unhold processes
238      </description>
239     </key>
240     <key name="tokens-max">
241      <description>
242       The bucket size.
243      </description>
244     </key>
245     <key name="cpu-mask">
246      <description>
247       Unused at the moment.
248      </description>
249     </key>
250    </keys>
251   </hash>
252   <scalar name="hostname">
253    <description>
254     Contains the hostname of the vserver. Same as uts/nodename.
255    </description>
256   </scalar>
257   <scalar name="name">
258    <description>
259     Contains the name of the vserver. When not given, the basename of the directory
260     will be assumed as this name.
261    </description>
262   </scalar>
263   <scalar name="domainname">
264    <description>
265     The domainname of the vserver. Same as uts/domainname.
266    </description>
267   </scalar>
268   <scalar name="nice">
269    <description>
270     The nice-level on which the vserver will be started.
271    </description>
272   </scalar>
273   <list name="capabilities">
274    <description>
275     Contains per line a capability. This file is used for the 2.4
276     kernel only; for 2.6 use 'bcapabilities'.
277    </description>
278   </list>
279   <scalar name="shell">
280    <description>
281     Contains the pathname of the shell which will be used by the "vserver ... enter"
282     command.
283    </description>
284   </scalar>
285   <list name="flags">
286    <description>
287     Contains per line a flag. See
288     <ulink url="http://savannah.nongnu.org/cgi-bin/viewcvs/util-vserver/util-vserver/lib/cflags-v13.c?rev=HEAD">lib/cflags-v13.c</ulink>
289     for possible values.
290    </description>
291    <elements>
292     <element name="fakeinit">
293      <description>
294       The new process will believe it is process number 1. Useful to run a real 
295       /sbin/init in a vserver.
296      </description>
297     </element>
298     <element name="lock">
299      <description>
300       The new process is trapped and can't use chcontext anymore.
301      </description>
302     </element>
303     <element name="sched">
304      <description>
305       The new process and its children will share a common
306      </description>
307     </element>
308     <element name="nproc">
309      <description>
310       Limit the number of process in the vserver according to
311       ulimit setting. Normally, ulimit is a per user thing.
312       With this flag, it becomes a per vserver thing.  
313      </description>
314     </element>
315     <element name="private">
316      <description>
317       No one can join this security context once created.
318      </description>
319     </element>
320     <element name="ulimit">
321      <description>
322       Apply the current ulimit to the whole context
323      </description>
324     </element>
325    </elements>
326   </list>
327   <scalar name="context">
328    <description>
329     Contains the context which shall be used for the vserver.
330    </description>
331   </scalar>
332   <data name="fstab">
333    <description>
334     The fstab file for the vserver. Entries in this file will be mounted within the
335     network context of the vserver; this means that mount will be called as 'chbind &lt;options&gt;
336     mount ...'. Use the 'fstab.local' file when you do not want this behavior, but in most cases
337     the 'fstab' file should be used.
338    </description>
339   </data>
340   <data name="fstab.local">
341    <description>
342     The fstab file for the vserver. In opposite to the normal 'fstab' file, the
343     mounting happens in the local network context. Currently there is no way to mix entries of
344     both files; 'fstab' will be always processed before 'fstab.local'.
345    </description>
346   </data>
347   
348   <collection name="apps">
349    <collection name="init">
350     <data name="mtab">
351      <description>
352       The initial-mtab which will be used for the vserver.
353      </description>
354     </data>
355     
356     <scalar name="style">
357      <description>
358       Contains the init-style.
359      </description>
360      <restriction>
361       <enumeration value="sysv"/>
362       <enumeration value="plain"/>
363       <enumeration value="minit"/>
364       <enumeration value="gento"/>
365      </restriction>
366     </scalar>
367                                                                                                                                   
368     <scalar name="runlevel">
369      <description>The start runlevel.</description>
370     </scalar>
371                                                                                                                                   
372     <scalar name="runlevel.start">
373      <description>The start runlevel.</description>
374     </scalar>
375                                                                                                                                   
376     <scalar name="runlevel.stop">
377      <description>The stop runlevel.</description>
378     </scalar>
379                                                                                                                                   
380                   <scalar name="killseq">
381                    <description>
382                     Contains the 'signal [wait signal]*' sequence which is used to stop the
383                     vserver.
384                    </description>
385                   </scalar>
386                                                                                                                                           
387                   <list name="cmd.start">
388                    <description>
389                     The command which is used to start the vserver. Each option must be on a
390                     separate line.
391                    </description>
392                   </list>
393                                                                                                                                           
394                   <list name="cmd.start-sync">
395                    <description>
396                     The command which is used to wait on the vserver after it has been
397                     started. Each option must be on a separate line. This file will be ignored when the
398                     'sync' does not exist and the '--sync' option was not used.
399                    </description>
400                   </list>
401                                                                                                                                           
402                   <list name="cmd.stop">
403                    <description>
404                     The command which is used to stop the vserver. Each option must be on a
405                     separate line.
406                    </description>
407                   </list>
408                                                                                                                                           
409     <list name="cmd.stop-sync">
410      <description>
411       The command which is used to wait on the vserver after it has been
412       stopped. Each option must be on a separate line. This file will be ignored when the
413       'sync' does not exist and the '--sync' option was not used.
414      </description>
415     </list>
416                                                                                                                                   
417                   <list name="cmd.prepare">
418                    <description>
419                     The command which is used to setup the init-system (e.g. to set the runlevel
420                     in the utmp-file). Each option must be on a separate line.
421                    </description>
422                   </list>
423                                                                                                                                           
424                   <boolean name="sync">
425                    <description>
426                     If this file is not present, all 'cmd.*-sync files will be ignored.
427                    </description>
428                   </boolean>
429                                                                                                                                           
430                   <link name="tty">
431                    <description>
432                     A symlink to the TTY device where input/output will be redirected from/to
433                     at startup via initscript.
434                    </description>
435                   </link>
436                 
437                   <scalar name="mark">
438                     <description>
439                      This file is used to mark group of vservers which shall be started/stopped
440                      together by the initscript. Content is a simple string like 'default'.
441                     </description>
442                   </scalar>
443                                                                                                                                           
444                   <list name="depends">
445                     <description>
446                      This file is used to configure vservers which must be running before the
447                      current vserver can be started. At shutdown, the current vserver will be stopped before
448                      its dependencies. Content of this file are vserver ids (one name per line).
449                     </description>
450                   </list>
451    </collection>
452    
453    <collection name="vshelper">
454                   <scalar name="sync-timeout">
455                    <description>
456                     The timeout in seconds which is used when synchronising vserver startup/shutdown
457                     with the vshelper. When no set, 30 seconds will be assumed.
458                    </description>
459                    <default>30</default>
460                   </scalar>
461                                                                                                                                           
462                   <scalar name="action">
463                    <description>
464                     The action which is going to be executed when a vshelper event occurs. The
465                     default value is 'restart', but there can be defined own methods by placing scripts into
466                     the 'vshelper-methods' directories. These scripts are fed with the same arguments as the
467                     'vshelper' script.
468                    </description>
469                    <default>restart</default>
470                   </scalar>
471                                                                                                                                   
472                   <program name="event" type="symbolic">
473                    <description>
474                     When existing. these scripts will be executed *instead* of the default
475                     handler defined in 'action'. Their name must match the event which caused the execution
476                     of 'vshelper'; e.g. 'restart' or 'poweroff'. See the vs_reboot() function in the kernel
477                     for more details.
478                    </description>
479                    <parameterList>
480                     <parameter name="xid">
481                      <description>The xid of the context calling the vshelper</description>
482                     </parameter>
483                     <parameter name="event">
484                      <description>The reboot-event</description>
485                     </parameter>
486                    </parameterList>
487                   </program>
488                                                                                                                                           
489                   <boolean name="disabled">
490                    <description>
491                     When existing, the vshelper functionality will be disabled for this
492                     vserver.
493                    </description>
494                   </boolean>
495                                                                                                                                           
496                   <boolean name="warning-disabled">
497                     <description>
498                      When existing, sanity checks for the vshelper functionality will be
499                      skipped.
500                     </description>
501                   </boolean>
502                                                                                                                                           
503     <link name="logfile">
504       <description>
505        The file where output will be logged to when 'vshelper' is invoked from the
506        kernel. This should point somewhere e.g. into /var/log.
507       </description>
508     </link>
509    </collection>
510    
511    <collection name="vshelper-methods">
512     <program name="handler" type="symbolic">
513      <description>
514       See vshelper/action.
515      </description>
516     </program>
517    </collection>
518    
519    <collection name="vunify">
520                   <description>
521                    This directory contains configuration data required for vserver
522                    unification.
523                   </description>
524                                                                                                                                           
525                   <list name="exclude">
526                     <description>
527                      Static list of excluded files. This list supports an rsync syntax: when a
528                      file is prefixed by '+', it is a candidate for unification; when there is no prefix or a
529                      '-' it will be excluded. Shell-wildcards are allowed for the filenames.
530                     </description>
531                   </list>
532                                                                                                                                           
533                   <link name="refserver.X" type="symbolic">
534                    <description>
535                     These are symlinks to the configuration directory
536                     (e.g. CONFDIR/vservers/&lt;id&gt;) of a refserver. There may be multiple such symlinks
537                     but they must be prefixed by 'refserver.' and will be processed in alphanumerical
538                     order.
539                    </description>
540                   </link>
541    </collection>
542   </collection>
543   
544   <collection name="scripts">
545    <description>
546     A directory for scripts. By default, when one of these scripts will be executed,
547     the execution of defaultscripts (within .../.defaults/scripts) will be skipped. To execute
548     them nevertheless, the $DONT_SKIP_DEFAULTS environment variable must be set by one of the
549     in-shellcontext scripts (the non-executable ones).
550    </description>
551    
552    <program name="prepre-start">
553     <description>
554      The scriptlet which will be executed before the network-interfaces are enabled
555      and the directories are mounted."
556     </description>
557     <parameterList>
558      <parameter name="vserver-dir">
559       <description>The configuration directory of the current vserver.</description>
560      </parameter>
561      <parameter name="vserver-name">
562       <description>The name of the current vserver.</description>
563      </parameter>
564      <parameter name="action">
565       <description>The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).</description>
566      </parameter>
567     </parameterList>
568    </program>
569    <collection name="prepre-start.d">
570     <description>
571      Repository of prepre-start like scripts
572     </description>                                                                                                                 
573     <program name="script" type="symbolic">
574       <description>See prepre-start.</description>
575       <parameterList>
576                      <parameter name="vserver-dir">
577                       <description>The configuration directory of the current vserver.</description>
578                      </parameter>
579                      <parameter name="vserver-name">
580                       <description>The name of the current vserver.</description>
581                      </parameter>
582                      <parameter name="action">
583                       <description>The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).</description>
584                      </parameter>
585                     </parameterList>
586     </program>
587    </collection>
588                                                                                                                               
589    <program name="pre-start">
590     <description>
591      The scriptlet which will be executed after network-interfaces were enabled and
592      the directories mounted, but before the vserver itself has been started.
593     </description>
594     <parameterList>
595      <parameter name="vserver-dir">
596       <description>The configuration directory of the current vserver.</description>
597      </parameter>
598      <parameter name="vserver-name">
599       <description>The name of the current vserver.</description>
600      </parameter>
601      <parameter name="action">
602       <description>The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).</description>
603      </parameter>
604     </parameterList>
605    </program>
606    <collection name="pre-start.d">
607     <description>
608      Repository of pre-start like scripts
609     </description>                                                                                                                 
610     <program name="script" type="symbolic">
611       <description>See pre-start.</description>
612       <parameterList>
613                      <parameter name="vserver-dir">
614                       <description>The configuration directory of the current vserver.</description>
615                      </parameter>
616                      <parameter name="vserver-name">
617                       <description>The name of the current vserver.</description>
618                      </parameter>
619                      <parameter name="action">
620                       <description>The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).</description>
621                      </parameter>
622                     </parameterList>
623     </program>
624    </collection>
625                                                                                                                 
626
627    <program name="post-start">
628     <description>
629      The scriptlet which will be executed after the vserver has been started.
630     </description>
631     <parameterList>
632      <parameter name="vserver-dir">
633       <description>The configuration directory of the current vserver.</description>
634      </parameter>
635      <parameter name="vserver-name">
636       <description>The name of the current vserver.</description>
637      </parameter>
638      <parameter name="action">
639       <description>The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).</description>
640      </parameter>
641     </parameterList>
642    </program>
643    <collection name="post-start.d">
644     <description>
645      Repository of post-start like scripts
646     </description>                                                                                                                 
647     <program name="script" type="symbolic">
648       <description>See post-start.</description>
649       <parameterList>
650                      <parameter name="vserver-dir">
651                       <description>The configuration directory of the current vserver.</description>
652                      </parameter>
653                      <parameter name="vserver-name">
654                       <description>The name of the current vserver.</description>
655                      </parameter>
656                      <parameter name="action">
657                       <description>The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).</description>
658                      </parameter>
659                     </parameterList>
660     </program>
661    </collection>
662
663
664    <program name="pre-stop">
665     <description>
666      The scriptlet which will be executed before the vserver will be stopped.
667     </description>
668     <parameterList>
669      <parameter name="vserver-dir">
670       <description>The configuration directory of the current vserver.</description>
671      </parameter>
672      <parameter name="vserver-name">
673       <description>The name of the current vserver.</description>
674      </parameter>
675      <parameter name="action">
676       <description>The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).</description>
677      </parameter>
678     </parameterList>
679    </program>
680    <collection name="pre-stop.d">
681     <description>
682      Repository of pre-stop like scripts
683     </description>                                                                                                                 
684     <program name="script" type="symbolic">
685       <description>See pre-stop.</description>
686       <parameterList>
687                      <parameter name="vserver-dir">
688                       <description>The configuration directory of the current vserver.</description>
689                      </parameter>
690                      <parameter name="vserver-name">
691                       <description>The name of the current vserver.</description>
692                      </parameter>
693                      <parameter name="action">
694                       <description>The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).</description>
695                      </parameter>
696                     </parameterList>
697     </program>
698    </collection>
699
700    <program name="post-stop">
701     <description>
702      The scriptlet which will be executed after the vserver has been stopped, but
703      before the directories will be umounted and the the interfaces
704      disabled.
705     </description>
706     <parameterList>
707      <parameter name="vserver-dir">
708       <description>The configuration directory of the current vserver.</description>
709      </parameter>
710      <parameter name="vserver-name">
711       <description>The name of the current vserver.</description>
712      </parameter>
713      <parameter name="action">
714       <description>The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).</description>
715      </parameter>
716     </parameterList>
717    </program>
718    <collection name="post-stop.d">
719     <description>
720      Repository of post-stop like scripts
721     </description>                                                                                                                 
722     <program name="script" type="symbolic">
723       <description>See post-stop.</description>
724       <parameterList>
725                      <parameter name="vserver-dir">
726                       <description>The configuration directory of the current vserver.</description>
727                      </parameter>
728                      <parameter name="vserver-name">
729                       <description>The name of the current vserver.</description>
730                      </parameter>
731                      <parameter name="action">
732                       <description>The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).</description>
733                      </parameter>
734                     </parameterList>
735     </program>
736    </collection>
737                                                                                                                               
738    <program name="postpost-stop">
739     <description>
740      The scriptlet which will be executed after the vserver has been stopped
741      completely.
742     </description>
743     <parameterList>
744      <parameter name="vserver-dir">
745       <description>The configuration directory of the current vserver.</description>
746      </parameter>
747      <parameter name="vserver-name">
748       <description>The name of the current vserver.</description>
749      </parameter>
750      <parameter name="action">
751       <description>The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).</description>
752      </parameter>
753     </parameterList>
754    </program>
755    <collection name="postpost-stop.d">
756     <description>
757      Repository of postpost-stop like scripts
758     </description>                                                                                                                 
759     <program name="script" type="symbolic">
760       <description>See postpost-stop.</description>
761       <parameterList>
762                      <parameter name="vserver-dir">
763                       <description>The configuration directory of the current vserver.</description>
764                      </parameter>
765                      <parameter name="vserver-name">
766                       <description>The name of the current vserver.</description>
767                      </parameter>
768                      <parameter name="action">
769                       <description>The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).</description>
770                      </parameter>
771                     </parameterList>
772     </program>
773    </collection>
774   </collection>
775   
776   <collection name="interfaces">
777                         <scalar name="bcast">
778                          <description>The default broadcast address.</description>
779                         </scalar>
780                         <scalar name="dev">
781                          <description>The default network device.</description>
782                         </scalar>
783                         <scalar name="prefix">
784                           <description>The default network prefix.</description>
785                         </scalar>
786                         <scalar name="mask">
787                           <description>The default network mask.</description>
788                         </scalar>
789                         <scalar name="scope">
790                           <description>The default scope of the network interfaces.</description>
791                         </scalar>
792                                                                                                                                                   
793                         <collection name="iface" type="symbolic">
794                   <description>
795                    'iface' is an arbitrary name for the interface; the value itself is not important
796                    but may be interesting regarding interface-creation and usage with 'chbind'. Both happens in
797                    alphabetical order and numbers like '00' are good names for these directories.
798                   </description>
799                                                                                                                                           
800                   <boolean name="disabled">
801                     <description>When this file exists, this interface will be ignored.</description>
802                   </boolean>
803                                                                                                                                           
804                   <scalar name="ip">
805                    <description>The ip which will be assigned to this interface.</description>
806                   </scalar>
807                   <scalar name="bcast">
808                    <description>The broadcast address.</description>
809                   </scalar>
810                   <scalar name="dev">
811                    <description>The network device.</description>
812                   </scalar>
813                   <scalar name="prefix">
814                    <description>The network prefix.</description>
815                   </scalar>
816                   <scalar name="mask">
817                    <description>The network mask.</description>
818                   </scalar>
819                   <scalar name="scope">
820                    <description>The scope of the network interface.</description>
821                   </scalar>
822                   <scalar name="name">
823                    <description>
824                     When this file exists, the interface will be named with the text in this file.
825                    </description>
826                   </scalar>
827                   <boolean name="nodev">
828                    <description>
829                     When this file exists, the interface will be assumed to exist already.
830                    </description>
831                   </boolean>
832    </collection>
833   </collection>
834   
835   <collection name="ulimits">
836                         <description>
837                          A directory with ulimits. Possible resources are cpu, data, fsize, locks,
838                          memlock, nofile, nproc, rss and/or stack. This configuration will be honored
839                          for kernel 2.4 only.
840                         </description>                                                                                                                 
841                         <scalar name="resource" type="symbolic">
842                           <description>
843                            A file which contains the hard- and soft-limit of the given resource in the
844                            first line. The special keyword 'inf' is recognized.
845                           </description>
846                         </scalar>                                                                            
847                         <scalar name="resource.hard" type="symbolic">
848                           <description>
849                            A file which contains the hard- of the given resource in the first line. The
850                            special keyword 'inf' is recognized.
851                           </description>
852                         </scalar>                                                                                             
853                         <scalar name="resource.soft" type="symbolic">
854                           <description>
855                            A file which contains the soft- of the given resource in the first line. The
856                            special keyword 'inf' is recognized.
857                           </description>
858                         </scalar>
859   </collection>
860  
861   <collection name="rlimits">
862    <description>
863                          A directory with resource limits. Possible resources are cpu, data, fsize, locks,
864                          memlock, nofile, nproc, rss and/or stack. This configuration will be honored
865                          for kernel 2.6 only.
866                         </description>                                                                                                                 
867                         <scalar name="resource" type="symbolic">
868                           <description>
869                            A file which contains the hard- and soft-limit of the given resource in the
870                            first line. The special keyword 'inf' is recognized.
871                           </description>
872                         </scalar>                                                                            
873                         <scalar name="resource.hard" type="symbolic">
874                           <description>
875                            A file which contains the hard- of the given resource in the first line. The
876                            special keyword 'inf' is recognized.
877                           </description>
878                         </scalar>                                                                                             
879                         <scalar name="resource.soft" type="symbolic">
880                           <description>
881                            A file which contains the soft- of the given resource in the first line. The
882                            special keyword 'inf' is recognized.
883                           </description>
884                         </scalar>
885                         <scalar name="resource.min" type="symbolic">
886                           <description>
887                            A file which contains the guaranted minimum of the given resource in the first line. The
888                            special keyword 'inf' is recognized.
889                           </description>
890                         </scalar>
891   </collection>
892   
893   <collection name="uts">
894                         <scalar name="context">
895                           <description>
896                            The context-name of the vserver. This file is listed for completeness only;
897                            the 'context' name is used and set internally by the util-vserver tools and can *not* be
898                            modified.
899                           </description>
900                         </scalar>
901                         <scalar name="sysname">
902                          <description>The sysname of the vserver</description>
903                         </scalar>
904                         <scalar name="nodename">
905                          <description>The node-/hostname of the vserver</description>
906                         </scalar>
907                         <scalar name="release">
908                          <description>The OS-release of the vserver</description>
909                         </scalar>
910                         <scalar name="version">
911                          <description>The OS-version of the vserver</description>
912                         </scalar>
913                         <scalar name="machine">
914                          <description>The machine-type of the vserver</description>
915                         </scalar>
916                         <scalar name="domainname">
917                          <description>The NIS domainname of the vserver</description>
918                         </scalar>
919   </collection>
920  </collection>
921 </database>