マニュアルページセク ション 1: ユーザーコマンド

印刷ビューの終了

更新: 2014 年 7 月
 
 

swift-init (1)

名前

swift-init - init tool

形式

/usr/lib/swift/swift-init  <server> [<server> ...] <command>
[options]

説明




OpenStack Swift                                     swift-init(1)



NAME
     swift-init - Openstack Swift swift-init tool


SYNOPSIS
     /usr/lib/swift/swift-init  <server> [<server> ...] <command>
     [options]


DESCRIPTION
     The suite of servers implementing OpenStack Swift should  be
     managed  using  the  Solaris  Service  Management  Facility,
     smf(5).  There are sixteen services:

       svc:/application/openstack/swift/swift-account-auditor
       svc:/application/openstack/swift/swift-account-reaper
       svc:/application/openstack/swift/swift-account-replicator
       svc:/application/openstack/swift/swift-account-server
       svc:/application/openstack/swift/swift-container-auditor
       svc:/application/openstack/swift/swift-container-replicator
       svc:/application/openstack/swift/swift-container-server
       svc:/application/openstack/swift/swift-container-sync
       svc:/application/openstack/swift/swift-container-updater
       svc:/application/openstack/swift/swift-object-auditor
       svc:/application/openstack/swift/swift-object-expirer
       svc:/application/openstack/swift/swift-object-replicator
       svc:/application/openstack/swift/swift-object-server
       svc:/application/openstack/swift/swift-object-updater
       svc:/application/openstack/swift/swift-proxy-server
       svc:/application/openstack/swift/swift-replicator-rsync

     Each service is described more completely in its correspond-
     ing  manual  page.   Note  that  there  are  no dependencies
     between the  services,  although  most  of  them  should  be
     started in groups, even if the entire suite isn't necessary.

     Although the swift-init tool can be used to manage the  ser-
     vices, doing so is not supported on Solaris.

     The swift-init tool can be used to initialize all swift dae-
     mons available as part of OpenStack Swift. Instead of  call-
     ing  individual  init scripts for each swift daemon, one can
     just use swift-init. With swift-init you can initialize just
     one  swift service, such as the "proxy", or a combination of
     them. The tool also allows one to use the keywords  such  as
     "all", "main" and "rest" for the <server> argument.


     Servers:

         proxy
             - Initializes the swift proxy daemon



OpenStack             Last change: 8/26/2011                    1






OpenStack Swift                                     swift-init(1)



         object, object-replicator, object-auditor, object-
              updater
             - Initializes the swift object daemons above

        auditor
         container, container-update, container-replicator, con-
              tainer-
             - Initializes the swift container daemons above

         account, account-auditor, account-reaper, account-repli-
              cator
             - Initializes the swift account daemons above

         all
             - Initializes all the swift daemons

         main
             - Initializes all the main swift daemons
               (proxy, container, account and object servers)

         rest
             - Initializes all the other swift background daemons
               (updater, replicator, auditor, reaper, etc)


     Commands:

         force-reload:        alias for reload
         no-daemon:           start a server interactively
         no-wait:             spawn server and return immediately
        porting daemons
         once:                  start  server and run one pass on
              sup-
        porting servers
         reload:                graceful shutdown then restart on
              sup-
         restart:             stops then restarts server
        porting servers
         shutdown:            allow current requests to finish on
              sup-
         start:               starts a server
        server
         status:                display  status  of  tracked
              pids for
         stop:                stops a server



     Options:
         -h, --help                show this help message and
              exit
         -v, --verbose             display verbose output



OpenStack             Last change: 8/26/2011                    2






OpenStack Swift                                     swift-init(1)



        before returning
         -w, --no-wait             won't  wait  for  server  to
              start
         -o, --once                only run one pass of daemon
         -n, --no-daemon           start server interactively
         -g, --graceful            send SIGHUP to supporting
              servers
         -c N, --config-num=N      send command to the Nth server
              only
        (default 15)
         -k N, --kill-wait=N       wait N seconds for processes
              to die
        be stored (default /var/run/swift)
         -r  RUN_DIR,  --run-dir=RUN_DIR directory where the pids
              will




DOCUMENTATION
     More  documentation  about  OpenStack  Swift can be found at
     http://swift.openstack.org/index.html





ATTRIBUTES
     See  attributes(5)  for  descriptions   of   the   following
     attributes:

     +---------------+-----------------------+
     |ATTRIBUTE TYPE |   ATTRIBUTE VALUE     |
     +---------------+-----------------------+
     |Availability   | cloud/openstack/swift |
     +---------------+-----------------------+
     |Stability      | Uncommitted           |
     +---------------+-----------------------+
SEE ALSO
     swift-account-auditor(1),   swift-account-reaper(1),  swift-
     account-replicator(1),  swift-account-server(1),  swift-con-
     tainer-auditor(1), swift-container-replicator(1), swift-con-
     tainer-server(1), swift-container-sync(1),  swift-container-
     updater   swift-object-auditor(1),  swift-object-expirer(1),
     swift-object-replicator(1),  swift-object-server(1),  swift-
     object-updater(1),  swift-proxy-server(1), swift-replicator-
     rsync(1), smf(5)



NOTES
     This  software  was   built   from   source   available   at



OpenStack             Last change: 8/26/2011                    3






OpenStack Swift                                     swift-init(1)



     https://java.net/projects/solaris-userland.    The  original
     community  source  was   downloaded   from    http://launch-
     pad.net/swift/havana/1.10.0/+download/swift-1.10.0.tar.gz

     Further  information about this software can be found on the
     open source community website at  http://www.openstack.org/.

















































OpenStack             Last change: 8/26/2011                    4