Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
2 registered (Jake, A-GATE), 29 Guests and 12 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 12/20/03
Posts: 4424
Top Posters (30 Days)
Ruben 51
Gizmo 24
DennyP 24
Dunny 15
SteveS 13
AllenAyres 12
SD 10
dbremer 10
drkknght00 9
doug 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Page 1 of 4 1 2 3 4 >
Topic Options
#227139 - 06/12/09 05:08 PM Moving to a new ISP - best way?
bakerzdosen Offline
newbie
Registered: 09/19/08
Posts: 49
Loc: Utah
OK, so I've got a new environment up and running and seemingly I have all of the little annoying issues figured out.

So, at this point, I'm wondering what the best way to move everyone over would be.

Obviously, there is DNS "lag" as it's propagated out to cached DNS servers. So, I'm going to run the server from an IP only basis for a day or two. Then I'll change the ubb config to reflect the hostname rather than DNS. This is working fine right now for the new environment.

I figure, there are two options:

• Put an apache redirect on the old server in the httpd.conf. This seems the most convenient for users.
• Simply shut down the "old" server from a ubb perspective and leave a link there to the IP of the new server.


Which would you do?
_________________________
bmwsporttouring.com
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#227140 - 06/12/09 05:26 PM Re: Moving to a new ISP - best way? [Re: bakerzdosen]
Ruben Offline

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
Well I just moved hosts last year. I think today the DNS lag is not as bad. Probably within hours at most for the majority.
But anyway I think I did the same as you are thinking.
Using a dedicated IP at the new site.
I just added a redirect to the New ip at the old site. Closed the board at the old site with a message that stated the move with a temporary IP address URL.

But I recall I had also submitted the new location in my domain registration before I started the move.

I never tried it but it was suggested:
If your new host allows remote access to the MYSQL database. Copy your DB to the new site. Just change the DB paths and login at the old site to the new location. Then if the user is at the old site it will be inserted to the DB at the new site .
_________________________
Blue Man Group
Top
#227142 - 06/12/09 06:10 PM Re: Moving to a new ISP - best way? [Re: Ruben]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
Rapid DNS through NetSol makes most "dns lag" nonsense now adays... any .com/net domain should propogate within hours vs weeks like old...
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#227150 - 06/13/09 07:02 PM Re: Moving to a new ISP - best way? [Re: Gizmo]
FordDoctor Offline
enthusiast
Registered: 06/05/06
Posts: 261
Loc: New Joisey!
I also changed my host recently. My forum members were informed in advance of the change and when it was going to happen. I had my entire web site and forums ready to go on the new server by the big day. Since it is advisable to close your forum when performing a database backup I simply closed my forum on the old server for good when I began the process.

I FIRST changed my DNS settings.

Then I backed up my database and made a copy on a disk.

Then I set up my database on the new server and set up my forums using the same version of UBB Threads. After I verified that everything was working then I upgraded my version to the latest one at the time. This all took only a couple of hours and after another check on how everything was working I opened my new forums. (went very well with advice from the gents here I might add)

Once the DNS settings propagated users began showing up. I think I was able to access my new site and forums within hours and by the next day many of the regulars started showing up in the Who's On-line list.

To me, simply closing the forums was the least complicated option and since my members knew what was happening there wasn't one single complaint. When they started logging in they knew the move was completed and I knew that the DNS settings were pointing in the right direction.

I was and still am using Network solutions for my domain registrar... this post just reminded that they charge WAYYYYYY too much and I need to find a new registrar for my domains.
_________________________
Ford diesel master technician by day...
Webmaster by night! cool
FordDoctorsDTS.com running UBB Threads 7.5.4.2p2
Top
#227152 - 06/13/09 07:22 PM Re: Moving to a new ISP - best way? [Re: FordDoctor]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
Well, I'd advise against changing your DNS first unless you know how to access your data without using your domain name...

Me, I'd close forums and leave a message, backup data, change DNS settings, upload and open up shop on the new location, then wait for people to trickle in...

And BTW, you don't have to have NetSol as your registrar to take advantage of RapidDNS, they're in charge of the overall RapidDNS system for the .com/net tld's; which is the only good thing they do tongue
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#227153 - 06/13/09 07:22 PM Re: Moving to a new ISP - best way? [Re: FordDoctor]
Ruben Offline

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
If I recall FordDoctor you migrated to Lunarpages like I did.
So they charge like $19.95 per year using opensrs.
Maybe not the cheapest registrar around but it is integrated into the control panel for easy updates.
_________________________
Blue Man Group
Top
#227155 - 06/13/09 08:47 PM Re: Moving to a new ISP - best way? [Re: Ruben]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
Wow, I only charge $16/yr for using eNom, with full dyndns support...
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#227157 - 06/13/09 11:01 PM Re: Moving to a new ISP - best way? [Re: Ruben]
FordDoctor Offline
enthusiast
Registered: 06/05/06
Posts: 261
Loc: New Joisey!
Originally Posted By: Ruben
If I recall FordDoctor you migrated to Lunarpages like I did.
So they charge like $19.95 per year using opensrs.
Maybe not the cheapest registrar around but it is integrated into the control panel for easy updates.


Yeah, we both landed on the moon and as I recall we were both trying a few different hosts before buying. I don't need OpenSRS. I can tell you that Network Solutions has been charging me $34.99/year for domain registrations. ***shame on me*** Lunar Pages will do the same for $9.95/year AND a one time transfer fee of $9.95 so as my domains are ready to expire I'll pull them over. I was given this price from the help desk - I see purchasing a new domain is $19.95 so I am a little confused at the moment... maybe new domains are $19.95 and renewals are $9.95? I haven't found any documentation clarifying this yet
_________________________
Ford diesel master technician by day...
Webmaster by night! cool
FordDoctorsDTS.com running UBB Threads 7.5.4.2p2
Top
#227163 - 06/14/09 01:19 PM Re: Moving to a new ISP - best way? [Re: FordDoctor]
Ruben Offline

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
All I can say is what I was told.
$9.95 per year for domain name registration.
Plus $9.95 for the actual transfer for the registrar.
Plus you have the option of 1 year free registration,Which I used.
When I moved the registration I was charged $9.95 only.
But the renewal says 19.95 so ???
Just make sure you start early on the transfer. If there is a issue releasing your domain name from the old registrar it may take several days to a week or so.
Looking at domaintools I see your name status as
Registrar Status: clientTransferProhibited
So you or network solutions will need to update that to a OK status to allow the transfer.
_________________________
Blue Man Group
Top
#227175 - 06/14/09 07:11 PM Re: Moving to a new ISP - best way? [Re: Ruben]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
transferring out of netsol can be a pain; i wonder if they changed that in later years (I used to use them too lol)
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#227177 - 06/14/09 10:52 PM Re: Moving to a new ISP - best way? [Re: Ruben]
FordDoctor Offline
enthusiast
Registered: 06/05/06
Posts: 261
Loc: New Joisey!
Originally Posted By: Ruben
Looking at domaintools I see your name status as
Registrar Status: clientTransferProhibited
So you or network solutions will need to update that to a OK status to allow the transfer.


I am aware of that but the way I have been doing things lately I might forget... but now that you mention it, I should go and change that soon whilst I am thinking about it. I actually have multiple domains there.
_________________________
Ford diesel master technician by day...
Webmaster by night! cool
FordDoctorsDTS.com running UBB Threads 7.5.4.2p2
Top
#227185 - 06/15/09 12:30 PM Re: Moving to a new ISP - best way? [Re: Gizmo]
rich_ay Offline
newbie
Registered: 06/05/06
Posts: 25
Loc: Houston, TX
Gizmo,

I'm about to try the same thing. I've backed up the database already. When this gets moved to the new server, where is the command or control to import this backup?

Rich
_________________________
Regards,
Rich
Top
#227188 - 06/15/09 02:19 PM Re: Moving to a new ISP - best way? [Re: rich_ay]
Ruben Offline

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
Giz, Has a how to posted Here
_________________________
Blue Man Group
Top
#227191 - 06/15/09 05:06 PM Re: Moving to a new ISP - best way? [Re: rich_ay]
Ruben Offline

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
Originally Posted By: rich_ay
Gizmo,

I'm about to try the same thing. I've backed up the database already. When this gets moved to the new server, where is the command or control to import this backup?

Rich

You have been off line for a few hours now. Are you having problems?
Are you just moving or upgrading at the same time?
_________________________
Blue Man Group
Top
#227244 - 06/19/09 02:37 PM Re: Moving to a new ISP - best way? [Re: Gizmo]
bakerzdosen Offline
newbie
Registered: 09/19/08
Posts: 49
Loc: Utah
Originally Posted By: Gizmo
transferring out of netsol can be a pain; i wonder if they changed that in later years (I used to use them too lol)
All I know is that moving my single personal domain from NSI to godaddy was really quite painless. Maybe it was the fact that I got 9 years of registration for $64 (a LOT less than I paid for my first year at NSI) that made it seem so painless.

I recall that there were two phone calls involved, but beyond that, it was pretty easy. (Funny how actually "talking" to people from the comfort of my desk chair is what I consider difficult...)

I've been trying the remote database suggestion (from my test box to the new host). Nothing like a crash course in mysql I guess. (Why couldn't this be something "easy" like Sybase ASE or Caché? smile ) That actually really seems like a great way to go.

I can connect via the command line mysql app, so I know I'm OK from a network/firewall perspective. I'm just having issues with UBB connecting. I'm only aware of a single config value I need to change in config.inc.php ('DATABASE_SERVER' => '[ip address]',) assuming everything else is the same including the username/password combo. I just get the rather cryptic message:


Originally Posted By: Test server connecting to remote database
UBB Message
We encountered a problem. The reason reported was
Database error only visible to forum administrators

Please click back to return to the previous page.


Odd considering I AM a forum administrator. smile

What am I missing?
_________________________
bmwsporttouring.com
Top
#227245 - 06/19/09 03:27 PM Re: Moving to a new ISP - best way? [Re: bakerzdosen]
Ruben Offline

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
Like I said I never tried remote access with ubb.
But your error message is a generic one from the language files If you have error logging turned on in the ubb you can view the actual error in cp>>logs
_________________________
Blue Man Group
Top
#227247 - 06/19/09 04:19 PM Re: Moving to a new ISP - best way? [Re: Ruben]
bakerzdosen Offline
newbie
Registered: 09/19/08
Posts: 49
Loc: Utah
Originally Posted By: Ruben
Like I said I never tried remote access with ubb.
But your error message is a generic one from the language files If you have error logging turned on in the ubb you can view the actual error in cp>>logs
No worries. I don't expect you to know everything. (Isn't that Rick's job? smile )

It's actually a circular problem. UBB has to have mysql access for ubb to log the event - not to mention for me to log into the bb or cp - before it will log the error about why it can't get to the database...
_________________________
bmwsporttouring.com
Top
#227248 - 06/19/09 05:36 PM Re: Moving to a new ISP - best way? [Re: bakerzdosen]
bakerzdosen Offline
newbie
Registered: 09/19/08
Posts: 49
Loc: Utah
OK, not that anyone would ASSUME that there was a problem with UBB software from my post above...

However, I feel obligated to post my results *cough*or mistake*cough*.

I forgot I'd already upgraded my test environment to 7.5.x. So, our /ubbthreads directory was different. Once I downloaded a fresh copy, it just worked. I even shut off mysql on my system to verify.

So, things are looking good.

Thanks for the advice Ruben. I'm liking this approach more and more.
_________________________
bmwsporttouring.com
Top
#227249 - 06/19/09 05:40 PM Re: Moving to a new ISP - best way? [Re: bakerzdosen]
Ruben Offline

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
Okay so all you did was edit config,inc.php for the database server (IP)
_________________________
Blue Man Group
Top
#227250 - 06/19/09 06:38 PM Re: Moving to a new ISP - best way? [Re: Ruben]
bakerzdosen Offline
newbie
Registered: 09/19/08
Posts: 49
Loc: Utah
Originally Posted By: Ruben
Okay so all you did was edit config,inc.php for the database server (IP)
No, that's not all I did, but that's basically all that was necessary. tongue

Knowing what I know now, here's what I would have had to do:

• Have server A set up on the same version of UBB as server B.
• Change the security settings on server B to allow incoming mysql traffic from server A's IP. (First time I have found cPanel to be more value than detriment.)
• Change DATABASE_SERVER value in config.inc.php on server A.

That's effectively all I did and it works now. Pretty cool really. It should make the switch very easy now.

That assumes that you're using the default (3306) mysql port. I really have no idea where the db port is set or would be changed in UBB. Maybe that's just something that never happens in mysql, but I do it all the time with other db's.

So, in summary, here's the checklist/plan for the final migration and switch over:


• Verify security settings on new server will allow mysql access from old server.
• Drop and recreate an empty ubb database on the "new" server (easier than dropping all the tables.)
• Close the board on the old server.
• Double check I have all IP's from both old and new servers.
• Change DNS entries in authoritative BIND server to reflect new server.
• Tar up the uploads/avatar directory (everything else static hasn't changed since my initial setup).
• Start FTP'ing the tar file. (Compression doesn't help much here.)
• Follow Gizmo's checklist to migrate the database (including compression of the tar file. bzip2 works wonders compressing the .sql file.)
• FTP the file to the new server. (The first FTP should be complete by the time the bz2 compression completes.)
• Untar the files directory on the new server and check (aka update) permissions.
• Uncompress/tar and import the database on the new server.
• Update the includes/config.inc.php file to reflect new file system structure and location of directories and new username/password for ubb mysql user.
• Open the board on the new server.
• Change includes/config.inc.php on old server to point to new server (DATABASE_SERVER value & new username/password for ubb mysql user)
• Test. (Aka watch email waiting for complaints to come in.)

my eta: 1 Hour. Hopefully less.


Man, it looks so easy when I write it down like that. smile
_________________________
bmwsporttouring.com
Top
#227251 - 06/19/09 07:00 PM Re: Moving to a new ISP - best way? [Re: bakerzdosen]
Ruben Offline

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
Okay thats what I was thinking. I use cpanel myself and it looked like I had to add the ip from the remote site.
"Change the security settings on server B to allow incoming mysql traffic from server A's IP."
Of course I don't really have way to test that now. But very helpful anyway.
At least for the next move.(Shudder)
_________________________
Blue Man Group
Top
#227252 - 06/19/09 07:27 PM Re: Moving to a new ISP - best way? [Re: Ruben]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
You can disable the security feature to 'not show' the sql error by setting "show_errors" to 1 in libs/mysql.inc.php
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#227254 - 06/19/09 07:34 PM Re: Moving to a new ISP - best way? [Re: Gizmo]
Ruben Offline

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
Well Giz every time I have mentioned that setting. Everyone beats me up.(Including you) LOL.
So I don't suggest it anymore.
_________________________
Blue Man Group
Top
#227255 - 06/19/09 07:42 PM Re: Moving to a new ISP - best way? [Re: Ruben]
bakerzdosen Offline
newbie
Registered: 09/19/08
Posts: 49
Loc: Utah
I'll post back with the results (maybe this weekend?) when I get this moved.

Thanks for the help.
Originally Posted By: Ruben
Of course I don't really have way to test that now.
My wife wonders why I won't move anywhere that doesn't have fibre (or at least 10Mbps U/D) to the home internet. I just use it and my home server for various and sundry things like this WAY too often.

I'll have to try the security setting one of these days once I'm done with this. I'm assuming that means that I could have seen the error that UBB was generating instead of the generic one - right?
_________________________
bmwsporttouring.com
Top
#227256 - 06/19/09 07:51 PM Re: Moving to a new ISP - best way? [Re: bakerzdosen]
Ruben Offline

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
Well what it does is display the real error message in the browser instead of showing the generic message you got. In lieu of turning on the error log. But then everyone including guests can see the error. Including paths,querys, ETC
So that's why everyone says don't do it. But it does work for debugging problems. Just need to remember to turn it off when done.
_________________________
Blue Man Group
Top
#227257 - 06/19/09 07:55 PM Re: Moving to a new ISP - best way? [Re: Ruben]
bakerzdosen Offline
newbie
Registered: 09/19/08
Posts: 49
Loc: Utah
Originally Posted By: Ruben
Well what it does is display the actual error message instead of showing the generic message you got. In lieu of turning on the error log. But then everyone including guests can see the error. Including paths,querys, ETC
Yup - exactly what I needed. Good to know for future reference.

I doubt anyone would have jumped on you for mentioning it to me. We are talking about a test system connecting (or not connecting in this case) to another system that hadn't been placed in production yet.

But what do I know? I'm new here. smile
_________________________
bmwsporttouring.com
Top
#227258 - 06/19/09 08:04 PM Re: Moving to a new ISP - best way? [Re: bakerzdosen]
Ruben Offline

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
All I know is it works especially when a admin has not turned on error logs prior and gets the same message you got. At least they can ftp to the file and change the setting to see the real error.
_________________________
Blue Man Group
Top
#227259 - 06/19/09 08:52 PM Re: Moving to a new ISP - best way? [Re: Ruben]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
Originally Posted By: Ruben
Well Giz every time I have mentioned that setting. Everyone beats me up.(Including you) LOL.
So I don't suggest it anymore.
Well, I reccommend against using it, and recommend ONLY using the MySQL logging option, but if you don't have a forum setup to use a mysql server you can't really error test...

But I highly recommend that you disable the option once you're done playing with it; you don't need your users seeing error messages that could potentially contain sensitive information about your server(s)
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#227267 - 06/20/09 03:23 PM Re: Moving to a new ISP - best way? [Re: Gizmo]
Ruben Offline

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
Originally Posted By: Gizmo

But I highly recommend that you disable the option once you're done playing with it; you don't need your users seeing error messages that could potentially contain sensitive information about your server(s)

And I agree 100% Giz.
In fact when I use this feature I am usually in a rush to turn it off as quickly as I can.
But it is a very useful tool when needed.
I hope we keep this in version 8.
_________________________
Blue Man Group
Top
#227328 - 06/23/09 05:34 PM Re: Moving to a new ISP - best way? [Re: Ruben]
bakerzdosen Offline
newbie
Registered: 09/19/08
Posts: 49
Loc: Utah
Well, in summary, I completed the move on Friday night. Everything went as planned.

Frankly, I was surprised at the speed of the DNS updates. Within a few minutes, my home bind instance was cranking out the updated info. I still went through the motions and updated the "old" machine to access the new database (and included a warning on the board that any attachments weren't going to carry over if you uploaded to the "old" machine after the cutover to the new machine - I wasn't in the mood to setup rsync just for that.)

The only issue I had (have actually) is that mail alerts suddenly aren't working - and they were prior to the refresh of the db and the uploads directory. I'll have to start a new thread on that one...

Anyway, thanks for the help. Mission accomplished.
_________________________
bmwsporttouring.com
Top
#227329 - 06/23/09 05:38 PM Re: Moving to a new ISP - best way? [Re: bakerzdosen]
Ruben Offline

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
Mail alerts meaning your main email address in the control panel?
_________________________
Blue Man Group
Top
#227331 - 06/23/09 05:45 PM Re: Moving to a new ISP - best way? [Re: Ruben]
bakerzdosen Offline
newbie
Registered: 09/19/08
Posts: 49
Loc: Utah
Sorry. Private Message and topic alerts aren't working.

I'm just trying to read through the FAQ's and previous topics to see if my question is already answered prior to asking. You know... trying to do what I get mad at people for not doing. smile

I can send things from the command line just fine, so I know smtp is working on some level.

I checked in the conf file and SMTP is indeed set to localhost (as it should be). As I said, it was working. So, I don't know what I messed up.
_________________________
bmwsporttouring.com
Top
#227332 - 06/23/09 06:01 PM Re: Moving to a new ISP - best way? [Re: bakerzdosen]
Ruben Offline

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
Okay I just tried to register at your site using the URL in your signature.
No email confirmation sent.

Possibly the Mail mx records have not updated yet. But also some servers require the main email address be native to the site.
Like webmaster@bmwsporttouring.com not webmaster@hotmail.com

Control Panel » Primary Settings-General
Board Email Address:
All emails being sent out will come from this address.
_________________________
Blue Man Group
Top
Page 1 of 4 1 2 3 4 >



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Temporary Password email not being received
by
05/24/12 10:02 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Forum Stats
10492 Members
36 Forums
33842 Topics
181709 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image