Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Fri Oct 18, 2013 3:58 am 
Offline
Senior Member
User avatar

Joined: Thu Jul 12, 2012 3:55 pm
Posts: 133
Website: http://www.amitywebsolutions.co.uk
The middle of the night is the best time for me to shutdown my Linodes, as they are web hosting servers (if you host websites you know customers will expect the impossible 100% uptime).

But to resize the Linode you have to shut it down. It means I am very reluctant to resize my Linodes. I have a couple now I would like to upgrade, but can never fit in the time, I am not doing it in the middle of the day and I am in bed at 11pm at night, there is no suitable time.

So cant these resizings be scheduled at all? It would be ideal if the reboot associated with it can send some alert that the reboot failed, I suppose Lassie would take care of that, so we can arrange alerts in the middle of the night in case it fails. I really only need to be present if they fail, and most/all cases they dont.

I just had to reboot a Linode now for an upgrade, took 10 minutes, yet I still need to resize the disk image which means even more downtime so I am not prepared to do that again right now, and have to wait.

Thanks

_________________
Web Development Agency in South Wales


Top
   
PostPosted: Fri Oct 18, 2013 4:06 am 
Offline
Senior Member

Joined: Sun Apr 26, 2009 3:37 am
Posts: 72
Website: http://wiggenhorn.org/
The API also lets you resize Linodes and their disks.

https://www.linode.com/api/linode/linode.resize
https://www.linode.com/api/linode/linode.disk.resize


Top
   
PostPosted: Fri Oct 18, 2013 4:09 am 
Offline
Senior Member
User avatar

Joined: Thu Jul 12, 2012 3:55 pm
Posts: 133
Website: http://www.amitywebsolutions.co.uk
I guess I would have to write my own scripts to do that? Wonder if anyone has already written some and made available.

_________________
Web Development Agency in South Wales


Top
   
PostPosted: Fri Oct 18, 2013 4:10 am 
Offline
Senior Member

Joined: Mon Aug 29, 2011 2:34 am
Posts: 77
This is something you should be around for, in case something breaks on the boot after the resize, like I mentioned in reply to your post about rebooting :). Growing a disk image takes 10 minutes max most of the time, so do it just before going to sleep.

-Doug

_________________
Disclaimer: I am no longer employed by Linode; opinions are my own alone.


Top
   
PostPosted: Fri Oct 18, 2013 4:16 am 
Offline
Senior Member
User avatar

Joined: Thu Jul 12, 2012 3:55 pm
Posts: 133
Website: http://www.amitywebsolutions.co.uk
Family commitments make it difficult to do these things late at night.

Instead I can configure SMS alerts to alert me when things go wrong in the middle of the night. Things probably wont go wrong that often so it means most of the time I get some sleep. Sometimes a disk image resize takes ages, I dont want to be hanging around for it at 3am, its the reboot process thats important, to make sure it comes up, so I can get alerts if that fails.

_________________
Web Development Agency in South Wales


Top
   
PostPosted: Fri Oct 18, 2013 8:10 am 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
If the sites are business hours dependant you could do it on a weekend. Otherwise you can risk scripting it or hire someone else to do it for you.

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
PostPosted: Fri Oct 18, 2013 11:51 am 
Offline
Senior Member
User avatar

Joined: Thu Jul 12, 2012 3:55 pm
Posts: 133
Website: http://www.amitywebsolutions.co.uk
No, family commitments on weekend (i really need to spend less time working out of work hours), even weekend day downtime is bad, ecommerce sites and all that. probably wont be giving my linode logins to anyone else either!

_________________
Web Development Agency in South Wales


Top
   
PostPosted: Sat Oct 19, 2013 4:52 pm 
Offline

Joined: Sat Oct 19, 2013 4:46 pm
Posts: 1
amityweb wrote:
probably wont be giving my linode logins to anyone else either!

In the linode manager you can actually create separate users by clicking on the "Account" tab and then the "Users and Permissions" tab so technically you don't have to give out your logins to any one, but you would have to find someone that you trust.

I would suggest looking at your traffic (assuming you have something like Google Analytics) and see what days/hours have the fewest people connecting to your site, then put up a notice scheduling the down time. Like dwfreed said, the resizing of a disk image usually takes about 10 minutes and is fairly painless.

Good luck and hopefully you find a chance to grow your Linodes!


Top
   
PostPosted: Sun Oct 20, 2013 4:53 am 
Offline
Senior Member
User avatar

Joined: Thu Jul 12, 2012 3:55 pm
Posts: 133
Website: http://www.amitywebsolutions.co.uk
Its a web hosting server and will have many websites on it so checking analytics would take a while, but target market is a UK majority, so middle of the night would be lowest traffic. I don't really want to give anyone access and I don't want to manually do it, hence the question.

So I guess the answer is no its no possible to schedule Linode resizes unless I develop something myself using the API.

_________________
Web Development Agency in South Wales


Top
   
PostPosted: Sun Oct 20, 2013 10:20 am 
Offline
Senior Member

Joined: Sat Sep 25, 2010 2:25 am
Posts: 75
Website: http://www.ruchirablog.com
Location: Sri Lanka
Don't automate it. There is a chance for it to fail. Just like dwfreed adviced, do it yourself so you can watch out for any possible problems.

_________________
www.ruchirablog.com


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group