Missing VM Template

Posted on October 20th, 2008 in Tips | 1 Comment »

Few days ago, one of my virtual center machine was crashed and my Microsoft SQL database was corrupted without backup(damm!).

Basically setting up a brand new Windows 2003 machine is pretty simple but setup a new Virtual Machine took me 2 days. The most important is my VM template is go missing. The quick solution is search for VM template and register (add to inventory) again.

SSH into my ESX server using putty and search for VM template file with extension “.vmtx”.

[root@malaysiavmesx01 vmfs]# find /vmfs -name *.vmtx

How to register a VM template using CLI:
[root@malaysiavmesx01 vmfs]# /usr/bin/vmware-cmd -s register

Read more »

How to backup Virtual Center Databases in SQL 2005

Posted on October 6th, 2008 in Tips, Virtualization | 8 Comments »

In order to keep your VMware environment up to date with the latest features and bug fixes, we all are not able to avoid to upgrade our virtual center server from time to time(check Virtual Center 2.5 Update 3). To minimize the impact on the previous data and record, you may want to backup the DB for your virtual center servers. Here is how I backup my DB in SQL 2005 in a very simple way.

Open the management studio in SQL 2005 and connect to the SQL server engine that manage the virtual center and update manager DB. right click and select stop the database engine. Follow by that, open you my computer and browse to the folder which contain the DB and DB log for your databse.

Read more »