View previous topic :: View next topic |
Author |
Message |
xcue n00b

Joined: 10 Jan 2014 Posts: 3
|
|
Back to top |
|
 |
jpc22 Apprentice

Joined: 29 Jan 2012 Posts: 195
|
Posted: Fri Jan 10, 2014 7:44 pm Post subject: |
|
|
Kmod-drbd82 seems to provide the kernel modules needed, but you could check if your current kernel has options for those.
Sys-cluster/drbd-kernel should have all the required options that you need but nothing says your current kernel can't be modified .
I am currently reading docs for configuring my own cluster but i am not going in the same direction than you, since all my nodes are hardened-gentoo with full disk encryption and will have grsec selinux... enabled soon, which really limits my choices of clustered filesystems. |
|
Back to top |
|
 |
xcue n00b

Joined: 10 Jan 2014 Posts: 3
|
Posted: Mon Jan 13, 2014 12:38 pm Post subject: |
|
|
hi jpc22!
Thanks for your answer!
Which filesystem are you going to use?
What do you mean with "but you could check if your current kernel has options for those" ?
How can i do that? And: Does it mean, the features provided by this package can already be available in the kernel? So i only have to install "sys-cluster / drbd"?
Thanks,
xCue |
|
Back to top |
|
 |
jpc22 Apprentice

Joined: 29 Jan 2012 Posts: 195
|
Posted: Wed Jan 15, 2014 4:45 am Post subject: |
|
|
For my setup i would have to use a fuse userspace distributed fs. (orange or ceph were those that looked most promising) since i dont want to mess with shrinking jfs in a luks container(requires reinstalling).A userspace networked fs that grows with use and ideally has offline capacity is what i am looking at to have my important/backup files backed on 3 machines at once.
To that i want to add 2 raspberry pi hooked each to an external hdd and webcam, with one in the house and one in the detached garage for maximum protection. (ideally in a fire,water,tamper, and em proof container) if only i could afford 2 of those usb enabled safes
Now lets get back to your main question: check for the following options in your kernel and if they are not there emerge the cluster version of the kernel as it will surely contain them. I checked and they also are present in the latest hardened.The last 3 options are optional but i remembered them from my memory of reading the kernel info and thought they could be useful for you. The first two are likely mandatory for clustering,but I might have missed some ,so double check with the clustering documentation to be sure about the kernel options you need.
(BLK_DEV_DRBD)DRBD Distributed Replicated Block Device support (BLK_DEV_DRBD)
CONFIG_BLK_DEV_NBD:Network block device support (BLK_DEV_NBD)
_________________(optional but related to clustering)____________________________
CLUSTERIP target support (IP_NF_TARGET_CLUSTERIP)
CONFIG_IP_NF_TARGET_CLUSTERIP:
The CLUSTERIP target allows you to build load-balancing clusters of
network servers without having a dedicated load-balancing
router/server/switch.
"cluster" match support (NETFILTER_XT_MATCH_CLUSTER)
CONFIG_NETFILTER_XT_MATCH_CLUSTER:
This option allows you to build work-load-sharing clusters of
network servers/stateful firewalls without having a dedicated
load-balancing router/server/switch. Basically, this match returns
true when the packet must be handled by this cluster node. Thus,
all nodes see all packets and this match decides which node handles
what packets. The work-load sharing algorithm is based on source
address hashing.
If you say Y or M here, try `iptables -m cluster --help` for
more information.
OCFS2 Userspace Clustering (OCFS2_FS_USERSPACE_CLUSTER)
CONFIG_OCFS2_FS_USERSPACE_CLUSTER:
This option will allow OCFS2 to use userspace clustering services
in conjunction with the DLM in fs/dlm. If you are using a
userspace cluster manager, say Y here. |
|
Back to top |
|
 |
dcmwai n00b

Joined: 26 Mar 2005 Posts: 13 Location: Malaysia
|
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|