168.2. Manager

简介:

list

[root@development ~]# xm list
Name                                      ID Mem(MiB) VCPUs State   Time(s)
Domain-0                                   0     1726     2 r-----   5686.6
centos                                     6      127     1 -b----     74.3
		

start

[root@development ~]# virsh  start centos
Domain centos started
		

reboot

[root@development ~]# xm reboot centos
		

shutdown

[root@development ~]# xm shutdown centos
		

console

[root@development ~]# xm console centos
		

config

[root@development ~]# cat /etc/xen/centos
name = "centos"
uuid = "a6a3f200-bcbb-cdbd-c06e-9e71f739310f"
maxmem = 128
memory = 128
vcpus = 1
bootloader = "/usr/bin/pygrub"
on_poweroff = "destroy"
on_reboot = "restart"
on_crash = "restart"
disk = [ "tap:aio:/srv/vm/centos.img,xvda,w" ]
vif = [ "mac=00:16:36:5d:41:d0,bridge=xenbr0,script=vif-bridge" ]
		

Automatically starting domains

[root@development ~]# mv /etc/xen/centos /etc/xen/auto
		




原文出处:Netkiller 系列 手札
本文作者:陈景峯
转载请与作者联系,同时请务必标明文章原始出处和作者信息及本声明。

目录
相关文章
|
Oracle 关系型数据库 数据库
Resource Manager
什么是Resource ManagerOracle Database Resource Manager(RM)是Oracle用于管理负载冲突而设计的工具。RM在10g版本中已经诞生,但不完善,有很多Bug。
1040 0
|
JavaScript Linux 虚拟化
|
XML 网络协议 数据格式
|
XML Oracle 关系型数据库