Pguimaraes Ceph Proxy

  • By Pedro Guimarães
  • Cloud
Channel Revision Published Runs on
latest/stable 0 19 Mar 2021
Ubuntu 19.10 Ubuntu 18.04 Ubuntu 16.04 Ubuntu 14.04
juju deploy pguimaraes-ceph-proxy
Show information

Platform:

Ubuntu
19.10 18.04 16.04 14.04

Learn about actions >

  • create-cache-tier

    Create a new cache tier

    Params
    • backer-pool string

      The name of the pool that will back the cache tier. Also known as the cold pool

    • cache-mode string

      The mode of the caching tier. Please refer to the Ceph docs for more information

    • cache-pool string

      The name of the pool that will be the cache pool. Also known as the hot pool

    Required

    backer-pool, cache-pool

  • create-erasure-profile

    Create a new erasure code profile to use on a pool.

    Params
    • coding-chunks integer

      The number of coding chunks, i.e. the number of additional chunks computed by the encoding functions. If there are 2 coding chunks, it means 2 OSDs can be out without losing data.

    • data-chunks integer

      The number of data chunks, i.e. the number of chunks in which the original object is divided. For instance if K = 2 a 10KB object will be divided into K objects of 5KB each.

    • durability-estimator integer

      The number of parity chunks each of which includes each data chunk in its calculation range. The number is used as a durability estimator. For instance, if c=2, 2 OSDs can be down without losing data.

    • failure-domain string

      The failure-domain=host will create a CRUSH ruleset that ensures no two chunks are stored in the same host.

    • locality-chunks integer

      Group the coding and data chunks into sets of size locality. For instance, for k=4 and m=2, when locality=3 two groups of three are created. Each set can be recovered without reading chunks from another set.

    • name string

      The name of the profile

    • plugin string

      The erasure plugin to use for this profile. See http://docs.ceph.com/docs/master/rados/operations/erasure-code-profile/ for more details

    Required

    name, data-chunks, coding-chunks

  • create-pool

    Creates a pool

    Params
    • erasure-profile-name string

      The name of the erasure coding profile to use for this pool. Note this profile must exist before calling create-pool

    • name string

      The name of the pool

    • pool-type string

      The pool type which may either be replicated to recover from lost OSDs by keeping multiple copies of the objects or erasure to get a kind of generalized RAID5 capability.

    • profile-name string

      The crush profile to use for this pool. The ruleset must exist first.

    • replicas integer

      For the replicated pool this is the number of replicas to store of each object.

    Required

    name

  • delete-erasure-profile

    Deletes an erasure code profile.

    Params
    • name string

      The name of the profile

    Required

    name

  • delete-pool

    Deletes the named pool

    Params
    • pool-name string

      The name of the pool

    Required

    pool-name

  • get-erasure-profile

    Display an erasure code profile.

    Params
    • name string

      The name of the profile

    Required

    name

  • list-erasure-profiles

    List the names of all erasure code profiles

  • list-pools

    List your cluster's pools

  • pause-health

    Pause ceph health operations across the entire ceph cluster

  • pool-get

    Get a value for the pool

    Params
    • key string

      Any valid Ceph key from http://docs.ceph.com/docs/master/rados/operations/pools/#get-pool-values

    • pool-name string

      The pool to get this variable from.

    Required

    key, pool-name

  • pool-set

    Set a value for the pool

    Params
    • key string

      Any valid Ceph key from http://docs.ceph.com/docs/master/rados/operations/pools/#set-pool-values

    • pool-name string

      The pool to set this variable on.

    • value string

      The value to set

    Required

    key, value, pool-name

  • pool-statistics

    Show a pool's utilization statistics

  • remove-cache-tier

    Remove an existing cache tier

    Params
    • backer-pool string

      The name of the pool that backs the cache tier. Also known as the cold pool

    • cache-pool string

      The name of the pool that is the cache pool. Also known as the hot pool

    Required

    backer-pool, cache-pool

  • remove-pool-snapshot

    Remove a pool snapshot

    Params
    • pool-name string

      The name of the pool

    • snapshot-name string

      The name of the snapshot

    Required

    snapshot-name, pool-name

  • rename-pool

    Rename a pool

    Params
    • new-name string

      The new name of the pool

    • pool-name string

      The name of the pool

    Required

    pool-name, new-name

  • resume-health

    Resume ceph health operations across the entire ceph cluster

  • set-pool-max-bytes

    Set pool quotas for the maximum number of bytes.

    Params
    • max integer

      The name of the pool

    • pool-name string

      The name of the pool

    Required

    pool-name, max

  • snapshot-pool

    Snapshot a pool

    Params
    • pool-name string

      The name of the pool

    • snapshot-name string

      The name of the snapshot

    Required

    snapshot-name, pool-name