Ticket #97 (closed enhancement: fixed)

Opened 6 years ago

Last modified 6 years ago

Hardware upgrade to GH tier2 servers

Reported by: ed Owned by: chris
Priority: critical Milestone:
Component: Live server Keywords:
Cc: Estimated Number of Hours: 15.0
Add Hours to Ticket: 0 Billable?: yes
Total Hours: 17.0

Description

Gaiahost have given us their 'tier2' servers so we will need to move across to them.

Change History

comment:1 Changed 6 years ago by chris

  • Estimated Number of Hours set to 0.0
  • Component changed from component1 to Live server
  • Billable? unset

comment:2 Changed 6 years ago by chris

  • Estimated Number of Hours changed from 0.0 to 8.0
  • Billable? set

On 7th july 2010 Charles at Gaia confirmed that this is the plan for the migration:

  1. You set up the new server on a new IP address.
  2. We install the additional packages we have installed on the live server onto the new server and test that everything is working and document what's been done.
  3. The servers are switched by switching the IPs from the current live server to the new live server.

comment:3 Changed 6 years ago by chris

The news came through that the new server was available for testing on Thu, 15 Jul 2010 20:46:04 +0100 (BST):

The temporary IP address for the new Tier 2 Virtual Server is:

67.217.100.68

The hostname is:

transitionnetwork.gaiahost.coop
Here are the links to test things out with:

http://transitionnetwork-live.gaiahost.coop/

*Minor note that the News | Top Stories link is hard-linked back to
transitionnetwork.org, but browsing anywhere else on the site will keep
you at the test address.

*Performance.  Keep in mind performance should be significantly better
as is, but performance will also increase for anonymous users with more
traffic as the Drupal cache is rebuilt.

http://transitionnetwork-atrium.gaiahost.coop/

http://transitionnetwork-today.gaiahost.coop/

comment:5 Changed 6 years ago by chris

  • Add Hours to Ticket changed from 0.0 to 1.5
  • Total Hours changed from 0 to 1.5

I have started installing packages that we had installed on the old live server:

http://atrium.transitiontoday.org/dev/book/live-server#packages

And these are being documented here:

https://tech.transitionnetwork.org/trac/wiki/LiveServer#Packages

So far these have been installed:

  1. screen
  2. wget
  3. vim
  4. lynx
  5. rsync
  6. subversion
  7. p5-libwww
  8. munin-node

Munin doesn't yet generate stats here:

https://kiwi.transitionnetwork.org/munin/gaiahost.coop/transitionnetwork.gaiahost.coop.html

Because Gaia need to open their firewall to allow access from kiwi.transitionnetwork.org, a ticket, #16862, has been raised for the firewall to be opened.

comment:6 Changed 6 years ago by chris

  • Add Hours to Ticket changed from 0.0 to 2.0
  • Total Hours changed from 1.5 to 3.5

pecl-uploadprogress has been installed.

The cron job has been set up, see LiveServer#Cron but it's not working, when it's run manually from the admin interface, https://transitionnetwork-live.gaiahost.coop/admin/reports/status/run-cron it generates an error -- this needs sorting out.

Image uploads have been tested and are not yet working.

Gaia have opened up the firewall for munin but all the plugins still need to be sorted out.

comment:8 Changed 6 years ago by chris

  • Add Hours to Ticket changed from 0.0 to 2.0
  • Total Hours changed from 8.0 to 10.0

The problem with the apache stats has been fixed:

https://kiwi.transitionnetwork.org/munin/gaiahost.coop/transitionnetwork.gaiahost.coop.html#Apache

Also the multimemory stats:

https://kiwi.transitionnetwork.org/munin/gaiahost.coop/transitionnetwork.gaiahost.coop-multimemory.html

And the problem with the cron job which accesses the cron.php script every 5mins (see comment above) appears to have been fixed, but I don't know what sorted this out...

comment:9 Changed 6 years ago by chris

It's possible that there is a still an issue with cron, the link above I was using to check if it had run was actually running it!

This is the place to check when it last ran:

https://transitionnetwork-live.gaiahost.coop/admin/reports/dblog

comment:10 Changed 6 years ago by chris

The cron problem has been sorted, see LiveServer#Cron

comment:11 Changed 6 years ago by chris

  • Add Hours to Ticket changed from 0.0 to 1.0
  • Total Hours changed from 10.0 to 11.0

The new LiveServer is now live and is on the old IP addresses, 67.217.100.83 and 67.217.100.92.

The old live server is still available for now on 67.217.100.68 for ssh access -- in case we find anything missing from the new live server that we need to get off it.

Also I'm going to rsync a copy of /home/ /web/ and /usr/local/ to /home/live/old-live-data/ on the dev server.

comment:12 Changed 6 years ago by chris

  • Estimated Number of Hours changed from 8.0 to 15.0

Added some more hours to the estimate of the total hours this will end up taking.

comment:13 Changed 6 years ago by chris

  • Add Hours to Ticket changed from 0.0 to 6.0
  • Total Hours changed from 11.0 to 17.0

Things accounted for before

comment:14 Changed 6 years ago by jim

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.