Re: Advice on hardware server to use for small a dedicated data center

2020-07-01 Thread Dan Ritter
Miles Fidelman wrote: 
> On 7/1/20 7:04 AM, Reco wrote:
> 
> > On Wed, Jul 01, 2020 at 08:49:09PM +1000, elvis wrote:
> > > On 1/7/20 4:51 am, Dan Ritter wrote:

[attributions snipped]

> > > > > No.. if you want to be pedantic, the proper terminology is "Linux 
> > > > > Raid" or
> > > > > "md RAID."?? mdadm is one of several admin programs available
> > > > What are the others, please? (That will work on a modern system,
> > > > say, Debian stable or oldstable or unstable.)

> > > lvm does its own raid now too...

Elvis is correct here, but:

> > ... and it's not the mdraid, but entirely different kernel subsystem.
> > Last time I've checked it, they did not even implemented incremental
> > RAID assembly in LVM, meaning that you won't be able to use such array
> > if a single drive from LVM-based RAID will fail.
> > They've solved this problem in mdraid like 15 years ago.

Reco is also correct: lvm RAID is not mdadm RAID. And to further
confuse things,  you can build an mdadm RAID and then put LVM on
top of it, but this is not the RAID that LVM manages.

> > But staying on-topic, I'm too very interested to hear about alternative
> > interfaces to mdraid, which do not involve mdadm. libblockdev2 does not
> > count, it's merely a wrapper.
> 
> Sure looks like LVM raid make use of the same underlying md raid software as
> administered mdadm.

It doesn't.

> The info that LVM now includes some direct raid setup tools (that also make
> use of the underlying mdraid system), is new, and possibly useful.

It doesn't.

> Which does raise an interesting question:?? When the Debian installer gives
> the option to set up RAID volumes, does it use mdadm, or do it's own config,
> or use common libraries??? (Kind of arcane, but inquiring minds want to
> know.)

debian-installer calls partman; partman has a module called
partman-md; partman-md installs mdadm.udeb, which is a special
packaging of mdadm, produced by the Debian mdadm maintainers.

-dsr-



RAID stuff [was Re: Advice on hardware server to use for small a dedicated data center]

2020-07-01 Thread Miles Fidelman



On 7/1/20 8:15 AM, Miles Fidelman wrote:

On 7/1/20 7:04 AM, Reco wrote:


On Wed, Jul 01, 2020 at 08:49:09PM +1000, elvis wrote:

On 1/7/20 4:51 am, Dan Ritter wrote:

Miles Fidelman wrote:

On 6/29/20 7:20 PM, Dan Ritter wrote:


Miles Fidelman wrote:

On 6/29/20 9:10 AM, Dan Ritter wrote:


Miles Fidelman wrote:

Now who's being pedantic?

Precisely.

And isn't this exactly what I said??? mdadm is an admin program, 
it doesn't

perform the raid function.

And it's OK to refer to the whole thing as an mdadm RAID.
No.. if you want to be pedantic, the proper terminology is "Linux 
Raid" or

"md RAID."?? mdadm is one of several admin programs available

What are the others, please? (That will work on a modern system,
say, Debian stable or oldstable or unstable.)

I think there's precisely one -- libblockdev2.

lvm does its own raid now too...

https://www.reddit.com/r/linuxquestions/comments/9kkk3b/md_raid_lvm_vs_lvm_raid/ 


... and it's not the mdraid, but entirely different kernel subsystem.
Last time I've checked it, they did not even implemented incremental
RAID assembly in LVM, meaning that you won't be able to use such array
if a single drive from LVM-based RAID will fail.
They've solved this problem in mdraid like 15 years ago.


But staying on-topic, I'm too very interested to hear about alternative
interfaces to mdraid, which do not involve mdadm. libblockdev2 does not
count, it's merely a wrapper.


Sure looks like LVM raid make use of the same underlying md raid 
software as administered mdadm.


Which kind of just reiterates what I said earlier - mdadm, as an 
administrative interface, is distinct & separate from the various 
software components that create md raid devices.  In the past, there 
were several other admin programs, but mdadm seems to be the major, 
maintained tool.


The info that LVM now includes some direct raid setup tools (that also 
make use of the underlying mdraid system), is new, and possibly useful.


Which does raise an interesting question:  When the Debian installer 
gives the option to set up RAID volumes, does it use mdadm, or do it's 
own config, or use common libraries?  (Kind of arcane, but inquiring 
minds want to know.)


Miles Fidelman


Answered my own question.  The older set of tools were packaged as md 
tools and raid tools.  Meanwhile, configuration of RAID partitions is 
done by partman.




--
In theory, there is no difference between theory and practice.
In practice, there is.   Yogi Berra

Theory is when you know everything but nothing works.
Practice is when everything works but no one knows why.
In our lab, theory and practice are combined:
nothing works and no one knows why.  ... unknown



Re: Advice on hardware server to use for small a dedicated data center

2020-07-01 Thread Miles Fidelman

On 7/1/20 7:04 AM, Reco wrote:


On Wed, Jul 01, 2020 at 08:49:09PM +1000, elvis wrote:

On 1/7/20 4:51 am, Dan Ritter wrote:

Miles Fidelman wrote:

On 6/29/20 7:20 PM, Dan Ritter wrote:


Miles Fidelman wrote:

On 6/29/20 9:10 AM, Dan Ritter wrote:


Miles Fidelman wrote:

Now who's being pedantic?

Precisely.


And isn't this exactly what I said??? mdadm is an admin program, it doesn't
perform the raid function.

And it's OK to refer to the whole thing as an mdadm RAID.

No.. if you want to be pedantic, the proper terminology is "Linux Raid" or
"md RAID."?? mdadm is one of several admin programs available

What are the others, please? (That will work on a modern system,
say, Debian stable or oldstable or unstable.)

I think there's precisely one -- libblockdev2.

lvm does its own raid now too...

https://www.reddit.com/r/linuxquestions/comments/9kkk3b/md_raid_lvm_vs_lvm_raid/

... and it's not the mdraid, but entirely different kernel subsystem.
Last time I've checked it, they did not even implemented incremental
RAID assembly in LVM, meaning that you won't be able to use such array
if a single drive from LVM-based RAID will fail.
They've solved this problem in mdraid like 15 years ago.


But staying on-topic, I'm too very interested to hear about alternative
interfaces to mdraid, which do not involve mdadm. libblockdev2 does not
count, it's merely a wrapper.


Sure looks like LVM raid make use of the same underlying md raid 
software as administered mdadm.


Which kind of just reiterates what I said earlier - mdadm, as an 
administrative interface, is distinct & separate from the various 
software components that create md raid devices.  In the past, there 
were several other admin programs, but mdadm seems to be the major, 
maintained tool.


The info that LVM now includes some direct raid setup tools (that also 
make use of the underlying mdraid system), is new, and possibly useful.


Which does raise an interesting question:  When the Debian installer 
gives the option to set up RAID volumes, does it use mdadm, or do it's 
own config, or use common libraries?  (Kind of arcane, but inquiring 
minds want to know.)


Miles Fidelman


--
In theory, there is no difference between theory and practice.
In practice, there is.   Yogi Berra

Theory is when you know everything but nothing works.
Practice is when everything works but no one knows why.
In our lab, theory and practice are combined:
nothing works and no one knows why.  ... unknown



Re: Advice on hardware server to use for small a dedicated data center

2020-07-01 Thread Reco
On Wed, Jul 01, 2020 at 08:49:09PM +1000, elvis wrote:
> 
> On 1/7/20 4:51 am, Dan Ritter wrote:
> > Miles Fidelman wrote:
> > > On 6/29/20 7:20 PM, Dan Ritter wrote:
> > > 
> > > > Miles Fidelman wrote:
> > > > > On 6/29/20 9:10 AM, Dan Ritter wrote:
> > > > > 
> > > > > > Miles Fidelman wrote:
> > > > > Now who's being pedantic?
> > > > Precisely.
> > > > 
> > > > > And isn't this exactly what I said??? mdadm is an admin program, it 
> > > > > doesn't
> > > > > perform the raid function.
> > > > And it's OK to refer to the whole thing as an mdadm RAID.
> > > No.. if you want to be pedantic, the proper terminology is "Linux Raid" or
> > > "md RAID."?? mdadm is one of several admin programs available
> > What are the others, please? (That will work on a modern system,
> > say, Debian stable or oldstable or unstable.)
> > 
> > I think there's precisely one -- libblockdev2.
> 
> lvm does its own raid now too...
> 
> https://www.reddit.com/r/linuxquestions/comments/9kkk3b/md_raid_lvm_vs_lvm_raid/

... and it's not the mdraid, but entirely different kernel subsystem.
Last time I've checked it, they did not even implemented incremental
RAID assembly in LVM, meaning that you won't be able to use such array
if a single drive from LVM-based RAID will fail.
They've solved this problem in mdraid like 15 years ago.


But staying on-topic, I'm too very interested to hear about alternative
interfaces to mdraid, which do not involve mdadm. libblockdev2 does not
count, it's merely a wrapper.

Reco



Re: Advice on hardware server to use for small a dedicated data center

2020-07-01 Thread elvis



On 1/7/20 4:51 am, Dan Ritter wrote:

Miles Fidelman wrote:

On 6/29/20 7:20 PM, Dan Ritter wrote:


Miles Fidelman wrote:

On 6/29/20 9:10 AM, Dan Ritter wrote:


Miles Fidelman wrote:

Now who's being pedantic?

Precisely.


And isn't this exactly what I said??? mdadm is an admin program, it doesn't
perform the raid function.

And it's OK to refer to the whole thing as an mdadm RAID.

No.. if you want to be pedantic, the proper terminology is "Linux Raid" or
"md RAID."?? mdadm is one of several admin programs available

What are the others, please? (That will work on a modern system,
say, Debian stable or oldstable or unstable.)

I think there's precisely one -- libblockdev2.



lvm does its own raid now too...


https://www.reddit.com/r/linuxquestions/comments/9kkk3b/md_raid_lvm_vs_lvm_raid/






saying "mdadm raid" is like saying "libvert hypervisor" - when what you
really mean is Xen, or KVM, or ESXI - accessed through libvert

When you're building systems, details matter.

libvirt.

-dsr-


--
Born again Christians are a pain because the second birth was



Re: Advice on hardware server to use for small a dedicated data center

2020-06-30 Thread Dan Ritter
Miles Fidelman wrote: 
> On 6/29/20 7:20 PM, Dan Ritter wrote:
> 
> > Miles Fidelman wrote:
> > > On 6/29/20 9:10 AM, Dan Ritter wrote:
> > > 
> > > > Miles Fidelman wrote:
> > > Now who's being pedantic?
> > Precisely.
> > 
> > > And isn't this exactly what I said??? mdadm is an admin program, it 
> > > doesn't
> > > perform the raid function.
> > And it's OK to refer to the whole thing as an mdadm RAID.
> 
> No.. if you want to be pedantic, the proper terminology is "Linux Raid" or
> "md RAID."?? mdadm is one of several admin programs available

What are the others, please? (That will work on a modern system,
say, Debian stable or oldstable or unstable.)

I think there's precisely one -- libblockdev2. 

> saying "mdadm raid" is like saying "libvert hypervisor" - when what you
> really mean is Xen, or KVM, or ESXI - accessed through libvert
> 
> When you're building systems, details matter.

libvirt. 

-dsr-



Re: Advice on hardware server to use for small a dedicated data center

2020-06-30 Thread Miles Fidelman

On 6/29/20 7:20 PM, Dan Ritter wrote:


Miles Fidelman wrote:

On 6/29/20 9:10 AM, Dan Ritter wrote:


Miles Fidelman wrote:

Now who's being pedantic?

Precisely.


And isn't this exactly what I said??? mdadm is an admin program, it doesn't
perform the raid function.

And it's OK to refer to the whole thing as an mdadm RAID.


No.. if you want to be pedantic, the proper terminology is "Linux Raid" 
or "md RAID."  mdadm is one of several admin programs available


saying "mdadm raid" is like saying "libvert hypervisor" - when what you 
really mean is Xen, or KVM, or ESXI - accessed through libvert


When you're building systems, details matter.

Miles Fidelman


--
In theory, there is no difference between theory and practice.
In practice, there is.   Yogi Berra

Theory is when you know everything but nothing works.
Practice is when everything works but no one knows why.
In our lab, theory and practice are combined:
nothing works and no one knows why.  ... unknown



Re: Advice on hardware server to use for small a dedicated data center

2020-06-29 Thread Dan Ritter
Miles Fidelman wrote: 
> On 6/29/20 9:10 AM, Dan Ritter wrote:
> 
> > Miles Fidelman wrote:
> Now who's being pedantic?

Precisely.

> And isn't this exactly what I said??? mdadm is an admin program, it doesn't
> perform the raid function.

And it's OK to refer to the whole thing as an mdadm RAID.

-dsr-



Re: Advice on hardware server to use for small a dedicated data center

2020-06-29 Thread David Christensen

On 2020-06-29 10:40, echo test wrote:

> On 2020-06-28 18:58, David Christensen wrote:


ZFS requires a different way of thinking,



At what level do we have to change our mind?


Thus far, I have had to re-think operations, maintenance, and disaster 
recovery.  As I develop software, I must re-think storage.




For example will this impact the way to think SELinux (normally no) ?


I do not use SELinux, so I do not know.



you have good backup and restore processes for your current systems?

What are your plans for the new systems?

...
Do you desire 24x7 operations, live maintenance, automatic fail-over,

high-availability, or similar?  If so, how?

...
What is your budget and schedule?  Manpower?


About the budget an manpower, we are creating a financial plan in order to
present it to our investors, so nothing is well decided for the moment,
that is why all your answers and suggestions are welcome and very useful.


I suggest doing an inventory of existing equipment and facilities. 
Then, compute replacement costs.  Then document ongoing operations and 
maintenance activities,  Then, compute ongoing operations, maintenance, 
and personnel costs.  Use this data to plan the new data center.




What is ideal for 24/7 operations,high-availability and auto fail-over ?


Every person is going to have a different definition of "ideal".  The 
starting point is identifying and applying metrics for measuring what 
matters to your company (and to your customers).  Again, I suggest 
computer and network monitoring systems.




We're 8 in the team for the moment, 2 web and mobile developer and only 2
peoples know things about system and network (admin,security,..) but we
plan to get more peoples.
So please, suggest, in the worst case we will have learned more things.


This is arguably the best general book in its subject area.  Everyone 
involved in the computer industry can benefit from reading it, 
especially managers and investors:


[1] 
https://www.pearson.com/us/higher-education/program/Brooks-Mythical-Man-Month-The-Essays-on-Software-Engineering-Anniversary-Edition-2nd-Edition/PGM172844.html



I liked this book for its specificity.  There are many books available 
in this subject area, often connected to a "quality system".  However, 
be warned that many people resist formal processes, and those that are 
supervisors may become offended by a subordinate who suggests such:


[2] 
https://www.pearson.com/us/higher-education/program/Mc-Connell-Software-Project-Survival-Guide/PGM280992.html



David



Re: Advice on hardware server to use for small a dedicated data center

2020-06-29 Thread Miles Fidelman
Actually, he seems to be designing a central database to support 2000 
retail restaurants.


And based on most recent posts, seems to be pre-startup designing a product.

My sense is that what he really needs is somebody on the team who 
understands distributed enterprise architectures.


Miles


On 6/29/20 2:00 AM, Leslie Rhorer wrote:
Not necessarily, and in particular not given his needs, if I 
recall them correctly.  LVM is fine for many purposes, but it is not 
required, nor is a network file system.  My servers at home have no 
partitions and no LVM, and I have the RAID system for the data volume 
formatted as XFS.  I use separate partitioned SSDs for booting and swap.


On 6/28/2020 3:48 PM, Miles Fidelman wrote:

On 6/28/20 3:58 PM, D. R. Evans wrote:


Dan Ritter wrote on 6/26/20 1:41 PM:

echo test wrote:


Note: I will need some RAID solution hard or soft.

We are firmly of the opinion that mdadm or ZFS are the best
solutions here.


Absolutely.

Actually I'd go further and differentiate the two by suggesting that 
if you
use ECC memory (which you definitely should for a business server) 
then ZFS is
the way to go. If for some reason you can't use ECC memory, then 
mdadm is
arguably the thing to use (although there is certainly a valid 
position that
says that ZFS is /still/ the right one). At least, that's the way I 
have my

systems configured.


Just to be clear... mdadm is NOT raid - it's an admin program for 
managing linux raid (md) devices.  And then you need to worry about 
LVM (logical volume manager), and a network file system on top of them.


Miles




--
In theory, there is no difference between theory and practice.
In practice, there is.   Yogi Berra

Theory is when you know everything but nothing works.
Practice is when everything works but no one knows why.
In our lab, theory and practice are combined:
nothing works and no one knows why.  ... unknown



Re: Advice on hardware server to use for small a dedicated data center

2020-06-29 Thread Miles Fidelman

On 6/29/20 9:10 AM, Dan Ritter wrote:


Miles Fidelman wrote:

Just to be clear... mdadm is NOT raid - it's an admin program for managing
linux raid (md) devices.?? And then you need to worry about LVM (logical
volume manager), and a network file system on top of them.

Just to be clear, you are being pedantic bordering on wrong here. This
is like saying "a hamburger is not ground beef patties, and then you
need to worry about vegetables and condiments".

mdadm is the administrative interface program for the kernel's md
subsystem. It is used generically as a synonym for "the kernel's
md subsystem" because for most people encountering them, they
are inextricably intertwined.

The kernel's md subsystem manages RAID 0, 1, 4, 5, 6 and 10. It
also has a non-RAID linear mode, a container abstraction, and a
fault-simulation mode.


Now who's being pedantic?

And isn't this exactly what I said?  mdadm is an admin program, it 
doesn't perform the raid function.




LVM is completely independent of the md subsystem, and can be
used with or without it. Some people love it. Some avoid it like
the plague -- oops. Some avoid it like rational people avoid the
plague.

Various network file systems are also completely independent of
the md subsystem.
ZFS is an integrated data storage system that presents N
filesystem and partition-equivalent views to the kernel. It is
independent of and an alternative to md and lvm. It offers a
semi-integrated NFS and CIFS export facility. Underneath, it
offers storage options including error-detection, compression, mirroring,
striping, RAID-5 and -6 style parity, read caching and write
caching. Only the error detection is mandatory.

I'm pretty sure we all know this.  The point is that comparing mdadm to 
ZFS is an apples to oranges comparison.  You don't chose between mdadm 
and ZFS, you chose between ZFS and a stack of software that performs the 
same set of functions.


Miles Fidelman


--
In theory, there is no difference between theory and practice.
In practice, there is.   Yogi Berra

Theory is when you know everything but nothing works.
Practice is when everything works but no one knows why.
In our lab, theory and practice are combined:
nothing works and no one knows why.  ... unknown



Re: Advice on hardware server to use for small a dedicated data center

2020-06-29 Thread Celejar
On Mon, 29 Jun 2020 19:28:12 +0300
Reco  wrote:

> On Mon, Jun 29, 2020 at 12:15:22PM -0400, Celejar wrote:
> > On Mon, 29 Jun 2020 18:58:18 +0300
> > Reco  wrote:
> > 
> > >   Hi.
> > > 
> > > On Mon, Jun 29, 2020 at 11:51:52AM -0400, Celejar wrote:
> > > > > > I'm curious, although I don't know much about, and have little
> > > > > > experience with, enterprise hardware. Am I correct in my 
> > > > > > understanding
> > > > > > that it is actually possible to run (more-or-less) Debian on a 
> > > > > > switch
> > > > > > by using OpenSwitch (OPX) on an Open Networking switch.
> > > > > 
> > > > > It's possible. Does not mean that typical enterprise is doing it.
> > > > > OpenSwitch and SDNs in general are big data center toys.
> > > > 
> > > > OPX is SDN? My understanding was that it was simply an open source
> > > > replacement for the proprietary switch OSs that are more commonly run
> > > > on switch hardware.
> > > 
> > > Call it as you like. Managed switch emulator, replacement for switch
> > > firmware or whatever. It's a software-only (or mostly if we count DPPK)
> > > solution that can turn commodity hardware in a low-tier switch. Add
> > > several of those and you have an SDN.
> > 
> > ? Open Switch (OPX) doesn't turn commodity hardware in[to] a low-tier
> > switch - it runs on high-tier switches, instead of the proprietary
> > switch Osss that are more commonly used. It's not an emulator. Perhaps
> > you're thinking of Open vSwitch (OVS)?
> 
> I need to learn to pay attention while reading. You're correct, I'm
> mistaken.

:) You actually know this stuff, and so make the occasional careless
mistake. I'm reading up on it and writing emails as I go along ...

Celejar



Re: Advice on hardware server to use for small a dedicated data center

2020-06-29 Thread David Christensen

debian-user:

I sent the following to the OP rather than the list by mistake...


David



On 2020-06-28 03:34, echo test wrote:


... about 2000 users all are restaurants that save their
selling history locally on their own server then 2 or 3 times in the
morning they will rsync their postgres data on my data center.



We are a startup and for the moment we have a production and a
development, in fact the production is just like a test environment
because we do continuous delivery, we push everyday in order to know
more quickly  when something has been broken and our semi-automated
tests didn't detect it. Personally, I'm a self learner, and probably
many guys of my team are too. So some advices here are also welcome.



We want to be able to handle 2500+ rsync in the morning (probably
distributing them in time in order to avoid a single big load acting
as a ddos) and for each client of my clients (restaurants) a get and
put profile request.



Note: client's profile are shared across restaurants and clients can
find/filter restaurants on the website which is not yet built but we
are working on it.



Thank you for describing your services.  That makes it easier for people 
to comment.



It sounds like you have three services -- mail, web, and database.  The 
web and database services interact heavily, but mail not so much.



I once worked on a project with a similar aspect.  One server dialed 
remote data acquisition units and downloaded data updates once a day. 
The engineers would then copy the database from the server to their 
workstations and crunch the numbers.  The data collection server was a 
modest computer.  The engineers always wanted more powerful computers. I 
recall one query took 30+ minutes to run on my workstation.  I added 
indexes for the relevant fields, and the query took a few minutes. 
Powerful hardware is nice, but using it efficiently is even better.




ZFS beeing a filesystem and mdadm an utility software, I think I'll go
for mdadm. I didn't know that Debian was supporting ZFS I always used
Ext4.



For ZFS on Debian, install the 'zfs-dkms' package.


I migrated my file servers from Linux, md, and ext4 to FreeBSD and ZFS 
over the past few years.  ZFS requires a different way of thinking, and 
I am still wrestling with automating system administration chores.  Key 
benefits include unification of the storage stack, flexible storage 
allocation and management, fine-grained control via metadata, detection 
and correction of bit rot, snapshots, and replication.  With careful 
planning, the last feature can replace rsync(1) and has the advantage 
that it can be done both synchronously and asynchronously.  So, you can 
replicate over a network in real-time and you can send a replication 
stream to a file and receive it later.



Given the trends of increasing storage, increasing bandwidth, and flat 
bit error rates, bit rot has become a reality that we must contend with. 
 For file systems, the only two choices I know of are btrfs and ZFS.  I 
chose ZFS.



Similarly so for memory.  I now buy computers with ECC memory.



... raspberry pi ... external hard drive ...
I dislike the idea that if I encrypt my hard drive anybody with enough
knowledge can just take the SD card and break my encryption.


If all an attacker needs to decrypt your external hard drive is the SD 
card from your Raspberry Pi, then your encryption is not implemented 
correctly.



My practice for external drives is to encrypt them with a random 
alphanumeric password (I believe the current recommendation is 12 or 
more characters).




About the power consumption, any advice about some low power hardware are
also welcome.


I believe power consumption for transistors is proportional to clock 
frequency squared.  So, one core running twice as fast does twice the 
work, but consumes four times the power.  If your program(s) can be 
readily divided into many concurrent tasks, a 16-core processor running 
at 2 GHz will accomplish twice the work as a 4-core processor running at 
4 GHz, for the same amount of power.



Choose energy efficient hardware and components, especially power supplies.


Write and use efficient software.



Why do you dislike systemd ? I heard many people saying the same
thing and I don't really understand what are their motivation except initd
is less invasive.


systemd has been debated endlessly.  I install and run Debian 
"oldstable" OOTB, I avoid unofficial packages.  I avoid compiling/ 
installing from source.  As a result, I systemd is mostly invisible to 
me.  If you build your services to run on a Unix-like OS without 
customizing the OS itself, that would simplify things.




On 2020-06-28 00:16, David Christensen wrote:



Even if you do not use their services, you might find it useful to
emulate them and implement a private cloud.



Very interesting, can you tell me more about that emulation process please ?


There has been a trend towards virtualization and containerization 

Re: Advice on hardware server to use for small a dedicated data center

2020-06-29 Thread Andrei POPESCU
On Lu, 29 iun 20, 09:25:03, Alessandro Baggi wrote:
> 
> Il 29/06/20 09:02, Andrei POPESCU ha scritto:
> > On Du, 28 iun 20, 00:16:05, David Christensen wrote:
> > > I have yet to
> > > hear of an "enterprise" environment built on Debian, but you can tell us
> > > about yours when you build it. (URL's for examples of such are welcome.)
> > Maybe some of the deployments here fit your definition of "enterprise".
> > 
> > https://www.debian.org/users/
> 
> I think that this list is outdated. For example the page related to
> BackBlaze reports that they use Debian 4.

The list is based on voluntary submissions, so it is challenging to keep 
up to date.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Re: Advice on hardware server to use for small a dedicated data center

2020-06-29 Thread Celejar
On Mon, 29 Jun 2020 18:32:40 +0200
MAS Jean-Louis  wrote:

...

> We have about  100 servers now, mostly Dell, and we are working with
> Dell for about 17 years, without any troubles. We owned several hundred
> Dell's servers during those years, mostly running on Debian.
> 
> Everything work fine with Debian out of the box, sometime you need
> firmware for Broadcom network cards, no more that that.

Yes, indeed:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=895258

Celejar



Re: Advice on hardware server to use for small a dedicated data center

2020-06-29 Thread MAS Jean-Louis
Le 29/06/2020 à 17:31, Reco a écrit :

> I see nothing wrong with Dell servers per se. If one really needs
> something relatively cheap and durable - there's nothing wrong with
> Dell (or Supermicro, but that's politics again). But, it's Tier 2, not
> 1. So - my quote at the top.

We have about  100 servers now, mostly Dell, and we are working with
Dell for about 17 years, without any troubles. We owned several hundred
Dell's servers during those years, mostly running on Debian.

Everything work fine with Debian out of the box, sometime you need
firmware for Broadcom network cards, no more that that.

We also had some HPE Proliant DL380, that's pure crap (a lot a disk died
in the same month, bios update are non free, watermarked hard disks).
For now, they are all out of order, and it's far too expensive to repair
them.

Regards

-- 
Jean Louis Mas



smime.p7s
Description: Signature cryptographique S/MIME


Re: Advice on hardware server to use for small a dedicated data center

2020-06-29 Thread Reco
On Mon, Jun 29, 2020 at 12:15:22PM -0400, Celejar wrote:
> On Mon, 29 Jun 2020 18:58:18 +0300
> Reco  wrote:
> 
> > Hi.
> > 
> > On Mon, Jun 29, 2020 at 11:51:52AM -0400, Celejar wrote:
> > > > > I'm curious, although I don't know much about, and have little
> > > > > experience with, enterprise hardware. Am I correct in my understanding
> > > > > that it is actually possible to run (more-or-less) Debian on a switch
> > > > > by using OpenSwitch (OPX) on an Open Networking switch.
> > > > 
> > > > It's possible. Does not mean that typical enterprise is doing it.
> > > > OpenSwitch and SDNs in general are big data center toys.
> > > 
> > > OPX is SDN? My understanding was that it was simply an open source
> > > replacement for the proprietary switch OSs that are more commonly run
> > > on switch hardware.
> > 
> > Call it as you like. Managed switch emulator, replacement for switch
> > firmware or whatever. It's a software-only (or mostly if we count DPPK)
> > solution that can turn commodity hardware in a low-tier switch. Add
> > several of those and you have an SDN.
> 
> ? Open Switch (OPX) doesn't turn commodity hardware in[to] a low-tier
> switch - it runs on high-tier switches, instead of the proprietary
> switch Osss that are more commonly used. It's not an emulator. Perhaps
> you're thinking of Open vSwitch (OVS)?

I need to learn to pay attention while reading. You're correct, I'm
mistaken.

Reco



Re: Advice on hardware server to use for small a dedicated data center

2020-06-29 Thread Celejar
On Mon, 29 Jun 2020 18:58:18 +0300
Reco  wrote:

>   Hi.
> 
> On Mon, Jun 29, 2020 at 11:51:52AM -0400, Celejar wrote:
> > > > I'm curious, although I don't know much about, and have little
> > > > experience with, enterprise hardware. Am I correct in my understanding
> > > > that it is actually possible to run (more-or-less) Debian on a switch
> > > > by using OpenSwitch (OPX) on an Open Networking switch.
> > > 
> > > It's possible. Does not mean that typical enterprise is doing it.
> > > OpenSwitch and SDNs in general are big data center toys.
> > 
> > OPX is SDN? My understanding was that it was simply an open source
> > replacement for the proprietary switch OSs that are more commonly run
> > on switch hardware.
> 
> Call it as you like. Managed switch emulator, replacement for switch
> firmware or whatever. It's a software-only (or mostly if we count DPPK)
> solution that can turn commodity hardware in a low-tier switch. Add
> several of those and you have an SDN.

? Open Switch (OPX) doesn't turn commodity hardware in[to] a low-tier
switch - it runs on high-tier switches, instead of the proprietary
switch Osss that are more commonly used. It's not an emulator. Perhaps
you're thinking of Open vSwitch (OVS)?

Celejar



Re: Advice on hardware server to use for small a dedicated data center

2020-06-29 Thread Reco
Hi.

On Mon, Jun 29, 2020 at 11:51:52AM -0400, Celejar wrote:
> > > I'm curious, although I don't know much about, and have little
> > > experience with, enterprise hardware. Am I correct in my understanding
> > > that it is actually possible to run (more-or-less) Debian on a switch
> > > by using OpenSwitch (OPX) on an Open Networking switch.
> > 
> > It's possible. Does not mean that typical enterprise is doing it.
> > OpenSwitch and SDNs in general are big data center toys.
> 
> OPX is SDN? My understanding was that it was simply an open source
> replacement for the proprietary switch OSs that are more commonly run
> on switch hardware.

Call it as you like. Managed switch emulator, replacement for switch
firmware or whatever. It's a software-only (or mostly if we count DPPK)
solution that can turn commodity hardware in a low-tier switch. Add
several of those and you have an SDN.

Reco



Re: Advice on hardware server to use for small a dedicated data center

2020-06-29 Thread Celejar
On Mon, 29 Jun 2020 18:21:08 +0300
Reco  wrote:

>   Hi.
> 
> On Mon, Jun 29, 2020 at 10:50:43AM -0400, Celejar wrote:
> > On Fri, 26 Jun 2020 15:41:13 -0400
> > Dan Ritter  wrote:
> > 
> > ...
> > 
> > > To give an idea of what you might buy:
> > > 
> > > a firewall/router
> > > a switch
> > > a load-balancer
> > > 2 web servers
> > > a database server
> > > a mail server
> > > a general utility box with lots of storage to handle backups
> > > 
> > > All of those duties except the switch can reasonable be run on
> > > Debian servers. 
> > 
> > I'm curious, although I don't know much about, and have little
> > experience with, enterprise hardware. Am I correct in my understanding
> > that it is actually possible to run (more-or-less) Debian on a switch
> > by using OpenSwitch (OPX) on an Open Networking switch.
> 
> It's possible. Does not mean that typical enterprise is doing it.
> OpenSwitch and SDNs in general are big data center toys.

OPX is SDN? My understanding was that it was simply an open source
replacement for the proprietary switch OSs that are more commonly run
on switch hardware.

> But as long as we're talking routing traffic up to 1Gbps for that
> typical SOHO - you don't need OpenSwtich at all, stock Linux kernel will
> do it just fine. It's the hardware that gets tricky here - they do not
> set up that many Ethernet ports on a typical server/consumer hardware as
> one expects from a typical switch.
> 
> 
> > I have no idea if this would be cost-effective in the OP's situation -
> > basic switches are certainly a whole lot cheaper than the ones I
> > looked at on the OPX HCL.
> 
> In general situation it won't be cost-effective. You just cannot beat
> the cost of D-Link switch ($250 for that typical 1Gbps 24 ports) with
> the cost of 1U server ($2000 and up). One could try to cut the costs
> with consumer hardware or even SBCs, but where come the questions of
> reliability, remote management, etc.

Understood, thanks.

Celejar



Re: Advice on hardware server to use for small a dedicated data center

2020-06-29 Thread Celejar
On Mon, 29 Jun 2020 11:09:02 -0400
Dan Ritter  wrote:

> Celejar wrote: 
> > On Fri, 26 Jun 2020 15:41:13 -0400
> > Dan Ritter  wrote:
> > 
> > ...
> > 
> > > To give an idea of what you might buy:
> > > 
> > > a firewall/router
> > > a switch
> > > a load-balancer
> > > 2 web servers
> > > a database server
> > > a mail server
> > > a general utility box with lots of storage to handle backups
> > > 
> > > All of those duties except the switch can reasonable be run on
> > > Debian servers. 
> > 
> > I'm curious, although I don't know much about, and have little
> > experience with, enterprise hardware. Am I correct in my understanding
> > that it is actually possible to run (more-or-less) Debian on a switch
> > by using OpenSwitch (OPX) on an Open Networking switch. I have no idea
> > if this would be cost-effective in the OP's situation - basic switches
> > are certainly a whole lot cheaper than the ones I looked at on the
> > OPX HCL.
> 
> Yes, and yes, those are fairly high-end switches compared to
> what people tend to use in homes and offices.
> 
> In many situations, people don't even need a manageable
> switch. Once you start to exceed, say, 40 connections, a managed
> switch becomes first useful and then necessity. When you need
> multi-chassis failover and intra-switch links of more complexity
> than "each desktop gets an 8 port gig-e switch with one used as
> an uplink to the office switch", you need high-end switch
> features.


Gotcha. I did realize that those were higher on the food chain when I
saw that they started at 10GB and went up from there ...

Celejar



Re: Advice on hardware server to use for small a dedicated data center

2020-06-29 Thread Reco
Hi.

On Mon, Jun 29, 2020 at 11:22:21AM -0400, Celejar wrote:
> > Anything else is at least one tier lower so why bother discussing it?
> 
> What do you have against Dell?

I have a troubled past with EMC :)


> Everything I've read indicates that their enterprise gear is very
> good, and quite affordable, particularly on the second-hand market. I
> have very limited experience in this area, but I've been running
> Debian on a used R210 II for a while and it has been rock solid.

I see nothing wrong with Dell servers per se. If one really needs
something relatively cheap and durable - there's nothing wrong with
Dell (or Supermicro, but that's politics again). But, it's Tier 2, not
1. So - my quote at the top.

Reco



Re: Advice on hardware server to use for small a dedicated data center

2020-06-29 Thread Celejar
On Mon, 29 Jun 2020 16:45:48 +0300
Reco  wrote:

> On Tue, Jun 30, 2020 at 01:27:05AM +1200, Richard Hector wrote:
> > > I'll be original here. Try SunFire X-series (aka SunServer X). Somewhat
> > > costly, and the hardware quality is a hit or miss in newer models, but
> > > runs Debian stable like it was designed for it.
> > 
> > I'm a little unclear what you're suggesting here - Sun Fire and Sun
> > Server seem to be both retired names (according to Wikipedia, anyway ...)
> 
> I'm suggesting x86-64 Intel server with an Oracle logo on it.
> I agree to call it whatever they call it at Oracle these days be it
> SunFire, SunServer or whatever.
> Whenever said server(s) will be bought from the Oracle, a certain
> partners or, say, Ebay - I don't see how it can be relevant here.
> 
> 
> > Are you suggesting Oracle servers in general?
> 
> Yep. I can say a lot of bad things about HPE hardware (but I won't, it'll
> be off-topic), and I can't say anything good about Lenovo (those IBM
> X-series were not bad, but it was a long time ago). Also, last one is a
> political thing, and this list is an unsuitable place for discussing
> political things.
> I could also mention Huawei, but I won't - it's a political thing too.
> Oracle servers (five years ago, at least) tend to Just Work™, barring
> that usual "half-year after the purchase" time period.
> 
> Anything else is at least one tier lower so why bother discussing it?

What do you have against Dell? Everything I've read indicates that
their enterprise gear is very good, and quite affordable, particularly
on the second-hand market. I have very limited experience in this area,
but I've been running Debian on a used R210 II for a while and it has
been rock solid.

Celejar



Re: Advice on hardware server to use for small a dedicated data center

2020-06-29 Thread Reco
Hi.

On Mon, Jun 29, 2020 at 10:50:43AM -0400, Celejar wrote:
> On Fri, 26 Jun 2020 15:41:13 -0400
> Dan Ritter  wrote:
> 
> ...
> 
> > To give an idea of what you might buy:
> > 
> > a firewall/router
> > a switch
> > a load-balancer
> > 2 web servers
> > a database server
> > a mail server
> > a general utility box with lots of storage to handle backups
> > 
> > All of those duties except the switch can reasonable be run on
> > Debian servers. 
> 
> I'm curious, although I don't know much about, and have little
> experience with, enterprise hardware. Am I correct in my understanding
> that it is actually possible to run (more-or-less) Debian on a switch
> by using OpenSwitch (OPX) on an Open Networking switch.

It's possible. Does not mean that typical enterprise is doing it.
OpenSwitch and SDNs in general are big data center toys.

But as long as we're talking routing traffic up to 1Gbps for that
typical SOHO - you don't need OpenSwtich at all, stock Linux kernel will
do it just fine. It's the hardware that gets tricky here - they do not
set up that many Ethernet ports on a typical server/consumer hardware as
one expects from a typical switch.


> I have no idea if this would be cost-effective in the OP's situation -
> basic switches are certainly a whole lot cheaper than the ones I
> looked at on the OPX HCL.

In general situation it won't be cost-effective. You just cannot beat
the cost of D-Link switch ($250 for that typical 1Gbps 24 ports) with
the cost of 1U server ($2000 and up). One could try to cut the costs
with consumer hardware or even SBCs, but where come the questions of
reliability, remote management, etc.

Reco



Re: Advice on hardware server to use for small a dedicated data center

2020-06-29 Thread Dan Ritter
Celejar wrote: 
> On Fri, 26 Jun 2020 15:41:13 -0400
> Dan Ritter  wrote:
> 
> ...
> 
> > To give an idea of what you might buy:
> > 
> > a firewall/router
> > a switch
> > a load-balancer
> > 2 web servers
> > a database server
> > a mail server
> > a general utility box with lots of storage to handle backups
> > 
> > All of those duties except the switch can reasonable be run on
> > Debian servers. 
> 
> I'm curious, although I don't know much about, and have little
> experience with, enterprise hardware. Am I correct in my understanding
> that it is actually possible to run (more-or-less) Debian on a switch
> by using OpenSwitch (OPX) on an Open Networking switch. I have no idea
> if this would be cost-effective in the OP's situation - basic switches
> are certainly a whole lot cheaper than the ones I looked at on the
> OPX HCL.

Yes, and yes, those are fairly high-end switches compared to
what people tend to use in homes and offices.

In many situations, people don't even need a manageable
switch. Once you start to exceed, say, 40 connections, a managed
switch becomes first useful and then necessity. When you need
multi-chassis failover and intra-switch links of more complexity
than "each desktop gets an 8 port gig-e switch with one used as
an uplink to the office switch", you need high-end switch
features.

-dsr-



Re: Advice on hardware server to use for small a dedicated data center

2020-06-29 Thread Celejar
On Fri, 26 Jun 2020 15:41:13 -0400
Dan Ritter  wrote:

...

> To give an idea of what you might buy:
> 
> a firewall/router
> a switch
> a load-balancer
> 2 web servers
> a database server
> a mail server
> a general utility box with lots of storage to handle backups
> 
> All of those duties except the switch can reasonable be run on
> Debian servers. 

I'm curious, although I don't know much about, and have little
experience with, enterprise hardware. Am I correct in my understanding
that it is actually possible to run (more-or-less) Debian on a switch
by using OpenSwitch (OPX) on an Open Networking switch. I have no idea
if this would be cost-effective in the OP's situation - basic switches
are certainly a whole lot cheaper than the ones I looked at on the
OPX HCL.

Celejar



Re: Advice on hardware server to use for small a dedicated data center

2020-06-29 Thread Reco
On Tue, Jun 30, 2020 at 01:27:05AM +1200, Richard Hector wrote:
> > I'll be original here. Try SunFire X-series (aka SunServer X). Somewhat
> > costly, and the hardware quality is a hit or miss in newer models, but
> > runs Debian stable like it was designed for it.
> 
> I'm a little unclear what you're suggesting here - Sun Fire and Sun
> Server seem to be both retired names (according to Wikipedia, anyway ...)

I'm suggesting x86-64 Intel server with an Oracle logo on it.
I agree to call it whatever they call it at Oracle these days be it
SunFire, SunServer or whatever.
Whenever said server(s) will be bought from the Oracle, a certain
partners or, say, Ebay - I don't see how it can be relevant here.


> Are you suggesting Oracle servers in general?

Yep. I can say a lot of bad things about HPE hardware (but I won't, it'll
be off-topic), and I can't say anything good about Lenovo (those IBM
X-series were not bad, but it was a long time ago). Also, last one is a
political thing, and this list is an unsuitable place for discussing
political things.
I could also mention Huawei, but I won't - it's a political thing too.
Oracle servers (five years ago, at least) tend to Just Work™, barring
that usual "half-year after the purchase" time period.

Anything else is at least one tier lower so why bother discussing it?


> Personally, I'd require a lot of convincing to use anything of theirs ...

They don't pay me for this, I don't work for them.
Their support (both software and hardware) could use an improvement (to
put it lightly), but the hardware itself haven't spoiled for the last
5-10 years or so.

Reco



Re: Advice on hardware server to use for small a dedicated data center

2020-06-29 Thread Richard Hector
On 27/06/20 8:02 am, Reco wrote:
> On Fri, Jun 26, 2020 at 08:34:07PM +0200, echo test wrote:
>> So, I want to know if It's a good idea to try using Debian in an enterprise
>> context, with hardwares like Dell EMC PowerEdge or Lenovo ThinkCenter which
>> seems to never mention that they support Debian.

> I'll be original here. Try SunFire X-series (aka SunServer X). Somewhat
> costly, and the hardware quality is a hit or miss in newer models, but
> runs Debian stable like it was designed for it.

I'm a little unclear what you're suggesting here - Sun Fire and Sun
Server seem to be both retired names (according to Wikipedia, anyway ...)

Are you suggesting Oracle servers in general?

Personally, I'd require a lot of convincing to use anything of theirs ...

I agree the Sun-era x86 servers were nice.

Richard




Re: Advice on hardware server to use for small a dedicated data center

2020-06-29 Thread Dan Ritter
Miles Fidelman wrote: 
> Just to be clear... mdadm is NOT raid - it's an admin program for managing
> linux raid (md) devices.?? And then you need to worry about LVM (logical
> volume manager), and a network file system on top of them.

Just to be clear, you are being pedantic bordering on wrong here. This
is like saying "a hamburger is not ground beef patties, and then you
need to worry about vegetables and condiments".

mdadm is the administrative interface program for the kernel's md
subsystem. It is used generically as a synonym for "the kernel's
md subsystem" because for most people encountering them, they
are inextricably intertwined. 

The kernel's md subsystem manages RAID 0, 1, 4, 5, 6 and 10. It
also has a non-RAID linear mode, a container abstraction, and a
fault-simulation mode.

LVM is completely independent of the md subsystem, and can be
used with or without it. Some people love it. Some avoid it like
the plague -- oops. Some avoid it like rational people avoid the
plague.

Various network file systems are also completely independent of
the md subsystem.

ZFS is an integrated data storage system that presents N
filesystem and partition-equivalent views to the kernel. It is
independent of and an alternative to md and lvm. It offers a
semi-integrated NFS and CIFS export facility. Underneath, it
offers storage options including error-detection, compression, mirroring,
striping, RAID-5 and -6 style parity, read caching and write
caching. Only the error detection is mandatory.

-dsr-



Re: Advice on hardware server to use for small a dedicated data center

2020-06-29 Thread Dan Ritter
D. R. Evans wrote: 
> Dan Ritter wrote on 6/26/20 1:41 PM:
> > echo test wrote:
> > 
> >> Note: I will need some RAID solution hard or soft.
> > 
> > We are firmly of the opinion that mdadm or ZFS are the best
> > solutions here.
> > 
> 
> Absolutely.
> 
> Actually I'd go further and differentiate the two by suggesting that if you
> use ECC memory (which you definitely should for a business server) then ZFS is
> the way to go. If for some reason you can't use ECC memory, then mdadm is
> arguably the thing to use (although there is certainly a valid position that
> says that ZFS is /still/ the right one). At least, that's the way I have my
> systems configured.

You're perpetuating a myth here. ZFS does not require ECC, and
there is no additional danger in running ZFS without ECC.

Rather, once ZFS is protecting your data, the next most likely
source of corruption is memory errors, so if you're concerned
about that, you should get ECC.

-dsr-



Re: Advice on hardware server to use for small a dedicated data center

2020-06-29 Thread David Christensen

On 2020-06-29 00:02, Andrei POPESCU wrote:

On Du, 28 iun 20, 00:16:05, David Christensen wrote:

I have yet to
hear of an "enterprise" environment built on Debian, but you can tell us
about yours when you build it. (URL's for examples of such are welcome.)


Maybe some of the deployments here fit your definition of "enterprise".

https://www.debian.org/users/


Yes, they do.  Thanks for the link -- I searched, but did not find that 
page.  :-)



David



Re: Advice on hardware server to use for small a dedicated data center

2020-06-29 Thread Alessandro Baggi



Il 29/06/20 09:02, Andrei POPESCU ha scritto:

On Du, 28 iun 20, 00:16:05, David Christensen wrote:

I have yet to
hear of an "enterprise" environment built on Debian, but you can tell us
about yours when you build it. (URL's for examples of such are welcome.)

Maybe some of the deployments here fit your definition of "enterprise".

https://www.debian.org/users/


Hi Andrei,

I think that this list is outdated. For example the page related to 
BackBlaze reports that they use Debian 4.


These list should be updated to have a real benefit of reading it.



Re: Advice on hardware server to use for small a dedicated data center

2020-06-29 Thread Andrei POPESCU
On Du, 28 iun 20, 00:16:05, David Christensen wrote:
> I have yet to
> hear of an "enterprise" environment built on Debian, but you can tell us
> about yours when you build it. (URL's for examples of such are welcome.)

Maybe some of the deployments here fit your definition of "enterprise".

https://www.debian.org/users/

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Re: Advice on hardware server to use for small a dedicated data center

2020-06-29 Thread Andrei POPESCU
On Du, 28 iun 20, 12:37:14, echo test wrote:
> 
> Sorry if I'm misunderstanding, are you saying that Debian  cannot scale in
> a bigger enterprise ?

Debian can certainly scale from Raspberry Pis to supercomputers.

The issue is more of support:

1. Debian itself doesn't offer support beyond security updates for its 
packages and this list.

You either do it yourself or you hire a third-party (see 
https://www.debian.org/consultants).

2. Hardware vendors don't certify their products with Debian (there is 
no incentive to do so). This matters if you want / must use specialized 
products like RAID controllers, e.g. the vendor may refuse replacing 
defective hardware unless you can prove it's not working on certified 
OSs. I've heard of organizations keeping another OS around just for this 
(similar tactic with Windows on desktops and laptops)

At least Lenovo has shown some interest in cooperating with Debian (see 
the link about the ARM server I posted, as well as this thread on 
-project.

https://lists.debian.org/debian-project/2020/06/msg0.html

> Can you tell me what happened with hardware RAID solutions?
> 
> > small" could be anything from 10 to 1000 users. Mentioning some numbers
> > could get you more useful recommendations.
> > In any case, some interesting hardware not mentioned so far (don't
> > forget about the power consumption).
> 
> Small here is for me about 2000 users all are restaurants that save their
> selling history locally on their own server then 2 or 3 times in the
> morning they will rsync their postgres data on my data center.
> About the power consumption, any advice about some low power hardware are
> also welcome.

I already posted some.
 
>  Why do you dislike systemd ? I heard many people saying the same
> thing and I don't really understand what are their motivation except initd
> is less invasive.

Better not re-open this discussion. I will just say that Debian has 
basically decided it will use systemd for now.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Re: Advice on hardware server to use for small a dedicated data center

2020-06-29 Thread Leslie Rhorer
	Not necessarily, and in particular not given his needs, if I recall 
them correctly.  LVM is fine for many purposes, but it is not required, 
nor is a network file system.  My servers at home have no partitions and 
no LVM, and I have the RAID system for the data volume formatted as XFS. 
 I use separate partitioned SSDs for booting and swap.


On 6/28/2020 3:48 PM, Miles Fidelman wrote:

On 6/28/20 3:58 PM, D. R. Evans wrote:


Dan Ritter wrote on 6/26/20 1:41 PM:

echo test wrote:


Note: I will need some RAID solution hard or soft.

We are firmly of the opinion that mdadm or ZFS are the best
solutions here.


Absolutely.

Actually I'd go further and differentiate the two by suggesting that 
if you
use ECC memory (which you definitely should for a business server) 
then ZFS is

the way to go. If for some reason you can't use ECC memory, then mdadm is
arguably the thing to use (although there is certainly a valid 
position that
says that ZFS is /still/ the right one). At least, that's the way I 
have my

systems configured.


Just to be clear... mdadm is NOT raid - it's an admin program for 
managing linux raid (md) devices.  And then you need to worry about LVM 
(logical volume manager), and a network file system on top of them.


Miles







Re: Advice on hardware server to use for small a dedicated data center

2020-06-28 Thread David Christensen

On 2020-06-28 19:19, David Christensen wrote:


On 2020-06-28 11:24, Miles Fidelman wrote:


RAID is easy - Debian supports a number of software RAID options, and 
most motherboards support some form of hardware RAID (as to many 
external drive enclosures).


Yes.  I avoid them.


Correction -- I avoid motherboard and external drive hardware RAID.


David



Re: Advice on hardware server to use for small a dedicated data center

2020-06-28 Thread David Christensen

On 2020-06-28 11:24, Miles Fidelman wrote:


On 6/28/20 3:16 AM, David Christensen wrote:



On 2020-06-26 11:34, echo test wrote:


I view Debian as the dominant enthusiast Linux distribution in the 
USA.


Also pretty dominant in enterprise settings - particularly 
universities.  Still built primarily for use on servers.  You find it 
all over cluster configurations.  Scratch a big data analysis cluster 
and you'll likely as not find Debian.


I suspected as much, but haven't seen much news about academia or 
clusters recently.



I view FreeBSD as the dominant free x86/x86_64 BSD/Unix server 
distribution.


But... for servers, I'd guess that (open source) Ubuntu & CentOS are 
probably a lot more common.


According to WikiPedia, Linux dominates.  But, they don't break it down 
by distribution:


https://en.wikipedia.org/wiki/Usage_share_of_operating_systems#Public_servers_on_the_Internet



with hardwares like Dell EMC PowerEdge or Lenovo ThinkCenter which
seems to never mention that they support Debian. What kind of issues 
can I

encounter with such hardwares except simple cases like having to install
missing drivers with some already available firmwares.


You're looking in the wrong place.  Look at the Debian site, for the 
list of supported hardware.  Look at the installation documents for 
driver installation (which is more an issue for peripheral support - is 
there a driver for every device that you plan to install?).



I looked for certified hardware.  Debian is not impressive:

https://wiki.debian.org/Hardware/Certification


FreeBSD is trying:

https://www.freebsd.org/commercial/hardware.html


Red Hat and Ubuntu have established programs:

https://catalog.redhat.com/

https://certification.ubuntu.com/



Note: I will need some RAID solution hard or soft.


"Enterprise" implies storage area networks.  This requires hardware 
(and support software).


No, it does not.  Particularly in these days of converged hardware.


Okay.


RAID is easy - Debian supports a number of software RAID options, and 
most motherboards support some form of hardware RAID (as to many 
external drive enclosures).


Yes.  I avoid them.



Sharing across nodes is easy, too - NFS.


I prefer Samba -- works with Linux, FreeBSD, Windows, macOS, and likely 
more.



Now, if you want to get fancy, and talk about high-availability, 
failover and such, things get a bit more baroque - we're talking things 
like real-time replication (look at DRBD), and fancy file systems.  And 
things get really tough, if you have multiple sites.  Red Hat has some 
good solutions, out-of-the-box, and last time I looked, they were all 
based on open source components - you could integrate those with CentOS, 
and probably Debian - but it takes a lot of work.


Interesting.


David



Re: Advice on hardware server to use for small a dedicated data center

2020-06-28 Thread Miles Fidelman

On 6/28/20 3:58 PM, D. R. Evans wrote:


Dan Ritter wrote on 6/26/20 1:41 PM:

echo test wrote:


Note: I will need some RAID solution hard or soft.

We are firmly of the opinion that mdadm or ZFS are the best
solutions here.


Absolutely.

Actually I'd go further and differentiate the two by suggesting that if you
use ECC memory (which you definitely should for a business server) then ZFS is
the way to go. If for some reason you can't use ECC memory, then mdadm is
arguably the thing to use (although there is certainly a valid position that
says that ZFS is /still/ the right one). At least, that's the way I have my
systems configured.


Just to be clear... mdadm is NOT raid - it's an admin program for 
managing linux raid (md) devices.  And then you need to worry about LVM 
(logical volume manager), and a network file system on top of them.


Miles




--
In theory, there is no difference between theory and practice.
In practice, there is.   Yogi Berra

Theory is when you know everything but nothing works.
Practice is when everything works but no one knows why.
In our lab, theory and practice are combined:
nothing works and no one knows why.  ... unknown



Re: Advice on hardware server to use for small a dedicated data center

2020-06-28 Thread D. R. Evans
Dan Ritter wrote on 6/26/20 1:41 PM:
> echo test wrote:
> 
>> Note: I will need some RAID solution hard or soft.
> 
> We are firmly of the opinion that mdadm or ZFS are the best
> solutions here.
> 

Absolutely.

Actually I'd go further and differentiate the two by suggesting that if you
use ECC memory (which you definitely should for a business server) then ZFS is
the way to go. If for some reason you can't use ECC memory, then mdadm is
arguably the thing to use (although there is certainly a valid position that
says that ZFS is /still/ the right one). At least, that's the way I have my
systems configured.

  Doc

-- 
Web:  http://enginehousebooks.com/drevans



signature.asc
Description: OpenPGP digital signature


Re: Advice on hardware server to use for small a dedicated data center

2020-06-28 Thread Miles Fidelman

On 6/28/20 6:37 AM, echo test wrote:



Hello,

Thank you for all your answers and sorry to be late for answering.
> I prefer ZFS but I find that lots of corps prefer mdadm. I really think that's simply > 
because ZFS came from Sun and they lack Solaris backgrounds. Now, in a 
low-> RAM environment with simpler disc needs, I would probably go 
with mdadm.
> Anything else I would choose ZFS. It's ability to take care of itself is surprisingly 
> strong. Less work for me after the set up and installation.


ZFS beeing a filesystem and mdadm an utility software, I think I'll go 
for mdadm. I didn't know that Debian was supporting ZFS I always used 
Ext4.


It's a stack.  You build up from disk, to block-level raid, to volume 
manager, to file system, to access protocol.


ZFS includes multiple levels of the stack.  And yes there are ZFS 
implementations for Debian, along with a dozen or more other file systems.




Sorry if I'm misunderstanding, are you saying that Debian  cannot 
scale in a bigger enterprise ?

Can you tell me what happened with hardware RAID solutions?

> small" could be anything from 10 to 1000 users. Mentioning some numbers
> could get you more useful recommendations.
> In any case, some interesting hardware not mentioned so far (don't
> forget about the power consumption).

Small here is for me about 2000 users all are restaurants that save 
their selling history locally on their own server then 2 or 3 times in 
the morning they will rsync their postgres data on my data center.
About the power consumption, any advice about some low power hardware 
are also welcome.


Something seems a little flakey about that architecture.  Rsyncng 
postgress data?  There are lots of better ways to merge data into a 
database.  Particularly in these days of cheap, continuous, broadband 
connectivity.  And if you can't get business broadband in all your 
locations, cellular modems are dirt cheap.  (I speak as someone who's 
designed more than a few mobile data collection systems - everything 
from tactical military systems to transit buses).






> Supermicro 1U servers - run two or more of them
> and it's easy to turn them into a high-available cluster
> ...
> Note: I'm seriously considering migrating from Debian for our
> next refresh - I really don't like systemd - might go all the way to BSD
>or an OpenSolaris distro.

Supermicro seems definitely to propose some great stuff I will take 
them in account. Why do you dislike systemd ? I heard many people 
saying the same thing and I don't really understand what are their 
motivation except initd is less invasive.


It's a spaghetti coded package of crap, that takes over your system and 
does things its way.  I prefer modularity, and control over my systems.




I don't really know how to answer to your question but let's try.  We 
are a startup and for the moment we have a production and a 
development, in fact the production is just like a test environment 
because we do continuous delivery, we push everyday in order to know 
more quickly  when something has been broken and our semi-automated 
tests didn't detect it. Personally, I'm a self learner, and probably 
many guys of my team are too. So some advices here are also welcome.
We want to be able to handle 2500+ rsync in the morning (probably 
distributing them in time in order to avoid a single big load acting 
as a ddos) and for each client of my clients (restaurants) a get and 
put profile request.
Note: client's profile are shared across restaurants and clients can 
find/filter restaurants on the website which is not yet built but we 
are working on it.


Rsync is just wrong for that kind of application.  What are you syncing, 
anyway.  2500 postgress instances, some raw data files for input to a 
single instance of postgress, something else?  And if the postgress 
instance is feeding live data to apps, you really need to focus first on 
your high-availability strategy - single points of failure will kill you.


Come to think of it, you're a poster child for doing everything in the 
cloud.  As a startup, you've got way too many other things to worry 
about than home brewing an IT environment - focus on your core 
product/service, whatever that is.  (Now, if you're setting up a service 
bureau, that's another story - in which case, hire some folks who 
actually know how to do this stuff.  Here, I'm speaking as someone who 
HAS homebrewed a small service bureau, with serious experience in 
computing & IT - back before any of this stuff was available off the 
shelf.  It's a royal PITA.  These days, I'm far more likely to set up a 
new domain, or app, on a hosting service, than on our cluster - unless & 
until I know that it needs to be around for a while.  Life's too short.)


Miles Fidelman




--
In theory, there is no difference between theory and practice.
In practice, there is.   Yogi Berra

Theory is when you know everything but nothing works.
Practice is when everything works but no one 

Re: Advice on hardware server to use for small a dedicated data center

2020-06-28 Thread Miles Fidelman

A few comments on the advice below

On 6/28/20 3:16 AM, David Christensen wrote:

On 2020-06-26 11:34, echo test wrote:


I view Debian as the dominant enthusiast Linux distribution in the 
USA. I use it on my SOHO laptops and desktops because it mostly works 
on most x86/x86_64 computers made in the last ~20 years. (But, it is 
common for the "stable" version not to work on recently designed 
hardware.)  I also have a Ubiquitti Networks Unifi Controller 
application stack running on a Debian VPS on the Internet ($5/month).  
I am the only user and it has never failed. Other people with far more 
knowledge, skills, and ambition do more with Debian, but the effort 
appears to be both heroic and lonely. I have yet to hear of an 
"enterprise" environment built on Debian, but you can tell us about 
yours when you build it. (URL's for examples of such are welcome.)


Also pretty dominant in enterprise settings - particularly 
universities.  Still built primarily for use on servers.  You find it 
all over cluster configurations.  Scratch a big data analysis cluster 
and you'll likely as not find Debian.





I view FreeBSD as the dominant free x86/x86_64 BSD/Unix server 
distribution.  I use it on my SOHO servers because the design is 
traditional, the feel is polished, software packages are recent, and 
there are good books available [1, 2].  FreeBSD has notable enterprise 
deployments and commercial derivatives [3].


Yup.  Lots of old-timers prefer BSD for servers.  I've been thinking of 
migrating myself (I just hate systemd).  Also a lot of OpenSolaris 
derivatives out there.


But... for servers, I'd guess that (open source) Ubuntu & CentOS are 
probably a lot more common.



with hardwares like Dell EMC PowerEdge or Lenovo ThinkCenter which
seems to never mention that they support Debian. What kind of issues 
can I

encounter with such hardwares except simple cases like having to install
missing drivers with some already available firmwares.


You're looking in the wrong place.  Look at the Debian site, for the 
list of supported hardware.  Look at the installation documents for 
driver installation (which is more an issue for peripheral support - is 
there a driver for every device that you plan to install?).





Note: I will need some RAID solution hard or soft.


"Enterprise" implies storage area networks.  This requires hardware 
(and support software).


No, it does not.  Particularly in these days of converged hardware.

RAID is easy - Debian supports a number of software RAID options, and 
most motherboards support some form of hardware RAID (as to many 
external drive enclosures).


Sharing across nodes is easy, too - NFS.

Now, if you want to get fancy, and talk about high-availability, 
failover and such, things get a bit more baroque - we're talking things 
like real-time replication (look at DRBD), and fancy file systems.  And 
things get really tough, if you have multiple sites.  Red Hat has some 
good solutions, out-of-the-box, and last time I looked, they were all 
based on open source components - you could integrate those with CentOS, 
and probably Debian - but it takes a lot of work.


Miles Fidelman

--
In theory, there is no difference between theory and practice.
In practice, there is.   Yogi Berra

Theory is when you know everything but nothing works.
Practice is when everything works but no one knows why.
In our lab, theory and practice are combined:
nothing works and no one knows why.  ... unknown



Re: Advice on hardware server to use for small a dedicated data center

2020-06-28 Thread deloptes
David Christensen wrote:

> There have been 16 responses to your post in the past 36+ hours.  You
> should reply to at least some of them.
> 
> 
> David

Excellent reading (at least for me) even if OP does not reply, it  is not
wasted.

regards



Re: Advice on hardware server to use for small a dedicated data center

2020-06-28 Thread David Christensen

On 2020-06-26 11:34, echo test wrote:

Hello,


Hello. :-)



First of all, please don't ask me why I simply don't want to use aws or gcp.


Even if you do not use their services, you might find it useful to 
emulate them and implement a private cloud.




Then, I want to build a small data center for my company for hosting a web
app and a mail server. It's the first time I'm going to buy some hardware
for this. 


Please specify the architecture of your services, your current 
development/ test/ staging/ production infrastructure and facilities, 
your current workload for each service, your current quality of service 
for each service, and all other relevant details.



Please describe your goals for the new data center in terms of the above.


Please specify your budget and schedule.



I tried looking for it on the web in order to compare them but it
seems that hardware vendors never want to talk about Debian on their
websites.


I suspect they see no financial benefit in doing so.



Seriously, I prefer using my money for donating to the Debian foundation
than having to pay for Ubuntu or Red Hat Enterprise because I love Debian
and ...


Business owners are usually interested in spending their money on things 
that provide a positive "return on investment".




So, I want to know if It's a good idea to try using Debian in an enterprise
context, 


Please define "enterprise context".  (I would define it as thousands of 
employees and even more web hits and e-mail messages per day)



I view Debian as the dominant enthusiast Linux distribution in the USA. 
I use it on my SOHO laptops and desktops because it mostly works on most 
x86/x86_64 computers made in the last ~20 years.  (But, it is common for 
the "stable" version not to work on recently designed hardware.)  I also 
have a Ubiquitti Networks Unifi Controller application stack running on 
a Debian VPS on the Internet ($5/month).  I am the only user and it has 
never failed.  Other people with far more knowledge, skills, and 
ambition do more with Debian, but the effort appears to be both heroic 
and lonely.  I have yet to hear of an "enterprise" environment built on 
Debian, but you can tell us about yours when you build it. (URL's for 
examples of such are welcome.)



I view FreeBSD as the dominant free x86/x86_64 BSD/Unix server 
distribution.  I use it on my SOHO servers because the design is 
traditional, the feel is polished, software packages are recent, and 
there are good books available [1, 2].  FreeBSD has notable enterprise 
deployments and commercial derivatives [3].



I view Ubuntu as the dominant commercial Debian derivative company, Red 
Hat as the dominant USA commercial Linux company, SUSE as the dominant 
German commercial Linux company, and Oracle as the dominant commercial 
Unix company.  If I ran an enterprise data center on Unix or Unix-like 
computers, I would find the following characteristics of these 
commercial offerings to be very appealing:


1.  Configuration management, quality assurance, and documentation.

2.  Hardware and software certification/ integration (notably Oracle).

3.  Technical support and consulting.

4.  Personnel training and certification.



with hardwares like Dell EMC PowerEdge or Lenovo ThinkCenter which
seems to never mention that they support Debian. What kind of issues can I
encounter with such hardwares except simple cases like having to install
missing drivers with some already available firmwares.


If you use a commercial OS, certified hardware, and certified software, 
you should never experience compatibility issues.  If you do find an 
issue, you make the vendor fix it (or fire them and hire another vendor).




Can you give me some alternative hardwares in case this idea may take me to
much time to solve ?


I have a Dell PowerEdge T30 and do not recall any issues with Debian 9. 
(But the fact that Dell disabled the M.2 NVMe port in the firmware does 
irritate me.)



I have had good luck with Antec cases; Thermaltake power supplies, Intel 
motherboards, network interfaces, and solid-state drives; and Seagate 
hard disk drives.




Note: I will need some RAID solution hard or soft.


"Enterprise" implies storage area networks.  This requires hardware (and 
support software).



Drives and/or racks with dual interfaces require hardware (and support 
software).



Hardware RAID (and support software) should give you the best I/O 
performance and least CPU load, but implies locking you into the 
vendor's way of doing things.



Software RAID gives you the most control and flexibility, but impacts 
I/O performance and CPU load.




Sorry if my English is bad, it's not my mother language.


Your English is fine.



Thank you.


You're welcome.  :-)


There have been 16 responses to your post in the past 36+ hours.  You 
should reply to at least some of them.



David



[1] 

Re: Advice on hardware server to use for small a dedicated data center

2020-06-27 Thread Miles Fidelman



On 6/27/20 11:56 PM, Kenneth Parker wrote:



On Sat, Jun 27, 2020, 8:08 PM Fred > wrote:


On 6/27/20 1:04 PM, Miles Fidelman wrote:
> I've had good luck with Supermicro 1U servers - run two or more
of them
> and it's easy to turn them into a high-available cluster.
> https://www.rackmountsetc.com/ has been pretty good to me when
it comes
> to configuring & assembling Supermicro components (and suggesting
> specific configurations).  You might also look into Ganeti as a
cluster
> management package (open source, originated at google for internal
> use).  Same horsepower & quality as a Dell or HP server, at a
> considerably lower price.
>
> I've been running Debian this way, in a data center, for at least a
> decade. (Note:  I'm seriously considering migrating from Debian
for our
> next refresh - I really don't like systemd - might go all the
way to BSD
> or an OpenSolaris distro.)
>
> One other alternative:   A lot of people seem to swear by Mac
Minis as
> servers.  They're already BSD under the hood, and I've run all
kinds of
> Linux distros on Macs, under virtualization.  You should be able
to run
> Debian directly, though I've never tried it.
>
> Miles Fidelman
>
>
> On 6/26/2020 1:34 PM, echo test wrote:
>>> Hello,
>>>
>>> First of all, please don't ask me why I simply don't want to
use aws
>>> or gcp.
>>>
>>> Then, I want to build a small data center for my company for
hosting
>>> a web app and a mail server. It's the first time I'm going to buy
>>> some hardware for this. I tried looking for it on the web in
order to
>>> compare them but it seems that hardware vendors never want to
talk
>>> about Debian on their websites.
>>>
>>> Seriously, I prefer using my money for donating to the Debian
>>> foundation than having to pay for Ubuntu or Red Hat Enterprise
>>> because I love Debian and ...
>>>
>>> So, I want to know if It's a good idea to try using Debian in an
>>> enterprise context, with hardwares like Dell EMC PowerEdge or
Lenovo
>>> ThinkCenter which seems to never mention that they support
Debian.
>>> What kind of issues can I encounter with such hardwares except
simple
>>> cases like having to install missing drivers with some already
>>> available firmwares.
>>>
>>> Can you give me some alternative hardwares in case this idea
may take
>>> me to much time to solve ?
>>>
>>> Note: I will need some RAID solution hard or soft.
>>>
>>> Sorry if my English is bad, it's not my mother language
>>>
>>> Thank you.
>
To Miles Fidelman:
Devuan Linux is Debian with all traces of systemd removed.


+1

I run, both Devuan and Debian, on my multiple systems in my Apartment, 
with the idea of being conversant on both Technologies.


Best regards,
Fred


Kenneth Parker


Yes... but what ARE those systems, and how do they apply to the original 
poster's question?


Miles



--
In theory, there is no difference between theory and practice.
In practice, there is.   Yogi Berra

Theory is when you know everything but nothing works.
Practice is when everything works but no one knows why.
In our lab, theory and practice are combined:
nothing works and no one knows why.  ... unknown



Re: Advice on hardware server to use for small a dedicated data center

2020-06-27 Thread Kenneth Parker
On Sat, Jun 27, 2020, 8:08 PM Fred  wrote:

> On 6/27/20 1:04 PM, Miles Fidelman wrote:
> > I've had good luck with Supermicro 1U servers - run two or more of them
> > and it's easy to turn them into a high-available cluster.
> > https://www.rackmountsetc.com/ has been pretty good to me when it comes
> > to configuring & assembling Supermicro components (and suggesting
> > specific configurations).  You might also look into Ganeti as a cluster
> > management package (open source, originated at google for internal
> > use).  Same horsepower & quality as a Dell or HP server, at a
> > considerably lower price.
> >
> > I've been running Debian this way, in a data center, for at least a
> > decade. (Note:  I'm seriously considering migrating from Debian for our
> > next refresh - I really don't like systemd - might go all the way to BSD
> > or an OpenSolaris distro.)
> >
> > One other alternative:   A lot of people seem to swear by Mac Minis as
> > servers.  They're already BSD under the hood, and I've run all kinds of
> > Linux distros on Macs, under virtualization.  You should be able to run
> > Debian directly, though I've never tried it.
> >
> > Miles Fidelman
> >
> >
> > On 6/26/2020 1:34 PM, echo test wrote:
> >>> Hello,
> >>>
> >>> First of all, please don't ask me why I simply don't want to use aws
> >>> or gcp.
> >>>
> >>> Then, I want to build a small data center for my company for hosting
> >>> a web app and a mail server. It's the first time I'm going to buy
> >>> some hardware for this. I tried looking for it on the web in order to
> >>> compare them but it seems that hardware vendors never want to talk
> >>> about Debian on their websites.
> >>>
> >>> Seriously, I prefer using my money for donating to the Debian
> >>> foundation than having to pay for Ubuntu or Red Hat Enterprise
> >>> because I love Debian and ...
> >>>
> >>> So, I want to know if It's a good idea to try using Debian in an
> >>> enterprise context, with hardwares like Dell EMC PowerEdge or Lenovo
> >>> ThinkCenter which seems to never mention that they support Debian.
> >>> What kind of issues can I encounter with such hardwares except simple
> >>> cases like having to install missing drivers with some already
> >>> available firmwares.
> >>>
> >>> Can you give me some alternative hardwares in case this idea may take
> >>> me to much time to solve ?
> >>>
> >>> Note: I will need some RAID solution hard or soft.
> >>>
> >>> Sorry if my English is bad, it's not my mother language
> >>>
> >>> Thank you.
> >
> To Miles Fidelman:
> Devuan Linux is Debian with all traces of systemd removed.
>

+1

I run, both Devuan and Debian, on my multiple systems in my Apartment, with
the idea of being conversant on both Technologies.

Best regards,
> Fred
>

Kenneth Parker

>


Re: Advice on hardware server to use for small a dedicated data center

2020-06-27 Thread Fred

On 6/27/20 1:04 PM, Miles Fidelman wrote:
I've had good luck with Supermicro 1U servers - run two or more of them 
and it's easy to turn them into a high-available cluster. 
https://www.rackmountsetc.com/ has been pretty good to me when it comes 
to configuring & assembling Supermicro components (and suggesting 
specific configurations).  You might also look into Ganeti as a cluster 
management package (open source, originated at google for internal 
use).  Same horsepower & quality as a Dell or HP server, at a 
considerably lower price.


I've been running Debian this way, in a data center, for at least a 
decade. (Note:  I'm seriously considering migrating from Debian for our 
next refresh - I really don't like systemd - might go all the way to BSD 
or an OpenSolaris distro.)


One other alternative:   A lot of people seem to swear by Mac Minis as 
servers.  They're already BSD under the hood, and I've run all kinds of 
Linux distros on Macs, under virtualization.  You should be able to run 
Debian directly, though I've never tried it.


Miles Fidelman


On 6/26/2020 1:34 PM, echo test wrote:

Hello,

First of all, please don't ask me why I simply don't want to use aws 
or gcp.


Then, I want to build a small data center for my company for hosting 
a web app and a mail server. It's the first time I'm going to buy 
some hardware for this. I tried looking for it on the web in order to 
compare them but it seems that hardware vendors never want to talk 
about Debian on their websites.


Seriously, I prefer using my money for donating to the Debian 
foundation than having to pay for Ubuntu or Red Hat Enterprise 
because I love Debian and ...


So, I want to know if It's a good idea to try using Debian in an 
enterprise context, with hardwares like Dell EMC PowerEdge or Lenovo 
ThinkCenter which seems to never mention that they support Debian. 
What kind of issues can I encounter with such hardwares except simple 
cases like having to install missing drivers with some already 
available firmwares.


Can you give me some alternative hardwares in case this idea may take 
me to much time to solve ?


Note: I will need some RAID solution hard or soft.

Sorry if my English is bad, it's not my mother language

Thank you.



To Miles Fidelman:
Devuan Linux is Debian with all traces of systemd removed.
Best regards,
Fred



Re: Advice on hardware server to use for small a dedicated data center

2020-06-27 Thread Dan Ritter
Miles Fidelman wrote: 
> One other alternative: A lot of people seem to swear by Mac Minis as
> servers.?? They're already BSD under the hood, and I've run all kinds of
> Linux distros on Macs, under virtualization.?? You should be able to run
> Debian directly, though I've never tried it.

I don't recommend them.

They are not designed for good airflow. They use laptop CPUs. In
the last few generations, they have no replaceable parts -- no
RAM changes, no SSD replacements.

(Technically you can replace the RAM on a 2018 or 2020. It's a
20-step procedure to get to "take the RAM out" and then the same
in reverse, all the while dealing with several sizes of tiny
screws and fragile components. If you already have one, it might 
be worthwhile, but I wouldn't want to plan on it.)

-dsr-



Re: Advice on hardware server to use for small a dedicated data center

2020-06-27 Thread Miles Fidelman
I've had good luck with Supermicro 1U servers - run two or more of them 
and it's easy to turn them into a high-available cluster. 
https://www.rackmountsetc.com/ has been pretty good to me when it comes 
to configuring & assembling Supermicro components (and suggesting 
specific configurations).  You might also look into Ganeti as a cluster 
management package (open source, originated at google for internal 
use).  Same horsepower & quality as a Dell or HP server, at a 
considerably lower price.


I've been running Debian this way, in a data center, for at least a 
decade. (Note:  I'm seriously considering migrating from Debian for our 
next refresh - I really don't like systemd - might go all the way to BSD 
or an OpenSolaris distro.)


One other alternative:   A lot of people seem to swear by Mac Minis as 
servers.  They're already BSD under the hood, and I've run all kinds of 
Linux distros on Macs, under virtualization.  You should be able to run 
Debian directly, though I've never tried it.


Miles Fidelman


On 6/26/2020 1:34 PM, echo test wrote:

Hello,

First of all, please don't ask me why I simply don't want to use aws 
or gcp.


Then, I want to build a small data center for my company for hosting 
a web app and a mail server. It's the first time I'm going to buy 
some hardware for this. I tried looking for it on the web in order to 
compare them but it seems that hardware vendors never want to talk 
about Debian on their websites.


Seriously, I prefer using my money for donating to the Debian 
foundation than having to pay for Ubuntu or Red Hat Enterprise 
because I love Debian and ...


So, I want to know if It's a good idea to try using Debian in an 
enterprise context, with hardwares like Dell EMC PowerEdge or Lenovo 
ThinkCenter which seems to never mention that they support Debian. 
What kind of issues can I encounter with such hardwares except simple 
cases like having to install missing drivers with some already 
available firmwares.


Can you give me some alternative hardwares in case this idea may take 
me to much time to solve ?


Note: I will need some RAID solution hard or soft.

Sorry if my English is bad, it's not my mother language

Thank you.


--
In theory, there is no difference between theory and practice.
In practice, there is.   Yogi Berra

Theory is when you know everything but nothing works.
Practice is when everything works but no one knows why.
In our lab, theory and practice are combined:
nothing works and no one knows why.  ... unknown



Re: Advice on hardware server to use for small a dedicated data center

2020-06-27 Thread Andrei POPESCU
On Sb, 27 iun 20, 12:00:58, Andrei POPESCU wrote:
> On Vi, 26 iun 20, 20:34:07, echo test wrote:
> > Hello,
> > 
> > First of all, please don't ask me why I simply don't want to use aws or gcp.
> > 
> > Then, I want to build a small data center for my company for hosting a web
> > app and a mail server. It's the first time I'm going to buy some hardware
> > for this. I tried looking for it on the web in order to compare them but it
> > seems that hardware vendors never want to talk about Debian on their
> > websites.
> 
> "small" could be anything from 10 to 1000 users. Mentioning some numbers 
> could get you more useful recommendations.
> 
> In any case, some interesting hardware not mentioned so far (don't 
> forget about the power consumption).
> 
> https://www.debian.org/News/2020/20200616
> https://www.pine64.org/2020/06/05/rockpro64-cluster-move-june-5-10/

Forgot to mention these
http://macchiatobin.net/product/macchiatobin-single-shot/
http://macchiatobin.net/product/macchiatobin-double-shot/

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Re: Advice on hardware server to use for small a dedicated data center

2020-06-27 Thread Andrei POPESCU
On Vi, 26 iun 20, 20:34:07, echo test wrote:
> Hello,
> 
> First of all, please don't ask me why I simply don't want to use aws or gcp.
> 
> Then, I want to build a small data center for my company for hosting a web
> app and a mail server. It's the first time I'm going to buy some hardware
> for this. I tried looking for it on the web in order to compare them but it
> seems that hardware vendors never want to talk about Debian on their
> websites.

"small" could be anything from 10 to 1000 users. Mentioning some numbers 
could get you more useful recommendations.

In any case, some interesting hardware not mentioned so far (don't 
forget about the power consumption).

https://www.debian.org/News/2020/20200616
https://www.pine64.org/2020/06/05/rockpro64-cluster-move-june-5-10/

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Re: Advice on hardware server to use for small a dedicated data center

2020-06-27 Thread Leslie Rhorer
	Your English is excellent.  I think Debian is a very good choice for a 
small enterprise server.  With a very limited set of servers as you 
mention here, I would not expect many issues, and stability is a 
hallmark of Debian.  Personally, I would go with a quality HBA from 
Areca or LSI in JBOD mode and then create and manage the array with 
mdadm.  I have been burned more than once with hardware RAID solutions.


On 6/26/2020 1:34 PM, echo test wrote:

Hello,

First of all, please don't ask me why I simply don't want to use aws or gcp.

Then, I want to build a small data center for my company for hosting a 
web app and a mail server. It's the first time I'm going to buy some 
hardware for this. I tried looking for it on the web in order to compare 
them but it seems that hardware vendors never want to talk about Debian 
on their websites.


Seriously, I prefer using my money for donating to the Debian foundation 
than having to pay for Ubuntu or Red Hat Enterprise because I love 
Debian and ...


So, I want to know if It's a good idea to try using Debian in an 
enterprise context, with hardwares like Dell EMC PowerEdge or Lenovo 
ThinkCenter which seems to never mention that they support Debian. What 
kind of issues can I encounter with such hardwares except simple cases 
like having to install missing drivers with some already available 
firmwares.


Can you give me some alternative hardwares in case this idea may take me 
to much time to solve ?


Note: I will need some RAID solution hard or soft.

Sorry if my English is bad, it's not my mother language

Thank you.




Re: Advice on hardware server to use for small a dedicated data center

2020-06-26 Thread ghe




‐‐‐ Original Message ‐‐‐
On Friday, June 26, 2020 12:34 PM, echo test  wrote:

> Then, I want to build a small data center for my company for hosting 
a web app and a mail server. It's the first time I'm going to buy some 
hardware for this. I tried looking for it on the web in order to compare 
them but it seems that hardware vendors never want to talk about Debian 
on their websites.


Well, this might be heresy, but at that size, consider a Raspberry Pi 
running Raspian (Debian (sorta) recompiled for its CPU -- questions are 
accepted on this list).


I'm on a T1, and I've been running them as Internet servers for almost a 
decade (replaced a genuine server). I suspect you could do RAID with a 
couple USB drives, and you could get the Ethernet ports you're looking 
for with a 4-hole switch.


I use a 3+ because I want to give the 4 a couple years to get its 
hardware and software debugged. The disadvantage of the 3+ is the 100M 
Ethernet speed (the 4 claims 1G, but I doubt it). Check the speed of 
your 'Net connection. 100M is plenty fast for most installations.


Keep a spare on hand, ready to replace the server when #1 dies. But I've 
been using them for years, on a good UPS, with no probs at all.


--
Glenn English



Re: Advice on hardware server to use for small a dedicated data center

2020-06-26 Thread Reco
Hi.

On Fri, Jun 26, 2020 at 04:43:15PM -0400, Dan Ritter wrote:
> > > Note: I will need some RAID solution hard or soft.
> > 
> > Anything that's made by LSI if you need a hardware RAID controller.
> > Mdraid if whatever they sold you is not made by LSI.
> 
> Counterpoint: mdadm on LSI controllers flashed to "IT" mode,
> i.e. just give all the disks to mdadm.

That's something one should do for these Adaptecs :) And that thing they
are putting into Proliants instead of the RAID controller.
If it's fast *and* does not drop disks from the array for no reason (HP,
I'm looking at you here) - stick with hardware RAID, always said that.
YMMV.
Your approach gives portability, nothing wrong with that.


> LSI controllers are fast but have a ridiculous control
> interface.

I agree with you. MEGACli was designed for Matrians, and storcli can be
hardly called an improvement over it. But at least you can monitor
separate disks via smartd/smartctl, so it's not that bad.

Reco



Re: Advice on hardware server to use for small a dedicated data center

2020-06-26 Thread Dan Ritter
Reco wrote: 
>   Hi.
> 
> On Fri, Jun 26, 2020 at 08:34:07PM +0200, echo test wrote:
> > So, I want to know if It's a good idea to try using Debian in an enterprise
> > context, with hardwares like Dell EMC PowerEdge or Lenovo ThinkCenter which
> > seems to never mention that they support Debian.
> 
> I'll be original here. Try SunFire X-series (aka SunServer X). Somewhat
> costly, and the hardware quality is a hit or miss in newer models, but
> runs Debian stable like it was designed for it.
> 
> 
> > Note: I will need some RAID solution hard or soft.
> 
> Anything that's made by LSI if you need a hardware RAID controller.
> Mdraid if whatever they sold you is not made by LSI.

Counterpoint: mdadm on LSI controllers flashed to "IT" mode,
i.e. just give all the disks to mdadm.

LSI controllers are fast but have a ridiculous control
interface.

-dsr-



Re: Advice on hardware server to use for small a dedicated data center

2020-06-26 Thread ghe2001
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256






‐‐‐ Original Message ‐‐‐
On Friday, June 26, 2020 12:34 PM, echo test  wrote:

> Then, I want to build a small data center for my company for hosting a web 
> app and a mail server. It's the first time I'm going to buy some hardware for 
> this. I tried looking for it on the web in order to compare them but it seems 
> that hardware vendors never want to talk about Debian on their websites. 

Well, this might be heresy, but at that size, consider a Raspberry Pi running 
Raspian (Debian (sorta) recompiled for its CPU -- questions are accepted on 
this list). 

I'm on a T1, and I've been running them as Internet servers for almost a decade 
(replaced a genuine server). I suspect you could do RAID with a couple USB 
drives, and you could get the Ethernet ports you're looking for with a 4-hole 
switch.

I use a 3+ because I want to give the 4 a couple years to get its hardware and 
software debugged. The disadvantage of the 3+ is the 100M Ethernet speed (the 4 
claims 1G, but I doubt it). Check the speed of your 'Net connection. 100M is 
plenty fast for most installations.

Keep a spare on hand, ready to replace the server when #1 dies. But I've been 
using them for years, on a good UPS, with no probs at all.

--
Glenn English


-BEGIN PGP SIGNATURE-
Version: ProtonMail

wsBcBAEBCAAGBQJe9lWvAAoJEJ/XhjGCrIwyw/AIALmPVZ1FIpYW023wC2Be
zAON+RSq5kAvfx//Qyjsr/6e9WsFzJtgTGDE0nrrLoaeHriyRjD4AFVKD5qh
nvzIxe+J/J7XYYQABpGYxISRqm8EA5YKAzOHxNceNJBF43E8Wi3BNbVxRd3x
yhrAgge2RC4ngjEpVopKGQMKALxnKD9sz4PndX6nEsAvWpxPqF+Dp9n7gYhC
FVIekMJRlqd5N6x7hnncBZY6rO0gRajnB43Xug4aHxEI7R2u1cGebCljBOv0
am2h9gOpzeRcECDvbbe5fZt7Rtgv5RODkQtS+5jyzney4vapSplm77NeWhgQ
kBpCP8vXTm3HQ9Qrdqud4Mc=
=MAA7
-END PGP SIGNATURE-



Re: Advice on hardware server to use for small a dedicated data center

2020-06-26 Thread Reco
Hi.

On Fri, Jun 26, 2020 at 08:34:07PM +0200, echo test wrote:
> So, I want to know if It's a good idea to try using Debian in an enterprise
> context, with hardwares like Dell EMC PowerEdge or Lenovo ThinkCenter which
> seems to never mention that they support Debian.

I'll be original here. Try SunFire X-series (aka SunServer X). Somewhat
costly, and the hardware quality is a hit or miss in newer models, but
runs Debian stable like it was designed for it.


> Note: I will need some RAID solution hard or soft.

Anything that's made by LSI if you need a hardware RAID controller.
Mdraid if whatever they sold you is not made by LSI.

Reco



Re: Advice on hardware server to use for small a dedicated data center

2020-06-26 Thread Nicholas Geovanis
On Fri, Jun 26, 2020, 2:41 PM Dan Ritter  wrote:

> echo test wrote:
> > Then, I want to build a small data center for my company for hosting a
> web
> > app and a mail server. It's the first time I'm going to buy some hardware
> > for this. I tried looking for it on the web in order to compare them but
> it
> > seems that hardware vendors never want to talk about Debian on their
> > websites.
>
> > So, I want to know if It's a good idea to try using Debian in an
> enterprise
> > context, with hardwares like Dell EMC PowerEdge or Lenovo ThinkCenter
> which
> > seems to never mention that they support Debian. What kind of issues can
> I
> > encounter with such hardwares except simple cases like having to install
> > missing drivers with some already available firmwares.
> >
> > Can you give me some alternative hardwares in case this idea may take me
> to
> > much time to solve ?
>
> My employer runs more than a hundred Debian servers, mostly on
> Supermicro hardware, but some HP as well.
>
> We have very few hardware problems.
>

Ditto. Ive worked for firms that run hundreds of Debian servers on hardware
and cloud. Both Dell and Lenovo/IBM have supported linux on their hardware
at various times. There is also an IBM Poweredge linux email  list that Im
still on.

> Note: I will need some RAID solution hard or soft.
>
> We are firmly of the opinion that mdadm or ZFS are the best
> solutions here.
>

I prefer ZFS but I find that lots of corps prefer mdadm. I really think
that's simply because ZFS came from Sun and they lack Solaris backgrounds.
Now, in a low-RAM environment with simpler disc needs, I would probably go
with mdadm. Anything else I would choose ZFS. It's ability to take care of
itself is surprisingly strong. Less work for me after the set up and
installation.

-dsr-
>
>


Re: Advice on hardware server to use for small a dedicated data center

2020-06-26 Thread deloptes
Hi,
I can only share what I did when taking similar decision

echo test wrote:

> So, I want to know if It's a good idea to try using Debian in an
> enterprise context, with hardwares like Dell EMC PowerEdge or Lenovo
> ThinkCenter which seems to never mention that they support Debian. What
> kind of issues can I encounter with such hardwares except simple cases
> like having to install missing drivers with some already available
> firmwares.
> 

I decided to not spend money on server hardware (data volume and load are
really minimal), because this hardware is 
a) more expensive than desktop hardware
b) it consumes more power (costs more)

Of course it depends on your use case - you mention webapp server - this
means 
a) at least enough broadband - and I mean professional quality (up/down)
b) also probably you need a backup line - good to check when ordering
c) calculate load/capacity and compare cost between desktop and server
solution

> Can you give me some alternative hardwares in case this idea may take me
> to much time to solve ?
> 

When you answer the questions above and probably other questions that pop up
you will have found the answer here.

> Note: I will need some RAID solution hard or soft.

I use LSI cards on ASUS M5A97 EVO R2.0 with 3.4GHz CPU and 32GB RAM. Problem
is these LSI cards are 3Gbps with WD RED, which is sufficient for me, but
if it were to serve 1000 web requests per minute, I believe it would die.
There are faster cards on the market recently, but the point is you need
definitely two (for redundancy). Think always about redundancy. I would buy
also 2 servers and make a plan regarding disaster recovery. I have RAID1
and RAID6 in use. 
What is better for you, you decide alone. Good Servers cost around 2-3K -
make it double(for redundancy), rack, pdus, ups, air conditioning, switch
and firewall belongs in the basket - 10K to start with at pro level.
All depends on the numbers. My solution cost 3.8K in 2012 - and it is not
the pro one - but never regret it.

Alternatively you can consider renting a server or server space for your own
hardware in professional data center - could be better option (will save
you the troubles with the power supply and air conditioning) - again
depends on costs and calculations.

Another alternative would be to buy second hand - but again buy redundant.

As for pro hardware, I had good experience with HP DL360 and 380 and
PowerEdge (different models).
I think all of them are good.

I hope it helps - regards




Re: Advice on hardware server to use for small a dedicated data center

2020-06-26 Thread Dan Ritter
echo test wrote: 
> Then, I want to build a small data center for my company for hosting a web
> app and a mail server. It's the first time I'm going to buy some hardware
> for this. I tried looking for it on the web in order to compare them but it
> seems that hardware vendors never want to talk about Debian on their
> websites.

> So, I want to know if It's a good idea to try using Debian in an enterprise
> context, with hardwares like Dell EMC PowerEdge or Lenovo ThinkCenter which
> seems to never mention that they support Debian. What kind of issues can I
> encounter with such hardwares except simple cases like having to install
> missing drivers with some already available firmwares.
> 
> Can you give me some alternative hardwares in case this idea may take me to
> much time to solve ?

My employer runs more than a hundred Debian servers, mostly on
Supermicro hardware, but some HP as well.

We have very few hardware problems.

> Note: I will need some RAID solution hard or soft.

We are firmly of the opinion that mdadm or ZFS are the best
solutions here.

To give an idea of what you might buy:

a firewall/router
a switch
a load-balancer
2 web servers
a database server
a mail server
a general utility box with lots of storage to handle backups

All of those duties except the switch can reasonable be run on
Debian servers. 

a firewall/router - nftables. You will want at least 3 ethernet
  ports. CPU is not usually an issue. RAM is never an issue.
  Disk space can be tiny.

a load-balancer - ldirectord, or haproxy, or possibly nginx. You
  won't need much CPU unless you run SSL on nginx. You won't
  need very much RAM, or disk space.

2 web servers - nginx or apache or whatever makes your
  developers happy. These probably need CPU and a fair amount of
  RAM, but not much disk space

a database server - postgresql. This will be your biggest box,
  with large disk arrays and lots of RAM and fast CPUs.

a mail server - postfix. This might need lots of disk, depending
  on what you're doing, but even a terabyte is actually a
  ridiculous amount of mail storage for a small company.

a general utility box with lots of storage to handle backups -
  on which you might run your DNS server, NTP server, store
  logs, and run borg or rsync backups of the other machines.

You might consider a git server, too.

-dsr-




Re: Advice on Hardware

1998-11-21 Thread Ed Cogburn
Moore, Paul wrote:
 
 I'm thinking of buying a new PC. However, I want to be sure my hardware
 will be supported. I've read the Hardware HOWTO, and I *think* I
 understand it, but there are a number of things I am still concerned
 about:
 
 * The supplier wasn't 100% clear on the exact video card spec - it's a
 Jetway make, using S3 ViRGE chipset. Is this likely to be OK?


Yes, the S3 VIRGE chipset is supported.


 * The video card is an AGP model. All I can find in the HOWTO and the
 XFree86 notes is that some AGP cards work. Will this one??!?


I don't know.  Try going to http://www.xfree86.org and see if they have
anything about your AGP card.


 * The sound card is a Creative Labs PCI 64 card. Is that likely to
 work? It's a plug and pray card - does that cause me problems?


The current stable linux kernels don't have support for PnP.  There is
a package called 'isapnptools' that can initialize PnP cards, but only
on ISA bus cards; yours is a PCI card.  Before giving up, try checking
your computer's BIOS program.  It may be able to initialize PnP cards at
bootup by itself.  My BIOS (AMI) has this feature (which saves me much
grief).


 The rest of the spec seems unlikely to be a problem - Pentium II 333MHz,
 BX 100MHz motherboard, 64M RAM, 4.3G EIDE UDMA disk, 32x CD ROM (IDE).
 Does anybody know of any issues or relevant questions I should ask?


Not sure about the 100mhz motherboard; the rest is no problem.

 
 Thanks in advance,
 
 Paul Moore.
 
 --
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null

-- 
Ed C.


Re: Advice on Hardware

1998-11-21 Thread D'jinnie
:   The current stable linux kernels don't have support for PnP.  There is
:a package called 'isapnptools' that can initialize PnP cards, but only
:on ISA bus cards; yours is a PCI card.  Before giving up, try checking
:your computer's BIOS program.  It may be able to initialize PnP cards at
:bootup by itself.  My BIOS (AMI) has this feature (which saves me much
:grief).

I haven't had any problems getting isapnp to see my PCI sound card...of
course, I can't quite tell if the sound module or isapnp is making it
work, but whatever it is, it does a great job :) I have AMI BIOS as well,
I'm not sure what specific feature it is that initializes sound card, but
don't set the BIOS to think that the OS is PnP compliant or whatever,
because as soon as I did that, nothing worked :(

---
Every program is part of another program, and rarely fits.

D'jinnie/Jinn, encountered on IRC and select MU**. ([EMAIL PROTECTED])
finger [EMAIL PROTECTED] for PGP public key


Re: Advice on Hardware

1998-11-20 Thread Richard Sevenich
No direct advice here - but we can hope in the not too distant future, that
your vendor will preinstall linux and the hardware compatibility burden will
be his.
Make sure the modem is not a winmodem.
Richard


Re: Advice on Hardware

1998-11-20 Thread Alexander Kushnirenko
Hi, Paul!

General comment - ask your supplier to provide specs :) 

 * The supplier wasn't 100% clear on the exact video card spec - it's a
 Jetway make, using S3 ViRGE chipset. Is this likely to be OK?

Yes, it should be OK.

 * The video card is an AGP model. All I can find in the HOWTO and the
 XFree86 notes is that some AGP cards work. Will this one??!?

Sorry, no experience here.

 * The sound card is a Creative Labs PCI 64 card. Is that likely to
 work? It's a plug and pray card - does that cause me problems?

It looks like Sound Blaster from Creative Labs.  Should work perfectly.

 The rest of the spec seems unlikely to be a problem - Pentium II 333MHz,
 BX 100MHz motherboard, 64M RAM, 4.3G EIDE UDMA disk, 32x CD ROM (IDE).

Looks just fine.

 Does anybody know of any issues or relevant questions I should ask?

Some companies have smart guys who can directly answer Linux compatibility 
questions.

 
 Thanks in advance,
 
 Paul Moore.
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null