第二部分

管理vm

虚拟硬盘操作模式介绍

by not selecting the independent mode option,you ensure that the virtual disk remains in the default state that allows virtual machine snapshots to be created.if you select the independent check box,you can configure the virtual disk as a persistent disk,in which changes are written immediately and permanently to the disk,or as a nonpersistent disk,which discards all changes when the virtual machine is turned off.

虚拟机磁盘

mode,点上independent将不能使用快照功能,persistent(对硬盘所有的修改会马上持久的被写到硬盘),nonpersistent(对硬盘的修改当关机后就消失,再开机还是原来的硬盘数据,有点像还原精灵)

vmware tools介绍

vmware tools提供如下功能:

1.iptimized scsi driver(优化scsi设备)

2.enhanced video and mouse performance(增强视频和鼠标性能)

3.virtual machine heartbeat(支持vmware心跳功能)

4.virtual machine quiescing for snapshots and backups(支持vmware快照和备份)

5.enhanced memory management(内存管理)

安装windows 2008就算安装了vm toos显示也不会提高,应该更新显卡驱动程序,c:\program files\common files\vmware\drivers\wddm_video

使用vmware tools同步时间(win)

安装vmware tools(linux)

首先查看vmware tools目的

root@bt:~#cd /media/vmware\ tools/

root@bt:/media /vmware tools#ls

root@bt:/media /vmware tools#tar -zxf vmwaretools-8.6.0-425873.tar.gz -C /tmp(通过tar解压到tmp目录)

root@bt:/media /vmware tools#cd /tmp/vmware-tools-distrib/(进入目录)

root@bt:/tmp/vmware-tools-distrib#sudo ./vmware-install.pl(安装,提示都点回车)

管理与修改vm

1.在power on状态能够添加的硬件.

2.power off和shut down之间的区别.

3.如果不适用软驱就建议删除.

4.removing,deleting,registering.

5.关机状态修改各种参数.

移除虚拟机没有删除文件,还可以添加进来,删除从硬盘也删除.

克隆vm(完全一样)

if you are making a clone of a guest os installation,that means you'll now have two vms with the same ip address,same computer name,same mac address,and so forth.(mac、ip、ssid都一样,推荐用template模板)

通过template快速部署vm

步骤一:创建template

步骤二:从template部署虚拟机