24/7

apiaries
Posts: 5
Joined: Wed Oct 07, 2009 2:25 pm
Location: Herefordshire UK

24/7

Postby apiaries » Wed Oct 07, 2009 2:30 pm

Is it possible to run the server when required rather than 24 seven :roll:

User avatar
moredruid
Expert
Posts: 791
Joined: Tue Jan 20, 2009 1:33 am
Location: Netherlands
Contact:

Re: 24/7

Postby moredruid » Thu Oct 08, 2009 12:55 am

short answer: yes

long answer: yes, but you'll need to tweak some settings, especially the DHCP server settings need to be disabled since you'll probably want your router to handle those if you still want internet when the hda is not running. You can earch on the forum or wiki on how to do this, this question is already answered somewhere.
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D2173656C7572206968616D41snlbxq' | dc
Galileo - HP Proliant ML110 G6 quad core Xeon 2.4GHz, 4GB RAM, 2x750GB RAID1 + 2x1TB RAID1 HDD

apiaries
Posts: 5
Joined: Wed Oct 07, 2009 2:25 pm
Location: Herefordshire UK

Re: 24/7

Postby apiaries » Thu Oct 08, 2009 1:11 pm

Thank you for the information I didn't like the idea of the server being on all the time I would like to use when I go on line with my main computers and close down when I am not using them.

User avatar
lou1z
Posts: 206
Joined: Fri Jul 17, 2009 1:58 am

Re: 24/7

Postby lou1z » Thu Oct 08, 2009 11:07 pm

is there any reason why you prefer the server to be off? eg power consumption etc?

Lincee
Posts: 73
Joined: Sat Jul 04, 2009 3:34 pm
Location: Arnhem, NL
Contact:

Re: 24/7

Postby Lincee » Sun Nov 08, 2009 8:24 am

i am curious as to why you want to run amahi then?
if you only want file sharing, then setup a simple windows workstation, or even linux can do that..
because you might break more then you do good this way, i think.
LANTEA: Amahi 7 (vm), HP Proliant Microserver, 8GB RAM, 2x 1TB HDD, 1GB eth

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: 24/7

Postby cpg » Sun Nov 08, 2009 2:13 pm

after release 4.1 (or 4.2) the secondary DNS is the opendns server, so turning off the server should work for a while, since we changed the DHCP lease time to be longer (hours).

i know some days i could turn off the server for 6 hours.

i am not sure how long i would have to have it off to justify the increase energy usage of shutting it down and then back up. it would be an interesting study.

that and the other factor: the wear and tear of the components. i am not sure how to account for that. but i know it does matter. the components will not last as long when subjected to temperature variations and powered off and on often.
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

apiaries
Posts: 5
Joined: Wed Oct 07, 2009 2:25 pm
Location: Herefordshire UK

Re: 24/7

Postby apiaries » Sun Oct 30, 2011 6:20 am

Hi everybody once again my thoughts are turning to building a server I have several old computers which would fit the bill I think. Is it necessary for a server to be running day and night. Or is it possible to simply run the server when you boot up your computers any thoughts or suggestions would be helpful.Remember I am a complete beginner and know very little about server is except the basic concept thank you all once again for your previous answers to my question is and I apologise if this post appears rather disjointedI'm using a program to dictate this post once again thank you everybody

User avatar
radioz
Posts: 406
Joined: Tue Nov 24, 2009 1:07 pm

Re: 24/7

Postby radioz » Sun Oct 30, 2011 12:04 pm

By default the Amahi configuration is set up to be both the DHCP and DNS server for your local network.
If the server is turned off, other computers wont be able to get IP addresses and unless they are set up with alternate DNS servers, they won't be able to find anything on the internet.

You certainly can turn your server on and off when you want to use the network if you want. It's a bit of a hassle, but functional.

Other configurations are possible (but not necessarily supported). One example is Wake-on-Lan, where the server can turn itself off when not being used and then waking up again based on a network message. I don't know if anyone has been able to make this work yet. Check around in the forums for discussions about this.

I suggest you read through the forums to get a feel for how easy/difficult it might be change the configuration.

Install Amahi and try it!

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: 24/7

Postby cpg » Sun Oct 30, 2011 1:10 pm

Agreed that there are a couple of options, not 100% perfect. We tried to switch DHCP to the router and back automatically (we have hooks for that now).

I think Amahi Energy Saver app does some of that. You can see more details in the Amahi Energy Saver wiki page.
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

User avatar
sgtfoo
Posts: 419
Joined: Sun Jul 18, 2010 8:27 pm

Re: 24/7

Postby sgtfoo » Sun Nov 06, 2011 6:36 am

For anyone wishing to turn off a server because of power consumption issues...
I think you should consider scaling back the high wattage components in your HDA.

No need for a 125w CPU.... get a much more fficient 65w CPU... or even less. HDAs don't need all the CPU craziness.

No need for a 750w PSU, get a 80+bronze/silver/gold efficient PSU and limit to a 500w PSU for future expansion. 500w is more than enough if it's not a gaming PC.

Also... use a motherboard with onboard video, and once your server is headless, make sure it stays headless.

Use 'green' hard drives for storage, and faster drives (SSD ?) for the LZ and OS drives. Just another way to save on power.

Maybe try running a HDA off a laptop. Most laptops have eSATA and USB ports so you can mount external drives. Laptops tend to average about 90w of consumption on heavy usage. The peripheral external devices coupled with the laptop could maybe hit 300w of consumption on heavy usage. There's another way to save.

... Just another way to look at it
SgtFoo
HDA: VM inside oVirt FX-8300 95w (2 cores for HDA), 32GB RAM (2GB for HDA)
My PC: FX-8300, 16GB RAM, 3x 1TB HDDs, Radeon HD6970 2GB video; Win10 Pro x64
Other: PC, Asus 1215n (LXLE), Debian openZFS server (3x(2x2tb) mirrors)
Modem&Network: Thomson DCM475; Asus RT-AC66U; HP 1800-24G switch

Who is online

Users browsing this forum: No registered users and 69 guests