1 <?xml version="1.0" encoding="utf-8"?>
4 Default PLC configuration file
6 Mark Huang <mlhuang@cs.princeton.edu>
7 Copyright (C) 2006 The Trustees of Princeton University
13 <!DOCTYPE configuration PUBLIC "-//PlanetLab Central//DTD PLC configuration//EN" "plc_config.dtd">
19 <description>Basic system variables. Be sure that the values of
20 these variables are the same across all machines in your
21 installation.</description>
24 <variable id="name" type="string">
26 <value>PlanetLab Test</value>
27 <description>The name of this PLC installation. It is used in
28 the name of the default system site (e.g., PlanetLab Central)
29 and in the names of various administrative entities (e.g.,
30 PlanetLab Support).</description>
33 <variable id="shortname" type="string">
36 <description>The short name of this PLC installation. It is
37 mostly used in the web interface when displaying local
38 objects.</description>
41 <variable id="hrn_root" type="string">
42 <name>Root in Hierarchical Naming Space </name>
43 <value>planetlab.test</value>
44 <description> The root of this peer in the hierarchical federation naming space.</description>
47 <variable id="slice_prefix" type="string">
48 <name>Slice Prefix</name>
50 <description>The abbreviated name of this PLC
51 installation. It is used as the prefix for system slices
52 (e.g., pl_conf). Warning: Currently, this variable should
53 not be changed.</description>
56 <variable id="root_user" type="email">
57 <name>Root Account</name>
58 <value>root@localhost.localdomain</value>
59 <description>The name of the initial administrative
60 account. We recommend that this account be used only to create
61 additional accounts associated with real
62 administrators, then disabled.</description>
65 <variable id="root_password" type="password">
66 <name>Root Password</name>
68 <description>The password of the initial administrative
69 account. Also the password of the root account on the Boot
73 <!-- The following are not actually meant to be configurable
74 as variables. The web interface should allow the file to
75 be downloaded, or its contents replaced by a file upload,
76 but the actual <value> shouldn't need to be changed. -->
78 <variable id="debug_ssh_key_pub" type="file">
79 <name>Debug SSH Public Key</name>
80 <value>/etc/planetlab/debug_ssh_key.pub</value>
81 <description>The SSH public key used to access the root
82 account on your nodes when they are in Debug mode.</description>
85 <variable id="debug_ssh_key" type="file">
86 <name>Debug SSH Private Key</name>
87 <value>/etc/planetlab/debug_ssh_key.rsa</value>
88 <description>The SSH private key used to access the root
89 account on your nodes when they are in Debug mode.</description>
92 <variable id="root_gpg_key_pub" type="file">
93 <name>Root GPG Public Keyring</name>
94 <value>/etc/planetlab/pubring.gpg</value>
95 <description>The GPG public keyring used to sign the Boot
96 Manager and all node packages.</description>
99 <variable id="root_gpg_key" type="file">
100 <name>Root GPG Private Keyring</name>
101 <value>/etc/planetlab/secring.gpg</value>
102 <description>The SSH private key used to access the root
103 account on your nodes.</description>
108 <category id="plc_net">
110 <description>Network environment.</description>
113 <variable id="dns1" type="ip">
114 <name>Primary DNS Server</name>
115 <value>127.0.0.1</value>
116 <description>Primary DNS server address.</description>
119 <variable id="dns2" type="ip">
120 <name>Secondary DNS Server</name>
122 <description>Secondary DNS server address.</description>
127 <category id="plc_dns">
129 <description>MyPLC can provide forward DNS resolution for itself
130 and for its nodes. To enable resolution for MyPLC itself, set
131 the Primary DNS Server address to 127.0.0.1 and provide external
132 IP addresses for the database, API, web, and boot servers
133 below. To enable resolution for nodes, use the external IP
134 address of this machine as the primary DNS server address for
135 each node.</description>
138 <variable id="enabled" type="boolean">
139 <name>Enable DNS</name>
141 <description>Enable the internal DNS server. The server does
142 not provide reverse resolution and is not a production
143 quality or scalable DNS solution. Use the internal DNS
144 server only for small deployments or for
145 testing.</description>
150 <category id="plc_mail">
152 <description>Many maintenance scripts, as well as the API and
153 web site themselves, send e-mail notifications and
154 warnings.</description>
157 <variable id="enabled" type="boolean">
158 <name>Enable Mail</name>
160 <description>Set to false to suppress all e-mail notifications
161 and warnings.</description>
164 <variable id="support_address" type="email">
165 <name>Support Address</name>
166 <value>root+support@localhost.localdomain</value>
167 <description>This address is used for support
168 requests. Support requests may include traffic complaints,
169 security incident reporting, web site malfunctions, and
170 general requests for information. We recommend that the
171 address be aliased to a ticketing system such as Request
172 Tracker.</description>
175 <variable id="boot_address" type="email">
176 <name>Boot Messages Address</name>
177 <value>root+install-msgs@localhost.localdomain</value>
178 <description>The API will notify this address when a problem
179 occurs during node installation or boot.</description>
182 <variable id="mom_list_address" type="email">
183 <name>Mom List Address</name>
184 <value>root+mom@localhost.localdomain</value>
185 <description>This address is used by operations staff
186 to monitor Mom (formerly pl_mom) messages indicating
187 excessive BW or memory usage by a slice. Mom messages sent
188 to slices will be cc'ed to this list so as not to clog
189 the Support Address list.</description>
192 <variable id="slice_address" type="email">
193 <name>Slice Address</name>
194 <value>root+SLICE@localhost.localdomain</value>
195 <description>This address template is used for sending
196 e-mail notifications to slices. SLICE will be replaced with
197 the name of the slice.</description>
202 <category id="plc_db">
203 <name>Database Server</name>
204 <description>Database server definitions.</description>
207 <variable id="enabled" type="boolean">
210 <description>Enable the database server on this
211 machine.</description>
214 <variable id="type" type="string">
216 <value>postgresql</value>
217 <description>The type of database server. Currently, only
218 postgresql is supported.</description>
221 <variable id="host" type="hostname">
222 <name>Hostname</name>
223 <value>localhost.localdomain</value>
224 <description>The fully qualified hostname of the database
225 server.</description>
228 <variable id="ip" type="ip">
229 <name>IP Address</name>
231 <description>The IP address of the database server, if not
232 resolvable.</description>
235 <variable id="port" type="int">
238 <description>The TCP port number through which the database
239 server should be accessed.</description>
242 <variable id="name" type="string">
243 <name>Database Name</name>
244 <value>planetlab5</value>
245 <description>The name of the database to access.</description>
248 <variable id="user" type="string">
249 <name>Database Username</name>
250 <value>pgsqluser</value>
251 <description>The username to use when accessing the
252 database.</description>
255 <variable id="password" type="password">
256 <name>Database Password</name>
258 <description>The password to use when accessing the
259 database. If left blank, one will be
260 generated.</description>
265 <category id="plc_api">
266 <name>API Server</name>
267 <description>API (XML-RPC) server definitions.</description>
270 <variable id="enabled" type="boolean">
273 <description>Enable the API server on this
274 machine.</description>
277 <variable id="debug" type="boolean">
280 <description>Enable verbose API debugging. Do not enable on
281 a production system!</description>
284 <variable id="host" type="hostname">
285 <name>Hostname</name>
286 <value>localhost.localdomain</value>
287 <description>The fully qualified hostname of the API
288 server.</description>
291 <variable id="ip" type="ip">
292 <name>IP Address</name>
294 <description>The IP address of the API server, if not
295 resolvable.</description>
298 <variable id="ipod_subnet" type="ip">
299 <name>IP Subnet</name>
300 <value>127.0.0.1</value>
301 <description>The IP Subnet for all API servers.
302 Used to identify IPoD packet senders.</description>
305 <variable id="ipod_mask" type="ip">
307 <value>255.255.255.255</value>
308 <description>The IP Mask that should be applied to incoming
309 packets to match the IP Subnet for IPoD packets.</description>
312 <variable id="port" type="int">
315 <description>The TCP port number through which the API
316 should be accessed.</description>
319 <variable id="path" type="string">
321 <value>/PLCAPI/</value>
322 <description>The base path of the API URL.</description>
325 <variable id="maintenance_user" type="string">
326 <name>Maintenance User</name>
327 <value>maint@localhost.localdomain</value>
328 <description>The username of the maintenance account. This
329 account is used by local scripts that perform automated
330 tasks, and cannot be used for normal logins.</description>
333 <variable id="maintenance_password" type="password">
334 <name>Maintenance Password</name>
336 <description>The password of the maintenance account. If
337 left blank, one will be generated. We recommend that the
338 password be changed periodically.</description>
341 <variable id="maintenance_sources" type="hostname">
342 <name>Authorized Hosts</name>
344 <description>A space-separated list of IP addresses allowed
345 to access the API through the maintenance account. The value
346 of this variable is set automatically to allow only the API,
347 web, and boot servers, and should not be
348 changed.</description>
351 <!-- The following are not actually meant to be configurable
352 as variables. The web interface should allow the file to
353 be downloaded, or its contents replaced by a file upload,
354 but the actual <value> shouldn't need to be changed. -->
356 <variable id="ssl_key" type="file">
357 <name>SSL Private Key</name>
358 <value>/etc/planetlab/api_ssl.key</value>
359 <description>The SSL private key to use for encrypting HTTPS
360 traffic. If non-existent, one will be
361 generated.</description>
364 <variable id="ssl_crt" type="file">
365 <name>SSL Public Certificate</name>
366 <value>/etc/planetlab/api_ssl.crt</value>
367 <description>The corresponding SSL public certificate. By
368 default, this certificate is self-signed. You may replace
369 the certificate later with one signed by a root
373 <variable id="ca_ssl_crt" type="file">
374 <name>Root CA SSL Public Certificate</name>
375 <value>/etc/planetlab/api_ca_ssl.crt</value>
376 <description>The certificate of the root CA, if any, that
377 signed your server certificate. If your server certificate is
378 self-signed, then this file is the same as your server
379 certificate.</description>
384 <category id="plc_www">
385 <name>Web Server</name>
386 <description>Web server definitions.</description>
389 <variable id="enabled" type="boolean">
392 <description>Enable the web server on this
393 machine.</description>
396 <variable id="debug" type="boolean">
399 <description>Enable debugging output on web pages. Do not
400 enable on a production system!</description>
403 <variable id="host" type="hostname">
404 <name>Hostname</name>
405 <value>localhost.localdomain</value>
406 <description>The fully qualified hostname of the web
407 server.</description>
410 <variable id="ip" type="ip">
411 <name>IP Address</name>
413 <description>The IP address of the web server, if not
414 resolvable.</description>
417 <variable id="port" type="int">
420 <description>The TCP port number through which the
421 unprotected portions of the web site should be
422 accessed.</description>
425 <variable id="ssl_port" type="int">
426 <name>SSL Port</name>
428 <description>The TCP port number through which the protected
429 portions of the web site should be accessed.</description>
432 <!-- The following are not actually meant to be configurable
433 as variables. The web interface should allow the file to
434 be downloaded, or its contents replaced by a file upload,
435 but the actual <value> shouldn't need to be changed. -->
437 <variable id="ssl_key" type="file">
438 <name>SSL Private Key</name>
439 <value>/etc/planetlab/www_ssl.key</value>
440 <description>The SSL private key to use for encrypting HTTPS
441 traffic. If non-existent, one will be
442 generated.</description>
445 <variable id="ssl_crt" type="file">
446 <name>SSL Public Certificate</name>
447 <value>/etc/planetlab/www_ssl.crt</value>
448 <description>The corresponding SSL public certificate for
449 the HTTP server. By default, this certificate is
450 self-signed. You may replace the certificate later with one
451 signed by a root CA.</description>
454 <variable id="ca_ssl_crt" type="file">
455 <name>Root CA SSL Public Certificate</name>
456 <value>/etc/planetlab/www_ca_ssl.crt</value>
457 <description>The certificate of the root CA, if any, that
458 signed your server certificate. If your server certificate is
459 self-signed, then this file is the same as your server
460 certificate.</description>
465 <category id="plc_boot">
466 <name>Boot Server</name>
467 <description>Boot server definitions. Multiple boot servers
468 may be brought up for load balancing, but we recommend that a
469 single DNS round-robin system be implemented so that the
470 following variables are the same across all of
474 <variable id="enabled" type="boolean">
477 <description>Enable the boot server on this
478 machine.</description>
481 <variable id="host" type="hostname">
482 <name>Hostname</name>
483 <value>localhost.localdomain</value>
484 <description>The fully qualified hostname of the boot
485 server.</description>
488 <variable id="ip" type="ip">
489 <name>IP Address</name>
491 <description>The IP address of the boot server, if not
492 resolvable.</description>
495 <variable id="port" type="int">
498 <description>The TCP port number through which the
499 unprotected portions of the boot server should be
500 accessed.</description>
503 <variable id="ssl_port" type="int">
504 <name>SSL Port</name>
506 <description>The TCP port number through which the protected
507 portions of the boot server should be
508 accessed.</description>
511 <!-- The following are not actually meant to be configurable
512 as variables. The web interface should allow the file to
513 be downloaded, or its contents replaced by a file upload,
514 but the actual <value> shouldn't need to be changed. -->
516 <variable id="ssl_key" type="file">
517 <name>SSL Private Key</name>
518 <value>/etc/planetlab/boot_ssl.key</value>
519 <description>The SSL private key to use for encrypting HTTPS
520 traffic.</description>
523 <variable id="ssl_crt" type="file">
524 <name>SSL Public Certificate</name>
525 <value>/etc/planetlab/boot_ssl.crt</value>
526 <description>The corresponding SSL public certificate for
527 the HTTP server. By default, this certificate is
528 self-signed. You may replace the certificate later with one
529 signed by a root CA.</description>
532 <variable id="ca_ssl_crt" type="file">
533 <name>Root CA SSL Public Certificate</name>
534 <value>/etc/planetlab/boot_ca_ssl.crt</value>
535 <description>The certificate of the root CA, if any, that
536 signed your server certificate. If your server certificate is
537 self-signed, then this file is the same as your server
538 certificate.</description>
544 <category id="plc_planetflow">
545 <name>PlanetFlow Service Configuration</name>
546 <description>Planetflow service definitions used in the netflow slice. </description>
549 <variable id="host" type="hostname">
550 <name>Hostname</name>
551 <value>localhost.localdomain</value>
552 <description>The fully qualified hostname.</description>
556 <category id="plc_monitor">
557 <name>Monitoring Service</name>
558 <description>The Monitor service that tracks node availablity and repair.</description>
560 <variable id="enabled" type="boolean">
563 <description>Enable on this machine.</description>
565 <variable id="host" type="hostname">
566 <name>Hostname</name>
567 <value>localhost.localdomain</value>
568 <description>The fully qualified hostname.</description>
570 <variable id="ip" type="ip">
571 <name>IP Address</name>
573 <description>The IP address of the monitor server.</description>
575 <variable id="from_email" type="email">
576 <name>Monitor Email Address</name>
577 <value>root+monitor@localhost.localdomain</value>
578 <description>All messages from Monitor will appear to come from this address.</description>
580 <variable id="cc_email" type="email">
581 <name>CC Email Address</name>
582 <value>root+monitor@localhost.localdomain</value>
583 <description>All messages from Monitor will be copied to this address.</description>
585 <variable id="rt_queue" type="email">
586 <name>Queue Name in RT for new messages</name>
587 <value>support</value>
588 <description>All messages from Monitor will be copied to this address.</description>
590 <variable id="dbpassword" type="password">
591 <name>Database Password</name>
593 <description>The password to use when accessing the
594 database, Monitor user account in the local PLC.</description>
597 <variable id="ssl_key" type="file">
598 <name>SSL Private Key</name>
599 <value>/etc/planetlab/monitor_ssl.key</value>
600 <description>The SSL private key to use for encrypting HTTPS
601 traffic.</description>
604 <variable id="ssl_crt" type="file">
605 <name>SSL Public Certificate</name>
606 <value>/etc/planetlab/monitor_ssl.crt</value>
607 <description>The corresponding SSL public certificate for
608 the HTTP server. By default, this certificate is
609 self-signed. You may replace the certificate later with one
610 signed by a root CA.</description>
613 <variable id="ca_ssl_crt" type="file">
614 <name>Root CA SSL Public Certificate</name>
615 <value>/etc/planetlab/monitor_ca_ssl.crt</value>
616 <description>The certificate of the root CA, if any, that
617 signed your server certificate. If your server certificate is
618 self-signed, then this file is the same as your server
619 certificate.</description>
624 <category id="plc_rt">
625 <name>RT Configuration</name>
626 <description>RT</description>
628 <variable id="enabled" type="boolean">
631 <description>Enable on this machine.</description>
633 <variable id="host" type="hostname">
634 <name>Hostname</name>
635 <value>localhost.localdomain</value>
636 <description>The fully qualified hostname.</description>
638 <variable id="ip" type="ip">
639 <name>IP Address</name>
641 <description>The IP address of the RT server.</description>
643 <variable id="cc_address" type="email">
644 <name>CC Email Address</name>
645 <value>root+cclist@localhost.localdomain</value>
646 <description>All messages to and from PLCRT will be copied to this address.</description>
648 <variable id="web_user" type="string">
651 <description>Username of a privileged user in RT who can create
652 tickets for any RT Queue.</description>
654 <variable id="web_password" type="password">
655 <name>password</name>
656 <value>password</value>
657 <description>Password for RT web user.</description>
659 <variable id="dbpassword" type="password">
660 <name>Database Password</name>
662 <description>Password to use when accessing the RT database.</description>
669 <!-- deprecated - not used anymore - use .lst files instead -->