[ceph-users] Running the Ceph Erasure Code Benhmark

2017-04-07 Thread Henry Ngo
Hello, I have a 6 node cluster and I have installed Ceph on the admin node from source. I want to run the benchmark test on my cluster. How do I do this? If I type ceph_erasure_code_benchmark on the command line it gives a " parameter k is 0. But k needs to be > 0 ". What elese do I need to set up

Re: [ceph-users] Running the Ceph Erasure Code Benhmark

2017-04-08 Thread Henry Ngo
ples are: > https://github.com/ceph/ceph/blob/master/src/erasure-code/ > isa/README#L31-L48 > > On Sat, Apr 8, 2017 at 8:21 AM, Henry Ngo wrote: > > Hello, > > > > I have a 6 node cluster and I have installed Ceph on the admin node from > > source. I want to run the

[ceph-users] EC non-systematic coding in Ceph

2017-04-11 Thread Henry Ngo
Is this now supported? I read in one of the revisions that only systematic is supported. Just want to know if the latest version now supports non-systematic. http://tracker.ceph.com/projects/ceph/repository/revisions/14c31ddf1056e48d0361c9650c4e62d95603f1b8

[ceph-users] Ceph built from source gives Rados import error

2017-04-21 Thread Henry Ngo
Hi all, I built from source and proceeded to do a manual deployment starting on the Mon. I'm getting the error shown below and it appears that Rados has not been properly imported. How do I fix this? Best, Henry N. cephadmin@node1:/var/lib/ceph/mon/ceph-node1$ sudo /etc/init.d/ceph start mon.nod

Re: [ceph-users] Ceph built from source gives Rados import error

2017-04-21 Thread Henry Ngo
t;> Did you try to find the library in your system? to see if is other >> location?, my system output: >> >> $ locate librados.so.2 >> >> /usr/lib/x86_64-linux-gnu/librados.so.2 >> >> /usr/lib/x86_64-linux-gnu/librados.so.2.0.0 >> >> >

[ceph-users] Ceph built from source, can't start ceph-mon

2017-04-22 Thread Henry Ngo
I followed the install doc however after deploying the monitor, the doc states to start the mon using Upstart. I learned through digging around that the Upstart package is not installed using Make Install so it won't work. I tried running "ceph-mon -i [host]" and it gives an error. Any ideas? http

Re: [ceph-users] Ceph built from source, can't start ceph-mon

2017-04-24 Thread Henry Ngo
Anyone? On Sat, Apr 22, 2017 at 12:33 PM, Henry Ngo wrote: > I followed the install doc however after deploying the monitor, the doc > states to start the mon using Upstart. I learned through digging around > that the Upstart package is not installed using Make Install so it won&#x

Re: [ceph-users] Ceph built from source gives Rados import error

2017-04-25 Thread Henry Ngo
os.so.2", O_RDONLY|O_CLOEXEC) = 3 > > > Did you try to find the library in your system? to see if is other > location?, my system output: > > $ locate librados.so.2 > > /usr/lib/x86_64-linux-gnu/librados.so.2 > > /usr/lib/x86_64-linux-gnu/librados.so.2.0.0 > > >

[ceph-users] Fresh install of Ceph from source, Rados Import error

2017-04-27 Thread Henry Ngo
I'm still figuring out what is causing this error. Here are the steps I've taken: New Ubuntu 14.04 VM git clone https://github.com/ceph/ceph.git cd ceph git submodule update --init --recursive ./install-deps.sh ./do_cmake.sh cd build make sudo make install Once completed, I run 'ceph -v' and I g

Re: [ceph-users] Fresh install of Ceph from source, Rados Import error

2017-04-27 Thread Henry Ngo
It appears that the env variable $PYTHONPATH and $LD_LIBRARY_PATH were not configured. I did not have this problem when I installed the source on Ubuntu 16.04. Do I need to set this globally or can this be set in the source file? On Thu, Apr 27, 2017 at 8:22 AM, Henry Ngo wrote: > I'

[ceph-users] Ceph CBT simulate down OSDs

2017-05-02 Thread Henry Ngo
Hi all, CBT documentation states that this can be achieved. If so, how do I set it up? What do I add in the yaml file? Below is an EC example. Thanks. cluster: head: "ceph@head" clients: ["ceph@client"] osds: ["ceph@osd"] mons: ["ceph@mon"] osds_per_node: 1 fs: xfs mkfs_opts:

Re: [ceph-users] Ceph CBT simulate down OSDs

2017-05-02 Thread Henry Ngo
Mark, Thanks for the detailed explanation and example. This is exactly what I was looking for. Best, Henry Ngo On Tue, May 2, 2017 at 9:29 AM, Mark Nelson wrote: > Hi Henry, > > The recovery test mechanism is basically a state machine launched in > another thread that runs

[ceph-users] Installing pybind manually from source

2017-05-05 Thread Henry Ngo
It appears that the pybind folder from git source needs to be installed manually if building Ceph from source. Where exactly does it need to be copied in Centos? I have tried /usr/local/lib, /usr/local/lib/python2.7/ and /usr/local/lib/python2.7/site-packages with no luck. http://tracker.ceph.com/