Revision 885a0fc4 man/gnt-instance.rst

b/man/gnt-instance.rst
989 989

  
990 990
| **startup**
991 991
| [--force] [--ignore-offline]
992
| [--force-multiple]
992
| [--force-multiple] [--no-remember]
993 993
| [--instance \| --node \| --primary \| --secondary \| --all \|
994 994
| --tags \| --node-tags \| --pri-node-tags \| --sec-node-tags]
995 995
| [{-H|--hypervisor-parameters} ``key=value...``]
......
1047 1047
The ``--force-multiple`` will skip the interactive confirmation in the
1048 1048
case the more than one instance will be affected.
1049 1049

  
1050
The ``--no-remember`` option will perform the startup but not change
1051
the state of the instance in the configuration file (if it was stopped
1052
before, Ganeti will still thinks it needs to be stopped). This can be
1053
used for testing, or for a one shot-start where you don't want the
1054
watcher to restart the instance if it crashes.
1055

  
1050 1056
The ``-H (--hypervisor-parameters)`` and ``-B (--backend-parameters)``
1051 1057
options specify temporary hypervisor and backend parameters that can
1052 1058
be used to start an instance with modified parameters. They can be
......
1079 1085

  
1080 1086
| **shutdown**
1081 1087
| [--timeout=*N*]
1082
| [--force-multiple] [--ignore-offline]
1088
| [--force-multiple] [--ignore-offline] [--no-remember]
1083 1089
| [--instance \| --node \| --primary \| --secondary \| --all \|
1084 1090
| --tags \| --node-tags \| --pri-node-tags \| --sec-node-tags]
1085 1091
| [--submit]
......
1108 1114
force the instance to be marked as stopped. This option should be used
1109 1115
with care as it can lead to an inconsistent cluster state.
1110 1116

  
1117
The ``--no-remember`` option will perform the shutdown but not change
1118
the state of the instance in the configuration file (if it was running
1119
before, Ganeti will still thinks it needs to be running). This can be
1120
useful for a cluster-wide shutdown, where some instances are marked as
1121
up and some as down, and you don't want to change the running state:
1122
you just need to disable the watcher, shutdown all instances with
1123
``--no-remember``, and when the watcher is activated again it will
1124
restore the correct runtime state for all instances.
1125

  
1111 1126
Example::
1112 1127

  
1113 1128
    # gnt-instance shutdown instance1.example.com

Also available in: Unified diff