oVirt Unlock procedure QUERY : [root@engine dbutils]# pwd /usr/share/ovirt-engine/setup/dbutils [root@engine dbutils]# /usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh -q -t snapshot Locked snapshots 5e299a19-85e6-461c-9db5-c012fc5ac9...
#!/bin/python import printf import ovirtsdk4 as sdk import ovirtsdk4.types as types import time import sys import subprocess import requests import requests import ConfigParser from requests.packages.urllib3.exceptions import InsecureReques...
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright (c) 2017 Red Hat, Inc. # # Licensed under the Apache License, Version 2.0 (the License); # you may not use this file except in compliance with the License. # You may obtain a copy...
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright (c) 2016-2017 Red Hat, Inc. # # Licensed under the Apache License, Version 2.0 (the License); # you may not use this file except in compliance with the License. # You may obtain a...
备份-还原磁盘快照 摘要 此功能是补充组件,用于提供备份和还原虚拟机的功能。该功能引入了对使用REST-API下载和上传磁盘快照的支持。使用ovirt-imageio促进图像传输 使用oVirt Python-SDK可简化以下备份/还原示例。oVirt REST-API / SDK可以类似的方式使用...
RHV oVirt设置 RHV / oVirt(API v4) 对于RHV / oVirt 4+环境,您可以使用API v4来调用所有与备份相关的任务。 导入/导出模式定义了备份和还原的方式。红帽虚拟化(带有API v4)支持2种模式: 1.磁盘附件,其中出口VM元数据(在OVF格式)与单独的磁盘文件(R...
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright (c) 2017 Red Hat, Inc. # # Licensed under the Apache License, Version 2.0 (the License); # you may not use this file except in compliance with the License. # You may obtain a copy...
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright (c) 2017 Red Hat, Inc. # # Licensed under the Apache License, Version 2.0 (the License); # you may not use this file except in compliance with the License. # You may obtain a copy...
ovirt从备份OVF恢复创建虚拟机的python示例add_vm_from_ovf.py #!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright (c) 2016 Red Hat, Inc. # # Licensed under the Apache License, Version 2.0 (the License); # you may not use this file exce...
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright (c) 2017 Red Hat, Inc. # # Licensed under the Apache License, Version 2.0 (the License); # you may not use this file except in compliance with the License. # You may obtain a copy...