Documentation
¶
Overview ¶
Package arrayceph is the ceph array: a ceph cluster the nodes reach as a client, by its monitors, its client id and its keyring, for the rados pools resting on it and the rados disks of their volumes.
Its arrays are namespaced: an administrator of a namespace writes the one of the cluster the namespace owns, and the nodes reach its monitors at the addresses om checked against the endpoint rules, with the keyring of the array, and not the ceph configuration of the node.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Array ¶
Array is the driver of a ceph array, which has no command of its own: the rados pools and disks reach the cluster through it.
type Conn ¶
type Conn struct {
// Path is the array object.
Path naming.Path
// Monitors are the addresses of the monitors, with their
// port when the array says one, as -m takes them.
Monitors []string
ClientID string
// Keyring is the file holding the keyring, read by root
// alone.
Keyring string
}
Conn is what a rbd or ceph command needs to reach the cluster of a ceph array: the addresses of its monitors, checked, its client id and the file of its keyring.
func Connect ¶
Connect returns what reaches the cluster of the ceph array ref names, as an object of the namespace of reader uses it: ./array/<name> an array of that namespace, system/array/<name> or <namespace>/array/<name> one whose share admits it. A namespace learns nothing of an array not shared with it, not even whether it exists.