VMware

Blog Posts

Blog Posts: 1,664

Recent Blog Posts

Statistics: Blogs: 785 Blog Posts: 1,664   1 2 3 4 5 ... 111 Previous Next Items per page
0

The goal here is to recreate (using the procedures of William Lam and Raj Perumal) a repeatable procedure for backing up VMs to "external storage". The system I am using is ESX server 3i 3.5.0 Build 153875
Notations: A-Action, R-Result, Q-Question, C-Cognition, X-Exploration research

A BES 1.0.1 - Allow SSH to ESX host server
(This step is only necessary on the first instance of the procedure)
Go the physical server hosting ESX and press Alt+F1, then type "unsupported" - you will not see anything as you type - you will then be prompted for a password. After gaining root access use vi to edit /etc/inetd.conf Remove "#" comment character in front of the SSH line. Save changes and reboot the system. You now have SSH access to the host.

A BES 1.0.2 - Get script to ESX host server
(This step is only necessary on the first instance of the procedure)
Download a copy of the ghettoVCB script found here http://communities.vmware.com/docs/DOC-8760 then transfer it without modification to the ESX server with WinSCP making sure the transfer happens in Text mode. The destination on the ESX server should be: /vmfs/volumes/"datastorename". Once the transfer is complete change the permission to allow it to be executed: chmod +x ghettoVCB.sh

A BES 1.0.3 - Create list of VMs to back up
(This step is only necessary on the first instance and then every time the list of VMs to be backed up changes)
Since the script uses a text file to input the names (one per line) of the VMs to be backed up, this needs to created on the ESX host server. Use vi to create the textfile in the same directory in which the ghettoVCB.sh script is located.

A BES 1.0.4 - Create destination for backups
(This step is only necessary on the first instance and every time the backup storage destination changes)
I took Raj's advice and downloaded Allegro NFS in order to create and NFS share on my Windows machine as the destination for the backups.
Launch Allegro NFS to create the share
a. in the Export tab click "new" type /j/vmwarebackups (where j is the local partition and vmwarebackups is the folder)
b. browse for folder to partition j and folder vmwarebackups
c. click all on allowed hosts list, click everyone and root for read/write, do not click anything in read only
d. click apply and the apply button goes grey, click ok and Allegro NFS config window closes.
Open VMware Infrastructure Client (VIC) to add the share as a datastore
e. select host machine
f. select Storage in hardware then select add storage link
g. select NFS then next
h. input the static IP of the backup destination
i. input the path of the backup destination ( see a., and b. above)
j. do not check Mount NFS read-only
k. input the name of the datastore - for example: backup
l. click next and finish

R BES 1.0.5 - You see the new data store in the VIC

A BES 1.0.6 - Configure the ghettoVCB script
(This step is only necessary on the first instance and every time you need to reconfigure the script)
Use vi to edit the ghettoVCB.sh file on the ESX server
a. first make a backup of the script: cp ghettoVCB.sh unmodified_ghettoVCB.sh
b.. VM_BACKUP_VOLUME=/vmfs/volumes/backup or whatever the path of the NFS share is from BES 1.0.4i
c.. any other changes needed based on reading of script
d.. write changes and exit vi

Q BES 1.0.7 - My Windows NFS share is probably non-persistent NFS-backup, but I didn't modify the non-persistent section of the script - will this matter?

A BES 1.0.8 - Run the script
(This step will be needed every time you want a backup unless a cron'd)
a. execute the script: ./ghettoVCB.sh vmbackups

R BES 1.0.9 - The script ran successfully and let me know that since a snapshot was found the backup will not take place.

A BES 1.0.10 - Remove the snapshots before running the backup
a. shut down VM
b. go to snapshot manager in VIC and select remove all snapshots
c. the task window show in progress, but it has been a long time - good thing I trusted VMware and didn't reboot the box - that operation took 30 minutes, but completed successfully.

Q BES 1.0.11 - Why after removing the snapshots have I not gained capacity back on my datastore?

A BES 1.0.12 - Re-Run the script now that snapshot were removed.
a. execute the script: ./ghettoVCB.sh vmbackups
b. Script running sucessfully with % done ticker.

0 Comments Permalink
0

I'm trying to installation for ESXi 4.0 on my Desktop I but I have same
error message appears on my Screen "Failed to load lvmdriver".

PC Specs:

  • Asus P5KPL
  • 2x1GB RAM
  • 2x120GB SATA
  • 1xDVD SATA

Please Help

Many Thanks

0 Comments Permalink
0

Hi everyone, please take a look at this weeks newsletter which is packed with loads of interesting new articles related to VMware Technology.

Kind Regards

Neil Isserow | VCP | Technical Account Manager - Queensland |
VMware Australia

0 Comments Permalink
0

Notations: A-Action, R-Result, Q-Question, C-Cognition/Comment, X-Exploration research

C SES 1.1.1 This procedure is being deprecated because my research shows that Virtual Machine snapshots are not an appropriate method for VM backups. A new procedure - BES - or Backup to External Storage - will be developed using the free ghettoVCB script method found here: http://communities.vmware.com/docs/DOC-8760

0 Comments Permalink
0

New VMware brand. in Eric Nielsen

Posted by ericni VMware Nov 8, 2009

It's been about 2 years since we introduced a re-designed website with an entire new look. It was an incredible struggle for the team to make that happen back in 2007. This year, we did a new design, and we spent about 2 months to re-work the design of communities.vmware.com.

The team did an excellent job, and this time it was smooth. I personally like the new look, and it tends to be easier to navigate. It will be interesting to see what the reaction to this is. We didn't change much functionality, just some navigation behavior and new content boxes on landing pages.

I would say, we are all much more aware of the requirements for doing major redesigns.

Eric Nielsen


Director, Web Communities.

0 Comments Permalink
0

The goal here is to make a repeatable procedure for saving VM snapshots to "external storage". There are a couple of reasons that I want to do this: 1. Every time I take a snapshot now, the size of my host datastore gets smaller, and 2. When I upgrade the SCSI drives on my host (DL360 G3) system and remove the old drives I don't want to lose access to my snapshots. Notations: A-Action, R-Result, Q-Question, C-Cognition, X-Exploration research

C SES 1.0.1 There has to be a function within ESX to export and import snapshots so that they do not take up storage space on the host.
Q SES 1.0.2 How do I save a virtual machine snapshot to a storage device that is not built-in to the ESX server host, for example a USB flash drive connected to the host?
X SES 1.0.3 Will research for answers and the best forum to ask the question (Q SES 1.0.2) if I do not find the answer.

0 Comments Permalink
0

See Attached

0 Comments Permalink
0

RVTools in Christian FERRERO

Posted by cfo Nov 6, 2009

RVTools is a small .NET 2.0 application which uses the VI SDK to display information about your virtual machines. Interacting with VirtualCenter 2.x or ESX 3.x RVTools is able to list information about cpu, memory, disks, nics, cd-rom, floppy drives, snapshots, VMware tools, ESX hosts, datastores and health checks. With RVTools you can disconnect the cd-rom or floppy drives from the virtual machines and RVTools is able to list the current version of the VMware Tools installed inside each virtual machine. and update them to the latest version.

http://rvtools.deveij.com/

0 Comments Permalink
0

Great read over here: http://blog.thesilentnumber.me/2009/09/top-things-to-do-after-installing.html

Check out some of the key things you must do once you upgrade your system to 9.10 (or rebuild it from scratch).

0 Comments Permalink
0

Workstation 7 is FANTASTIC on Ubuntu 64. I'm so excited about this new workstation release as it provides many additional features over WS 6.5.

1) Sockets / Core selection - You can now set number of sockets and cores per socket to your individual workstation vm's.
2) Compacting of VM disk files can be done from workstation.
3) Encryption of Workstation VM's can now be done preventing access into VM's without proper credentials.
4) Windows 7 support

These are just a few of the options that are available, as well as, the ability to run nested ESX environments inside of Workstation 7.

If you are installing workstation for the first time on Ubuntu 64, you MUST execute the vmnetset script (http://communities.vmware.com/blogs/ecrossley/2009/06/29/ubuntu-and-vmware-workstation-networking) from this blog in order to allow promiscuous mode for your ethernet adapters

0 Comments Permalink
0

Great article over at Cosmic Egg about open source view client on 64 bit linux. I've been slacking on the blog, so enjoy the read.

http://blog.cosmicegg.net/2009/10/vmware-view-open-client-on-64-bit.html

0 Comments Permalink
2

If you are a user of SAP Community Network, then you might have already seen the new forum about "SAP on VMware" which is live since Oct 21. The forum creates a platform for customers where answers to minor technical questions can be adressed or discussions about best practices, configurations, etc. can take place. You can find the forum right here:

http://forums.sdn.sap.com/forum.jspa?forumID=471

2 Comments Permalink
0

We want VMWare on Linux! in simoncpu

Posted by simoncpu Nov 5, 2009

http://i33.tinypic.com/2qdptfd.jpg

0 Comments Permalink
0

I was recently involved in a situation where a development group at a SMB was tasked with consolidating two SQL servers into one. These SQL servers were physical servers running old versions of Windows, with equally old versions of SQL Server, on some pretty old hardware. The situation became interesting, when the development group put in the specifications request for the new virtual machine. The request was for a 64-bit Windows 2008 server with 8 GB of RAM, 4 vCPUs and over half a TB of FC SAN disk for storage.

This seemed like a bit of a tall order, so the first thing I did was to compare the specifications in the request with the specifications of the current physical servers. Server 1 had two Pentium III 1.2 GHz processors with 512 MB of RAM and 90 GB of used disk space. Server 2 had two Pentium III 1.0 GHz processors with 2 GB of RAM and 16 GB of used disk space. Even after ignoring the massive storage difference, the requested numbers didn't match up with the 4 vCPUs and 8 GB RAM specified in the request. Next I went to the system baselines, thinking that the systems might be overburdened. The baselines actually revealed that the systems weren't doing much work - 3% CPU average utilization, low disk IOPs, and very low network utilization. Using the perfmon SQLServer:Memory Manager -> Total Server Memory counter did reveal that the SQL servers were actually using the memory they were allocated. The numbers in the request still didn't add up though, and now with data in-hand, it was time to go talk to the requestors.

Ultimately it was discovered that this request was submitted this way to "allow for future growth." Many years ago this may have been standard practice with physical hardware, but in today's virtual environments it just no longer makes any sense. Based on the baseline data, the requested virtual machine could be built with 1 vCPU, 3 GB of memory and less than 100 GB of SATA disk space. If it turns out that the server actually needs more resources in the future, then these resources may be very quickly added with minimal or even no downtime. Gone are the days of provisioning everything up front while allowing room for future growth, hoping the server makes it to the next refresh cycle and then repeating the same process over again. To complement the virtual infrastructure, there must be an awareness of the way this technology fundamentally changes how systems are now provisioned.

Thanks for reading!

0 Comments Permalink
1 2 3 4 5 ... 111 Previous Next

Actions

Notifications

Looking for a blog?

  • Can't find a specific blog? Try using the Blog page to browse and search blogs.

Communities