All of lore.kernel.org
 help / color / mirror / Atom feed
* [dm-crypt] LUKS in failover cluster
@ 2011-10-08  0:54 Sohl, Jacob (LNG-SEA)
  2011-10-08  4:52 ` Arno Wagner
  0 siblings, 1 reply; 9+ messages in thread
From: Sohl, Jacob (LNG-SEA) @ 2011-10-08  0:54 UTC (permalink / raw)
  To: dm-crypt

[-- Attachment #1: Type: text/plain, Size: 1808 bytes --]

Hi all,

I've been working on a design for an encrypted fileserver using RHEL6.x.
On a single server the stack is pretty simple:

SAN LUNs > LUKS > LVM > XFS > Samba Server

 

But I would like to have a second node for High-Availability failover
(SAN storage is available to both nodes). I'm looking at Red Hat Cluster
Suite with corosyn, rgmanager. rgmanager has the ability to manage LVM,
XFS and Samba resources. In the event of node failure, it will migrate
all resources to the healthy node. But the resources are only available
if the SAN volumes are decrypted:

cryptsetup luksOpen /dev/sdc1 crypt_vol

 

Is it possible to have the raw volumes decrypted on both systems, maybe
during boot. So the LUKS device (/dev/mapper/crypt_vol) will be
available on the backup node in the event of primary node failure. The
other resources - LVM, XFS, Samba - would only be on one node at a time,
so no filesystem access from the passive node. If this is not possible
then can you suggest another solution?

 

Also, scalability is a requirement in my design, hence XFS. I was
thinking I needed to use multiple LUKS PVs in LVM to grow the
filesystem. But I would end up with multiple LUKS devices to keep track
of. I recently found out that LUKS can resize. Would it be better to
create one LUKS device on top of LVM? Then create a filesystem on that?
(Though that would affect resource dependencies.)

But basically:

SAN LUNs > LVM > LUKS > XFS > Samba Server

 

Other people will be accessing/managing this system, so I want
manageability through simplicity. Don't want to have the wrong volumes
(re)encrypted, headers damaged, etc.

Anyways, thanks for your help.

 

Jacob Sohl  |  Systems Engineer

Applied Discovery(r)

Mobile: 360-620-2695

 


[-- Attachment #2: Type: text/html, Size: 16082 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-10-12 20:45 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-08  0:54 [dm-crypt] LUKS in failover cluster Sohl, Jacob (LNG-SEA)
2011-10-08  4:52 ` Arno Wagner
2011-10-08  7:50   ` Milan Broz
2011-10-12  0:06     ` Sohl, Jacob (LNG-SEA)
2011-10-11 23:34   ` Sohl, Jacob (LNG-SEA)
2011-10-12  3:13     ` Arno Wagner
2011-10-12 19:20       ` Sohl, Jacob (LNG-SEA)
2011-10-12 19:54         ` Scott McCarty
2011-10-12 20:26           ` Sohl, Jacob (LNG-SEA)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.