Cluster Connection
-
A client is an application that uses librados to connect to a Ceph cluster.
-
It needs a cluster object populatd with cluster info (cluster name, info from ceph.conf)
-
Then the client do a rados_connect and cluster handle is populated.
-
A cluster handle can bind with different pools.
Cluster IO context
-
The I/O happens on a pool so the connection needs to bind to a pool.
-
The connection to a pool gives the client an I/O context.
-
The client only species an object name/xattr and librados maps it to a PG & OSD in the cluster.
-
An obhect write to rados require key, value, and value size.
-
librados::bufferlist is primarily used for storing object value.
References
Written with StackEdit.
No comments:
Post a Comment