Gentoo Archives: gentoo-server

From: Sri Gupta <oopsz@××××××××××.com>
To: gentoo-server@l.g.o
Subject: Re: [gentoo-server] Backup server portage mirroring?
Date: Fri, 15 Apr 2005 06:47:33
Message-Id: 2416.132.216.192.42.1113547618.squirrel@secure.tripadelic.com
In Reply to: [gentoo-server] Backup server portage mirroring? by Devraj Mukherjee
1 in response to your other question about use flags: No, it doesn't,
2 because USE="" emerge only influences that build. man portage and read up
3 on /etc/portage/package.use.
4
5 as for this question.. export /usr/portage via nfs and emerge -b on one,
6 emerge -k on the other.
7
8 read up on the docs, man, portage will do everything you want if you sweet
9 talk her.
10
11 -Sri
12
13 On Fri, April 15, 2005 2:03 am, Devraj Mukherjee said:
14 > I am not sure if there is really a solution to this problem, but it might
15 > lead to some brainstorming and finally a solution :-)
16 >
17 > We have a one live server to which we have a mirror server, the mirror is
18 > an exact copy of the data and as part of our disaster recovery plan we
19 > should be able to take down the live server and use our mirror server when
20 > there is a need.
21 >
22 > Now part of the problem is the fact that I have to maintain packages on
23 > both machines separately. Thus if I say emerge php with custom use flags
24 > on the lvie server, I have to do the same on the backup server. Is there a
25 > way of automating this process?
26 >
27 > I am, not so concerned with kernel and device drivers, as the hardware can
28 > be different. I am more concerned about user level packages like
29 > Apache/PHP etc. Can I mirror the portage in anyway such that I can have
30 > the same user level packages via single emerge?
31 >
32 > Thanks for the help.
33 >
34 > Devraj
35 >
36 > --
37 > Devraj Mukherjee <servers@××××××××××××××××××××.com>
38 > System Administration Group, Eternity Technologies Pty. Ltd.
39 > P O Box 5949 WAGGA WAGGA NSW 2650 Australia
40 > Voice: +61-2-69717131 / Fax: +61-2-69251039
41 > http://eternitytechnologies.com
42 > --
43 > gentoo-server@g.o mailing list
44 >
45 >
46
47
48 --
49 gentoo-server@g.o mailing list