zoukankan      html  css  js  c++  java
  • virsh命令行managedsave命令详解

    managedsave
    Syntax:
    managedsave domain [--bypass-cache] [{--running | --paused}] [--verbose]
    Save and destroy (stop) a running domain, (这个命令,一定会关闭虚机,因此openstack冷迁移的关机动作,是由于调用了这个命令的接口造成的)

    so it can be restarted from the same state at a later time. 

    When the virsh start command is next run for the domain, it will automatically be started from this saved state.
    If --bypass-cache is specified, the save will avoid the file system cache, although this may slow down the operation.
    The progress may be monitored using domjobinfo virsh command and canceled with domjobabort command (sent by another virsh instance).

    这个进程,可以使用domjobinfo 命令来进行监视,或者使用domjobabort命令来取消
    Another option is to send SIGINT (usually with Ctrl-C) to the virsh process running managedsave command. --verbose displays the progress of save.
    Normally, starting a managed save will decide between running or paused based on the state the domain was in when the save was done;
    passing either the --running or --paused flag will allow overriding which state the start should use.
    The dominfo command can be used to query whether a domain currently has any managed save image.

  • 相关阅读:
    JAVA语言基础
    JAVA程序 从命令行接受多个数字,求和之后输出结果
    构建之法阅读笔记02
    软件工程学习进度第三周
    软件工程个人作业02
    安装Linux
    软件工程学习进度
    软件工程个人作业01
    构建之法阅读笔记01
    登录界面
  • 原文地址:https://www.cnblogs.com/potato-chip/p/14202918.html
Copyright © 2011-2022 走看看