Introduction Overview Profiles for a purpose
Gentoo @ IsoHuntor, you did WHAT with profiles?
Robin H Johnson <[email protected]>Gentoo Infrastucture
Gentoo Miniconf Prague2012/10/20
Robin H Johnson <[email protected]> Gentoo InfrastuctureGentoo @ IsoHunt
Introduction Overview Profiles for a purpose
IsoHunt...
BitTorrent search engine3+ racks, 2+ locations, 30+ machines300+ Mbit/sec100% Gentoo powered
Robin H Johnson <[email protected]> Gentoo InfrastuctureGentoo @ IsoHunt
Introduction Overview Profiles for a purpose
IsoHunt...
BitTorrent search engine3+ racks, 2+ locations, 30+ machines300+ Mbit/sec100% Gentoo powered
Robin H Johnson <[email protected]> Gentoo InfrastuctureGentoo @ IsoHunt
Introduction Overview Profiles for a purpose
Gentoo Profiles
Originally single-parentMulti-parent release in 2008.0package.{mask,use,unmask,accept_keywords}
Robin H Johnson <[email protected]> Gentoo InfrastuctureGentoo @ IsoHunt
Introduction Overview Profiles for a purpose
Non-Prefix profiles view
Robin H Johnson <[email protected]> Gentoo InfrastuctureGentoo @ IsoHunt
Introduction Overview Profiles for a purpose
Subset of profilesamd64+x86, no prefix, no selinux, no hardened, no targets
Robin H Johnson <[email protected]> Gentoo InfrastuctureGentoo @ IsoHunt
Introduction Overview Profiles for a purpose
Profiles for a purpose
Location(censored)
Hardware classbarcelona, k8, nehalem, x86_64, xeon_c2d, xeon_e5,xeon_york
Machine roledb, infra, lucene, monitor, router, vm, web
Host$HOSTNAME
Robin H Johnson <[email protected]> Gentoo InfrastuctureGentoo @ IsoHunt
Introduction Overview Profiles for a purpose
Parent file
/usr/portage/profiles/default/linux/amd64/10.0/server/etc/managed-portage/common/pre/make.profile/etc/managed-portage/location/XXXXX/make.profile/etc/managed-portage/class/db/make.profile/etc/managed-portage/hwtype/xeon_york/make.profile/etc/managed-portage/common/post/make.profile
Robin H Johnson <[email protected]> Gentoo InfrastuctureGentoo @ IsoHunt
Introduction Overview Profiles for a purpose
Setup
ln -sf /etc/managed-portage/hosts/${h}/make.conf /etc/make.confln -sf /etc/managed-portage/hosts/${h}/make.profile/ /etc/make.profileln -sf /etc/managed-portage/hosts/${h}/etc-portage/ /etc/portage
Robin H Johnson <[email protected]> Gentoo InfrastuctureGentoo @ IsoHunt