Citrix XenServer

xenserver-test cpu特性码:77fafbff-bfebfbff-00000021-2c100800

xe snapshot-list

xen还原快照

xe snapshot-revert snapshot-uuid=10026c96-acd7-20e8-6011-14ec3210711a

xen卸载快照

xe snapshot-uninstall snapshot-uuid=687afbe6-1df1-bcd4-d706-dc47786b1419

Xen Install Ubuntu Configuration

xe vm-list

xe vm-param-list uuid=420ec5c0-7341-73e6-3fe0-de8bba05d73e  | grep HVM-boot

xe vm-param-set uuid=420ec5c0-7341-73e6-3fe0-de8bba05d73e HVM-boot-policy="BIOS order" HVM-boot-params:order="dc"

安装Ubuntu

xe vm-param-set uuid=d9826d64-a45f-deb6-408b-8bb9b3adbe8a HVM-boot-policy="BIOS order" HVM-boot-params:order="dc"

1. 运行 snapshot-list 命令以查找要还原的快照或检查点的 UUID:

xe snapshot-list

2. 记下快照的 uuid,然后运行以下命令进行还原:

xe snapshot-revert snapshot-uuid=5deb4ca6-3bfe-b8e6-4de3-247a1196ce4a

删除快照

xe snapshot-list

xe snapshot-uninstall snapshot-uuid=5deb4ca6-3bfe-b8e6-4de3-247a1196ce4a

添加硬盘

[root@localhost ~]# pvcreate /dev/sdb

Physical volume "/dev/sdb" successfully created

[root@localhost ~]# ls -l /dev/disk/by-id/

[root@localhost ~]# xe sr-create type=lvm content-type=user device-config:device=/dev/disk/by-id/scsi-SATA_ST1000NM0011_Z1N0WESK name-label="SSCI_1"
[root@xenserver-test ~]# xe sr-create content-type=user device-config:device=/dev/disk/by-id/scsi-SATA_WDC_WD10EZEX-00_WD-WMC6Y0H9XAUR host-uuid=81b98b50-368f-42f4-8a5d-1934a2df0fbb name-label="SATA" shared=false type=lvm
9b2c7b0c-b16d-6189-3e44-e80a73238cf2
[root@xenserver-test ~]#

xe sr-list

xe pbd-list sr-uuid=5c7e345f-1540-19ab-9263-498b1a8ed5d1

xe pbd-unplug uuid=5c7e345f-1540-19ab-9263-498b1a8ed5d1

xe sr-destroy uuid=5c7e345f-1540-19ab-9263-498b1a8ed5d1

xe sr-forget uuid=5c7e345f-1540-19ab-9263-498b1a8ed5d1

恢复快照

xe snapshot-list

xe snapshot-revert snapshot-uuid=10026c96-acd7-20e8-6011-14ec3210711a

xe snapshot-uninstall snapshot-uuid=687afbe6-1df1-bcd4-d706-dc47786b1419

安装Ubuntu

xe vm-list

xe vm-param-list uuid=420ec5c0-7341-73e6-3fe0-de8bba05d73e  | grep HVM-boot

xe vm-param-set uuid=420ec5c0-7341-73e6-3fe0-de8bba05d73e HVM-boot-policy="BIOS order" HVM-boot-params:order="dc"

 

最新文章

  1. 页面加载完成后,触发事件——trigger()
  2. linux查看负载
  3. Selenium2+python自动化15-select下拉框
  4. asp.net JavaScriptSerializer实现序列化和反序列化
  5. 2013 Multi-University Training Contest 1
  6. R中根据匹配原则将一列拆分为几列的方法
  7. robots.txt网站爬虫文件设置
  8. poj2492 A Bug's Life【基础种类并查集】
  9. Nutch 二次开发parse纸
  10. 【Thinkphp 5】auth权限设置以及实现
  11. android 开发从入门到精通
  12. JavaScript 正则表达式基础语法
  13. 网易2019校招内推编程题-瞌睡-C++实现
  14. 使用CNN生成图像先验,实现更广泛场景的盲图像去模糊
  15. MySQL修改表、字段、库的字符集及字符集说明
  16. 检索(retrieval && search )-单目标-多目标跟踪-MTMC Tracking和 ReID
  17. 【CF878D】Magic Breeding bitset
  18. python的print
  19. Thymeleaf模板表达式
  20. 你知道嵌入式C语言中各变量存储的位置吗?

热门文章

  1. java GZIP压缩与解压缩
  2. React深入 - 手写redux api
  3. 条款7:为多太基类声明virtual析构函数
  4. python基础知识03-格式化输出和深浅复制
  5. python 学习总结3
  6. requests 模块笔记
  7. LeetCode(37) Sudoku Solver
  8. sql语句中嵌套2层循环
  9. sql通配符+sql中查询条件包含下划线等通配符的写法
  10. Linux怎么读? Linux读音考古一日游