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
添加硬盘
Physical volume "/dev/sdb" successfully created
[root@localhost ~]# ls -l /dev/disk/by-id/
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"