cbfs is a distributed file server built on top of Couchbase
go get github.com/couchbaselabs/cbfs
And you'll find the source in
$GOPATH/src/github.com/couchbaselabs/cbfs
(and a cbfs
binary
should be in your path)
cd $GOPATH/src/pkg/github.com/couchbaselabs/cbfs
go build
mkdir -p /tmp/localdata
./cbfs -nodeID=$mynodeid \
-bucket=cbfs \
-couchbase=http://$mycouchbaseserver:8091/
-root=/tmp/localdata \
-viewProxy
The server will be empty at this point, you can install the monitor
using cbfsclient (go get github.com/couchbaselabs/cbfs/tools/cbfsclient
)
cbfsclient http://localhost:8484/ upload \
$GOPATH/src/github.com/couchbaselabs/cbfs/monitor monitor
Then go to http://localhost:8484/monitor/
See Traun Leyden's blog post on Running CBFS + Couchbase Cluster on CoreOS.