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="root_ssh_key_pub" type="file">
79 <name>Root SSH Public Key</name>
80 <value>/etc/planetlab/root_ssh_key.pub</value>
81 <description>The SSH public key used to access the root
82 account on your nodes.</description>
85 <variable id="root_ssh_key" type="file">
86 <name>Root SSH Private Key</name>
87 <value>/etc/planetlab/root_ssh_key.rsa</value>
88 <description>The SSH private key used to access the root
89 account on your nodes.</description>
92 <variable id="debug_ssh_key_pub" type="file">
93 <name>Debug SSH Public Key</name>
94 <value>/etc/planetlab/debug_ssh_key.pub</value>
95 <description>The SSH public key used to access the root
96 account on your nodes when they are in Debug mode.</description>
99 <variable id="debug_ssh_key" type="file">
100 <name>Debug SSH Private Key</name>
101 <value>/etc/planetlab/debug_ssh_key.rsa</value>
102 <description>The SSH private key used to access the root
103 account on your nodes when they are in Debug mode.</description>
106 <variable id="root_gpg_key_pub" type="file">
107 <name>Root GPG Public Keyring</name>
108 <value>/etc/planetlab/pubring.gpg</value>
109 <description>The GPG public keyring used to sign the Boot
110 Manager and all node packages.</description>
113 <variable id="root_gpg_key" type="file">
114 <name>Root GPG Private Keyring</name>
115 <value>/etc/planetlab/secring.gpg</value>
116 <description>The SSH private key used to access the root
117 account on your nodes.</description>
122 <category id="plc_net">
124 <description>Network environment.</description>
127 <variable id="dns1" type="ip">
128 <name>Primary DNS Server</name>
129 <value>127.0.0.1</value>
130 <description>Primary DNS server address.</description>
133 <variable id="dns2" type="ip">
134 <name>Secondary DNS Server</name>
136 <description>Secondary DNS server address.</description>
141 <category id="plc_dns">
143 <description>MyPLC can provide forward DNS resolution for itself
144 and for its nodes. To enable resolution for MyPLC itself, set
145 the Primary DNS Server address to 127.0.0.1 and provide external
146 IP addresses for the database, API, web, and boot servers
147 below. To enable resolution for nodes, use the external IP
148 address of this machine as the primary DNS server address for
149 each node.</description>
152 <variable id="enabled" type="boolean">
153 <name>Enable DNS</name>
155 <description>Enable the internal DNS server. The server does
156 not provide reverse resolution and is not a production
157 quality or scalable DNS solution. Use the internal DNS
158 server only for small deployments or for
159 testing.</description>
164 <category id="plc_mail">
166 <description>Many maintenance scripts, as well as the API and
167 web site themselves, send e-mail notifications and
168 warnings.</description>
171 <variable id="enabled" type="boolean">
172 <name>Enable Mail</name>
174 <description>Set to false to suppress all e-mail notifications
175 and warnings.</description>
178 <variable id="support_address" type="email">
179 <name>Support Address</name>
180 <value>root+support@localhost.localdomain</value>
181 <description>This address is used for support
182 requests. Support requests may include traffic complaints,
183 security incident reporting, web site malfunctions, and
184 general requests for information. We recommend that the
185 address be aliased to a ticketing system such as Request
186 Tracker.</description>
189 <variable id="boot_address" type="email">
190 <name>Boot Messages Address</name>
191 <value>root+install-msgs@localhost.localdomain</value>
192 <description>The API will notify this address when a problem
193 occurs during node installation or boot.</description>
196 <variable id="mom_list_address" type="email">
197 <name>Mom List Address</name>
198 <value>root+mom@localhost.localdomain</value>
199 <description>This address is used by operations staff
200 to monitor Mom (formerly pl_mom) messages indicating
201 excessive BW or memory usage by a slice. Mom messages sent
202 to slices will be cc'ed to this list so as not to clog
203 the Support Address list.</description>
206 <variable id="slice_address" type="email">
207 <name>Slice Address</name>
208 <value>root+SLICE@localhost.localdomain</value>
209 <description>This address template is used for sending
210 e-mail notifications to slices. SLICE will be replaced with
211 the name of the slice.</description>
216 <category id="plc_db">
217 <name>Database Server</name>
218 <description>Database server definitions.</description>
221 <variable id="enabled" type="boolean">
224 <description>Enable the database server on this
225 machine.</description>
228 <variable id="type" type="string">
230 <value>postgresql</value>
231 <description>The type of database server. Currently, only
232 postgresql is supported.</description>
235 <variable id="host" type="hostname">
236 <name>Hostname</name>
237 <value>localhost.localdomain</value>
238 <description>The fully qualified hostname of the database
239 server.</description>
242 <variable id="ip" type="ip">
243 <name>IP Address</name>
245 <description>The IP address of the database server, if not
246 resolvable.</description>
249 <variable id="port" type="int">
252 <description>The TCP port number through which the database
253 server should be accessed.</description>
256 <variable id="name" type="string">
257 <name>Database Name</name>
258 <value>planetlab5</value>
259 <description>The name of the database to access.</description>
262 <variable id="user" type="string">
263 <name>Database Username</name>
264 <value>pgsqluser</value>
265 <description>The username to use when accessing the
266 database.</description>
269 <variable id="password" type="password">
270 <name>Database Password</name>
272 <description>The password to use when accessing the
273 database. If left blank, one will be
274 generated.</description>
279 <category id="plc_api">
280 <name>API Server</name>
281 <description>API (XML-RPC) server definitions.</description>
284 <variable id="enabled" type="boolean">
287 <description>Enable the API server on this
288 machine.</description>
291 <variable id="debug" type="boolean">
294 <description>Enable verbose API debugging. Do not enable on
295 a production system!</description>
298 <variable id="host" type="hostname">
299 <name>Hostname</name>
300 <value>localhost.localdomain</value>
301 <description>The fully qualified hostname of the API
302 server.</description>
305 <variable id="ip" type="ip">
306 <name>IP Address</name>
308 <description>The IP address of the API server, if not
309 resolvable.</description>
312 <variable id="ipod_subnet" type="ip">
313 <name>IP Subnet</name>
314 <value>127.0.0.1</value>
315 <description>The IP Subnet for all API servers.
316 Used to identify IPoD packet senders.</description>
319 <variable id="ipod_mask" type="ip">
321 <value>255.255.255.255</value>
322 <description>The IP Mask that should be applied to incoming
323 packets to match the IP Subnet for IPoD packets.</description>
326 <variable id="port" type="int">
329 <description>The TCP port number through which the API
330 should be accessed.</description>
333 <variable id="path" type="string">
335 <value>/PLCAPI/</value>
336 <description>The base path of the API URL.</description>
339 <variable id="maintenance_user" type="string">
340 <name>Maintenance User</name>
341 <value>maint@localhost.localdomain</value>
342 <description>The username of the maintenance account. This
343 account is used by local scripts that perform automated
344 tasks, and cannot be used for normal logins.</description>
347 <variable id="maintenance_password" type="password">
348 <name>Maintenance Password</name>
350 <description>The password of the maintenance account. If
351 left blank, one will be generated. We recommend that the
352 password be changed periodically.</description>
355 <variable id="maintenance_sources" type="hostname">
356 <name>Authorized Hosts</name>
358 <description>A space-separated list of IP addresses allowed
359 to access the API through the maintenance account. The value
360 of this variable is set automatically to allow only the API,
361 web, and boot servers, and should not be
362 changed.</description>
365 <!-- The following are not actually meant to be configurable
366 as variables. The web interface should allow the file to
367 be downloaded, or its contents replaced by a file upload,
368 but the actual <value> shouldn't need to be changed. -->
370 <variable id="ssl_key" type="file">
371 <name>SSL Private Key</name>
372 <value>/etc/planetlab/api_ssl.key</value>
373 <description>The SSL private key to use for encrypting HTTPS
374 traffic. If non-existent, one will be
375 generated.</description>
378 <variable id="ssl_crt" type="file">
379 <name>SSL Public Certificate</name>
380 <value>/etc/planetlab/api_ssl.crt</value>
381 <description>The corresponding SSL public certificate. By
382 default, this certificate is self-signed. You may replace
383 the certificate later with one signed by a root
387 <variable id="ca_ssl_crt" type="file">
388 <name>Root CA SSL Public Certificate</name>
389 <value>/etc/planetlab/api_ca_ssl.crt</value>
390 <description>The certificate of the root CA, if any, that
391 signed your server certificate. If your server certificate is
392 self-signed, then this file is the same as your server
393 certificate.</description>
398 <category id="plc_www">
399 <name>Web Server</name>
400 <description>Web server definitions.</description>
403 <variable id="enabled" type="boolean">
406 <description>Enable the web server on this
407 machine.</description>
410 <variable id="debug" type="boolean">
413 <description>Enable debugging output on web pages. Do not
414 enable on a production system!</description>
417 <variable id="host" type="hostname">
418 <name>Hostname</name>
419 <value>localhost.localdomain</value>
420 <description>The fully qualified hostname of the web
421 server.</description>
424 <variable id="ip" type="ip">
425 <name>IP Address</name>
427 <description>The IP address of the web server, if not
428 resolvable.</description>
431 <variable id="port" type="int">
434 <description>The TCP port number through which the
435 unprotected portions of the web site should be
436 accessed.</description>
439 <variable id="ssl_port" type="int">
440 <name>SSL Port</name>
442 <description>The TCP port number through which the protected
443 portions of the web site should be accessed.</description>
446 <!-- The following are not actually meant to be configurable
447 as variables. The web interface should allow the file to
448 be downloaded, or its contents replaced by a file upload,
449 but the actual <value> shouldn't need to be changed. -->
451 <variable id="ssl_key" type="file">
452 <name>SSL Private Key</name>
453 <value>/etc/planetlab/www_ssl.key</value>
454 <description>The SSL private key to use for encrypting HTTPS
455 traffic. If non-existent, one will be
456 generated.</description>
459 <variable id="ssl_crt" type="file">
460 <name>SSL Public Certificate</name>
461 <value>/etc/planetlab/www_ssl.crt</value>
462 <description>The corresponding SSL public certificate for
463 the HTTP server. By default, this certificate is
464 self-signed. You may replace the certificate later with one
465 signed by a root CA.</description>
468 <variable id="ca_ssl_crt" type="file">
469 <name>Root CA SSL Public Certificate</name>
470 <value>/etc/planetlab/www_ca_ssl.crt</value>
471 <description>The certificate of the root CA, if any, that
472 signed your server certificate. If your server certificate is
473 self-signed, then this file is the same as your server
474 certificate.</description>
479 <category id="plc_boot">
480 <name>Boot Server</name>
481 <description>Boot server definitions. Multiple boot servers
482 may be brought up for load balancing, but we recommend that a
483 single DNS round-robin system be implemented so that the
484 following variables are the same across all of
488 <variable id="enabled" type="boolean">
491 <description>Enable the boot server on this
492 machine.</description>
495 <variable id="host" type="hostname">
496 <name>Hostname</name>
497 <value>localhost.localdomain</value>
498 <description>The fully qualified hostname of the boot
499 server.</description>
502 <variable id="ip" type="ip">
503 <name>IP Address</name>
505 <description>The IP address of the boot server, if not
506 resolvable.</description>
509 <variable id="port" type="int">
512 <description>The TCP port number through which the
513 unprotected portions of the boot server should be
514 accessed.</description>
517 <variable id="ssl_port" type="int">
518 <name>SSL Port</name>
520 <description>The TCP port number through which the protected
521 portions of the boot server should be
522 accessed.</description>
525 <!-- The following are not actually meant to be configurable
526 as variables. The web interface should allow the file to
527 be downloaded, or its contents replaced by a file upload,
528 but the actual <value> shouldn't need to be changed. -->
530 <variable id="ssl_key" type="file">
531 <name>SSL Private Key</name>
532 <value>/etc/planetlab/boot_ssl.key</value>
533 <description>The SSL private key to use for encrypting HTTPS
534 traffic.</description>
537 <variable id="ssl_crt" type="file">
538 <name>SSL Public Certificate</name>
539 <value>/etc/planetlab/boot_ssl.crt</value>
540 <description>The corresponding SSL public certificate for
541 the HTTP server. By default, this certificate is
542 self-signed. You may replace the certificate later with one
543 signed by a root CA.</description>
546 <variable id="ca_ssl_crt" type="file">
547 <name>Root CA SSL Public Certificate</name>
548 <value>/etc/planetlab/boot_ca_ssl.crt</value>
549 <description>The certificate of the root CA, if any, that
550 signed your server certificate. If your server certificate is
551 self-signed, then this file is the same as your server
552 certificate.</description>
558 <category id="plc_planetflow">
559 <name>PlanetFlow Service Configuration</name>
560 <description>Planetflow service definitions used in the netflow slice. </description>
563 <variable id="host" type="hostname">
564 <name>Hostname</name>
565 <value>localhost.localdomain</value>
566 <description>The fully qualified hostname.</description>
570 <category id="plc_monitor">
571 <name>Monitoring Service</name>
572 <description>The Monitor service that tracks node availablity and repair.</description>
574 <variable id="enabled" type="boolean">
577 <description>Enable on this machine.</description>
579 <variable id="host" type="hostname">
580 <name>Hostname</name>
581 <value>localhost.localdomain</value>
582 <description>The fully qualified hostname.</description>
584 <variable id="ip" type="ip">
585 <name>IP Address</name>
587 <description>The IP address of the monitor server.</description>
589 <variable id="from_email" type="email">
590 <name>Monitor Email Address</name>
591 <value>root+monitor@localhost.localdomain</value>
592 <description>All messages from Monitor will appear to come from this address.</description>
594 <variable id="cc_email" type="email">
595 <name>CC Email Address</name>
596 <value>root+monitor@localhost.localdomain</value>
597 <description>All messages from Monitor will be copied to this address.</description>
599 <variable id="rt_queue" type="email">
600 <name>Queue Name in RT for new messages</name>
601 <value>support</value>
602 <description>All messages from Monitor will be copied to this address.</description>
604 <variable id="dbpassword" type="password">
605 <name>Database Password</name>
607 <description>The password to use when accessing the
608 database, Monitor user account in the local PLC.</description>
611 <variable id="ssl_key" type="file">
612 <name>SSL Private Key</name>
613 <value>/etc/planetlab/monitor_ssl.key</value>
614 <description>The SSL private key to use for encrypting HTTPS
615 traffic.</description>
618 <variable id="ssl_crt" type="file">
619 <name>SSL Public Certificate</name>
620 <value>/etc/planetlab/monitor_ssl.crt</value>
621 <description>The corresponding SSL public certificate for
622 the HTTP server. By default, this certificate is
623 self-signed. You may replace the certificate later with one
624 signed by a root CA.</description>
627 <variable id="ca_ssl_crt" type="file">
628 <name>Root CA SSL Public Certificate</name>
629 <value>/etc/planetlab/monitor_ca_ssl.crt</value>
630 <description>The certificate of the root CA, if any, that
631 signed your server certificate. If your server certificate is
632 self-signed, then this file is the same as your server
633 certificate.</description>
638 <category id="plc_rt">
639 <name>RT Configuration</name>
640 <description>RT</description>
642 <variable id="enabled" type="boolean">
645 <description>Enable on this machine.</description>
647 <variable id="host" type="hostname">
648 <name>Hostname</name>
649 <value>localhost.localdomain</value>
650 <description>The fully qualified hostname.</description>
652 <variable id="ip" type="ip">
653 <name>IP Address</name>
655 <description>The IP address of the RT server.</description>
657 <variable id="cc_address" type="email">
658 <name>CC Email Address</name>
659 <value>root+cclist@localhost.localdomain</value>
660 <description>All messages to and from PLCRT will be copied to this address.</description>
662 <variable id="web_user" type="string">
665 <description>Username of a privileged user in RT who can create
666 tickets for any RT Queue.</description>
668 <variable id="web_password" type="password">
669 <name>password</name>
670 <value>password</value>
671 <description>Password for RT web user.</description>
673 <variable id="dbpassword" type="password">
674 <name>Database Password</name>
676 <description>Password to use when accessing the RT database.</description>
683 <!-- deprecated - not used anymore - use .lst files instead -->