manila/doc/source/man/manila-manage.rst

141 lines
2.7 KiB
ReStructuredText
Raw Normal View History

=============
2013-09-17 10:57:47 +03:00
manila-manage
=============
2013-08-08 10:34:06 -04:00
-------------------------------------
control and manage shared filesystems
-------------------------------------
2013-08-08 10:34:06 -04:00
:Author: openstack@lists.launchpad.net
:Date: 2014-06-11
2013-08-08 10:34:06 -04:00
:Copyright: OpenStack LLC
:Version: 2014.2
2013-08-08 10:34:06 -04:00
:Manual section: 1
:Manual group: shared filesystems
2013-08-08 10:34:06 -04:00
SYNOPSIS
========
2013-09-17 10:57:47 +03:00
manila-manage <category> <action> [<args>]
2013-08-08 10:34:06 -04:00
DESCRIPTION
===========
manila-manage controls shared filesystems service.
More information about OpenStack Manila is at https://wiki.openstack.org/wiki/Manila
2013-08-08 10:34:06 -04:00
OPTIONS
=======
2013-09-17 10:57:47 +03:00
The standard pattern for executing a manila-manage command is:
``manila-manage <category> <command> [<args>]``
2013-08-08 10:34:06 -04:00
For example, to obtain a list of all hosts:
``manila-manage host list``
2013-08-08 10:34:06 -04:00
Run without arguments to see a list of available command categories:
2013-09-17 10:57:47 +03:00
``manila-manage``
2013-08-08 10:34:06 -04:00
Categories are shell, logs, service, db, host, version and config. Detailed descriptions are below.
2013-08-08 10:34:06 -04:00
2013-09-17 10:57:47 +03:00
These sections describe the available categories and arguments for manila-manage.
2013-08-08 10:34:06 -04:00
2013-09-17 10:57:47 +03:00
Manila Db
~~~~~~~~~
2013-08-08 10:34:06 -04:00
2013-09-17 10:57:47 +03:00
``manila-manage db version``
2013-08-08 10:34:06 -04:00
Print the current database version.
2013-09-17 10:57:47 +03:00
``manila-manage db sync``
2013-08-08 10:34:06 -04:00
Sync the database up to the most recent version. This is the standard way to create the db as well.
``manila-manage db downgrade <version>``
Downgrade database to given version.
``manila-manage db stamp <version>``
Stamp database with given revision.
``manila-manage db revision <message> <authogenerate>``
Generate new migration.
2013-09-17 10:57:47 +03:00
Manila Logs
~~~~~~~~~~~
2013-08-08 10:34:06 -04:00
2013-09-17 10:57:47 +03:00
``manila-manage logs errors``
2013-08-08 10:34:06 -04:00
2013-09-17 10:57:47 +03:00
Displays manila errors from log files.
2013-08-08 10:34:06 -04:00
2013-09-17 10:57:47 +03:00
``manila-manage logs syslog <number>``
2013-08-08 10:34:06 -04:00
2013-09-17 10:57:47 +03:00
Displays manila alerts from syslog.
2013-08-08 10:34:06 -04:00
2013-09-17 10:57:47 +03:00
Manila Shell
~~~~~~~~~~~~
2013-08-08 10:34:06 -04:00
2013-09-17 10:57:47 +03:00
``manila-manage shell bpython``
2013-08-08 10:34:06 -04:00
Starts a new bpython shell.
2013-09-17 10:57:47 +03:00
``manila-manage shell ipython``
2013-08-08 10:34:06 -04:00
Starts a new ipython shell.
2013-09-17 10:57:47 +03:00
``manila-manage shell python``
2013-08-08 10:34:06 -04:00
Starts a new python shell.
2013-09-17 10:57:47 +03:00
``manila-manage shell run``
2013-08-08 10:34:06 -04:00
Starts a new shell using python.
2013-09-17 10:57:47 +03:00
``manila-manage shell script <path/scriptname>``
2013-08-08 10:34:06 -04:00
Runs the named script from the specified path with flags set.
Manila Host
2013-08-08 10:34:06 -04:00
~~~~~~~~~~~
``manila-manage host list``
2013-08-08 10:34:06 -04:00
Returns list of running manila hosts.
2013-08-08 10:34:06 -04:00
Manila Config
~~~~~~~~~~~~~
2013-08-08 10:34:06 -04:00
``manila-manage config list``
2013-08-08 10:34:06 -04:00
Returns list of currently set config options and its values.
2013-08-08 10:34:06 -04:00
Manila Service
~~~~~~~~~~~~~~
2013-08-08 10:34:06 -04:00
``manila-manage service list``
2013-08-08 10:34:06 -04:00
Returns list of manila services.
2013-08-08 10:34:06 -04:00
Manila Version
~~~~~~~~~~~~~~
2013-08-08 10:34:06 -04:00
``manila-manage version list``
2013-08-08 10:34:06 -04:00
Returns list of versions.
2013-08-08 10:34:06 -04:00
FILES
=====
2013-08-08 10:34:06 -04:00
2013-09-17 10:57:47 +03:00
The manila-manage.conf file contains configuration information in the form of python-gflags.
2013-08-08 10:34:06 -04:00
BUGS
====
* Manila is sourced in Launchpad so you can view current bugs at `OpenStack Manila <https://bugs.launchpad.net/manila>`__
2013-08-08 10:34:06 -04:00