Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Are you perchance running on a 64-bit machine? -- Larry Wall in <199711102149.NAA16878@wall.org>


computers / comp.mail.sendmail / Re: Sendmail server as Oracle KVM cluster guest

SubjectAuthor
* Sendmail server as Oracle KVM cluster guestDavid Carvalho
`* Re: Sendmail server as Oracle KVM cluster guestGrant Taylor
 `* Re: Sendmail server as Oracle KVM cluster guestJ.O. Aho
  `* Re: Sendmail server as Oracle KVM cluster guestGrant Taylor
   `* Re: Sendmail server as Oracle KVM cluster guestDavid Carvalho
    `* Re: Sendmail server as Oracle KVM cluster guestJ.O. Aho
     `* Re: Sendmail server as Oracle KVM cluster guestGrant Taylor
      `* Re: Sendmail server as Oracle KVM cluster guestJ.O. Aho
       `- Re: Sendmail server as Oracle KVM cluster guestGrant Taylor

1
Sendmail server as Oracle KVM cluster guest

<41e03fb6-1e43-4dcf-8a41-6d868afe38f6n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=351&group=comp.mail.sendmail#351

  copy link   Newsgroups: comp.mail.sendmail
X-Received: by 2002:ae9:eb54:: with SMTP id b81mr4954706qkg.747.1641479397438;
Thu, 06 Jan 2022 06:29:57 -0800 (PST)
X-Received: by 2002:a25:aa73:: with SMTP id s106mr8827318ybi.271.1641479397141;
Thu, 06 Jan 2022 06:29:57 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.mail.sendmail
Date: Thu, 6 Jan 2022 06:29:56 -0800 (PST)
Injection-Info: google-groups.googlegroups.com; posting-host=193.136.66.6; posting-account=lPUUpQoAAADhz_V7iGPpSER4oh1ljgcR
NNTP-Posting-Host: 193.136.66.6
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <41e03fb6-1e43-4dcf-8a41-6d868afe38f6n@googlegroups.com>
Subject: Sendmail server as Oracle KVM cluster guest
From: davidamc...@gmail.com (David Carvalho)
Injection-Date: Thu, 06 Jan 2022 14:29:57 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 21
 by: David Carvalho - Thu, 6 Jan 2022 14:29 UTC

Hi and happy new year.
I manage a Sendmail server running in an Oracle Linux 6 (old hardware), which also manages some mailing lists. This server deals with about 5300 e-mails daily and has been very reliable throughout these years.

Being concerned about the aging server and constant budget restrictions on this particular department, I don't predict to replace this server any time soon. However, eventually I could some used but reliable servers and virtualize them with Oracle KVM, as I have some experience with the previous oracle VM manager technology.

I know that in a High Availability environment VMs should use shared storage to allow live migrations, etc.

Not expecting Live Migrations, my question is if it is possible/recommended to run a sendmail VM with local storage, in such environment. If by any chance one of these servers running the Oracle KVM would fault, I guess it would be relatively easy to migrate it to another server, with a recent backup, expecting some lost e-mails from the previous hours.
Does anyone run Sendmail this way or in a cluster?

Thanks and regards.

Re: Sendmail server as Oracle KVM cluster guest

<sr7hqd$25r$1@tncsrv09.home.tnetconsulting.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=352&group=comp.mail.sendmail#352

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!rocksolid2!i2pn.org!weretis.net!feeder6.news.weretis.net!tncsrv06.tnetconsulting.net!tncsrv09.home.tnetconsulting.net!.POSTED.alpha.home.tnetconsulting.net!not-for-mail
From: gtay...@tnetconsulting.net (Grant Taylor)
Newsgroups: comp.mail.sendmail
Subject: Re: Sendmail server as Oracle KVM cluster guest
Date: Thu, 6 Jan 2022 13:01:37 -0700
Organization: TNet Consulting
Message-ID: <sr7hqd$25r$1@tncsrv09.home.tnetconsulting.net>
References: <41e03fb6-1e43-4dcf-8a41-6d868afe38f6n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 6 Jan 2022 20:01:17 -0000 (UTC)
Injection-Info: tncsrv09.home.tnetconsulting.net; posting-host="alpha.home.tnetconsulting.net:198.18.18.251";
logging-data="2235"; mail-complaints-to="newsmaster@tnetconsulting.net"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
In-Reply-To: <41e03fb6-1e43-4dcf-8a41-6d868afe38f6n@googlegroups.com>
Content-Language: en-US
 by: Grant Taylor - Thu, 6 Jan 2022 20:01 UTC

On 1/6/22 7:29 AM, David Carvalho wrote:
> Hi and happy new year.

Hi,

> I manage a Sendmail server running in an Oracle Linux 6 (old hardware),

Isn't Oracle Linux based on RHEL 6 / CentOS 6? I believe that's quite
old software too. -- I think that I'd be more worried about the old
software than I would be about the old hardware.

> which also manages some mailing lists.

What does "mailing list" mean in this context? Sendmail alias /
expansions? A mailing list manager, e.g. Mailman? Something else?

> This server deals with about 5300 e-mails daily and has been very
> reliable throughout these years.

That seems like a relatively small, thus not difficult to handle, mail
load. I've got a small VPS (1 vCPU / 2 GB RAM) that's running 20k ± 5k
a day through Sendmail, ClamAV, SpamAssassin, and multiple other
milters, all with no problem.

> Being concerned about the aging server and constant budget restrictions
> on this particular department, I don't predict to replace this
> server any time soon.

Virtualizing that system shouldn't be difficult. That would at least
address the /hardware/ aspect. The /software/ concerns still stand.

> However, eventually I could <acquire?> some used but reliable servers
> and virtualize them with Oracle KVM, as I have some experience with
> the previous oracle VM manager technology.

Just about any virtualization technology should work. I'm not familiar
with anything named "Oracle KVM". VirtualBox (from Oracle) or (Linux)
KVM running on Oracle Linux come to mind. But Oracle does have other
things that play in this space.

> I know that in a High Availability environment VMs should use shared
> storage to allow live migrations, etc.

The hosting hypervisors should have access to the same back-end storage.
The guest VMs tend to be considerably simpler and usually only see
what they think is directly attached storage which is not shared with
other VMs.

There are other fancier things that you can do with many MTA, involving
NFS and / or clustered file systems such that various things (mail
queues, end user mail stores, etc.) are shared between systems. This is
more complex.

> Not expecting Live Migrations,

Migrations, live / hot or cold, are a hypervisor issue and not directly
related to Sendmail running in a guest VM.

> my question is if it is possible / recommended to run a sendmail
> VM with local storage, in such environment.

I've been running Sendmail in a VM (from a VPS provider) for myself as
well as Sendmail in multiple different VMs (VMware) for a friend for
more than a decade. Sendmail is none the wiser and perfectly happy to
run in a guest VM.

In some ways I think that running in a guest VM provides some hardware
abstraction and allows you to move between different hardware with fewer
problem / more simply. As a bonus, VMs tend to mean that getting to the
console is more reliable. }:-)

> If by any chance one of these servers running the Oracle KVM would
> fault, I guess it would be relatively easy to migrate it to another
> server, with a recent backup, expecting some lost e-mails from the
> previous hours. Does anyone run Sendmail this way or in a cluster?

I would expect that the hypervisor hosts would have shared storage of
some form so that if a host dies, you can simply power on the guest VM
on one of the surviving hosts. It then becomes tantamount to recovering
from a power failure and the typical file system checks, file
consistency / corruption issues, etc.

If I didn't have the option of shared storage (of some sort), I'd
probably tend to push the redundancy into the guest VM in that I would
want it to have a disk from two different back end storage servers and
rely on software based RAID etc. The idea being that normally the guest
VM sees both of it's disks. In the event of a host failure, the guest
VM would see half of it's disks.

There are a number of ways to do this. It's a mixture of what
technology is used (NFS, iSCSI, etc.) and what layer it's done at (host
and / or guest).

This may actually be a case where the redundancy support adds
considerable bit of complexity. As such, you should seriously evaluate
if the added complexity is worth it or not. I sort of suspect that
adding the redundancy to / at the guest VM level is not worth the
complexity.

If I were to design a redundant stack (for many more messages than
you're talking about) I'd think seriously about multiple VMs (to run the
MTAs) with fairly simple local disk and NFS for shared storage. Have a
redundant NFS infrastructure (this has it's own complications).
Probably use redundant VMs for IMAP / POP3 / etc. accessing client email
store on NFS. There would probably also be Kerberos and LDAP in the
mix. -- This is probably considerable overkill for ~6k messages a day.

> Thanks and regards.

You're welcome.

--
Grant. . . .
unix || die

Re: Sendmail server as Oracle KVM cluster guest

<j3p7o2F1fl2U1@mid.individual.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=353&group=comp.mail.sendmail#353

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: use...@example.net (J.O. Aho)
Newsgroups: comp.mail.sendmail
Subject: Re: Sendmail server as Oracle KVM cluster guest
Date: Thu, 6 Jan 2022 23:11:13 +0100
Lines: 95
Message-ID: <j3p7o2F1fl2U1@mid.individual.net>
References: <41e03fb6-1e43-4dcf-8a41-6d868afe38f6n@googlegroups.com>
<sr7hqd$25r$1@tncsrv09.home.tnetconsulting.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net o9YlN42Pa7N6Rf2HQEKBtw6whYuSX7UjNn04hmn7jX/8m+kKOK
Cancel-Lock: sha1:W9DsC17h3IYNLnS/52jisNU3is0=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.4.1
Content-Language: en-US-large
In-Reply-To: <sr7hqd$25r$1@tncsrv09.home.tnetconsulting.net>
 by: J.O. Aho - Thu, 6 Jan 2022 22:11 UTC

On 06/01/2022 21.01, Grant Taylor wrote:
> On 1/6/22 7:29 AM, David Carvalho wrote:
>> Hi and happy new year.
>
> Hi,
>
>> I manage a Sendmail server running in an Oracle Linux 6 (old hardware),
>
> Isn't Oracle Linux based on RHEL 6 / CentOS 6?  I believe that's quite
> old software too.  --  I think that I'd be more worried about the old
> software than I would be about the old hardware.

It has extended support to July 2024, so there is plenty of time to
migrate to a newer version of another distribution.

Running a VM can make it easier to experiment with dist upgrade.

>> which also manages some mailing lists.
>
> What does "mailing list" mean in this context?  Sendmail alias /
> expansions?  A mailing list manager, e.g. Mailman?  Something else?
>
>> This server deals with about 5300 e-mails daily and has been very
>> reliable throughout these years.
>
> That seems like a relatively small, thus not difficult to handle, mail
> load.  I've got a small VPS (1 vCPU / 2 GB RAM) that's running 20k ± 5k
> a day through Sendmail, ClamAV, SpamAssassin, and multiple other
> milters, all with no problem.
>
>> Being concerned about the aging server and constant budget
>> restrictions on this particular department, I don't predict to replace
>> this server any time soon.
>
> Virtualizing that system shouldn't be difficult.  That would at least
> address the /hardware/ aspect.  The /software/ concerns still stand.
>
>> However, eventually I could <acquire?> some used but reliable servers
>> and virtualize them with Oracle KVM, as I have some experience with
>> the previous oracle VM manager technology.
>
> Just about any virtualization technology should work.  I'm not familiar
> with anything named "Oracle KVM".  VirtualBox (from Oracle) or (Linux)
> KVM running on Oracle Linux come to mind.  But Oracle does have other
> things that play in this space.
>
>> I know that in a High Availability environment VMs should use shared
>> storage to allow live migrations, etc.
>
> The hosting hypervisors should have access to the same back-end storage.
>  The guest VMs tend to be considerably simpler and usually only see
> what they think is directly attached storage which is not shared with
> other VMs.
>
> There are other fancier things that you can do with many MTA, involving
> NFS and / or clustered file systems such that various things (mail
> queues, end user mail stores, etc.) are shared between systems.  This is
> more complex.

NFS has been quite simple to setup and works quite nicely with default
settings for a small MTA, setting up clustering with NFS is a bit more
tricky, I would more look into getting something similar to AWS EFS and
store things there, then it's easy to take snapshots and backups should
be done by the provider. When having the storage in the cloud, why not
just run the VM in the cloud too, so don't have to worry about the hardware.

>> Not expecting Live Migrations,
>
> Migrations, live / hot or cold, are a hypervisor issue and not directly
> related to Sendmail running in a guest VM.
>
>> my question is if it is possible / recommended to run a sendmail VM
>> with local storage, in such environment.
>
> I've been running Sendmail in a VM (from a VPS provider) for myself as
> well as Sendmail in multiple different VMs (VMware) for a friend for
> more than a decade.  Sendmail is none the wiser and perfectly happy to
> run in a guest VM.
>
> In some ways I think that running in a guest VM provides some hardware
> abstraction and allows you to move between different hardware with fewer
> problem / more simply.  As a bonus, VMs tend to mean that getting to the
> console is more reliable.  }:-)

Drawback is when you want to move from one viritulization engine to
another, even if they claim it should work, but they don't always play
ball with each other.

--

//Aho

Re: Sendmail server as Oracle KVM cluster guest

<sr8a2k$o7k$1@tncsrv09.home.tnetconsulting.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=354&group=comp.mail.sendmail#354

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!tncsrv06.tnetconsulting.net!tncsrv09.home.tnetconsulting.net!.POSTED.alpha.home.tnetconsulting.net!not-for-mail
From: gtay...@tnetconsulting.net (Grant Taylor)
Newsgroups: comp.mail.sendmail
Subject: Re: Sendmail server as Oracle KVM cluster guest
Date: Thu, 6 Jan 2022 19:55:16 -0700
Organization: TNet Consulting
Message-ID: <sr8a2k$o7k$1@tncsrv09.home.tnetconsulting.net>
References: <41e03fb6-1e43-4dcf-8a41-6d868afe38f6n@googlegroups.com>
<sr7hqd$25r$1@tncsrv09.home.tnetconsulting.net>
<j3p7o2F1fl2U1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 7 Jan 2022 02:55:16 -0000 (UTC)
Injection-Info: tncsrv09.home.tnetconsulting.net; posting-host="alpha.home.tnetconsulting.net:198.18.18.251";
logging-data="24820"; mail-complaints-to="newsmaster@tnetconsulting.net"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
In-Reply-To: <j3p7o2F1fl2U1@mid.individual.net>
Content-Language: en-US
 by: Grant Taylor - Fri, 7 Jan 2022 02:55 UTC

On 1/6/22 3:11 PM, J.O. Aho wrote:
> It has extended support to July 2024, so there is plenty of time to
> migrate to a newer version of another distribution.

Interesting. Thank you for the clarification.

> Running a VM can make it easier to experiment with dist upgrade.

This is absolute #TRUTH!!!

> NFS has been quite simple to setup and works quite nicely with default
> settings for a small MTA,

*nod*

> setting up clustering with NFS is a bit more tricky,

Yep.

The last time I read Red Hat's best practice on it you were only
supposed to have the clustered file system mounted on one node at a
time. Something about NFS makes things a lot more complicated. I don't
remember the particulars.

> I would more look into getting something similar to AWS EFS and store
> things there, then it's easy to take snapshots and backups should
> be done by the provider. When having the storage in the cloud, why
> not just run the VM in the cloud too, so don't have to worry about
> the hardware.
I guess I'm anti-cloud and want to host things on premises, so *AWS* is
mostly a non-starter for me.

> Drawback is when you want to move from one viritulization engine to
> another, even if they claim it should work, but they don't always play
> ball with each other.

That's where the old venerable methods of doing a full system backup in
the old system (physical or virtual) and then doing a full system
restore in the new system (p or v) comes into play. Thankfully this
isn't that difficult to do with Linux.

--
Grant. . . .
unix || die

Re: Sendmail server as Oracle KVM cluster guest

<5efa4f2b-1919-4729-995a-4df0631f1e5cn@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=355&group=comp.mail.sendmail#355

  copy link   Newsgroups: comp.mail.sendmail
X-Received: by 2002:a05:6214:c21:: with SMTP id a1mr57307256qvd.100.1641547220164;
Fri, 07 Jan 2022 01:20:20 -0800 (PST)
X-Received: by 2002:a25:a245:: with SMTP id b63mr41861230ybi.325.1641547219953;
Fri, 07 Jan 2022 01:20:19 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.mail.sendmail
Date: Fri, 7 Jan 2022 01:20:19 -0800 (PST)
In-Reply-To: <sr8a2k$o7k$1@tncsrv09.home.tnetconsulting.net>
Injection-Info: google-groups.googlegroups.com; posting-host=193.136.66.6; posting-account=lPUUpQoAAADhz_V7iGPpSER4oh1ljgcR
NNTP-Posting-Host: 193.136.66.6
References: <41e03fb6-1e43-4dcf-8a41-6d868afe38f6n@googlegroups.com>
<sr7hqd$25r$1@tncsrv09.home.tnetconsulting.net> <j3p7o2F1fl2U1@mid.individual.net>
<sr8a2k$o7k$1@tncsrv09.home.tnetconsulting.net>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <5efa4f2b-1919-4729-995a-4df0631f1e5cn@googlegroups.com>
Subject: Re: Sendmail server as Oracle KVM cluster guest
From: davidamc...@gmail.com (David Carvalho)
Injection-Date: Fri, 07 Jan 2022 09:20:20 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 62
 by: David Carvalho - Fri, 7 Jan 2022 09:20 UTC

On Friday, January 7, 2022 at 2:55:25 AM UTC, Grant Taylor wrote:
> On 1/6/22 3:11 PM, J.O. Aho wrote:
> > It has extended support to July 2024, so there is plenty of time to
> > migrate to a newer version of another distribution.
> Interesting. Thank you for the clarification.
> > Running a VM can make it easier to experiment with dist upgrade.
> This is absolute #TRUTH!!!
> > NFS has been quite simple to setup and works quite nicely with default
> > settings for a small MTA,
> *nod*
> > setting up clustering with NFS is a bit more tricky,
> Yep.
>
> The last time I read Red Hat's best practice on it you were only
> supposed to have the clustered file system mounted on one node at a
> time. Something about NFS makes things a lot more complicated. I don't
> remember the particulars.
> > I would more look into getting something similar to AWS EFS and store
> > things there, then it's easy to take snapshots and backups should
> > be done by the provider. When having the storage in the cloud, why
> > not just run the VM in the cloud too, so don't have to worry about
> > the hardware.
> I guess I'm anti-cloud and want to host things on premises, so *AWS* is
> mostly a non-starter for me.
> > Drawback is when you want to move from one viritulization engine to
> > another, even if they claim it should work, but they don't always play
> > ball with each other.
> That's where the old venerable methods of doing a full system backup in
> the old system (physical or virtual) and then doing a full system
> restore in the new system (p or v) comes into play. Thankfully this
> isn't that difficult to do with Linux.
> --
> Grant. . . .
> unix || die

Hi!
Thanks for all replies.
Yes, ORCL6 Linux support ended in 2021, extended support (which we don't have) ends in 2024, like J.O mentioned. The hardware might not be fully compatible from the "Preupgrade Assistant analysis report" tool included in ORCL6 Linux...
As I said, I also run an Oracle VM servers and manager with VM disks on NFS on another department. By experience, I know that it works well for most VMs. My doubt was not so much about having /home/user on NFS but /var/mail, intensively read/write. But since they can't afford a NAS or similar, the shared NFS filesystem probably won't be an issue.
As for cloud, we checked prices and there's no way. This is a small public college department, so the budget is more than tight ;)
You mentioned the tricky NFS cluster tricky situation, and that, along with the unavailable funds for NAS, is the main reason I'm more focused to keep the Guest storage local.
Let's see how much they can afford :)
Than you all for your time and input.
Regards
David

Re: Sendmail server as Oracle KVM cluster guest

<j3r2q8Fc4vnU1@mid.individual.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=356&group=comp.mail.sendmail#356

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: use...@example.net (J.O. Aho)
Newsgroups: comp.mail.sendmail
Subject: Re: Sendmail server as Oracle KVM cluster guest
Date: Fri, 7 Jan 2022 15:59:19 +0100
Lines: 72
Message-ID: <j3r2q8Fc4vnU1@mid.individual.net>
References: <41e03fb6-1e43-4dcf-8a41-6d868afe38f6n@googlegroups.com>
<sr7hqd$25r$1@tncsrv09.home.tnetconsulting.net>
<j3p7o2F1fl2U1@mid.individual.net>
<sr8a2k$o7k$1@tncsrv09.home.tnetconsulting.net>
<5efa4f2b-1919-4729-995a-4df0631f1e5cn@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net cy950ywrZYyelgDLeykDWwE/a2kWLi9gcO1oEoN6TLwyQZZGHN
Cancel-Lock: sha1:yS9L0uuHhtCUgfLWKS44AC+a7iI=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.4.1
Content-Language: en-US-large
In-Reply-To: <5efa4f2b-1919-4729-995a-4df0631f1e5cn@googlegroups.com>
 by: J.O. Aho - Fri, 7 Jan 2022 14:59 UTC

On 07/01/2022 10.20, David Carvalho wrote:
> On Friday, January 7, 2022 at 2:55:25 AM UTC, Grant Taylor wrote:
>> On 1/6/22 3:11 PM, J.O. Aho wrote:
>>> It has extended support to July 2024, so there is plenty of time to
>>> migrate to a newer version of another distribution.
>> Interesting. Thank you for the clarification.
>>> Running a VM can make it easier to experiment with dist upgrade.
>> This is absolute #TRUTH!!!
>>> NFS has been quite simple to setup and works quite nicely with default
>>> settings for a small MTA,
>> *nod*
>>> setting up clustering with NFS is a bit more tricky,
>> Yep.
>>
>> The last time I read Red Hat's best practice on it you were only
>> supposed to have the clustered file system mounted on one node at a
>> time. Something about NFS makes things a lot more complicated. I don't
>> remember the particulars.
>>> I would more look into getting something similar to AWS EFS and store
>>> things there, then it's easy to take snapshots and backups should
>>> be done by the provider. When having the storage in the cloud, why
>>> not just run the VM in the cloud too, so don't have to worry about
>>> the hardware.
>> I guess I'm anti-cloud and want to host things on premises, so *AWS* is
>> mostly a non-starter for me.
>>> Drawback is when you want to move from one viritulization engine to
>>> another, even if they claim it should work, but they don't always play
>>> ball with each other.
>> That's where the old venerable methods of doing a full system backup in
>> the old system (physical or virtual) and then doing a full system
>> restore in the new system (p or v) comes into play. Thankfully this
>> isn't that difficult to do with Linux.
>> --
>> Grant. . . .
>> unix || die
>
>
> Hi!
> Thanks for all replies.
> Yes, ORCL6 Linux support ended in 2021, extended support (which we don't have) ends in 2024, like J.O mentioned. The hardware might not be fully compatible from the "Preupgrade Assistant analysis report" tool included in ORCL6 Linux...

If they have a LiveCD version, i would try that one out during your next
maintenance take down of the server, if everything boots and all
hardware is detected, then there shouldn't be any issues to upgrade.
Just remember, a fresh backup before dist upgrade is a good thing to
have, just in case.

> As I said, I also run an Oracle VM servers and manager with VM disks on NFS on another department. By experience, I know that it works well for most VMs. My doubt was not so much about having /home/user on NFS but /var/mail, intensively read/write. But since they can't afford a NAS or similar, the shared NFS filesystem probably won't be an issue.
> As for cloud, we checked prices and there's no way. This is a small public college department, so the budget is more than tight ;)

Alternative could be building up a Ceph cluster (or any other cluster
file system) with old hardware, just see to that have the data
replicated, then it's not that big deal if a node dies. Sure running
loads of old computers will cost electricity, but that may be another
departments head ache. ;)

> You mentioned the tricky NFS cluster tricky situation, and that, along with the unavailable funds for NAS, is the main reason I'm more focused to keep the Guest storage local.
> Let's see how much they can afford :)

I would go to have the storage on the host, this gives you a bit more
flexibility with the VM and not to have to worry about missing mails if
you switch from a VM to another (say you do a successful dist upgrade on
a copy of the VM, then you can just simply share the mail storage from
the host, otherwise you would need to run a backup restore process).

--

//Aho

Re: Sendmail server as Oracle KVM cluster guest

<sr9r51$uof$1@tncsrv09.home.tnetconsulting.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=359&group=comp.mail.sendmail#359

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!tncsrv06.tnetconsulting.net!tncsrv09.home.tnetconsulting.net!.POSTED.alpha.home.tnetconsulting.net!not-for-mail
From: gtay...@tnetconsulting.net (Grant Taylor)
Newsgroups: comp.mail.sendmail
Subject: Re: Sendmail server as Oracle KVM cluster guest
Date: Fri, 7 Jan 2022 09:52:49 -0700
Organization: TNet Consulting
Message-ID: <sr9r51$uof$1@tncsrv09.home.tnetconsulting.net>
References: <41e03fb6-1e43-4dcf-8a41-6d868afe38f6n@googlegroups.com>
<sr7hqd$25r$1@tncsrv09.home.tnetconsulting.net>
<j3p7o2F1fl2U1@mid.individual.net>
<sr8a2k$o7k$1@tncsrv09.home.tnetconsulting.net>
<5efa4f2b-1919-4729-995a-4df0631f1e5cn@googlegroups.com>
<j3r2q8Fc4vnU1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 7 Jan 2022 16:52:49 -0000 (UTC)
Injection-Info: tncsrv09.home.tnetconsulting.net; posting-host="alpha.home.tnetconsulting.net:198.18.18.251";
logging-data="31503"; mail-complaints-to="newsmaster@tnetconsulting.net"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
In-Reply-To: <j3r2q8Fc4vnU1@mid.individual.net>
Content-Language: en-US
 by: Grant Taylor - Fri, 7 Jan 2022 16:52 UTC

On 1/7/22 7:59 AM, J.O. Aho wrote:
> Just remember, a fresh backup before dist upgrade is a good thing to
> have, just in case.

Test that backup too!

Try restoring the backup into a new VM (connected to a different network).

I'm serious about testing. It's much better to learn if a backup is
working or not when you don't actually /need/ it to provide data. If it
works and you can restore the entire system, great! If it doesn't work,
then investigate that as it's own problem.

Aside: I've successfully used the backup & restore method to migrate
Linux machines across different hardware. It's /almost/ my preferred
method to do it.

> Alternative could be building up a Ceph cluster (or any other cluster
> file system) with old hardware, just see to that have the data
> replicated, then it's not that big deal if a node dies.

Hum. I hadn't thought about the likes of Ceph. I'd add that Coda or
AFS could also be a contender here.

> I would go to have the storage on the host, this gives you a bit more
> flexibility with the VM and not to have to worry about missing mails if
> you switch from a VM to another....

Won't that be dependent on the replication between backing stores? Or
am I misunderstanding your recommendation?

--
Grant. . . .
unix || die

Re: Sendmail server as Oracle KVM cluster guest

<j3rngbFg1jaU1@mid.individual.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=361&group=comp.mail.sendmail#361

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: use...@example.net (J.O. Aho)
Newsgroups: comp.mail.sendmail
Subject: Re: Sendmail server as Oracle KVM cluster guest
Date: Fri, 7 Jan 2022 21:52:27 +0100
Lines: 45
Message-ID: <j3rngbFg1jaU1@mid.individual.net>
References: <41e03fb6-1e43-4dcf-8a41-6d868afe38f6n@googlegroups.com>
<sr7hqd$25r$1@tncsrv09.home.tnetconsulting.net>
<j3p7o2F1fl2U1@mid.individual.net>
<sr8a2k$o7k$1@tncsrv09.home.tnetconsulting.net>
<5efa4f2b-1919-4729-995a-4df0631f1e5cn@googlegroups.com>
<j3r2q8Fc4vnU1@mid.individual.net>
<sr9r51$uof$1@tncsrv09.home.tnetconsulting.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net vK0iIMOmhwHefzCks1yFowBwU4+sT43KveilfdxPbFz5shWn/Y
Cancel-Lock: sha1:fur0mlQCpZgOmVIe+jhIUcN6Y0Y=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.4.1
Content-Language: en-US-large
In-Reply-To: <sr9r51$uof$1@tncsrv09.home.tnetconsulting.net>
 by: J.O. Aho - Fri, 7 Jan 2022 20:52 UTC

On 07/01/2022 17.52, Grant Taylor wrote:
> On 1/7/22 7:59 AM, J.O. Aho wrote:
>> Just remember, a fresh backup before dist upgrade is a good thing to
>> have, just in case.
>
> Test that backup too!
>
> Try restoring the backup into a new VM (connected to a different network).
>
> I'm serious about testing.  It's much better to learn if a backup is
> working or not when you don't actually /need/ it to provide data.  If it
> works and you can restore the entire system, great!  If it doesn't work,
> then investigate that as it's own problem.

Yeah, there been some corporations who failed to backup systems
(remember Microsoft's Zune storage update, failed windows update
resulted into a corrupt NAS system and no backup so customers lost their
data)... I know company I worked for (which will not be named) where a
system was backed up each day with a incremental backup, but someone had
delete the initial image to regain space after monitoring system warned
about low on disk on the backup system, when things went wrong in
production and was time to restore data, it kind of failed... I wonder
why ;)

I do recommend backup and then testing the backup, should be tested from
time to time, so a change somewhere don't cause a problem later one.

>> I would go to have the storage on the host, this gives you a bit more
>> flexibility with the VM and not to have to worry about missing mails
>> if you switch from a VM to another....
>
> Won't that be dependent on the replication between backing stores?  Or
> am I misunderstanding your recommendation?

I was just assuming David meant to have the files locally in the VM and
if he was going for that option I thought to store them on the host
instead, not related to the Ceph suggestion earlier.

--

//Aho

Re: Sendmail server as Oracle KVM cluster guest

<srad4p$qtu$1@tncsrv09.home.tnetconsulting.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=362&group=comp.mail.sendmail#362

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!tncsrv06.tnetconsulting.net!tncsrv09.home.tnetconsulting.net!.POSTED.alpha.home.tnetconsulting.net!not-for-mail
From: gtay...@tnetconsulting.net (Grant Taylor)
Newsgroups: comp.mail.sendmail
Subject: Re: Sendmail server as Oracle KVM cluster guest
Date: Fri, 7 Jan 2022 14:59:53 -0700
Organization: TNet Consulting
Message-ID: <srad4p$qtu$1@tncsrv09.home.tnetconsulting.net>
References: <41e03fb6-1e43-4dcf-8a41-6d868afe38f6n@googlegroups.com>
<sr7hqd$25r$1@tncsrv09.home.tnetconsulting.net>
<j3p7o2F1fl2U1@mid.individual.net>
<sr8a2k$o7k$1@tncsrv09.home.tnetconsulting.net>
<5efa4f2b-1919-4729-995a-4df0631f1e5cn@googlegroups.com>
<j3r2q8Fc4vnU1@mid.individual.net>
<sr9r51$uof$1@tncsrv09.home.tnetconsulting.net>
<j3rngbFg1jaU1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 7 Jan 2022 21:59:53 -0000 (UTC)
Injection-Info: tncsrv09.home.tnetconsulting.net; posting-host="alpha.home.tnetconsulting.net:198.18.18.251";
logging-data="27582"; mail-complaints-to="newsmaster@tnetconsulting.net"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
In-Reply-To: <j3rngbFg1jaU1@mid.individual.net>
Content-Language: en-US
 by: Grant Taylor - Fri, 7 Jan 2022 21:59 UTC

On 1/7/22 1:52 PM, J.O. Aho wrote:
> I was just assuming David meant to have the files locally in the VM and
> if he was going for that option I thought to store them on the host
> instead, not related to the Ceph suggestion earlier.

Ya.... What is local to VM / host gets rather nebulous when you start
considering things like Fibre Channel / iSCSI / NBD / etc., are they
remote or local? This applies to both the host hypervisor and the
guest VM level. Thankfully NFS (and other NAS protocols) tend to be
considered remote.

Aside: You can't even really declare that Fibre Channel is remote b/c
there are things like old SUN systems that use Fibre Channel /within/
the main system chassis. }:-)

Then you get into things like the host hypervisor presenting what it
thinks are remote disks to the guest VM which thinks they are directly
attached to it's local SCSI / IDE bus. ;-)

--
Grant. . . .
unix || die

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor