welcome: please sign in

Revision 62 as of 2012-12-20 20:50:28

Clear message
Edit

FritzVirtualization

Initial scratch notes on getting kvm working on fritz. This will need to be integrated into SetupNewMachines and AdminArea after everything is working.

See http://wiki.hcoop.net/Migration2009/SoftwareSetup for the gist of what ClintonEbadi is trying to do here, but s/OpenVZ/KVM via libvirt/g.

1. Tasks

(./) = done, {o} = not done, <!> = possibly done, awaiting verification, {X} = gave up or died trying

Other tasks, lower priority:

2. Missing Apache Modules

Known missing and probably needing configuration:

(./) mod_cache and mod_disk_cache

(./) mod_include

For SSI, see http://httpd.apache.org/docs/2.2/mod/mod_include.html. Probably config

    AddType text/html .shtml
    AddOutputFilter INCLUDES .shtml

Missing, but no needing any config:

Not used in domtool, but useful to enable:

<Location /server-status>
       SetHandler server-status
       #ExtendedStatus on
       #Order deny,allow
       #Deny from all
       #Allow from .example.com
   </Location>

Not used in domtool, enabled on mire, but do not enable on navajos:

3. Bog Initial Setup Notes

The preseed in theory is enough to have a user node; the admin config package restricts logins. A few open questions:

Check preseed for installation of admin node specific packages and move to navajos postinst. We need some preseed templating system eventually, but for now...

Automatic re-installability is officially a low priority for this release cycle... so don't worry about post-installing or preseeding the various packages a fully featured user node needs (db clients, perl, etc.).

4. Packages Config

This, and other information, should be merged into a general description of our infrastructure and how it differs from a stock Debian installation.

Things not mentioned on SetupNewMachines that had to have their default debconf values changed.

5. Major Open issues

This, and other things, should be merged into a "Undecided Infrastructure Issues" document, so that folks don't make the mistake that "the path of least resistance" is how we wanted to do things.

5.1. fwtool

Making FirewallRules support all of the needed functionality for a user machine is proving difficult

Conclusion: the current fwtool implementation would require duplicating a lot of functionality already present in the support machinery for the domtool domain type. A new syntax for user rule files would need to be created (or tons of hackish supporting code) so ...

The only (in)sane way forward is to create a domtool node type and firewall plugin to manage rules. This has distinct advantages:

And a few distinct disadvantages:

Interim solution:

Getting a user shell machine online is slightly less important than shifting cgi hosting off of mire (load average is usually high, software is outdated). Users can live with for another month logging into an etch system but running their php and whatnot on a new machine... Therefore:

This will force codification of the open ports for the web server machine, and will be easy to undo when domtool support is in place. A slightly hacked together FirewallRules may need to be used for the user node (time, what is time?) -- but a restrictive firewall must be used (it's impossible to implement one on a box that didn't have one before with breaking things). Unfortunately, without SELinux, we can't restrict what ports members listen on, so input firewall rules will be less useful than they could be for now.

6. Debian Based Package Config

Most info updated at DebianPackaging

Packages needing customization on all machines:

Packages that need customization if installed:

Ideas:

7. Installer Preseeding

Move to a page describing infrastructure decisions

http://wiki.debian.org/DebianInstaller/Preseed

http://git.hcoop.net/?p=hcoop/machine-template.git;a=summary

Pretty useful, need to document more.

Installer command line: auto url=http://hcoop.net/~clinton_admin/preseed-test-0.cfg

Proof this is worth it (enter network info -> hot damn any afs user can login to the kvm)

http://unknownlamer.org/tmp/proof.png


CategorySystemAdministration CategoryWorkInProgress