~hudson-openstack/swift/trunk

Viewing all changes in revision 218.

  • Committer: Tarmac
  • Author(s): Clay Gerrard
  • Date: 2011-02-16 21:07:33 UTC
  • mfrom: (215.3.8 swift_init_ng)
  • Revision ID: tarmac-20110216210733-2tlwmt8wmzoselhq
I rewrote swift-init cause I wanted it to do somethings it didn't, and I
tried to make some of the error conditions a little better too.  It has
some new features, but overall it's behavior is mostly compatible with
the old swift-init (input, return codes) - but if someone had some weird
greps on the output they're hozed.

swift-init --help is a good place to start

some highlights might be:
 $swift-init start main --wait  # wait for all "main" services to start,
printing any errors to console
 $swift-init rest wait  # same as above but for replicators, updaters & auditors
 $swift-init stop object -c1  # kill the first object-server "node"
 $swift-init object-server status  # make sure it's dead - yay status!
 $swift-init proxy auth reload  # devauth?  srsly?
 $swift-init *-replicator once -n  # run the object, container,
and account replicators in "once mode" and watch them log to console
until they're finished

... probably some other stuff too.  Looking forward to feedback...

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: