Thank you Brad, I am able to run ceph with 3 MONs, 3 OSDs and 1 MDS now.
However, I still not get the workflow of the ceph using this step. I might need print in somewhere, inject a crash by kill one node, etc. Does this also possible using this method? On Thu, Aug 11, 2016 at 4:17 AM, Brad Hubbard <bhubb...@redhat.com> wrote: > On Thu, Aug 11, 2016 at 12:45 AM, agung Laksono <agung.sma...@gmail.com> > wrote: > > I've seen the Ansible before but not in detail for that. > > I also have tried to run quick guide for development. > > It did not work on my VM that I already install ceph inside it. > > > > the error is : > > > > agung@arrasyid:~/ceph/ceph/src$ ./vstart.sh -d -n -x > > ** going verbose ** > > [./fetch_config /tmp/fetched.ceph.conf.3818] > > ./init-ceph: failed to fetch config with './fetch_config > > /tmp/fetched.ceph.conf.3818' > > > > > > Do I need to use a vanilla ceph to make vstart.sh work? > > > > When I learn a cloud system, usually I compile > > the source code, run in pseudo-distributed, modify the code > > and add prints somewhere, recompile and re-run the system. > > Might this method work for exploring ceph? > > It should, sure. > > Try this. > > 1) Clone a fresh copy of the repo. > 2) ./do_cmake.sh > 3) cd build > 4) make > 5) OSD=3 MON=3 MDS=1 ../src/vstart.sh -n -x -l > 6) bin/ceph -s > > That should give you a working cluster with 3 MONs, 3 OSDs and 1 MDS. > > -- > Cheers, > Brad > > > > > > > On Wed, Aug 10, 2016 at 9:14 AM, Brad Hubbard <bhubb...@redhat.com> > wrote: > >> > >> On Wed, Aug 10, 2016 at 12:26 AM, agung Laksono <agung.sma...@gmail.com > > > >> wrote: > >> > > >> > Hi Ceph users, > >> > > >> > I am new in ceph. I've been succeed installing ceph in 4 VM using > Quick > >> > installation guide in ceph documentation. > >> > > >> > And I've also done to compile > >> > ceph from source code, build and install in single vm. > >> > > >> > What I want to do next is that run ceph multiple nodes in a cluster > >> > but only inside a single machine. I need this because I will > >> > learn the ceph code and will modify some codes, recompile and > >> > redeploy on the node/VM. On my study, I've also to be able to run/kill > >> > particular node. > >> > > >> > does somebody know how to configure single vm to run multiple osd and > >> > monitor of ceph? > >> > > >> > Advises and comments are very appreciate. thanks > >> > >> Hi, > >> > >> Did you see this? > >> > >> > >> http://docs.ceph.com/docs/hammer/dev/quick_guide/# > running-a-development-deployment > >> > >> Also take a look at the AIO (all in one) options in ceph-ansible. > >> > >> HTH, > >> Brad > > > > > > > > > > -- > > Cheers, > > > > Agung Laksono > > > > > -- Cheers, Agung Laksono
_______________________________________________ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com