WebLion Hosting Lightning Talk

36
WebLion Hosting Patience is for the dead. Several months ago, …colleges, depts Small team. No time to scurry around fixing and updating boxes. No army of sysadmins.

description

Erik Rose’s lightning talk about WebLion Hosting given by at Plone Conference 2008 in Washington, D.C.

Transcript of WebLion Hosting Lightning Talk

Page 1: WebLion Hosting Lightning Talk

WebLion HostingPatience is for the dead.

Several months ago, …colleges, deptsSmall team. No time to scurry around fixing and updating boxes.No army of sysadmins.

Page 2: WebLion Hosting Lightning Talk

For disagreeable people

cosign, local LDAPs

Page 3: WebLion Hosting Lightning Talk

For disagreeable people

Different Plone versions

cosign, local LDAPs

Page 4: WebLion Hosting Lightning Talk

For disagreeable people

Different Plone versions

Different products

cosign, local LDAPs

Page 5: WebLion Hosting Lightning Talk

For disagreeable people

Different Plone versions

Different products

Different Apache configs

cosign, local LDAPs

Page 6: WebLion Hosting Lightning Talk

Mass-installation tools

…are out because they assume…

Page 7: WebLion Hosting Lightning Talk

Mass-installation tools

FAI

…are out because they assume…

Page 8: WebLion Hosting Lightning Talk

Mass-installation tools

FAI

Puppet

…are out because they assume…

Page 9: WebLion Hosting Lightning Talk

Mass-installation tools

FAI

Puppet

Disk images

…are out because they assume…

Page 10: WebLion Hosting Lightning Talk

Every box the same

Page 11: WebLion Hosting Lightning Talk

What about upgrades?

??

?

??? ?

Page 12: WebLion Hosting Lightning Talk

What I want

………from packaged config without breaking upgrades. Need manual intervention only when local admins manually throw a switch indicating they accept the responsibility.

cuz I’m impatient —> pony

Page 13: WebLion Hosting Lightning Talk

What I want

Easy installs

………from packaged config without breaking upgrades. Need manual intervention only when local admins manually throw a switch indicating they accept the responsibility.

cuz I’m impatient —> pony

Page 14: WebLion Hosting Lightning Talk

What I want

Easy installs

O(1) upgrades

………from packaged config without breaking upgrades. Need manual intervention only when local admins manually throw a switch indicating they accept the responsibility.

cuz I’m impatient —> pony

Page 15: WebLion Hosting Lightning Talk

What I want

Easy installs

O(1) upgrades

Tolerance of local deviations

………from packaged config without breaking upgrades. Need manual intervention only when local admins manually throw a switch indicating they accept the responsibility.

cuz I’m impatient —> pony

Page 16: WebLion Hosting Lightning Talk

What I want

Easy installs

O(1) upgrades

Tolerance of local deviations

………from packaged config without breaking upgrades. Need manual intervention only when local admins manually throw a switch indicating they accept the responsibility.

cuz I’m impatient —> pony

Page 17: WebLion Hosting Lightning Talk

Weapons

APT \ packaged Ploneconfig-package-dev, Tim Abbott \ Tolerates local changes \ Zope, squid, weblion-apache-config IOC…Push to each machine

meaning: common namespace for {kernel, apache, squid, config files, Plone}.Rather than starting with something that installs Zope and trying to add everything else in the world to it (Varnish), start with something that already knows everything in the world, and add Plone.

Page 18: WebLion Hosting Lightning Talk

Weapons

Debian packages

APT \ packaged Ploneconfig-package-dev, Tim Abbott \ Tolerates local changes \ Zope, squid, weblion-apache-config IOC…Push to each machine

meaning: common namespace for {kernel, apache, squid, config files, Plone}.Rather than starting with something that installs Zope and trying to add everything else in the world to it (Varnish), start with something that already knows everything in the world, and add Plone.

Page 19: WebLion Hosting Lightning Talk

Weapons

Debian packages

“Config” packages

APT \ packaged Ploneconfig-package-dev, Tim Abbott \ Tolerates local changes \ Zope, squid, weblion-apache-config IOC…Push to each machine

meaning: common namespace for {kernel, apache, squid, config files, Plone}.Rather than starting with something that installs Zope and trying to add everything else in the world to it (Varnish), start with something that already knows everything in the world, and add Plone.

Page 20: WebLion Hosting Lightning Talk

Weapons

weblion-plone-3.1-stack

weblion-squid-config

squid

<debconf> debconf | <debconf-2.0> debconf-2.0(>= 1.2.9)

<cdebconf> \{cdebconf\} | <debconf> [debconf]

libdb4.4

libldap2

(>= 2.1.17-1)

libgnutls13

(>= 1.4.0-0)

libsasl2-2

libldap2-tls

libpam0g

(>= 0.76)

libpam-runtime

libpam

netbase

ifupdown(>= 0.6.4-4.9)

<openbsd-inetd> \{openbsd-inetd\} | <inet-superserver> \{inet-superserver\}

<iputils-ping> \{iputils-ping\} | <ping> \{ping\}

lsb-base

(>= 3.0-6)

(>= 0.5)

adduser

perl-base

(>= 5.6.0)

passwd

(>= 1:4.0.12)

logrotate

(>= 3.5.4-1)

squid-common

(= 2.6.5-6etch1)

coreutils

libacl1

(>= 2.2.11-1)

libselinux1

(>= 1.32)

stat

sed

ncurses-bin

squid-novm

net-tools

configures-etc++squid++squid.conf

weblion-apache-config

apache2

libapache2-mod-cosign

apache2.2-common

apache2-utils

libmagic1

mime-support

procps

apache2-common

ca-certificates

openssl

libssl0.9.8

(>= 0.9.8c-1)

(>= 0.5)

ssl-cert

(>= 0.5)

configures-etc++apache2++ports.conf

weblion-plone-3.1-site

weblion-plone-3.1

(= 3.1.5.1-3)

zope2.10

zope-common

(>= 0.5.21)

python2.4

(>= 2.4.3)

python-tz

(>= 0.5.38)

python

(>= 2.4)

(>= 0.5)

(>= 0.5.38)

zope-externaleditor

(>= 0.9.3-2~bpo40+2)

(>= 0.5.18)

<zope2.9> \{zope2.9\} | <zope2.8> \{zope2.8\} | <zope2.7> \{zope2.7\}

python-imaging

python-central

(>= 0.5)

(>= 2.3)(<< 2.5)

<mime-support> \{mime-support\} | <python-imaging-tk> \{python-imaging-tk\}

libfreetype6

(>= 2.2) libjpeg62

pil

python-pil

python2.3-imaging

python2.4-imaging

lynx

libbz2-1.0

(>= 1.4.0-0)

libncursesw5(>= 5.4-5)

lynx-ssl

pdftohtml gs

python-docutils

(>= 0.3.3)

(>= 0.5)

(>= 2.3)

python-roman

xpdf-utils

libpaper1

xpdf-common(= 3.01-9.1+etch4)

poppler-utils

xsltproc

libgcrypt11

(>= 1.2.2)libgpg-error0

(>= 1.4)

libxml2

(>= 2.6.27)

libxslt1.1(>= 1.1.18)

python-elementtree

(>= 2.3)

python-support

python2.3-elementtree

python2.4-elementtree

python-libxml2

(>= 2.6.27)

(<< 2.5)

(>= 0.3.4)

(>= 2.4)

(>= 0.5.38)

(>= 0.5)

plone3-site

weblion-zope-hosting-policy

(>= 0.5.38)

weblion-zope-cachefu

(>= 0.5.38)

(>= 0.5.38)

zope-cachefuweblion-zope-webserverauth

(>= 0.5.38)

weblion-plone-site-config configures-etc++zope2.10++plone-site++zope.conf

configures-var++lib++zope2.10++zeo++plone-site++etc++zeo.conf

APT \ packaged Ploneconfig-package-dev, Tim Abbott \ Tolerates local changes \ Zope, squid, weblion-apache-config IOC…Push to each machine

meaning: common namespace for {kernel, apache, squid, config files, Plone}.Rather than starting with something that installs Zope and trying to add everything else in the world to it (Varnish), start with something that already knows everything in the world, and add Plone.

Page 21: WebLion Hosting Lightning Talk

Weapons

weblion-plone-3.1-stack

weblion-squid-config squid

weblion-apache-config

apache2

libapache2-mod-cosign

weblion-plone-3.1-site

weblion-zope-cachefu

weblion-zope-webserverauth

weblion-plone-site-config

weblion-zope-hosting-policy

weblion-hosting-node

weblion-auto-update

APT \ packaged Ploneconfig-package-dev, Tim Abbott \ Tolerates local changes \ Zope, squid, weblion-apache-config IOC…Push to each machine

meaning: common namespace for {kernel, apache, squid, config files, Plone}.Rather than starting with something that installs Zope and trying to add everything else in the world to it (Varnish), start with something that already knows everything in the world, and add Plone.

Page 22: WebLion Hosting Lightning Talk

Weapons

Nightly automatic updates

weblion-plone-3.1-stack

weblion-squid-config squid

weblion-apache-config

apache2

libapache2-mod-cosign

weblion-plone-3.1-site

weblion-zope-cachefu

weblion-zope-webserverauth

weblion-plone-site-config

weblion-zope-hosting-policy

weblion-hosting-node

weblion-auto-update

APT \ packaged Ploneconfig-package-dev, Tim Abbott \ Tolerates local changes \ Zope, squid, weblion-apache-config IOC…Push to each machine

meaning: common namespace for {kernel, apache, squid, config files, Plone}.Rather than starting with something that installs Zope and trying to add everything else in the world to it (Varnish), start with something that already knows everything in the world, and add Plone.

Page 23: WebLion Hosting Lightning Talk

Installation

(Basically)See https://weblion.psu.edu/trac/weblion/wiki/BootstrapServers for details.

Page 24: WebLion Hosting Lightning Talk

Installation

1. echo "deb http://deb.weblion.psu.edu/debian etch main non-free contrib" >> /etc/apt/sources.list

(Basically)See https://weblion.psu.edu/trac/weblion/wiki/BootstrapServers for details.

Page 25: WebLion Hosting Lightning Talk

Installation

1. echo "deb http://deb.weblion.psu.edu/debian etch main non-free contrib" >> /etc/apt/sources.list

2. aptitude update

(Basically)See https://weblion.psu.edu/trac/weblion/wiki/BootstrapServers for details.

Page 26: WebLion Hosting Lightning Talk

Installation

1. echo "deb http://deb.weblion.psu.edu/debian etch main non-free contrib" >> /etc/apt/sources.list

2. aptitude update

3. aptitude install --without-recommends -y weblion-hosting-vmware-node weblion-auto-update weblion-plone-3.1-stack

(Basically)See https://weblion.psu.edu/trac/weblion/wiki/BootstrapServers for details.

Page 27: WebLion Hosting Lightning Talk

Updation

and wait

…and hope the 5 egg repos are up.

Page 28: WebLion Hosting Lightning Talk

Updation

Update the package repository

and wait

…and hope the 5 egg repos are up.

Page 29: WebLion Hosting Lightning Talk

Updation

Update the package repository

Update each machine

and wait

…and hope the 5 egg repos are up.

Page 30: WebLion Hosting Lightning Talk

Updation

Update the package repository

Update each machine

Run buildout

and wait

…and hope the 5 egg repos are up.

Page 31: WebLion Hosting Lightning Talk

Goodies

kernel to Plone, dependencies describableScalable from…Dedicated, ESX, EC2

Page 32: WebLion Hosting Lightning Talk

Goodies

Everything in a single namespace

kernel to Plone, dependencies describableScalable from…Dedicated, ESX, EC2

Page 33: WebLion Hosting Lightning Talk

Goodies

Everything in a single namespace

Turnkey or full local admin control

kernel to Plone, dependencies describableScalable from…Dedicated, ESX, EC2

Page 34: WebLion Hosting Lightning Talk

Goodies

Everything in a single namespace

Turnkey or full local admin control

Hardware-portable

kernel to Plone, dependencies describableScalable from…Dedicated, ESX, EC2

Page 35: WebLion Hosting Lightning Talk

Steal Me:

http://weblion.psu.edu/wiki/WebLionHosting

I look forward to your complaints.

pony: all my missteps are documented: svn’s open, wiki is full of instructions about how to build your own

Page 36: WebLion Hosting Lightning Talk

Steal Me:

http://weblion.psu.edu/wiki/WebLionHosting

I look forward to your complaints.

pony: all my missteps are documented: svn’s open, wiki is full of instructions about how to build your own