public inbox for [email protected]  
help / color / mirror / Atom feed
From: Marc G. Fournier <[email protected]>
To: Dave Page <[email protected]>
Cc: Marc G. Fournier <[email protected]>
Cc: Magnus Hagander <[email protected]>
Cc: [email protected]
Cc: Gavin M. Roy <[email protected]>
Subject: Re: svr2/unionfs
Date: Tue, 29 Nov 2005 21:29:24 -0400 (AST)
Message-ID: <[email protected]> (raw)
In-Reply-To: <E7F85A1B5FF8D44C8A1AF6885BC9A0E4E7E4B4@ratbert.vale-housing.co.uk>
References: <E7F85A1B5FF8D44C8A1AF6885BC9A0E4E7E4B4@ratbert.vale-housing.co.uk>

On Tue, 29 Nov 2005, Dave Page wrote:

>
>
>> -----Original Message-----
>> From: Marc G. Fournier [mailto:[email protected]]
>> Sent: 29 November 2005 16:48
>> To: Dave Page
>> Cc: Magnus Hagander; Marc G. Fournier; [email protected]
>> Subject: RE: svr2/unionfs
>>
>> On Tue, 29 Nov 2005, Dave Page wrote:
>>
>>> Hmm, that's a good point. Marc; any idea how long the
>> downtime is likely
>>> to be? I'm not sure what the best way to redirect the
>> clients will be
>>> unless we temporarily write a static version of the few
>> hundred or so
>>> mirror selection pages.
>>
>> So, why not just create a second wwwmaster, that is
>> templateless ... we'll
>> call it wwwmaster2.postgresql.org for testing purposes ...
>> then, once we
>> know its all working, we shutdown the old and restart the new was
>> wwwmaster?
>
> That's a good idea, except it'll take a fair bit of setup I imagine. Can
> we just copy svr2 over a copy of the template and bring that up as
> wwwmaster2 for testing? I don't think we need to worry about cleanly
> installing the VM at this stage, just eliminating the unionfs.

If we're just going to do that, then it does make it alot simplier ... but 
don't worry about the wwwmaster2 stage, since you aren't changing 
anything, you are just merging the file systems.

cd <template root>
find . -print | cpio -pdma /vm/186/svr2.postgresql.org.n
shutdown svr2
cd /vm/186/svr2.postgresql.org
find . -print | cpio -pduma ../svr2.postgresql.org.n
cd ..
mv svr2.postgresql.org svr2.postgresql.org.orig
mv svr2.postgresql.org.n svr2.postgresql.org

change template id in /usr/local/etc/jail.conf to 7 (I believe that 
start_jail on that server recognizes that as "do not mount a template") 
and then restart ...

You haven't changed any applications, or versions, or anything ... and, in 
fact, you still have all the ports information in /var/db/pkg, so you can 
remove ports as desired (ie. all the java stuff) ...

for this, I wouldn't run a duplicate in tandem, that's just more work then 
this requires ...


  ----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email: [email protected]           Yahoo!: yscrappy              ICQ: 7615664




view thread (15+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected]
  Subject: Re: svr2/unionfs
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox