EnglishFrenchSpanish

OnWorks favicon

swift-dispersion-report - Online in the Cloud

Run swift-dispersion-report in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command swift-dispersion-report that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


swift-dispersion-report - Openstack-swift dispersion report

SYNOPSIS


swift-dispersion-report [-d|--debug] [-j|--dump-json] [-p|--partitions] [--container-
only|--object-only] [--insecure] [conf_file]

DESCRIPTION


This is one of the swift-dispersion utilities that is used to evaluate the overall cluster
health. This is accomplished by checking if a set of deliberately distributed containers
and objects are currently in their proper places within the cluster.

For instance, a common deployment has three replicas of each object. The health of that
object can be measured by checking if each replica is in its proper place. If only 2 of
the 3 is in place the object's health can be said to be at 66.66%, where 100% would be
perfect.

Once the swift-dispersion-populate has been used to populate the dispersion account, one
should run the swift-dispersion-report tool repeatedly for the life of the cluster, in
order to check the health of each of these containers and objects.

These tools need direct access to the entire cluster and to the ring files. Installing
them on a proxy server will probably do or a box used for swift administration purposes
that also contains the common swift packages and ring. Both swift-dispersion-populate and
swift-dispersion-report use the same configuration file, /etc/swift/dispersion.conf . The
account used by these tool should be a dedicated account for the dispersion stats and also
have admin privileges.

OPTIONS


-d, --debug
output any 404 responses to standard error

OPTIONS


-j, --dump-json
output dispersion report in json format

OPTIONS


-p, --partitions
output the partition numbers that have any missing replicas

OPTIONS


--container-only
Only run the container report

OPTIONS


--object-only
Only run the object report

OPTIONS


--insecure
Allow accessing insecure keystone server. The keystone's certificate will not be
verified.

CONFIGURATION


Example /etc/swift/dispersion.conf:

[dispersion]
auth_url = https://127.0.0.1:443/auth/v1.0
auth_user = dpstats:dpstats
auth_key = dpstats
swift_dir = /etc/swift
# project_name = dpstats
# project_domain_name = default
# user_domain_name = default
# dispersion_coverage = 1.0
# retries = 5
# concurrency = 25
# dump_json = no
# endpoint_type = publicURL

EXAMPLE


$ swift-dispersion-report

Queried 2622 containers for dispersion reporting, 31s, 0 retries
100.00% of container copies found (7866 of 7866)
Sample represents 1.00% of the container partition space

Queried 2621 objects for dispersion reporting, 22s, 0 retries
100.00% of object copies found (7863 of 7863)
Sample represents 1.00% of the object partition space

DOCUMENTATION


More in depth documentation about the swift-dispersion utilities and also Openstack-Swift
as a whole can be found at http://swift.openstack.org/admin_guide.html#cluster-health and
http://swift.openstack.org

Use swift-dispersion-report online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    AstrOrzPlayer
    AstrOrzPlayer
    AstrOrz Player is a free media player
    software, part based on WMP and VLC. The
    player is in a minimalist style, with
    more than ten theme colors, and can also
    b...
    Download AstrOrzPlayer
  • 2
    movistartv
    movistartv
    Kodi Movistar+ TV es un ADDON para XBMC/
    Kodi que permite disponer de un
    decodificador de los servicios IPTV de
    Movistar integrado en uno de los
    mediacenters ma...
    Download movistartv
  • 3
    Code::Blocks
    Code::Blocks
    Code::Blocks is a free, open-source,
    cross-platform C, C++ and Fortran IDE
    built to meet the most demanding needs
    of its users. It is designed to be very
    extens...
    Download Code::Blocks
  • 4
    Amidst
    Amidst
    Amidst or Advanced Minecraft Interface
    and Data/Structure Tracking is a tool to
    display an overview of a Minecraft
    world, without actually creating it. It
    can ...
    Download Amidst
  • 5
    MSYS2
    MSYS2
    MSYS2 is a collection of tools and
    libraries providing you with an
    easy-to-use environment for building,
    installing and running native Windows
    software. It con...
    Download MSYS2
  • 6
    libjpeg-turbo
    libjpeg-turbo
    libjpeg-turbo is a JPEG image codec
    that uses SIMD instructions (MMX, SSE2,
    NEON, AltiVec) to accelerate baseline
    JPEG compression and decompression on
    x86, x8...
    Download libjpeg-turbo
  • More »

Linux commands

Ad