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.

  • 相关阅读:
    集算器如何优化SQL计算(2)分组
    集算器如何优化SQL计算(1)动态列
    android DOM解析Xml
    ASP.NET 抓取网页内容
    抓取HTML网页数据
    [转]Android的网络与通信
    Android的三种网络通信方式
    Android通过onDraw实现在View中绘图操作
    Android Canvas类介绍
    DatabaseMetaData的用法(转)
  • 原文地址:https://www.cnblogs.com/potato-chip/p/14202918.html
Copyright © 2011-2022 走看看