From: John Nilsson <john@milsson.nu>
To: Terje Kvernes <terjekv@math.uio.no>
Cc: Georgi Georgiev <chutz-dated-1063558331.1e801939c4ac@gg3.net>,
gentoo-dev@gentoo.org
Subject: Re: [gentoo-dev] Portage through SSH
Date: Tue, 02 Sep 2003 06:58:53 +0200 [thread overview]
Message-ID: <3F54238D.7030004@milsson.nu> (raw)
In-Reply-To: <wxxllt8t5vk.fsf@nommo.uio.no>
rdist is probably great if you would like to have identical hosts.
But if you are having diffrent kind of installations it could get messy.
I was thinking something along these lines.
%emerge sync && emerge world --target server1 --update
1. rsync to localhost
2. read localhost:/var/cache/edb/server1/world || \
read server1:/var/cache/edb/localhost/world
3. calculate which packages have to be updated
4. read localhost:/var/cache/edb/server1/make.conf || \
read server1:/etc/make.conf
5. download and compile localy
6. install to server1:/
7. modify server1:/var/cache/edb/localhost/world && \
modify localhost:/var/cache/edb/server1/world
-John
Terje Kvernes wrote:
> John Nilsson <john@milsson.nu> writes:
>
>
>>Some requirement thoughts: A network of gentoo hosts should have
>>only one portage processing server and any number of installation
>>leafs.
>
>
> this is what I'm doing today, so I'll agree. :-)
>
>
>>First of all portage needs to easily handle more than one
>>installation. Second the "leaf-installations" should have a very
>>strict minimum requiremnts. Third redundancy is probably
>>important. The information to restore a lost "leaf" should be
>>availible on booth the portage host and on the leaf it self.
>
>
> this is easily doable with something like rdist. most things under
> unix are files. keeping this in mind when working with unix is a
> very good idea.
>
> at work, me and one other guy maintain about 150-odd linux boxes
> with rdist and a little bit extra. the idea is to rdist / with a
> few appropriate exceptions. we also maintain a configuration
> database (flat files under /etc/config) that gets rdisted as well.
> this means that all configuration for all the machines is available
> everywhere -- which is nice even though we have tape backups.
>
--
gentoo-dev@gentoo.org mailing list
next prev parent reply other threads:[~2003-09-02 4:59 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-31 13:07 [gentoo-dev] Portage through SSH John Nilsson
2003-08-31 13:32 ` Marius Mauch
2003-08-31 14:17 ` Luke-Jr
2003-08-31 14:20 ` John Nilsson
2003-08-31 14:35 ` Marc Giger
2003-08-31 15:01 ` Douglas Russell
2003-08-31 15:15 ` John Nilsson
2003-08-31 16:52 ` Georgi Georgiev
2003-08-31 18:14 ` John Nilsson
2003-08-31 18:29 ` Douglas Russell
2003-08-31 23:31 ` Steven Elling
2003-09-01 5:53 ` oom
2003-09-01 5:57 ` Seemant Kulleen
2003-09-01 10:43 ` Stuart Herbert
2003-09-01 7:04 ` Steven Elling
2003-09-01 7:51 ` Brian Harring
2003-09-01 16:51 ` John Nilsson
2003-09-01 16:55 ` John Nilsson
2003-09-01 17:34 ` Steven Elling
2003-09-01 19:34 ` Luke-Jr
2003-09-02 0:02 ` Terje Kvernes
2003-09-02 4:58 ` John Nilsson [this message]
2003-09-02 9:30 ` Terje Kvernes
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3F54238D.7030004@milsson.nu \
--to=john@milsson.nu \
--cc=chutz-dated-1063558331.1e801939c4ac@gg3.net \
--cc=gentoo-dev@gentoo.org \
--cc=terjekv@math.uio.no \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox