SaaSy Xen Garden

From Makers Local 256
Revision as of 08:50, 15 March 2010 by Brimstone (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Overview

Live/Installable Xen Virtual Machine Host cd providing private and shared resources for high availability.

Status

Researching

Components

Debian

A lot of the research done for Kraken can be reused here.

vpn software

drbd

Sample drbd.conf:

       global {
               usage-count     no;
       }
       common {
               syncer {
                       rate    1M;
               }
               net {
                       allow-two-primaries;
               }
               startup {
                       become-primary-on       both;
               }
       }
        
       resource test {
               protocol        c;
               device          /dev/drbd0;
               meta-disk       internal;
               on ultralaser {
                       disk    /dev/loop0;
                       address private-ip:7788;
               }
       }

Initialize resource if need be and connect it to it's partner

# drbdadm up resource

Mark resource as primary (optional?)

# drbdadm primary resource

Update drbd.conf

# drbdadm adjust resource

Take resource back offline

# drbdadm down resource