|
下个帖发xen 云盘
关于xen:
station37配置文件:
- name = "station37"
- uuid = "a20f4354-f9dc-063a-07cf-e34326900362"
- maxmem = 2700
- memory = 2700
- vcpus = 2
- bootloader = "/usr/bin/pygrub"
- on_poweroff = "destroy"
- on_reboot = "restart"
- on_crash = "restart"
- vfb = [ "type=vnc,vncunused=1,keymap=en-us" ]
- disk = [ "phy:/dev/vol0/node1,xvda,w" ]
- vif = [ "mac=52:54:00:ea:09:2b,bridge=br0", "mac=52:54:00:fb:ee:b5,bridge=virbr0" ]
复制代码
station38配置文件:
- name = "station38"
- uuid = "3612548a-8d87-7ede-33ad-f86231edb7cf"
- maxmem = 2700
- memory = 2700
- vcpus = 2
- bootloader = "/usr/bin/pygrub"
- on_poweroff = "destroy"
- on_reboot = "restart"
- on_crash = "restart"
- vfb = [ "type=vnc,vncunused=1,keymap=en-us" ]
- disk = [ "phy:/dev/vol0/node2,xvda,w" ]
- vif = [ "mac=52:54:00:07:3d:28,bridge=br0,script=vif-bridge", "mac=52:54:00:b9:52:2b,bridge=virbr0,script=vif-bridge" ]
复制代码
station39配置文件:
- name = "station39"
- uuid = "b20f4354-f9dc-063a-07cf-e34326900362"
- maxmem = 4900
- memory = 4900
- vcpus = 4
- bootloader = "/usr/bin/pygrub"
- on_poweroff = "destroy"
- on_reboot = "restart"
- on_crash = "restart"
- vfb = [ "type=vnc,vncunused=1,keymap=en-us" ]
- disk = [ "phy:/dev/vol0/node3,xvda,w" ]
- vif = [ "mac=52:54:00:fa:09:2b,bridge=br0,script=vif-bridge", "mac=52:54:00:0b:ee:b5,bridge=virbr0,script=vif-bridge" ]
复制代码
station40配置:
- name = "station40"
- uuid = "4612548a-8d87-7ede-33ad-f86231edb7cf"
- maxmem = 2700
- memory = 2700
- vcpus = 2
- bootloader = "/usr/bin/pygrub"
- on_poweroff = "destroy"
- on_reboot = "restart"
- on_crash = "restart"
- vfb = [ "type=vnc,vncunused=1,keymap=en-us" ]
- disk = [ "phy:/dev/vol0/node4,xvda,w" ]
- if = [ "mac=52:54:00:08:3d:28,bridge=br0,script=vif-bridge", "mac=52:54:00:a9:52:2b,bridge=virbr0,script=vif-bridge" ]
复制代码
启动:
xm create station37
xm create station38
xm create station39
xm create station40
图形窗口:
virt-viewer station37
virt-viewer station38
virt-viewer station39
virt-viewer station40
|
|