fix resolv.conf issue on plc
[myplc.git] / default_config.xml
index 637b352..b0e54b7 100644 (file)
@@ -6,7 +6,8 @@ Default PLC configuration file
 Mark Huang <mlhuang@cs.princeton.edu>
 Copyright (C) 2006 The Trustees of Princeton University
 
-$Id: default_config.xml 1078 2007-11-15 13:38:27Z thierry $
+$Id$
+$URL$
 -->
 
 <!DOCTYPE configuration PUBLIC "-//PlanetLab Central//DTD PLC configuration//EN" "plc_config.dtd">
@@ -29,6 +30,20 @@ $Id: default_config.xml 1078 2007-11-15 13:38:27Z thierry $
          PlanetLab Support).</description>
        </variable>
 
+       <variable id="shortname" type="string">
+         <name>Shortame</name>
+         <value>Tlab</value>
+         <description>The short name of this PLC installation. It is
+         mostly used in the web interface when displaying local
+         objects.</description>
+       </variable>
+
+       <variable id="hrn_root" type="string">
+         <name>Root in Hierarchical Naming Space </name>
+         <value>planetlab.test</value>
+         <description> The root of this peer in the hierarchical federation naming space.</description>
+       </variable>
+
        <variable id="slice_prefix" type="string">
          <name>Slice Prefix</name>
          <value>pl</value>
@@ -146,6 +161,22 @@ $Id: default_config.xml 1078 2007-11-15 13:38:27Z thierry $
       </variablelist>
     </category>
 
+    <category id="plc_hosts">
+      <name>/etc/hosts</name>
+      <description>MyPLC can setup /etc/hosts with the hostnames and
+      IP addresses specified for *_NAME and *_IP, or look up the IP
+      addresses if they are not specified in this configuration.
+      </description>
+
+      <variablelist>
+        <variable id="enabled" type="boolean">
+          <name>Enable /etc/hosts configuration</name>
+          <value>true</value>
+          <description>Let PLC manage /etc/hosts</description>
+        </variable>
+      </variablelist>
+    </category>
+
     <category id="plc_mail">
       <name>Mail</name>
       <description>Many maintenance scripts, as well as the API and
@@ -178,6 +209,16 @@ $Id: default_config.xml 1078 2007-11-15 13:38:27Z thierry $
          occurs during node installation or boot.</description>
        </variable>
 
+       <variable id="mom_list_address" type="email">
+         <name>Mom List Address</name>
+         <value>root+mom@localhost.localdomain</value>
+         <description>This address is used by operations staff
+         to monitor Mom (formerly pl_mom) messages indicating
+         excessive BW or memory usage by a slice.  Mom messages sent
+         to slices will be cc'ed to this list so as not to clog
+         the Support Address list.</description>
+       </variable>
+
        <variable id="slice_address" type="email">
          <name>Slice Address</name>
          <value>root+SLICE@localhost.localdomain</value>
@@ -216,9 +257,9 @@ $Id: default_config.xml 1078 2007-11-15 13:38:27Z thierry $
 
         <variable id="ip" type="ip">
           <name>IP Address</name>
-          <value>127.0.0.1</value>
+          <value/>
           <description>The IP address of the database server, if not
-          resolvable by the configured DNS servers.</description>
+          resolvable.</description>
         </variable>
 
        <variable id="port" type="int">
@@ -230,7 +271,7 @@ $Id: default_config.xml 1078 2007-11-15 13:38:27Z thierry $
 
        <variable id="name" type="string">
          <name>Database Name</name>
-         <value>planetlab4</value>
+         <value>planetlab5</value>
          <description>The name of the database to access.</description>
        </variable>
 
@@ -279,9 +320,23 @@ $Id: default_config.xml 1078 2007-11-15 13:38:27Z thierry $
 
         <variable id="ip" type="ip">
           <name>IP Address</name>
-          <value>127.0.0.1</value>
+          <value/>
           <description>The IP address of the API server, if not
-          resolvable by the configured DNS servers.</description>
+          resolvable.</description>
+        </variable>
+
+        <variable id="ipod_subnet" type="ip">
+          <name>IP Subnet</name>
+          <value>127.0.0.1</value>
+          <description>The IP Subnet for all API servers. 
+         Used to identify IPoD packet senders.</description>
+        </variable>
+
+        <variable id="ipod_mask" type="ip">
+          <name>IP Mask</name>
+          <value>255.255.255.255</value>
+          <description>The IP Mask that should be applied to incoming 
+         packets to match the IP Subnet for IPoD packets.</description>
         </variable>
 
        <variable id="port" type="int">
@@ -384,9 +439,9 @@ $Id: default_config.xml 1078 2007-11-15 13:38:27Z thierry $
 
         <variable id="ip" type="ip">
           <name>IP Address</name>
-          <value>127.0.0.1</value>
+          <value/>
           <description>The IP address of the web server, if not
-          resolvable by the configured DNS servers.</description>
+          resolvable.</description>
         </variable>
 
        <variable id="port" type="int">
@@ -462,9 +517,9 @@ $Id: default_config.xml 1078 2007-11-15 13:38:27Z thierry $
 
         <variable id="ip" type="ip">
           <name>IP Address</name>
-          <value>127.0.0.1</value>
+          <value/>
           <description>The IP address of the boot server, if not
-          resolvable by the configured DNS servers.</description>
+          resolvable.</description>
         </variable>
 
        <variable id="port" type="int">
@@ -514,117 +569,134 @@ $Id: default_config.xml 1078 2007-11-15 13:38:27Z thierry $
        </variable>
       </variablelist>
     </category>
+
+
+    <category id="plc_planetflow">
+      <name>PlanetFlow Service Configuration</name>
+      <description>Planetflow service definitions used in the netflow slice. </description>
+
+      <variablelist>
+        <variable id="host" type="hostname">
+               <name>Hostname</name>
+               <value>localhost.localdomain</value>
+               <description>The fully qualified hostname.</description>
+        </variable>
+      </variablelist>
+    </category>
+    <category id="plc_monitor">
+      <name>Monitoring Service</name>
+      <description>The Monitor service that tracks node availablity and repair.</description>
+      <variablelist>
+        <variable id="enabled" type="boolean">
+          <name>Enabled</name>
+          <value>false</value>
+          <description>Enable on this machine.</description>
+        </variable>
+        <variable id="host" type="hostname">
+          <name>Hostname</name>
+          <value>localhost.localdomain</value>
+          <description>The fully qualified hostname.</description>
+        </variable>
+        <variable id="ip" type="ip">
+          <name>IP Address</name>
+          <value></value>
+          <description>The IP address of the monitor server.</description>
+        </variable>
+        <variable id="from_email" type="email">
+          <name>Monitor Email Address</name>
+          <value>root+monitor@localhost.localdomain</value>
+          <description>All messages from Monitor will appear to come from this address.</description>
+        </variable>
+        <variable id="cc_email" type="email">
+          <name>CC Email Address</name>
+          <value>root+monitor@localhost.localdomain</value>
+          <description>All messages from Monitor will be copied to this address.</description>
+        </variable>
+        <variable id="rt_queue" type="email">
+          <name>Queue Name in RT for new messages</name>
+          <value>support</value>
+          <description>All messages from Monitor will be copied to this address.</description>
+        </variable>
+        <variable id="dbpassword" type="password">
+          <name>Database Password</name>
+          <value></value>
+          <description>The password to use when accessing the
+          database, Monitor user account in the local PLC.</description>
+        </variable>
+
+           <variable id="ssl_key" type="file">
+                 <name>SSL Private Key</name>
+                 <value>/etc/planetlab/monitor_ssl.key</value>
+                 <description>The SSL private key to use for encrypting HTTPS
+                 traffic.</description>
+               </variable>
+
+               <variable id="ssl_crt" type="file">
+                 <name>SSL Public Certificate</name>
+                 <value>/etc/planetlab/monitor_ssl.crt</value>
+                 <description>The corresponding SSL public certificate for
+                 the HTTP server. By default, this certificate is
+                 self-signed. You may replace the certificate later with one
+                 signed by a root CA.</description>
+               </variable>
+
+               <variable id="ca_ssl_crt" type="file">
+                 <name>Root CA SSL Public Certificate</name>
+                 <value>/etc/planetlab/monitor_ca_ssl.crt</value>
+                 <description>The certificate of the root CA, if any, that
+                 signed your server certificate. If your server certificate is
+                 self-signed, then this file is the same as your server
+                 certificate.</description>
+               </variable>
+
+      </variablelist>
+    </category>
+    <category id="plc_rt">
+      <name>RT Configuration</name>
+      <description>RT</description>
+      <variablelist>
+        <variable id="enabled" type="boolean">
+          <name>Enabled</name>
+          <value>false</value>
+          <description>Enable on this machine.</description>
+        </variable>
+        <variable id="host" type="hostname">
+          <name>Hostname</name>
+          <value>localhost.localdomain</value>
+          <description>The fully qualified hostname.</description>
+        </variable>
+        <variable id="ip" type="ip">
+          <name>IP Address</name>
+          <value/>
+          <description>The IP address of the RT server.</description>
+        </variable>
+        <variable id="cc_address" type="email">
+          <name>CC Email Address</name>
+          <value>root+cclist@localhost.localdomain</value>
+          <description>All messages to and from PLCRT will be copied to this address.</description>
+        </variable>
+        <variable id="web_user" type="string">
+          <name>root</name>
+          <value>root</value>
+          <description>Username of a privileged user in RT who can create
+                 tickets for any RT Queue.</description>
+        </variable>
+        <variable id="web_password" type="password">
+          <name>password</name>
+          <value>password</value>
+          <description>Password for RT web user.</description>
+        </variable>
+        <variable id="dbpassword" type="password">
+          <name>Database Password</name>
+          <value></value>
+          <description>Password to use when accessing the RT database.</description>
+        </variable>
+      </variablelist>
+    </category>
   </variables>
 
   <comps>
-    <!-- xxx should be deprecated - not used anymore xxx -->
-    <group>
-      <id>plc</id>
-      <name>PlanetLab Central</name>
-      <default>true</default>
-      <description>PlanetLab Central Packages</description>
-      <uservisible>true</uservisible>
-      <packagelist>
-       <!-- Basics -->
-       <packagereq type="mandatory">dev</packagereq>   
-       <packagereq type="mandatory">findutils</packagereq>
-
-
-       <!-- kernel-vserver is intended for the vserver-reference, but
-            serves the same useful purpose for MyPLC, namely, to
-            Provide: kernel without actually installing anything. -->
-       <packagereq type="mandatory">kernel-vserver</packagereq>        
-
-       <!-- Sending mail -->
-       <packagereq type="mandatory">sendmail</packagereq>
-       <packagereq type="mandatory">sendmail-cf</packagereq>
-
-       <!-- Caching DNS server -->
-       <packagereq type="mandatory">dnsmasq</packagereq>
-
-       <!-- (Optional) Synchronizing with PLC -->
-       <packagereq type="mandatory">rsync</packagereq>
-
-       <!-- Cron jobs -->
-       <packagereq type="mandatory">vixie-cron</packagereq>    
-
-       <!-- Other utilities -->
-       <packagereq type="mandatory">cvs</packagereq>
-       <packagereq type="mandatory">curl</packagereq>
-       <packagereq type="mandatory">wget</packagereq>
-       <packagereq type="mandatory">less</packagereq>
-       <packagereq type="mandatory">gzip</packagereq>
-       <packagereq type="mandatory">bzip2</packagereq>
-       <packagereq type="mandatory">cpio</packagereq>
-       <packagereq type="mandatory">tar</packagereq>
-       <packagereq type="mandatory">diffutils</packagereq>
-
-       <!-- yum >=2.2 uses a new repository format -->
-       <packagereq type="mandatory">createrepo</packagereq>
-       <packagereq type="mandatory">yum</packagereq>
-       <packagereq type="mandatory">rpm</packagereq>
-
-       <!-- For mkpasswd -->
-       <packagereq type="mandatory">expect</packagereq>
-
-       <!-- For ssh-keygen -->
-       <packagereq type="mandatory">openssh</packagereq>
-
-       <!-- Almost all scripts are written in Python -->
-       <packagereq type="mandatory">python</packagereq>
-       <packagereq type="mandatory">python-devel</packagereq>
-
-       <!-- Database server -->
-       <packagereq type="mandatory">postgresql</packagereq>
-       <packagereq type="mandatory">postgresql-server</packagereq>
-       <packagereq type="mandatory">postgresql-python</packagereq>
-
-       <!-- (Secure) web server -->
-       <packagereq type="mandatory">httpd</packagereq>
-       <packagereq type="mandatory">mod_ssl</packagereq>
-
-       <!-- Web pages are written primarily in PHP. A few pages still
-            access the DB directly. -->
-       <packagereq type="mandatory">php</packagereq>
-       <packagereq type="mandatory">php-pgsql</packagereq>
-       <!-- PLCAPI replaces php-xmlrpc -->
-       <!-- <packagereq type="mandatory">php-xmlrpc</packagereq> -->
-
-       <!-- Need GD for ImageCreate(), etc. -->
-       <packagereq type="mandatory">gd</packagereq>    
-       <packagereq type="mandatory">php-gd</packagereq>        
-       <packagereq type="mandatory">perl-GD</packagereq>       
-
-       <!-- API server is implemented in mod_python -->
-       <packagereq type="mandatory">mod_python</packagereq>
-
-       <!-- API server uses a few non-standard packages -->
-       <packagereq type="mandatory">PLCAPI</packagereq>
-       <packagereq type="mandatory">SOAPpy</packagereq>
-       <packagereq type="mandatory">PyXML</packagereq>
-
-       <!-- API server uses SSL to sign tickets -->
-       <packagereq type="mandatory">xmlsec1</packagereq>
-       <packagereq type="mandatory">xmlsec1-openssl</packagereq>
-       <packagereq type="mandatory">openssl</packagereq>
-
-       <!-- Customizable Boot CD and Boot Manager packages -->
-       <packagereq type="mandatory">bootcd</packagereq>
-       <packagereq type="mandatory">bootmanager</packagereq>
-
-       <!-- PLCWWW now packaged separately from myplc -->
-       <packagereq type="mandatory">plcwww</packagereq>
-
-       <!-- apache user needs root access for building node-dependent images -->
-       <packagereq type="mandatory">sudo</packagereq>
-
-       <!-- OneLab specifics - for convenience -->
-       <packagereq type="mandatory">vim-minimal</packagereq>
-       <packagereq type="mandatory">python-imaging</packagereq>
-
-      </packagelist>
-    </group>
-
+    <!-- deprecated - not used anymore - use .lst files instead -->
   </comps>
 
 </configuration>