New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server move, report problems here #16

Open
scripting opened this Issue Jul 15, 2017 · 13 comments

Comments

Projects
None yet
6 participants
@scripting
Owner

scripting commented Jul 15, 2017

I just moved all the apps on an old server to a new server. If you notice something that stopped working around 4PM Eastern today, please post a note here.

@charlzfranz

This comment has been minimized.

Show comment
Hide comment
@charlzfranz

charlzfranz Jul 15, 2017

I don't know if it's related, but your RSS feed is spewing out old articles.

charlzfranz commented Jul 15, 2017

I don't know if it's related, but your RSS feed is spewing out old articles.

@jswright61

This comment has been minimized.

Show comment
Hide comment
@jswright61

jswright61 Jul 15, 2017

Seems like all articles are marked unread in my RSS reader (Reeder). To be expected.

jswright61 commented Jul 15, 2017

Seems like all articles are marked unread in my RSS reader (Reeder). To be expected.

@scripting

This comment has been minimized.

Show comment
Hide comment
@scripting

scripting Jul 15, 2017

Owner

Oy that was a dumb mistake. Sorry for that. ;-)

Owner

scripting commented Jul 15, 2017

Oy that was a dumb mistake. Sorry for that. ;-)

@scripting

This comment has been minimized.

Show comment
Hide comment
@scripting

scripting Jul 15, 2017

Owner

I think the server I set up is too small, it seems to be thrashing. I'm going to provision another server, and that'll take a few hours.

What happened -- Linode offered to upgrade my server from 2GB to 4GB for free. I thought about it for a minute and said WTF let's do it. Big mistake. The server was running smoothly for over two years. After the upgrade Dropbox didn't boot up. Can't manage the server w/o Dropbox. That was the beginning of the story.

I ended up with an EC2 micro instance. Not big enough. I'm going to try to make it a "small" instance and hope that makes it perform well. At the same time, I'm starting up a new Linode server in parallel. If the EC2 instance doesn't work well after the upgrade I'll move over there.

Owner

scripting commented Jul 15, 2017

I think the server I set up is too small, it seems to be thrashing. I'm going to provision another server, and that'll take a few hours.

What happened -- Linode offered to upgrade my server from 2GB to 4GB for free. I thought about it for a minute and said WTF let's do it. Big mistake. The server was running smoothly for over two years. After the upgrade Dropbox didn't boot up. Can't manage the server w/o Dropbox. That was the beginning of the story.

I ended up with an EC2 micro instance. Not big enough. I'm going to try to make it a "small" instance and hope that makes it perform well. At the same time, I'm starting up a new Linode server in parallel. If the EC2 instance doesn't work well after the upgrade I'll move over there.

@greggb

This comment has been minimized.

Show comment
Hide comment
@greggb

greggb Jul 16, 2017

May be the same issue, but along with the old posts resurfacing all posts since this one are appearing twice in my feed.

greggb commented Jul 16, 2017

May be the same issue, but along with the old posts resurfacing all posts since this one are appearing twice in my feed.

@scripting

This comment has been minimized.

Show comment
Hide comment
@scripting

scripting Jul 16, 2017

Owner

The server move is finished now, knock wood. 😰

Owner

scripting commented Jul 16, 2017

The server move is finished now, knock wood. 😰

@charlzfranz

This comment has been minimized.

Show comment
Hide comment
@charlzfranz

charlzfranz Jul 16, 2017

charlzfranz commented Jul 16, 2017

@richb-hanover

This comment has been minimized.

Show comment
Hide comment
@richb-hanover

richb-hanover Jul 19, 2017

Hi Dave, You mentioned today (http://scripting.com/2017/07/19.html#a102249) that you wish there were another level of redirection in DNS. There is.

You've probably heard from a lot of people that you can use the CNAME for this. You create an A ("address") record for each physical server, and then create CNAME ("canonical name") records for each of the services. Thus a pseudo-domain file would be (syntax isn't correct):

server-1-at-aws A 192.168.200.1
server-2-at-aws A 192.168.200.2

scripting.com CNAME server-1-at-aws
1999.io       CNAME server-1-at-aws
radio3.io     CNAME server-2-at-aws
... etc...

richb-hanover commented Jul 19, 2017

Hi Dave, You mentioned today (http://scripting.com/2017/07/19.html#a102249) that you wish there were another level of redirection in DNS. There is.

You've probably heard from a lot of people that you can use the CNAME for this. You create an A ("address") record for each physical server, and then create CNAME ("canonical name") records for each of the services. Thus a pseudo-domain file would be (syntax isn't correct):

server-1-at-aws A 192.168.200.1
server-2-at-aws A 192.168.200.2

scripting.com CNAME server-1-at-aws
1999.io       CNAME server-1-at-aws
radio3.io     CNAME server-2-at-aws
... etc...
@scripting

This comment has been minimized.

Show comment
Hide comment
@scripting

scripting Jul 19, 2017

Owner
Owner

scripting commented Jul 19, 2017

@richb-hanover

This comment has been minimized.

Show comment
Hide comment
@richb-hanover

richb-hanover Jul 19, 2017

Hmmm...

I should have been more clear in the post.

Well, I should also have been more clear in my post. :-)

A CNAME can take a full domain name as its right side. So you could set this for bullmancuso.com:

bullmancuso.com CNAME server1.davewiner.com.

and then for the davewiner.com domain

server1 A 104.200.19.192

When it comes time to change to a different physical server, you simply change the davewiner.com zone to say:

server1 A 52.201.211.175

NB: I use Hover, and all my domains have these two lines: wildcard and bare requests for the full domain name (e.g., TestMyInter.net) get sent to sea.richb-hanover.com, which itself is an A record that points to the actual physical server.

CNAME * sea.richb-hanover.com.
CNAME @ sea.richb-hanover.com.

If I changed hosting services, all I would need to do is change that one A record (for sea.richb-hanover.com) and Presto! all the CNAMES would follow (in a few minutes, after the Time To Live times out...)

richb-hanover commented Jul 19, 2017

Hmmm...

I should have been more clear in the post.

Well, I should also have been more clear in my post. :-)

A CNAME can take a full domain name as its right side. So you could set this for bullmancuso.com:

bullmancuso.com CNAME server1.davewiner.com.

and then for the davewiner.com domain

server1 A 104.200.19.192

When it comes time to change to a different physical server, you simply change the davewiner.com zone to say:

server1 A 52.201.211.175

NB: I use Hover, and all my domains have these two lines: wildcard and bare requests for the full domain name (e.g., TestMyInter.net) get sent to sea.richb-hanover.com, which itself is an A record that points to the actual physical server.

CNAME * sea.richb-hanover.com.
CNAME @ sea.richb-hanover.com.

If I changed hosting services, all I would need to do is change that one A record (for sea.richb-hanover.com) and Presto! all the CNAMES would follow (in a few minutes, after the Time To Live times out...)

@scripting

This comment has been minimized.

Show comment
Hide comment
@scripting

scripting Jul 19, 2017

Owner
Owner

scripting commented Jul 19, 2017

@scripting

This comment has been minimized.

Show comment
Hide comment
@scripting

scripting Jul 20, 2017

Owner

Rich, I gave it t a try using Hover and much to my surprise, it seems to work.

http://liveoutliner.com/

That name is defined by a CNAME not an IP address, using Hover.

I explained the experiment over there.

Dave

Owner

scripting commented Jul 20, 2017

Rich, I gave it t a try using Hover and much to my surprise, it seems to work.

http://liveoutliner.com/

That name is defined by a CNAME not an IP address, using Hover.

I explained the experiment over there.

Dave

@dumain

This comment has been minimized.

Show comment
Hide comment
@dumain

dumain Jul 23, 2017

This may work but I think using a CNAME at the root of a domain violates the standards. with a CNAME you aren't supposed to have any other records for the same label IIRC. At the root of a domain you should have SOA records and NS records. You are depending on how the resolvers work. If a caching name server has the CNAME cached it could legitimately optimise its lookups away by returning a negative result for all other record types (including NS) for the same label.

dumain commented Jul 23, 2017

This may work but I think using a CNAME at the root of a domain violates the standards. with a CNAME you aren't supposed to have any other records for the same label IIRC. At the root of a domain you should have SOA records and NS records. You are depending on how the resolvers work. If a caching name server has the CNAME cached it could legitimately optimise its lookups away by returning a negative result for all other record types (including NS) for the same label.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment