Browsed by
Category: Virtualization

VMware: Extending a Cloned (Deployed) Windows VM’s root partition without using any 3rd party tools

VMware: Extending a Cloned (Deployed) Windows VM’s root partition without using any 3rd party tools

In the dynamic environment we have at work any day of the week, we could need some test VM’s with any number of different disk sizes. I would clone a “Golden Master” and then resize the disk, going through many different tools to be able to resize the C: drive to the full size of the .vmdk. So, I wondered if there was any way to automate this. Well, there partially is. If you add the “ExtendOEMPartition = 1” entry…

Read More Read More

VMware: Backing up your ESX Configuration/VMX files

VMware: Backing up your ESX Configuration/VMX files

This is a quick/easy/down/dirty way of backing up your ESX configuration information. You’ll need to add a cron job, and create a script to run that cron job. Here’s the script that I used to mount a Windows share, copy the files over, and then unmount the Windows share (I saved it in /root as backup.sh: #******************************************************************* #!/bin/bash mount -t smbfs //windowsserver/sharename /mountpoint -o username=user/DOMAIN,password=password cd /mountpoint/ESX_Backups/ rm -rf ./old.$HOSTNAME/ mv ./$HOSTNAME/ ./old.$HOSTNAME/ mkdir $HOSTNAME cd / cp -duR /etc/…

Read More Read More

VMware: Full path in ESX 2.5/3.0 Service Console

VMware: Full path in ESX 2.5/3.0 Service Console

This is an old post, but I redid the blog… Not sure how many of you use PuTTY and the COS, but I figured I’d post this tidbit. I got tired of looking at just[root@host log]# for my prompt.Showing only my current directory I would rather have[root@host /var/log]# Which shows the full path You can modify the /etc/bashrc file ( back it up first!!!) to change this. Look for this line in the /etc/bashrc file:[ “$PS1” = “\s-\v\$ ” ]…

Read More Read More