現如今,時間就是一切,是以呢,克隆也慢慢普及了 ,前期我們介紹了Hyper-v的克隆
今天主要介紹一下vmware9.0下虛拟機的克隆
我們首先是安裝vmware workstation 9.0,安裝步驟省略,安裝完成後,我們打開vmware workstation
單擊Vreate a New Virtual Machine
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/5/451336_1349432515RlkU.jpg"></a>
選擇 Custom,選擇next
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/5/451336_1349432515GkoB.jpg"></a>
Hardware compatibility:Workstation 9.0
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/5/451336_1349432516Zqcn.jpg"></a>
我們選擇作業系統,我們通過檢視Vmware workstation9.0都支援的windows operation 有以下資訊
最主要的是該工作站支援:windows8 windows server2012,
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/5/451336_1349432516NGE7.jpg"></a>
建立的Virtual Machine名稱及路徑
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/5/451336_1349432517sPdy.jpg"></a>
記憶體2G
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/5/451336_1349432517qo1q.jpg"></a>
選擇I/0控制器類型,選擇LSI Logic SAS(預設)
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/5/451336_1349432518aHq4.jpg"></a>
選擇建立一個新的虛拟磁盤
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/5/451336_1349432518CfKX.jpg"></a>
選擇磁盤類型:SCSI
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/5/451336_1349432518GhjS.jpg"></a>
硬碟大小:100G
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/5/451336_1349432519Vl0Y.jpg"></a>
硬碟檔案名稱
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/5/451336_1349432519cgY2.jpg"></a>
建立虛機的資訊
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/5/451336_13494325203Q50.jpg"></a>
單擊完成後,剛才 所建立的虛拟機建立完成
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/5/451336_1349432520zJKL.jpg"></a>
虛拟機配置完成後,我們開始安裝作業系統,再次安裝windows 2008R2 Enterprise
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/5/451336_1349432520MkgP.jpg"></a>
分區
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/5/451336_1349432521NuPP.jpg"></a>
開始安裝
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/5/451336_1349432521iVBb.jpg"></a>
系統安裝完成
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/5/451336_1349432522m0zw.jpg"></a>
安裝完成後,我們就開始封裝,封裝的主要原因就是保證克隆出來的每個server的ID都不一樣
打開系統自帶的封裝工具 c:\windows\system32\sysprep\sysprop.exe
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/5/451336_1349432522xTGZ.jpg"></a>
輕按兩下運作sysprep.exe
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/5/451336_13494325227Qwe.jpg"></a>
關機選項選擇—關機;同時勾選通用選項
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/5/451336_1349432523WPnY.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/5/451336_1349432523YZ8o.jpg"></a>
開始封裝
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/5/451336_1349432524jpPB.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/5/451336_13494325246n4L.jpg"></a>
封裝完成後正在關機
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/5/451336_1349432525ZTcm.jpg"></a>
封裝完成後,現已經正常關機
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/5/451336_1349432525R1Ka.jpg"></a>
現在已封裝完,我們接下來就是克隆了;右擊剛才已封裝的虛拟機---管理---克隆
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/5/451336_1349432525FEzD.jpg"></a>
選擇下一步
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/5/451336_1349432526WLl7.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/5/451336_1349432526lyS7.jpg"></a>
建立一個完全克隆
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/5/451336_1349432527jt5P.jpg"></a>
克隆後的虛拟機名稱及存放位置
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/5/451336_1349432527502O.jpg"></a>
開始克隆,該過程挺快的,大概在30S左右
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/5/451336_1349432527oyFk.jpg"></a>
克隆完成
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/5/451336_1349432528rTYf.jpg"></a>
克隆完成後虛拟機自動建立完成
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/5/451336_1349432528QUnR.jpg"></a>
我們在克隆一台
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/5/451336_1349432529hHuR.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/5/451336_13494325297Da3.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/5/451336_1349432530AJqT.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/5/451336_1349432530APTA.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/5/451336_13494325318IbW.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/5/451336_1349432531p3pu.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/5/451336_1349432532CY50.jpg"></a>
克隆完後,我們就啟動剛才克隆機器
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/5/451336_1349432532EpWe.jpg"></a>
因為克隆前将系統封裝了,是以啟動時需要加載重新配置
開始設定windows,選擇國際及時區,鍵盤等資訊,下一步
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/5/451336_1349432533iFH3.jpg"></a>
正在完成設定
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/5/451336_1349432533P7tT.jpg"></a>
需要為系統設定管理者密碼
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/5/451336_13494325341xe9.jpg"></a>
系統已正常啟動
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/5/451336_1349432534p7q4.jpg"></a>
同樣我們把其他兩台克隆的裝置啟動然後按照之前的步驟配置即可
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/5/451336_1349432534raJE.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/5/451336_1349432535o5RU.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/5/451336_1349432535o9KU.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/5/451336_1349432536yb6J.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/5/451336_1349432536zlgA.jpg"></a>
好了三台機器都能正常啟動,該實驗到此結束.
後期我們将會通過這個三台機器給大家做一個驗證關于 SQL SERVER的CLUSTER
本文轉自 高文龍 51CTO部落格,原文連結:http://blog.51cto.com/gaowenlong/1013432,如需轉載請自行聯系原作者