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
9 $Id: plc_config.xml,v 1.16 2006/10/27 20:26:49 mlhuang Exp $
12 <!DOCTYPE configuration PUBLIC "-//PlanetLab Central//DTD PLC configuration//EN" "plc_config.dtd">
18 <description>Basic system variables. Be sure that the values of
19 these variables are the same across all machines in your
20 installation.</description>
23 <variable id="name" type="string">
25 <value>PlanetLab Test</value>
26 <description>The name of this PLC installation. It is used in
27 the name of the default system site (e.g., PlanetLab Central)
28 and in the names of various administrative entities (e.g.,
29 PlanetLab Support).</description>
32 <variable id="slice_prefix" type="string">
33 <name>Slice Prefix</name>
35 <description>The abbreviated name of this PLC
36 installation. It is used as the prefix for system slices
37 (e.g., pl_conf). Warning: Currently, this variable should
38 not be changed.</description>
41 <variable id="root_user" type="email">
42 <name>Root Account</name>
43 <value>root@localhost.localdomain</value>
44 <description>The name of the initial administrative
45 account. We recommend that this account be used only to create
46 additional accounts associated with real
47 administrators, then disabled.</description>
50 <variable id="root_password" type="password">
51 <name>Root Password</name>
53 <description>The password of the initial administrative
54 account. Also the password of the root account on the Boot
58 <!-- The following are not actually meant to be configurable
59 as variables. The web interface should allow the file to
60 be downloaded, or its contents replaced by a file upload,
61 but the actual <value> shouldn't need to be changed. -->
63 <variable id="root_ssh_key_pub" type="file">
64 <name>Root SSH Public Key</name>
65 <value>/etc/planetlab/root_ssh_key.pub</value>
66 <description>The SSH public key used to access the root
67 account on your nodes.</description>
70 <variable id="root_ssh_key" type="file">
71 <name>Root SSH Private Key</name>
72 <value>/etc/planetlab/root_ssh_key.rsa</value>
73 <description>The SSH private key used to access the root
74 account on your nodes.</description>
77 <variable id="debug_ssh_key_pub" type="file">
78 <name>Debug SSH Public Key</name>
79 <value>/etc/planetlab/debug_ssh_key.pub</value>
80 <description>The SSH public key used to access the root
81 account on your nodes when they are in Debug mode.</description>
84 <variable id="debug_ssh_key" type="file">
85 <name>Debug SSH Private Key</name>
86 <value>/etc/planetlab/debug_ssh_key.rsa</value>
87 <description>The SSH private key used to access the root
88 account on your nodes when they are in Debug mode.</description>
91 <variable id="root_gpg_key_pub" type="file">
92 <name>Root GPG Public Keyring</name>
93 <value>/etc/planetlab/pubring.gpg</value>
94 <description>The GPG public keyring used to sign the Boot
95 Manager and all node packages.</description>
98 <variable id="root_gpg_key" type="file">
99 <name>Root GPG Private Keyring</name>
100 <value>/etc/planetlab/secring.gpg</value>
101 <description>The SSH private key used to access the root
102 account on your nodes.</description>
107 <category id="plc_ma_sa">
108 <name>Management and Slice Authority</name>
109 <description>These variables control how your site interacts
110 with other PlanetLab sites as a Management Authority (MA) and/or
111 Slice Authority (SA).</description>
114 <variable id="namespace" type="ip">
115 <name>Namespace</name>
117 <description>The namespace of your MA/SA. This should be a
118 globally unique value assigned by PlanetLab
119 Central.</description>
122 <variable id="ssl_key" type="file">
123 <name>SSL Private Key</name>
124 <value>/etc/planetlab/ma_sa_ssl.key</value>
125 <description>The SSL private key used for signing documents
126 with the signature of your MA/SA. If non-existent, one will
127 be generated.</description>
130 <variable id="ssl_crt" type="file">
131 <name>SSL Public Certificate</name>
132 <value>/etc/planetlab/ma_sa_ssl.crt</value>
133 <description>The corresponding SSL public certificate. By
134 default, this certificate is self-signed. You may replace
135 the certificate later with one signed by the PLC root
139 <variable id="ca_ssl_crt" type="file">
140 <name>Root CA SSL Public Certificate</name>
141 <value>/etc/planetlab/ma_sa_ca_ssl.crt</value>
142 <description>If applicable, the certificate of the PLC root
143 CA. If your MA/SA certificate is self-signed, then this file
144 is the same as your MA/SA certificate.</description>
147 <variable id="ca_ssl_key_pub" type="file">
148 <name>Root CA SSL Public Key</name>
149 <value>/etc/planetlab/ma_sa_ca_ssl.pub</value>
150 <description>If applicable, the public key of the PLC root
151 CA. If your MA/SA certificate is self-signed, then this file
152 is the same as your MA/SA public key.</description>
155 <variable id="api_crt" type="file">
156 <name>API Certificate</name>
157 <value>/etc/planetlab/ma_sa_api.xml</value>
158 <description>The API Certificate is your MA/SA public key
159 embedded in a digitally signed XML document. By default,
160 this document is self-signed. You may replace this
161 certificate later with one signed by the PLC root
167 <category id="plc_net">
169 <description>Network environment.</description>
172 <variable id="dns1" type="ip">
173 <name>Primary DNS Server</name>
174 <value>127.0.0.1</value>
175 <description>Primary DNS server address.</description>
178 <variable id="dns2" type="ip">
179 <name>Secondary DNS Server</name>
181 <description>Secondary DNS server address.</description>
186 <category id="plc_dns">
188 <description>MyPLC can provide forward DNS resolution for itself
189 and for its nodes. To enable resolution for MyPLC itself, set
190 the Primary DNS Server address to 127.0.0.1 and provide external
191 IP addresses for the database, API, web, and boot servers
192 below. To enable resolution for nodes, use the external IP
193 address of this machine as the primary DNS server address for
194 each node.</description>
197 <variable id="enabled" type="boolean">
198 <name>Enable DNS</name>
200 <description>Enable the internal DNS server. The server does
201 not provide reverse resolution and is not a production
202 quality or scalable DNS solution. Use the internal DNS
203 server only for small deployments or for
204 testing.</description>
209 <category id="plc_mail">
211 <description>Many maintenance scripts, as well as the API and
212 web site themselves, send e-mail notifications and
213 warnings.</description>
216 <variable id="enabled" type="boolean">
217 <name>Enable Mail</name>
219 <description>Set to false to suppress all e-mail notifications
220 and warnings.</description>
223 <variable id="support_address" type="email">
224 <name>Support Address</name>
225 <value>root+support@localhost.localdomain</value>
226 <description>This address is used for support
227 requests. Support requests may include traffic complaints,
228 security incident reporting, web site malfunctions, and
229 general requests for information. We recommend that the
230 address be aliased to a ticketing system such as Request
231 Tracker.</description>
234 <variable id="boot_address" type="email">
235 <name>Boot Messages Address</name>
236 <value>root+install-msgs@localhost.localdomain</value>
237 <description>The API will notify this address when a problem
238 occurs during node installation or boot.</description>
241 <variable id="slice_address" type="email">
242 <name>Slice Address</name>
243 <value>root+SLICE@localhost.localdomain</value>
244 <description>This address template is used for sending
245 e-mail notifications to slices. SLICE will be replaced with
246 the name of the slice.</description>
251 <category id="plc_db">
252 <name>Database Server</name>
253 <description>Database server definitions.</description>
256 <variable id="enabled" type="boolean">
259 <description>Enable the database server on this
260 machine.</description>
263 <variable id="type" type="string">
265 <value>postgresql</value>
266 <description>The type of database server. Currently, only
267 postgresql is supported.</description>
270 <variable id="host" type="hostname">
271 <name>Hostname</name>
272 <value>localhost.localdomain</value>
273 <description>The fully qualified hostname of the database
274 server.</description>
277 <variable id="ip" type="ip">
278 <name>IP Address</name>
279 <value>127.0.0.1</value>
280 <description>The IP address of the database server, if not
281 resolvable by the configured DNS servers.</description>
284 <variable id="port" type="int">
287 <description>The TCP port number through which the database
288 server should be accessed.</description>
291 <variable id="name" type="string">
292 <name>Database Name</name>
293 <value>planetlab4</value>
294 <description>The name of the database to access.</description>
297 <variable id="user" type="string">
298 <name>Database Username</name>
299 <value>pgsqluser</value>
300 <description>The username to use when accessing the
301 database.</description>
304 <variable id="password" type="password">
305 <name>Database Password</name>
307 <description>The password to use when accessing the
308 database. If left blank, one will be
309 generated.</description>
314 <category id="plc_api">
315 <name>API Server</name>
316 <description>API (XML-RPC) server definitions.</description>
319 <variable id="enabled" type="boolean">
322 <description>Enable the API server on this
323 machine.</description>
326 <variable id="debug" type="boolean">
329 <description>Enable verbose API debugging. Do not enable on
330 a production system!</description>
333 <variable id="host" type="hostname">
334 <name>Hostname</name>
335 <value>localhost.localdomain</value>
336 <description>The fully qualified hostname of the API
337 server.</description>
340 <variable id="ip" type="ip">
341 <name>IP Address</name>
342 <value>127.0.0.1</value>
343 <description>The IP address of the API server, if not
344 resolvable by the configured DNS servers.</description>
347 <variable id="port" type="int">
350 <description>The TCP port number through which the API
351 should be accessed.</description>
354 <variable id="path" type="string">
356 <value>/PLCAPI/</value>
357 <description>The base path of the API URL.</description>
360 <variable id="maintenance_user" type="string">
361 <name>Maintenance User</name>
362 <value>maint@localhost.localdomain</value>
363 <description>The username of the maintenance account. This
364 account is used by local scripts that perform automated
365 tasks, and cannot be used for normal logins.</description>
368 <variable id="maintenance_password" type="password">
369 <name>Maintenance Password</name>
371 <description>The password of the maintenance account. If
372 left blank, one will be generated. We recommend that the
373 password be changed periodically.</description>
376 <variable id="maintenance_sources" type="hostname">
377 <name>Authorized Hosts</name>
379 <description>A space-separated list of IP addresses allowed
380 to access the API through the maintenance account. The value
381 of this variable is set automatically to allow only the API,
382 web, and boot servers, and should not be
383 changed.</description>
386 <!-- The following are not actually meant to be configurable
387 as variables. The web interface should allow the file to
388 be downloaded, or its contents replaced by a file upload,
389 but the actual <value> shouldn't need to be changed. -->
391 <variable id="ssl_key" type="file">
392 <name>SSL Private Key</name>
393 <value>/etc/planetlab/api_ssl.key</value>
394 <description>The SSL private key to use for encrypting HTTPS
395 traffic. If non-existent, one will be
396 generated.</description>
399 <variable id="ssl_crt" type="file">
400 <name>SSL Public Certificate</name>
401 <value>/etc/planetlab/api_ssl.crt</value>
402 <description>The corresponding SSL public certificate. By
403 default, this certificate is self-signed. You may replace
404 the certificate later with one signed by a root
408 <variable id="ca_ssl_crt" type="file">
409 <name>Root CA SSL Public Certificate</name>
410 <value>/etc/planetlab/api_ca_ssl.crt</value>
411 <description>The certificate of the root CA, if any, that
412 signed your server certificate. If your server certificate is
413 self-signed, then this file is the same as your server
414 certificate.</description>
419 <category id="plc_www">
420 <name>Web Server</name>
421 <description>Web server definitions.</description>
424 <variable id="enabled" type="boolean">
427 <description>Enable the web server on this
428 machine.</description>
431 <variable id="debug" type="boolean">
434 <description>Enable debugging output on web pages. Do not
435 enable on a production system!</description>
438 <variable id="host" type="hostname">
439 <name>Hostname</name>
440 <value>localhost.localdomain</value>
441 <description>The fully qualified hostname of the web
442 server.</description>
445 <variable id="ip" type="ip">
446 <name>IP Address</name>
447 <value>127.0.0.1</value>
448 <description>The IP address of the web server, if not
449 resolvable by the configured DNS servers.</description>
452 <variable id="port" type="int">
455 <description>The TCP port number through which the
456 unprotected portions of the web site should be
457 accessed.</description>
460 <variable id="ssl_port" type="int">
461 <name>SSL Port</name>
463 <description>The TCP port number through which the protected
464 portions of the web site should be accessed.</description>
467 <!-- The following are not actually meant to be configurable
468 as variables. The web interface should allow the file to
469 be downloaded, or its contents replaced by a file upload,
470 but the actual <value> shouldn't need to be changed. -->
472 <variable id="ssl_key" type="file">
473 <name>SSL Private Key</name>
474 <value>/etc/planetlab/www_ssl.key</value>
475 <description>The SSL private key to use for encrypting HTTPS
476 traffic. If non-existent, one will be
477 generated.</description>
480 <variable id="ssl_crt" type="file">
481 <name>SSL Public Certificate</name>
482 <value>/etc/planetlab/www_ssl.crt</value>
483 <description>The corresponding SSL public certificate for
484 the HTTP server. By default, this certificate is
485 self-signed. You may replace the certificate later with one
486 signed by a root CA.</description>
489 <variable id="ca_ssl_crt" type="file">
490 <name>Root CA SSL Public Certificate</name>
491 <value>/etc/planetlab/www_ca_ssl.crt</value>
492 <description>The certificate of the root CA, if any, that
493 signed your server certificate. If your server certificate is
494 self-signed, then this file is the same as your server
495 certificate.</description>
500 <category id="plc_boot">
501 <name>Boot Server</name>
502 <description>Boot server definitions. Multiple boot servers
503 may be brought up for load balancing, but we recommend that a
504 single DNS round-robin system be implemented so that the
505 following variables are the same across all of
509 <variable id="enabled" type="boolean">
512 <description>Enable the boot server on this
513 machine.</description>
516 <variable id="host" type="hostname">
517 <name>Hostname</name>
518 <value>localhost.localdomain</value>
519 <description>The fully qualified hostname of the boot
520 server.</description>
523 <variable id="ip" type="ip">
524 <name>IP Address</name>
525 <value>127.0.0.1</value>
526 <description>The IP address of the boot server, if not
527 resolvable by the configured DNS servers.</description>
530 <variable id="port" type="int">
533 <description>The TCP port number through which the
534 unprotected portions of the boot server should be
535 accessed.</description>
538 <variable id="ssl_port" type="int">
539 <name>SSL Port</name>
541 <description>The TCP port number through which the protected
542 portions of the boot server should be
543 accessed.</description>
546 <!-- The following are not actually meant to be configurable
547 as variables. The web interface should allow the file to
548 be downloaded, or its contents replaced by a file upload,
549 but the actual <value> shouldn't need to be changed. -->
551 <variable id="ssl_key" type="file">
552 <name>SSL Private Key</name>
553 <value>/etc/planetlab/boot_ssl.key</value>
554 <description>The SSL private key to use for encrypting HTTPS
555 traffic.</description>
558 <variable id="ssl_crt" type="file">
559 <name>SSL Public Certificate</name>
560 <value>/etc/planetlab/boot_ssl.crt</value>
561 <description>The corresponding SSL public certificate for
562 the HTTP server. By default, this certificate is
563 self-signed. You may replace the certificate later with one
564 signed by a root CA.</description>
567 <variable id="ca_ssl_crt" type="file">
568 <name>Root CA SSL Public Certificate</name>
569 <value>/etc/planetlab/boot_ca_ssl.crt</value>
570 <description>The certificate of the root CA, if any, that
571 signed your server certificate. If your server certificate is
572 self-signed, then this file is the same as your server
573 certificate.</description>
582 <name>PlanetLab Central</name>
583 <default>true</default>
584 <description>PlanetLab Central Packages</description>
585 <uservisible>true</uservisible>
588 <packagereq type="mandatory">dev</packagereq>
590 <!-- kernel-vserver is intended for the vserver-reference, but
591 serves the same useful purpose for MyPLC, namely, to
592 Provide: kernel without actually installing anything. -->
593 <packagereq type="mandatory">kernel-vserver</packagereq>
595 <!-- Sending mail -->
596 <packagereq type="mandatory">sendmail</packagereq>
597 <packagereq type="mandatory">sendmail-cf</packagereq>
599 <!-- Caching DNS server -->
600 <packagereq type="mandatory">dnsmasq</packagereq>
602 <!-- (Optional) Synchronizing with PLC -->
603 <packagereq type="mandatory">rsync</packagereq>
606 <packagereq type="mandatory">vixie-cron</packagereq>
608 <!-- Other utilities -->
609 <packagereq type="mandatory">cvs</packagereq>
610 <packagereq type="mandatory">curl</packagereq>
611 <packagereq type="mandatory">wget</packagereq>
612 <packagereq type="mandatory">less</packagereq>
613 <packagereq type="mandatory">gzip</packagereq>
614 <packagereq type="mandatory">bzip2</packagereq>
615 <packagereq type="mandatory">cpio</packagereq>
616 <packagereq type="mandatory">tar</packagereq>
617 <packagereq type="mandatory">diffutils</packagereq>
619 <!-- yum >=2.2 uses a new repository format -->
620 <packagereq type="mandatory">createrepo</packagereq>
621 <packagereq type="mandatory">yum</packagereq>
622 <packagereq type="mandatory">rpm</packagereq>
624 <!-- For mkpasswd -->
625 <packagereq type="mandatory">expect</packagereq>
627 <!-- For ssh-keygen -->
628 <packagereq type="mandatory">openssh</packagereq>
630 <!-- Almost all scripts are written in Python -->
631 <packagereq type="mandatory">python</packagereq>
633 <!-- Database server -->
634 <packagereq type="mandatory">postgresql</packagereq>
635 <packagereq type="mandatory">postgresql-server</packagereq>
636 <packagereq type="mandatory">postgresql-python</packagereq>
638 <!-- (Secure) web server -->
639 <packagereq type="mandatory">httpd</packagereq>
640 <packagereq type="mandatory">mod_ssl</packagereq>
642 <!-- Web pages are written primarily in PHP. A few pages still
643 access the DB directly. -->
644 <packagereq type="mandatory">php</packagereq>
645 <packagereq type="mandatory">php-pgsql</packagereq>
646 <!-- PLCAPI replaces php-xmlrpc -->
647 <!-- <packagereq type="mandatory">php-xmlrpc</packagereq> -->
649 <!-- Need GD for ImageCreate(), etc. -->
650 <packagereq type="mandatory">gd</packagereq>
651 <packagereq type="mandatory">php-gd</packagereq>
653 <!-- API server is implemented in mod_python -->
654 <packagereq type="mandatory">mod_python</packagereq>
656 <!-- API server uses a few non-standard packages -->
657 <packagereq type="mandatory">PLCAPI</packagereq>
658 <packagereq type="mandatory">PyXML</packagereq>
659 <packagereq type="mandatory">PlanetLabAuth</packagereq>
661 <!-- API server uses SSL to sign tickets -->
662 <packagereq type="mandatory">xmlsec1</packagereq>
663 <packagereq type="mandatory">xmlsec1-openssl</packagereq>
664 <packagereq type="mandatory">openssl</packagereq>
666 <!-- Customizable Boot CD and Boot Manager packages -->
667 <packagereq type="mandatory">bootcd</packagereq>
668 <packagereq type="mandatory">bootmanager</packagereq>