Thread: Primary webserver move

Primary webserver move

From
"Dave Page"
Date:
Earlier this evening, Marc & I finished moving the primary front end web
server to a box in the US. This machine is very lightly loaded, running
only 3 VMs, 2 of which are postgresql.org ones. All pages remain built
on svr2.postgresql.org, which also processes any interactive pages
through it's new hostname, scripts.postgresql.org.

If anyone notices any problems, please let us know.

Regards, Dave.

Re: Primary webserver move

From
Gavin Sherry
Date:
On Tue, 16 Nov 2004, Dave Page wrote:

> Earlier this evening, Marc & I finished moving the primary front end web
> server to a box in the US. This machine is very lightly loaded, running
> only 3 VMs, 2 of which are postgresql.org ones. All pages remain built
> on svr2.postgresql.org, which also processes any interactive pages
> through it's new hostname, scripts.postgresql.org.
>
> If anyone notices any problems, please let us know.

I get a 404 for index.php when I go to the front page.

>
> Regards, Dave.
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
>       subscribe-nomail command to majordomo@postgresql.org so that your
>       message can get through to the mailing list cleanly
>

Re: Primary webserver move

From
Michael Fuhr
Date:
On Tue, Nov 16, 2004 at 10:37:34PM -0000, Dave Page wrote:
> Earlier this evening, Marc & I finished moving the primary front end web
> server to a box in the US. This machine is very lightly loaded, running
> only 3 VMs, 2 of which are postgresql.org ones. All pages remain built
> on svr2.postgresql.org, which also processes any interactive pages
> through it's new hostname, scripts.postgresql.org.
>
> If anyone notices any problems, please let us know.

My DNS server still has "www.postgresql.org. CNAME svr2.postgresql.org."
in its cache and that machine gives 404 for the following images:

/images/gif/pgsqlicon2.gif
/images/jpg/lily001top.jpg
/images/jpg/lily001bottom.jpg

Those images do get served up if I hit http://svr2.postgresql.org/
instead of http://www.postgresql.org/.  My proxy logs show that
both requests go to the same address (200.46.204.209).

It looks like the new CNAME record points to svr4.postgresql.org
(66.98.251.159).  I tried to hit http://svr4.postgresql.org/ and
got a redirect to http://www.svr4.postgresql.org, which doesn't
exist.  It might be useful if that server could be configured
to work for http://svr4.postgresql.org/.

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

Re: Primary webserver move

From
Justin Clift
Date:
Michael Fuhr wrote:
<snip>
> /images/jpg/lily001top.jpg
> /images/jpg/lily001bottom.jpg

Hmmm, not sure if it's helpful, but from memory those two files are from
the Advocacy website.

?

Regards and best wishes,

Justin Clift

Re: Primary webserver move

From
Michael Fuhr
Date:
On Tue, Nov 16, 2004 at 05:44:20PM -0700, Michael Fuhr wrote:
> On Tue, Nov 16, 2004 at 10:37:34PM -0000, Dave Page wrote:
> > Earlier this evening, Marc & I finished moving the primary front end web
> > server to a box in the US. This machine is very lightly loaded, running
> > only 3 VMs, 2 of which are postgresql.org ones. All pages remain built
> > on svr2.postgresql.org, which also processes any interactive pages
> > through it's new hostname, scripts.postgresql.org.
> >
> > If anyone notices any problems, please let us know.
>
> My DNS server still has "www.postgresql.org. CNAME svr2.postgresql.org."
> in its cache and that machine gives 404 for the following images:

I just checked again and svr2 is really foobar now -- little content
and 404s for the style sheet and the icons.

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

Re: Primary webserver move

From
"Marc G. Fournier"
Date:
On Tue, 16 Nov 2004, Michael Fuhr wrote:

> On Tue, Nov 16, 2004 at 05:44:20PM -0700, Michael Fuhr wrote:
>> On Tue, Nov 16, 2004 at 10:37:34PM -0000, Dave Page wrote:
>>> Earlier this evening, Marc & I finished moving the primary front end web
>>> server to a box in the US. This machine is very lightly loaded, running
>>> only 3 VMs, 2 of which are postgresql.org ones. All pages remain built
>>> on svr2.postgresql.org, which also processes any interactive pages
>>> through it's new hostname, scripts.postgresql.org.
>>>
>>> If anyone notices any problems, please let us know.
>>
>> My DNS server still has "www.postgresql.org. CNAME svr2.postgresql.org."
>> in its cache and that machine gives 404 for the following images:
>
> I just checked again and svr2 is really foobar now -- little content
> and 404s for the style sheet and the icons.

But ... we never changed anything on the old server for this, only changed
the DNS to point to the new IP ...

Am working on it though ... will post a follow up once I figure out what
went wrong, since Dave and I both tested from our browsers after the DNS
change :(

----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email: scrappy@hub.org           Yahoo!: yscrappy              ICQ: 7615664

Re: Primary webserver move

From
Michael Fuhr
Date:
On Tue, Nov 16, 2004 at 09:06:11PM -0400, Marc G. Fournier wrote:
> On Tue, 16 Nov 2004, Michael Fuhr wrote:
> >
> >I just checked again and svr2 is really foobar now -- little content
> >and 404s for the style sheet and the icons.
>
> But ... we never changed anything on the old server for this, only changed
> the DNS to point to the new IP ...

The page I'm seeing is identical to http://www.mirrorservice.org/
except that the images are broken.  Possibly a virtual hosting
config issue that depended on the old DNS record?

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

Re: Primary webserver move

From
"Marc G. Fournier"
Date:
'k, fixed for now ... Dave tested everything before we switch the DNS
over, but I think he missed the build script itself ... not 100%, but I
just changed DNS back again for tonight, and Robert/I just fixed the build
script so that the proper site is building ...

the rest I leave for Dave in the morning ...

On Tue, 16 Nov 2004, Michael Fuhr wrote:

> On Tue, Nov 16, 2004 at 05:44:20PM -0700, Michael Fuhr wrote:
>> On Tue, Nov 16, 2004 at 10:37:34PM -0000, Dave Page wrote:
>>> Earlier this evening, Marc & I finished moving the primary front end web
>>> server to a box in the US. This machine is very lightly loaded, running
>>> only 3 VMs, 2 of which are postgresql.org ones. All pages remain built
>>> on svr2.postgresql.org, which also processes any interactive pages
>>> through it's new hostname, scripts.postgresql.org.
>>>
>>> If anyone notices any problems, please let us know.
>>
>> My DNS server still has "www.postgresql.org. CNAME svr2.postgresql.org."
>> in its cache and that machine gives 404 for the following images:
>
> I just checked again and svr2 is really foobar now -- little content
> and 404s for the style sheet and the icons.
>
> --
> Michael Fuhr
> http://www.fuhr.org/~mfuhr/
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
>               http://www.postgresql.org/docs/faqs/FAQ.html
>

----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email: scrappy@hub.org           Yahoo!: yscrappy              ICQ: 7615664

Re: Primary webserver move

From
Michael Fuhr
Date:
On Tue, Nov 16, 2004 at 06:32:23PM -0700, Michael Fuhr wrote:

> The page I'm seeing is identical to http://www.mirrorservice.org/
> except that the images are broken.

I lied -- the pages aren't identical but they do appear to be related.

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

Re: Primary webserver move

From
"Dave Page"
Date:


-----Original Message-----
From: Marc G. Fournier [mailto:scrappy@postgresql.org]
Sent: Wed 11/17/2004 1:34 AM
To: Michael Fuhr
Cc: Dave Page; pgsql-www@postgresql.org
Subject: Re: [pgsql-www] Primary webserver move


> 'k, fixed for now ... Dave tested everything before we switch the DNS
> over, but I think he missed the build script itself ... not 100%, but I
> just changed DNS back again for tonight, and Robert/I just fixed the build
> script so that the proper site is building ...
>
> the rest I leave for Dave in the morning ...

Err, yes. Sorry, hands up to that one. Was entirely my fault. The build script almost certainly was the problem, the
nexttime it ran after the change over it would have tried to build the site from the new server, which is now just a
mirror.

I've updated it to access the master site as scripts.postgresql.org

Regards, Dave

Re: Primary webserver move

From
"Marc G. Fournier"
Date:
On Wed, 17 Nov 2004, Dave Page wrote:

>
>
>
> -----Original Message-----
> From: Marc G. Fournier [mailto:scrappy@postgresql.org]
> Sent: Wed 11/17/2004 1:34 AM
> To: Michael Fuhr
> Cc: Dave Page; pgsql-www@postgresql.org
> Subject: Re: [pgsql-www] Primary webserver move
>
>
>> 'k, fixed for now ... Dave tested everything before we switch the DNS
>> over, but I think he missed the build script itself ... not 100%, but I
>> just changed DNS back again for tonight, and Robert/I just fixed the build
>> script so that the proper site is building ...
>>
>> the rest I leave for Dave in the morning ...
>
> Err, yes. Sorry, hands up to that one. Was entirely my fault. The build script almost certainly was the problem, the
nexttime it ran after the change over it would have tried to build the site from the new server, which is now just a
mirror.
>
> I've updated it to access the master site as scripts.postgresql.org

Would you like me to try flip'ng the DNS again? :)

----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email: scrappy@hub.org           Yahoo!: yscrappy              ICQ: 7615664

Re: Primary webserver move

From
"Dave Page"
Date:

> -----Original Message-----
> From: Marc G. Fournier [mailto:scrappy@postgresql.org]
> Sent: 17 November 2004 19:21
> To: Dave Page
> Cc: Marc G. Fournier; Michael Fuhr; pgsql-www@postgresql.org
> Subject: RE: [pgsql-www] Primary webserver move
>
> > I've updated it to access the master site as scripts.postgresql.org
>
> Would you like me to try flip'ng the DNS again? :)

Yes please. I'll make sure I'm around for a while to test later...

/D

Re: Primary webserver move

From
"Marc G. Fournier"
Date:
On Wed, 17 Nov 2004, Dave Page wrote:

>
>
>> -----Original Message-----
>> From: Marc G. Fournier [mailto:scrappy@postgresql.org]
>> Sent: 17 November 2004 19:21
>> To: Dave Page
>> Cc: Marc G. Fournier; Michael Fuhr; pgsql-www@postgresql.org
>> Subject: RE: [pgsql-www] Primary webserver move
>>
>>> I've updated it to access the master site as scripts.postgresql.org
>>
>> Would you like me to try flip'ng the DNS again? :)
>
> Yes please. I'll make sure I'm around for a while to test later...

DNS now points to svr4:

Name:    svr4.postgresql.org
Address:  66.98.251.159
Aliases:  www.postgresql.org

And I just changed the cron job on svr4 to point to scripts.postgresql.org
as well, instead of www.postgresql.org ...

I'm here for another 45 minutes or so ... message me in Yahoo as yscrappy
if someone sees a problem that needs to have the DNS changed back in a
hurry ...

----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email: scrappy@hub.org           Yahoo!: yscrappy              ICQ: 7615664