顯示包含「Virtual Machine」標籤的文章。顯示所有文章
顯示包含「Virtual Machine」標籤的文章。顯示所有文章

2010年11月15日

如何將蘋果iPad變成強大的辦公工具

蘋果iPad自上市以來受到了消費者的追捧,然而也有人指出iPad只是一個高級的玩具,那麼如何將iPad變得更加實用,讓其成為強大的辦公工具呢?知名虛擬化解決方案供應商VMware表示,實用VMware虛擬桌面解決方案就可以實現這一目標。

VMware的View Client能為包括微軟Windows、Mac設備、零客戶端、瘦客戶端、自助服務機以及像蘋果iPhone、iPad和Android設備等幾乎任何 終端設備提供個性化的桌面體驗。在下面這則視頻中,VMware中國演示了使用iPad登錄Windows 7桌面、打開瀏覽器、使用Office辦公軟件……



VMware近期發佈了View 4.5版本,想要體驗的用戶可以登錄官網免費試用60天。

http://news.mydrivers.com/1/179/179500.htm

2010年11月10日

Ubuntu 10.04 VirtualBox 直接引用HD的作業系統( VBoxManage )

用Ubuntu的人應該都有雙磁區吧(一個是Ubuntu 一個是windows之類的)
在用VirtualBox時一般大家都會新建一個新OS(winxp win7)

安迪兒一時手癢玩了一下VirtualBox直接使用HD別磁區的OS 來跑
其實這有2種玩法

1.是安迪兒用的直接使用HD上的windows磁區

2.是把磁區隨便用ghost 之類的軟體還原到外接HD上,或是筆電拆下來的HD也可以
建一個新的VirtualBox 使用我們指定的磁區(不用再重裝OS)

步驟如下

1.打開系統-管理-磁碟公用程式

看一下自已要玩的HD是那一區



2.在disk群組裡面加上權限-重要!!

加完後重啟



3.我們要先新建一個vmdk磁碟出來,win7.vmdk 可以自已隨便取 sda 和1,2,3就要看一下是那個磁區了

安迪兒是sda HD(第一顆) 用到的磁區是1,2 (1是win7的開機區 2是win7 3是Ubuntu的磁區)
這些資訊可以從第2步驟得知

確定後下指令吧~~ 

VBoxManage internalcommands createrawvmdk -filename ~/win7.vmdk -rawdisk /dev/sda -partitions 1,2 -relative


4.順立的建立完成後, 指定的地方會有vmdk檔出現,就表示成功了



5.打開virtualbox HD就引用這個win7 的vmdk吧

建立一個新的win7虛擬機器 不要選新建HD,直接選檔案即可

6.以下是開起來的樣子

因為呢vitualbox是用虛擬的網卡 通用的音效卡 和一般的顯示晶片 所以winxp win7沒特別設定的話,其實是會不太相容

(有很多這類的文章,xp / win7直接移機的,類似把所有的驅動都設成通用之類的)

開機時會掃一次,修正一堆設備,有些第一次要開安全模式才進的去

以上大家就玩玩吧,也可以把磁區還原到usb HD上利用這種方式掛上玩玩



http://www.dotblogs.com.tw/bowwowxx/archive/2010/06/29/16247.aspx

2010年5月12日

管理VirtualBox Snapshot的狀態






VirtualBox是免費的、很好用的電腦虛擬化工具,但是Snapshot部份的操作介面實在不太直覺。如果你不是很清楚VirtualBox是怎麼管理快照(Snapshot)的,請看下圖:
Snapshot & State
VirtualBox將快照依照先後順序串起來,最後的快照則有一個狀態(State)。每次開機時,會寫入虛擬機器的硬碟,因此狀態會跟著改變。
VirtualBox將狀態(State)與快照(Snapshot)分開管理。
管理VirtualBox虛擬機器的狀態(State)
先看狀態(State)的部份:
State Management
在狀態上可以作兩件事:
「還原目前的快照」(「還原」?)Restore State可以將狀態寫回最接近的快照中。
「捨棄快照及狀態」Discard State會將目前最新的狀態丟棄,將虛擬機器還原回原本拍下快照時的狀態。
用圖形表示是:
「還原目前的快照」:
Snapshot3
「捨棄快照及狀態」:
Snapshot2
管理VirtualBox的快照(Snapshot)
對於快照,VirtualBox只允許將快照丟棄(discard)Discard Snapshot。丟棄不是整個丟掉,而是有合併(merge)前後兩個快照的意味。因此,最新的State會被保留。
貓爸也覺得很難理解…
不過,有圖有真相:

2010年5月6日

How to backup/restore my VDIs - Hands-On

his example is to further elaborate the tutorial provided by TerryE for VirtualBox users. I intend to write this example is because I could not find a clear connection for all the materials (but tons of complains on how bad snapshots in Virtualbox are). This example is drafted with VirtualBox 2.1.4, which may not applicable for earlier or later versions. Remember to try before adopt it!

----------

How do I backup my VDIs? - Hands-On

Scenario:

You have a VM called 'MyVM' with 1 VDI only (MyVM.vdi) that need to run 7x24, and need to backup the full system weekly. As a result, the running VM only have 1 snapshot initially (snapshot name is "Current State")

1. On week 1, perform 'Take Snapshot' action (from the title bar of your running VM, choose 'Take Snapshot'), you will get your first copy of snapshot file (e.g. '{0001....}.vdi'inside 'MyVM\Snapshots' folder.

2. Backup 3 files:

a. MyVM.vdi
b. MyVM\MyVM.xml
c. Virtualbox.xml

3. On week 2, perform 'Take Snapshot' action again, you will get another copy of snapshot file (e.g. {0002....}.vdi'.

4. Backup 3 files:

a. MyVM\Snapshots\{0001....}.vdi
b. MyVM\MyVM.xml
c. Virtualbox.xml

5. On week 3, perform 'Take Snapshot' action again, you will get another copy of snapshot file (e.g. {0003....}.vdi'.

6. Backup 3 files:

a. MyVM\Snapshots\{0002....}.vdi
b. MyVM\MyVM.xml
c. Virtualbox.xml

----------

How do I restore my VDIs? - Hands-On

Scenario:

Your system crashed on week 4, totally messed up, including the Host OS. To restore:

7. Reinstall OS and Virtualbox in the Host

8. Copy the following files from your backup media to the ORIGINAL PATH that backup from:

2a. MyVM.vdi
4a. MyVM\Snapshots\{0001....}.vdi
6a. MyVM\Snapshots\{0002....}.vdi
6b. MyVM\MyVM.xml
6c. Virtualbox.xml

9. Start Virtualbox

10. At this point, you may like to build a new (or skip it if no need), standalone backup image:

a. Perform 'Discard Snapshot' action on snapshot 1 (from the Virtualbox GUI interface, select your VM on the left, then select 'Snapshots' tab on the right, then select 'Snapshot 1' under the tab, and click the 'Discard Snapshot' button which is the one with 'X'). 'Discard' action actually 'merge' the snapshot to its parent.

b. Perform 'Discard Snapshot' action on snapshot 2, after that you will find only 'Current State' exist, and the snapshots VDI {0001....}.vdi and {0002....}.vdi will be removed (its contents will be merged to MyVM.vdi)

11. Start VM

----------

How do I restore my VDIs to another host machine which already got some VMs?

Scenario:

Your system crashed on week 4, even the hardware bolts. Fortunately you have another server which is running some
VMs already. You want to add a VM to this server.

12. Perform step 8

13. Stop all running VM and quit Virtualbox

14. Identify two things from MyVM.xml

14a. MachineEntry UUID (e.g. {0000....})
14b. HardDiskAttachments UUID (e.g. {0001....}, {0002....})

15. Locate the UUID found in step 14 from the BACKUP version of Virtualbox.xml (Step 6c)

15a. MachineEntry (e.g. {0000....})
15b. HardDisks (e.g. {0001....}, {0002....})

16. Add the MachineEntry and HardDisks sessions (15a and 15b) to the CURRENT version of Virtualbox.xml

17. Start Virtualbox and VM