Re: Configure OpenBSD for remote server rarely used

2022-11-28 Thread James Johnson
Ah, pretty cool, I'll keep it in mind for my next project ;) On 28.11.2022 10:36, Bodie wrote: And if you really need low consumption, rugged computer and do not mind about the costs you can go eg. this way :-) https://teguar.com/ip67-box-pc-twb-2945 /

Re: Configure OpenBSD for remote server rarely used

2022-11-28 Thread Bodie
On 28.11.2022 11:18, James Johnson wrote: Thanks a lot for all the great advice, that is very useful. It all makes sense. And if you really need low consumption, rugged computer and do not mind about the costs you can go eg. this way :-) https://teguar.com/ip67-box-pc-twb-2945/ On 27

Re: Configure OpenBSD for remote server rarely used

2022-11-28 Thread James Johnson
Thanks a lot for all the great advice, that is very useful. It all makes sense. > On 27 Nov 2022, at 21:10, Tomasz Rola wrote: > > On Sun, Nov 27, 2022 at 09:37:19AM +, James Johnson wrote: >> Hi all, >> >> OpenBSD is amazing. But I need help in configuring it correctly as a >> remote

Re: Configure OpenBSD for remote server rarely used

2022-11-28 Thread Greg Thomas
You should reboot whenever patches or upgrades require it. Was that a trick question or something? On Mon, Nov 28, 2022 at 12:51 AM Greg Thomas wrote: > > > On Sun, Nov 27, 2022 at 12:08 PM James Johnson > wrote: > >> Thank you for this interesting perspective. >> >> Combined with the

Re: Configure OpenBSD for remote server rarely used

2022-11-28 Thread Greg Thomas
On Sun, Nov 27, 2022 at 12:08 PM James Johnson wrote: > Thank you for this interesting perspective. > > Combined with the previous advice, I am convinced. I will not try to have > the machine sleep, or even try to put the drives in spun down. From what > you guys are saying, it seems doing so

Re: Configure OpenBSD for remote server rarely used

2022-11-27 Thread Bodie
On 27.11.2022 21:07, James Johnson wrote: Thank you for this interesting perspective. Combined with the previous advice, I am convinced. I will not try to have the machine sleep, or even try to put the drives in spun down. From what you guys are saying, it seems doing so would be

Re: Configure OpenBSD for remote server rarely used

2022-11-27 Thread Tomasz Rola
On Sun, Nov 27, 2022 at 09:37:19AM +, James Johnson wrote: > Hi all, > > OpenBSD is amazing. But I need help in configuring it correctly as a > remote server, rarely used. > > > The main thing I am trying to do is to make it sleep every now and > then to protect resources. I am very

Re: Configure OpenBSD for remote server rarely used

2022-11-27 Thread James Johnson
Thank you for this interesting perspective. Combined with the previous advice, I am convinced. I will not try to have the machine sleep, or even try to put the drives in spun down. From what you guys are saying, it seems doing so would be over-engineering. What are your thoughts regarding

Re: Configure OpenBSD for remote server rarely used

2022-11-27 Thread Bodie
On 27.11.2022 10:37, James Johnson wrote: Hi all, OpenBSD is amazing. But I need help in configuring it correctly as a remote server, rarely used. The main thing I am trying to do is to make it sleep every now and then to protect resources. I am very flexible on how to do this, but have

Re: Configure OpenBSD for remote server rarely used

2022-11-27 Thread James Johnson
"Does it just need to wake up to run a script and then shut down again" -> yes, that's basically that. Of course, requirements might evolve. "Why does it even have to be a separate machine?" -> There are benefits to this, including data safety (different location). Thank you for your help, have

Re: Configure OpenBSD for remote server rarely used

2022-11-27 Thread Stuart Henderson
On 2022-11-27, Jan Stary wrote: > that's why replacing them with SSD might be your best bet. HDD is likely better for medium-term storage (especially if the device would be powered down). https://www.quora.com/How-long-can-SSD-store-data-without-power-Can-data-be-recovered-from-SSD >> Yes, I

Re: Configure OpenBSD for remote server rarely used

2022-11-27 Thread Luke A. Call
On 2022-11-27 12:33:18-0500, Nick Holland wrote: > Steady-state is easiest on hw. Powering up and down is large power > surges, and that's generally not good. This is across the board -- > power supply, hard drives, main board, CPU, memory, etc. The only > part that I think gets a benefit from

Re: Configure OpenBSD for remote server rarely used

2022-11-27 Thread Jan Stary
> > As for rotating metal disks, they have a lifetime; > > that's why replacing them with SSD might be your best bet. > > In the case of an SDD, is there no consideration of turning them off, > if they are unused for some time? No. > In the case of HDD, are you saying that putting them in "spun

Re: Configure OpenBSD for remote server rarely used

2022-11-27 Thread James Johnson
> On 27 Nov 2022, at 17:28, Jan Stary wrote: > > On Nov 27 17:10:11, mytraddr...@gmail.com wrote: >> I am not intending to switch the machine. > > Why? It is just not an option for this specific project. > >> In terms of resources, I am mainly concerned about hard drives >> and cpu being

Re: Configure OpenBSD for remote server rarely used

2022-11-27 Thread Nick Holland
On 11/27/22 12:10, James Johnson wrote: Thanks for your response. I am not intending to switch the machine. In terms of resources, I am mainly concerned about hard drives and cpu being worn down unnecessarily. I am not sure how much of a concern this should be though. The CPU isn't going to

Re: Configure OpenBSD for remote server rarely used

2022-11-27 Thread Jan Stary
On Nov 27 17:10:11, mytraddr...@gmail.com wrote: > I am not intending to switch the machine. Why? > In terms of resources, I am mainly concerned about hard drives > and cpu being worn down unnecessarily. I am not sure how much > of a concern this should be though. The CPU is not being "worn

Re: Configure OpenBSD for remote server rarely used

2022-11-27 Thread James Johnson
Thank you for the pointer, I will look into that. > On 27 Nov 2022, at 14:13, T K wrote: > > "I have been able to lower the CPU speed by running `apm -L`." > For automation purposes consider using obsdfreqd (pkg_add obsdfreqd) instead. > > niedz., 27 lis 2022, 10:39 użytkownik James Johnson

Re: Configure OpenBSD for remote server rarely used

2022-11-27 Thread James Johnson
Thanks for your response. I am not intending to switch the machine. In terms of resources, I am mainly concerned about hard drives and cpu being worn down unnecessarily. I am not sure how much of a concern this should be though. Yes, I do know in advance when the machine needs to run and when

Re: Configure OpenBSD for remote server rarely used

2022-11-27 Thread Jan Stary
On Nov 27 09:37:19, mytraddr...@gmail.com wrote: > The main thing I am trying to do is to make it sleep > every now and then to protect resources. How much eletricity does the machine eat? (What other "resources" are you concerned about?) > 1) Make it sleep and wake up when woken up remotely > I

Re: Configure OpenBSD for remote server rarely used

2022-11-27 Thread T K
"I have been able to lower the CPU speed by running `apm -L`." For automation purposes consider using obsdfreqd (pkg_add obsdfreqd) instead. niedz., 27 lis 2022, 10:39 użytkownik James Johnson napisał: > Hi all, > > OpenBSD is amazing. But I need help in configuring it correctly as a > remote

Configure OpenBSD for remote server rarely used

2022-11-27 Thread James Johnson
Hi all, OpenBSD is amazing. But I need help in configuring it correctly as a remote server, rarely used. The main thing I am trying to do is to make it sleep every now and then to protect resources. I am very flexible on how to do this, but have been unable to do so. Here's what I tried :