Michigan Open Carry, Inc.

General Category => MOC IT Dept. => Topic started by: jgillmanjr on July 15, 2014, 05:40:18 PM

Title: Forum Hosting Transition / Upgrade
Post by: jgillmanjr on July 15, 2014, 05:40:18 PM
Folks,

I anticipate transitioning where the forums are hosted late this evening or early tomorrow morning (call it a maintenance window of 2200-0600), as well as upgrading the software while I'm at it. Bas

If all goes according to plan, downtime should be around an hour tops.

During the process, the forum will be in "Maintenance Mode" and you won't be able to post or really do much of anything else.

If you have any questions, please let me know.

-Jason
Title: Re: Forum Hosting Transition / Upgrade
Post by: gryphon on July 15, 2014, 09:52:09 PM
I anticipate transitioning where the forums are hosted

 :yikes:
Title: Re: Forum Hosting Transition / Upgrade
Post by: jgillmanjr on July 15, 2014, 10:13:19 PM
Alright kids, I'm thinking sooner rather than later..
Title: Re: Forum Hosting Transition / Upgrade
Post by: linux203 on July 15, 2014, 10:20:49 PM
Folks,

I anticipate transitioning where the forums are hosted late this evening or early tomorrow morning (call it a maintenance window of 2200-0600), as well as upgrading the software while I'm at it. Bas

If all goes according to plan, downtime should be around an hour tops.

During the process, the forum will be in "Maintenance Mode" and you won't be able to post or really do much of anything else.

If you have any questions, please let me know.

-Jason

What's your backout plan?  Murphy's law.  If you have one, you never need it.
Title: Re: Forum Hosting Transition / Upgrade
Post by: jgillmanjr on July 15, 2014, 10:40:00 PM
What's your backout plan?  Murphy's law.  If you have one, you never need it.

My backout plan is that if things are looking to go sideways, DNS doesn't get changed and I disable Mx mode.
Title: Re: Forum Hosting Transition / Upgrade
Post by: CV67PAT on July 15, 2014, 10:44:33 PM
Blah Blah Blah.
Sounds good.
Title: Re: Forum Hosting Transition / Upgrade
Post by: jgillmanjr on July 15, 2014, 10:48:51 PM
Actually, I'm holding off for now.

Wide Open West is being shady, and I really don't need a connection to drop mid operation.

The *best* part is that Bluehost won't let me run screen!

I'm going to wait until tomorrow when I get into work - early.
Title: Re: Forum Hosting Transition / Upgrade
Post by: CV67PAT on July 15, 2014, 10:51:08 PM
Actually, I'm holding off for now.

Blah Blah Blah

I'm going to wait until tomorrow when I get into work - early.
Title: Re: Forum Hosting Transition / Upgrade
Post by: linux203 on July 15, 2014, 10:57:36 PM
The *best* part is that Bluehost won't let me run screen!

I have linux boxes in two Tier 3 datacenters and one Tier 4 datacenter that support screen.  I'm guessing you do too.

Let me translate for Pat... Blah Blah, Blah Blah Blah Blah.
Title: Re: Forum Hosting Transition / Upgrade
Post by: CV67PAT on July 15, 2014, 10:59:13 PM
I have linux boxes in two Tier 3 datacenters and one Tier 4 datacenter that support screen.  I'm guessing you do too.

Let me translate for Pat... Blah Blah, Blah Blah Blah Blah.
Now I can understand that. Thanks Dan!!!
Title: Re: Forum Hosting Transition / Upgrade
Post by: jgillmanjr on July 15, 2014, 11:09:55 PM
I have linux boxes in two Tier 3 datacenters and one Tier 4 datacenter that support screen.  I'm guessing you do too.

Let me translate for Pat... Blah Blah, Blah Blah Blah Blah.

Code: [Select]
miopenca@miopencarry.org [~/public_html/ocforum]# screen -S evac
Cannot make directory '/var/run/screen': Permission denied

Yeah... it's that good..

Also, for shits and giggles, I decided to turn up the frequency of smokeping. 20 pings at 30 second intervals (as compared to the default 5 minute) - just so if I ever feeling like smacking WoW around, I can:

The WAN gateway my modem is talking to:
(http://rrfaae.com/dump/Misc%20Screens/Selection_002.png)

Inside my house to show it's not my problem:
(http://rrfaae.com/dump/Misc%20Screens/Selection_003.png)
Title: Re: Forum Hosting Transition / Upgrade
Post by: jgillmanjr on July 16, 2014, 06:07:50 AM
Alright, now that I'm sure I have a good connection, work should begin shortly.
Title: Re: Forum Hosting Transition / Upgrade
Post by: jgillmanjr on July 16, 2014, 06:57:25 AM
By the clock I was going by..

Mx Mode On: 0614
MxMode Off && DNS Changed Over: 0655

Also, notice the latest version of SMF is in use
Title: Forum Hosting Transition / Upgrade
Post by: TheQ on July 16, 2014, 12:37:13 PM
Well done, Jason. I recall a certain other gun org updated their Forum and they were down for over a week...beyond their maintenance window.
Title: Re: Forum Hosting Transition / Upgrade
Post by: jgillmanjr on July 16, 2014, 12:40:31 PM
Well done, Jason. I recall a certain other gun org updated their Forum and they were down for over a week...beyond their maintenance window.

I can't remember - does that certain other gun org pay their staff?
Title: Forum Hosting Transition / Upgrade
Post by: TheQ on July 16, 2014, 01:41:10 PM

I can't remember - does that certain other gun org pay their staff?

I don't know if MGO does...I don't think so.
Title: Re: Forum Hosting Transition / Upgrade
Post by: jgillmanjr on July 16, 2014, 05:29:29 PM
Oh, by the way, this is the difference in latency between the old host and the new one:

(http://rrfaae.com/dump/Misc%20Screens/Selection_004.png)
Title: Re: Forum Hosting Transition / Upgrade
Post by: Jeff on July 16, 2014, 06:07:24 PM
Is that why I can click something and not wait 20 seconds for it to load like it used to? lol
Title: Forum Hosting Transition / Upgrade
Post by: TheQ on July 16, 2014, 06:27:17 PM

Is that why I can click something and not wait 20 seconds for it to load like it used to? lol

In short: yes
Title: Re: Forum Hosting Transition / Upgrade
Post by: part deux on July 16, 2014, 07:37:26 PM
I have linux boxes in two Tier 3 datacenters and one Tier 4 datacenter that support screen.  I'm guessing you do too.

Let me translate for Pat... Blah Blah, Blah Blah Blah Blah.

isn't it more like

Blah blah blah magic happens blah blah blah?
Title: Re: Forum Hosting Transition / Upgrade
Post by: jgillmanjr on July 16, 2014, 08:15:46 PM
More fun statistics:

SAR from bluehost:

Code: [Select]
12:40:02 PM     CPU     %user     %nice   %system   %iowait    %steal     %idle
12:50:01 PM     all     63.45      0.00     22.28      0.95      0.00     13.31
12:50:02 PM     all     65.94      0.00     27.51      3.28      0.00      3.28
01:00:01 PM     all     65.74      0.00     22.47      0.80      0.00     10.98
01:00:02 PM     all     72.35      0.00     27.65      0.00      0.00      0.00
01:10:01 PM     all     66.10      0.00     21.48      1.27      0.00     11.15
01:20:01 PM     all     65.53      0.00     21.83      0.85      0.00     11.79
01:20:02 PM     all     71.17      0.00     28.22      0.31      0.00      0.31
01:30:01 PM     all     64.39      0.00     22.14      0.80      0.00     12.67
01:40:01 PM     all     66.41      0.00     21.78      1.15      0.00     10.65
01:40:01 PM     all     78.06      0.00     21.94      0.00      0.00      0.00
01:50:01 PM     all     66.03      0.00     22.04      0.92      0.00     11.01
02:00:02 PM     all     67.35      0.00     21.61      0.62      0.00     10.42
02:00:02 PM     all     75.32      0.00     24.68      0.00      0.00      0.00
02:10:01 PM     all     66.65      0.00     21.99      1.31      0.00     10.05
02:10:02 PM     all     71.79      0.00     28.21      0.00      0.00      0.00
02:20:01 PM     all     69.46      0.00     22.06      0.67      0.00      7.80
02:20:01 PM     all     73.28      0.00     26.72      0.00      0.00      0.00
02:30:01 PM     all     65.69      0.00     21.67      0.88      0.00     11.76
02:30:01 PM     all     67.06      0.00     32.94      0.00      0.00      0.00
02:40:01 PM     all     65.87      0.00     22.53      1.21      0.00     10.39
02:40:02 PM     all     72.81      0.00     26.82      0.36      0.00      0.00
02:50:01 PM     all     65.51      0.00     21.68      0.93      0.00     11.88
02:50:01 PM     all     73.50      0.00     25.50      0.00      0.00      1.00
03:00:01 PM     all     65.31      0.00     21.43      1.03      0.00     12.24
03:00:01 PM     all     74.00      0.00     26.00      0.00      0.00      0.00
03:10:02 PM     all     65.38      0.00     21.78      1.50      0.00     11.33
03:20:01 PM     all     64.52      0.00     22.05      1.17      0.00     12.26
03:20:02 PM     all     72.34      0.00     26.98      0.00      0.00      0.69
03:30:01 PM     all     63.93      0.00     21.53      0.91      0.00     13.63
03:30:02 PM     all     75.00      0.00     24.78      0.22      0.00      0.00
03:40:01 PM     all     65.41      0.00     21.61      1.40      0.00     11.58
03:40:02 PM     all     72.46      0.00     24.15      0.45      0.00      2.93
03:50:01 PM     all     65.13      0.00     21.71      0.96      0.00     12.20
03:50:02 PM     all     69.42      0.00     30.58      0.00      0.00      0.00
04:00:01 PM     all     65.92      0.00     21.67      0.67      0.00     11.73
04:00:02 PM     all     74.41      0.00     25.59      0.00      0.00      0.00
04:10:01 PM     all     64.95      0.00     21.96      1.02      0.00     12.07
04:10:01 PM     all     72.80      0.00     24.80      2.40      0.00      0.00
04:20:01 PM     all     63.93      0.00     21.31      1.00      0.00     13.76
04:20:02 PM     all     73.87      0.00     26.01      0.00      0.00      0.12
04:30:01 PM     all     64.13      0.00     21.89      0.92      0.00     13.06
04:30:02 PM     all     75.80      0.00     24.20      0.00      0.00      0.00
04:40:01 PM     all     64.88      0.00     21.69      1.17      0.00     12.26
04:40:01 PM     all     68.83      0.00     31.17      0.00      0.00      0.00
04:50:01 PM     all     65.40      0.00     22.48      0.96      0.00     11.16
04:50:02 PM     all     73.86      0.00     26.14      0.00      0.00      0.00
05:00:01 PM     all     66.24      0.00     22.59      0.59      0.00     10.58
05:00:02 PM     all     75.69      0.00     24.31      0.00      0.00      0.00
05:10:01 PM     all     65.82      0.00     22.09      0.97      0.00     11.13
05:20:01 PM     all     66.64      0.00     21.58      0.78      0.00     10.99
05:20:02 PM     all     75.37      0.00     24.63      0.00      0.00      0.00
05:30:01 PM     all     64.75      0.00     22.34      0.69      0.00     12.22
05:30:01 PM     all     75.94      0.00     24.06      0.00      0.00      0.00
05:40:01 PM     all     63.42      0.00     21.47      1.67      0.00     13.43
05:40:02 PM     all     76.33      0.00     23.43      0.00      0.00      0.23
05:50:01 PM     all     63.31      0.00     21.48      1.32      0.00     13.88
05:50:02 PM     all     71.24      0.00     28.76      0.00      0.00      0.00
06:00:02 PM     all     64.43      0.00     21.72      0.86      0.00     12.98
06:00:02 PM     all     74.67      0.00     25.33      0.00      0.00      0.00
06:10:01 PM     all     64.08      0.00     20.77      1.45      0.00     13.71
Average:        all     62.27      0.00     22.22      2.23      0.00     13.28

SAR from the new host:
Code: [Select]
11:10:01 AM     CPU     %user     %nice   %system   %iowait    %steal     %idle
11:20:01 AM     all      5.05      0.03      1.23      2.97      0.01     90.73
11:30:01 AM     all      8.73      0.03      1.70      4.24      0.01     85.29
11:40:01 AM     all      6.86      0.03      1.38      3.15      0.02     88.56
11:50:01 AM     all      6.99      0.05      1.44      3.71      0.01     87.80
12:00:01 PM     all      8.43      0.03      1.66      3.36      0.01     86.52
12:10:01 PM     all      8.47      0.02      1.56      3.08      0.04     86.83
12:20:01 PM     all      5.39      0.03      1.19      3.17      0.07     90.15
12:30:01 PM     all      3.68      0.03      0.96      4.33      0.05     90.96
12:40:01 PM     all      3.35      0.05      0.89      5.14      0.01     90.56
12:50:01 PM     all      3.95      0.03      0.96      3.20      0.03     91.84
01:00:01 PM     all      5.22      0.03      1.24      4.04      0.01     89.47
01:10:01 PM     all      7.32      0.57      1.66      5.78      0.02     84.65
01:20:01 PM     all      3.91      0.03      0.93      2.83      0.01     92.30
01:30:01 PM     all      3.74      0.05      0.97      2.67      0.00     92.57
01:40:01 PM     all      5.40      0.03      1.08      3.14      0.01     90.35
01:50:01 PM     all      4.49      0.03      0.97      2.89      0.01     91.62
02:00:02 PM     all      4.15      0.03      0.97      2.74      0.01     92.11
02:10:01 PM     all      8.47      0.02      1.59      2.61      0.00     87.30
02:20:01 PM     all      4.73      0.05      1.07      4.23      0.02     89.91
02:30:01 PM     all      4.78      0.02      1.15      2.91      0.01     91.12
02:40:01 PM     all      4.34      0.02      1.05      3.20      0.01     91.38
02:50:01 PM     all      4.11      0.02      0.99      2.72      0.01     92.15
03:00:01 PM     all      5.12      0.03      1.17      3.38      0.04     90.27
03:10:01 PM     all      4.62      0.59      1.06      3.57      0.02     90.13
03:20:01 PM     all      4.80      0.02      1.07      2.08      0.02     92.01
03:30:01 PM     all      4.69      0.03      1.10      2.68      0.00     91.50
03:40:01 PM     all      5.41      0.03      1.16      2.53      0.01     90.88
03:50:01 PM     all      4.47      0.03      1.01      2.45      0.03     92.02
04:00:01 PM     all      4.90      0.05      1.04      2.93      0.07     91.02
04:10:01 PM     all      3.10      0.02      0.74      2.73      0.01     93.40
04:20:01 PM     all      3.72      0.03      0.87      1.96      0.01     93.43
04:30:02 PM     all     11.73      0.03      1.74     13.84      0.02     72.65
04:40:01 PM     all      3.26      0.03      0.89      6.49      0.01     89.33
04:50:01 PM     all      3.34      0.05      0.85      4.17      0.01     91.58
05:00:01 PM     all      4.18      0.03      1.02      4.24      0.01     90.53
05:10:01 PM     all      4.03      0.03      0.95      3.85      0.01     91.14
05:20:01 PM     all      4.51      0.53      1.11      5.45      0.01     88.39
05:30:01 PM     all      5.57      0.03      1.24      5.00      0.01     88.15
05:40:01 PM     all      4.18      0.03      0.93      3.36      0.01     91.49
05:50:01 PM     all      3.94      0.05      0.91      2.57      0.02     92.52
06:00:02 PM     all      4.36      0.02      0.94      2.48      0.00     92.19
06:10:02 PM     all      4.27      0.03      1.02      4.15      0.01     90.53
06:20:01 PM     all      5.02      0.03      1.12      4.40      0.01     89.42
06:30:01 PM     all      5.14      0.03      1.12      3.09      0.01     90.61
06:40:02 PM     all      5.93      0.05      1.21      2.88      0.02     89.91
06:50:01 PM     all      5.76      0.03      1.15      2.56      0.04     90.47
07:00:01 PM     all      4.25      0.03      1.06      2.92      0.01     91.74
07:10:01 PM     all      4.14      0.03      0.94      2.97      0.02     91.90
07:20:01 PM     all      4.69      0.58      1.07      4.80      0.01     88.85
07:30:01 PM     all      2.96      0.05      0.72      2.18      0.01     94.09
07:40:01 PM     all      3.27      0.03      0.74      2.52      0.01     93.43
07:50:01 PM     all      3.58      0.02      0.81      1.62      0.01     93.97
08:00:01 PM     all      3.36      0.03      0.81      1.74      0.01     94.06
08:10:01 PM     all      4.41      0.02      0.92      3.95      0.01     90.70
Average:        all      4.92      1.13      1.23      4.76      0.02     87.94
Title: Re: Forum Hosting Transition / Upgrade
Post by: linux203 on July 16, 2014, 09:09:50 PM
did we move from a shared host to a vps? or is this just an (over) subscription policy difference?

Then again, I manage 8 apache hosts that have 1,600 - 3,200 concurrent connections and don't have load like that.  (We also offload SSL termination to the load balancer)

isn't it more like

Blah blah blah magic happens blah blah blah?

I've inserted a box in an application flow visio diagram that said "magic happens here." 
Title: Re: Forum Hosting Transition / Upgrade
Post by: jgillmanjr on July 17, 2014, 09:35:19 AM
Indeed it was a move from a shared server to a VPS.

Last I looked, LW doesn't even run it's shared boxen that hard.

Of course, it's bluehost, so who the hell knows how they operate, other than shittilly.
Title: Re: Forum Hosting Transition / Upgrade
Post by: gryphon on July 17, 2014, 10:40:21 AM
I'm noticing a few problems.

a) embedded video no longer working
b) message reply box extends off screen with no scroll bar below using Chrome.  Firefox and IE exhibit no problems.  See attached image.

Title: Re: Forum Hosting Transition / Upgrade
Post by: bigt8261 on July 17, 2014, 10:49:35 AM
Ctrl + F5 should fix most of this. Sounds like cached css to me.

I had a problem with b) until I refreshed.
Title: Re: Forum Hosting Transition / Upgrade
Post by: jgillmanjr on July 17, 2014, 11:19:01 AM
http://www.youtube.com/watch?v=eykH1-BusMA

Youtube test
Title: Re: Forum Hosting Transition / Upgrade
Post by: jgillmanjr on July 17, 2014, 11:22:21 AM
Looks like the Aeva auto-embed package isn't working.
Title: Re: Forum Hosting Transition / Upgrade
Post by: jgillmanjr on July 17, 2014, 11:25:23 AM
Also it looks like right now that pluging doesn't support > 2.0.1
Title: Re: Forum Hosting Transition / Upgrade
Post by: gryphon on July 17, 2014, 11:39:57 AM
Ctrl + F5 should fix most of this. Sounds like cached css to me.

 :woohoo:
Title: Forum Hosting Transition / Upgrade
Post by: TheQ on July 17, 2014, 12:08:55 PM

Also it looks like right now that pluging doesn't support > 2.0.1

Is there another, comparable plugin?
Title: Re: Forum Hosting Transition / Upgrade
Post by: jgillmanjr on July 17, 2014, 12:11:51 PM
That's what I'm working on right now.

Although it seems for some reason attempting the install script for the last plugin I tried was causing it to chmod /home/miopenca to 777 which:

1. Is bad
2. cPanel doesn't like with suPHP, which causes the forums not work work (you may have noticed this a few minutes ago)

I'm actively working this issue.
Title: Re: Forum Hosting Transition / Upgrade
Post by: jgillmanjr on July 17, 2014, 12:27:04 PM
Got another plugin installed, and it looks like it has the capability to support more than just youtube, although I only have youtube enabled right now.
Title: Re: Forum Hosting Transition / Upgrade
Post by: Jeff on July 17, 2014, 12:28:38 PM
IS it now.

http://youtu.be/-DQWn23rtXU (http://youtu.be/-DQWn23rtXU)


EDIT:  Ok, it is :)
Title: Re: Forum Hosting Transition / Upgrade
Post by: gryphon on November 23, 2014, 06:41:58 PM
Just wanted to post a public "thank you" to Jason for the website hosting upgrade, Drupal upgrade, and all the other things he's done.  Our website and forum are very responsive, and the website reorganization and new features are great.  Your continued efforts are sincerely appreciated.
Title: Re: Forum Hosting Transition / Upgrade
Post by: jgillmanjr on November 24, 2014, 05:52:17 AM
Just wanted to post a public "thank you" to Jason for the website hosting upgrade, Drupal upgrade, and all the other things he's done.  Our website and forum are very responsive, and the website reorganization and new features are great.  Your continued efforts are sincerely appreciated.

Aww shucks :>

Of course I have to give credit to jreese and jsteinmetz for the initial work getting MOC to where it was at. I just took the ball and ran.
Title: Re: Forum Hosting Transition / Upgrade
Post by: Pond Scum on November 24, 2014, 08:21:07 AM
Aww shucks :>
......   I just took the ball and ran.

Looks like you're running in the right direction!  Thanks for your efforts!   :)