Revision 579d4337 man/gnt-instance.sgml
b/man/gnt-instance.sgml | ||
---|---|---|
584 | 584 |
</refsect3> |
585 | 585 |
|
586 | 586 |
<refsect3> |
587 |
<title>REBOOT</title> |
|
588 |
|
|
589 |
<cmdsynopsis> |
|
590 |
<command>reboot</command> |
|
591 |
<sbr> |
|
592 |
<arg>--extra=<replaceable>PARAMS</replaceable></arg> |
|
593 |
<sbr> |
|
594 |
<arg>--type=<replaceable>REBOOT-TYPE</replaceable></arg> |
|
595 |
<sbr> |
|
596 |
<arg>--ignore-secondaries</arg> |
|
597 |
<sbr> |
|
598 |
<arg>--force-multiple</arg> |
|
599 |
<sbr> |
|
600 |
<group choice="opt"> |
|
601 |
<arg>--instance</arg> |
|
602 |
<arg>--node</arg> |
|
603 |
<arg>--primary</arg> |
|
604 |
<arg>--secondary</arg> |
|
605 |
<arg>--all</arg> |
|
606 |
</group> |
|
607 |
<sbr> |
|
608 |
|
|
609 |
<arg choice="opt" |
|
610 |
rep="repeat"><replaceable>name</replaceable></arg> |
|
611 |
</cmdsynopsis> |
|
612 |
|
|
613 |
<para> |
|
614 |
Reboots one or more instances. The type of reboot depends on |
|
615 |
the value of <option>--type</option>. A soft reboot does a |
|
616 |
hypervisor reboot, a hard reboot does a instance stop, |
|
617 |
recreates the hypervisor config for the instance and |
|
618 |
starts the instance. A full reboot does the equivalent |
|
619 |
of <command>gnt-instance shutdown && gnt-instance |
|
620 |
startup</command>. The default is soft reboot. |
|
621 |
</para> |
|
622 |
|
|
623 |
<para> |
|
624 |
For the hard reboot the option |
|
625 |
<option>--ignore-secondaries</option> ignores errors for the |
|
626 |
secondary node while re-assembling the instance disks. |
|
627 |
</para> |
|
628 |
|
|
629 |
<para> |
|
630 |
The <option>--instance</option>, <option>--node</option>, |
|
631 |
<option>--primary</option>, <option>--secondary</option> and |
|
632 |
<option>--all</option> options are similar as for the |
|
633 |
<command>startup</command> command and they influence the |
|
634 |
actual instances being rebooted. |
|
635 |
</para> |
|
636 |
|
|
637 |
<para> |
|
638 |
Use the <option>--force-multiple</option> to keep |
|
639 |
gnt-instance from asking for confirmation when more than one |
|
640 |
instance is affected. |
|
641 |
</para> |
|
642 |
|
|
643 |
<para> |
|
644 |
Example: |
|
645 |
<screen> |
|
646 |
# gnt-instance reboot instance1.example.com |
|
647 |
# gnt-instance reboot --type=full instance1.example.com |
|
648 |
</screen> |
|
649 |
</para> |
|
650 |
</refsect3> |
|
651 |
|
|
652 |
<refsect3> |
|
587 | 653 |
<title>CONSOLE</title> |
588 | 654 |
<cmdsynopsis> |
589 | 655 |
<command>console</command> |
Also available in: Unified diff