Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DNM, more to come] FreeBSD: Example script of building a multijail cluster on ONE host. #15906

Closed

Conversation

wjwithagen
Copy link
Contributor

  • example variation for vstart.sh to easily setup a FreeBSD cluster.

Signed-off-by: Willem Jan Withagen wjw@digiware.nl

@@ -0,0 +1,654 @@
#!/bin/sh
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably we can put this script into src/script? and install it if(FREEBSD)?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tchaikov
We could do that instead.
Putting it in examples is a bit more "free from support" under FreeBSD, because it is just what it is: an example.
But you'd still then want to make it src/script/FreeBSD, as not to confuse other OSes?
I'm using ZFS, Jails and some other FreeBSD tricks, so it'll not work on Linux.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But you'd still then want to make it src/script/FreeBSD, as not to confuse other OSes?

yeah, makes sense to me. or rename this to src/script/build-cluster.FreeBSD.sh

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tchaikov
Can do.

 - example variation for vstart.sh to easily setup a FreeBSD cluster.

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
@wjwithagen wjwithagen force-pushed the wip-wjw-freebsd-build-cluster branch from 1581bea to 2459082 Compare June 26, 2017 12:35
@wjwithagen wjwithagen changed the title FreeBSD: Example script of building a multijail cluster on ONE host. [DNM, more to come] FreeBSD: Example script of building a multijail cluster on ONE host. Jul 1, 2017
@liewegas
Copy link
Member

why can't vstart be used?

@wjwithagen
Copy link
Contributor Author

@liewegas
vstart is more of a script for testers, where as this would be simple way to start a cluster that looks a lot like a regular production cluster, but then on just 1 host.
But that is also one of the reasons I set DNM. And it is a vstart.sh clone but FreeBSD style using jails. Which makes each OSD live in its own OS env, still without the full overhead of a VM and virtualised disks, but still full seperation. Ceph thinks it is running on several different hosts. :-)
Reason I'm pursuing this is to see if it can be a poor mans workaround for the trouble I'm having with theutology-libvirt-Qemu-KVM.
And it will be a easy starting point for FreeBSD-ers to go and test a ceph install.

@tchaikov
Copy link
Contributor

tchaikov commented Sep 5, 2017

i don't follow you. so the multi-jail approach is also for testing, right? or you are just stashing your work on teuthology here?

@wjwithagen
Copy link
Contributor Author

No not really...
It is suppossed to be in between ceph-disk and doing everything manually and ceph-deploy which I have not really looked at. And should give starting Ceph-FreeBSD user an easy entrance into Ceph.
Just an attempt to lower the entry bar for people that are interested in looking at Ceph.
But perhaps I should for the time being just move it back to my WIP, and not have it in the PR queue.

@stale
Copy link

stale bot commented Oct 18, 2018

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If you are a maintainer or core committer, please follow-up on this issue to identify what steps should be taken by the author to move this proposed change forward.
If you are the author of this pull request, thank you for your proposed contribution. If you believe this change is still appropriate, please ensure that any feedback has been addressed and ask for a code review.

@stale stale bot added the stale label Oct 18, 2018
@gregsfortytwo
Copy link
Member

I am closing this since it is labeled DNM and more has not yet come. ;)

@wjwithagen
Copy link
Contributor Author

@gregsfortytwo
I had one FreeBSD tester use it.
But then he moved on, and it's improved a lot locally here.
Then I was sort of abiding my time to see if I could get ceph-volume zfs up and running first.
But IFF it needs to go back in, I'll resubmit.

@wjwithagen wjwithagen deleted the wip-wjw-freebsd-build-cluster branch January 23, 2019 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants