Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Couchbase | Couchbase Server 2.0

CB2.0 & Moxi1.8.1 & Couchbase client

1 reply [Last post]
  • Login or register to post comments
Fri, 10/26/2012 - 02:11
insubordinate
Offline
Joined: 05/03/2012
Groups: None

Hi,

I set up a server cluster and want to use the cluster moxi config to connect to it.

My application only requires the memcached functionallities.

Using the moxi, I want all my application servers to connect to 'localhost'.

This works fine, however, it seems it doesn't work with the php couchbase client.

With the couchbase client I can connect to one of the clustered machines ($cb = new Couchbase("10.0.10.200:8091");), but not to the moxi ($cb = new Couchbase("127.0.0.1:8091");).

Is it correct to assume that I need the memcached client instead of the couchbase client in a cluster moxi setup?

Thanks for responding.

Top
  • Login or register to post comments
Fri, 10/26/2012 - 07:02
tgrall
Offline
Joined: 09/05/2012
Groups: None

Hello,

Any specific reason to use Moxi?

All the client libraries are cluster aware and do not need moxi.

So just takes the PHP client library http://www.couchbase.com/develop/php/next and your application will connect to the cluster. The cluster topology in manage by the SDK.

The following part of the documentation explains how to connect to your Couchbase Server 2.0 using the PHP SDK:
http://www.couchbase.com/docs/couchbase-sdk-php-1.1/api-reference-connec...

Regards
Tug

__________________

Tug
@tgrall

Top
  • Login or register to post comments
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker