As a system admin, I need to use additional hard drives for to provide more storage space or to separate system data from user data. This procedure, adding physical block devices to virtualized guests, describes how to add a hard drive on the host to a virtualized guest using VMWare software running Linux as guest.
It is possible to add or remove a SCSI device explicitly, or to re-scan an entire SCSI bus without rebooting a running Linux VM guest. This how to is tested under Vmware Server and Vmware Workstation v6.0 (but should work with older version too). All instructions are tested on RHEL, Fedora, CentOS and Ubuntu Linux guest / hosts operating systems. [continue reading…]
I‘ve Windows Vista installed as a guest under Ubuntu Linux using VMWARE Workstation 6.0. This is done for testing purpose and browsing a few site that only works with Internet Explorer. Since I only use it for testing I made 16GB for Vista and 5GB for CentOS and 5GB in size for FreeBSD guest operating systems. However, after some time I realized I’m running out of disk space under both CentOS and Vista. Adding a second hard drive under CentOS solved my problem as LVM was already in use. Unfortunately, I needed to double 32GB space without creating a new D: drive under Windows Vista. Here is a simple procedure to increase your Virtual machine’s disk capacity by resizing vmware vmdk file. [continue reading…]
Virtualization is the latest buzz word. You may wonder computers are getting cheaper every day, why should I care and why should I use virtualization? Virtualization is a broad term that refers to the abstraction of computer resources such as:
This article describes why you need virtualization and list commonly used FOSS and proprietary Linux virtualization software. [continue reading…]
VirtualBox is a virtual emulator like VMWare workstation. It has many of the features VMWare has, as well as some of its own.
I really like new Opensource VirtualBox from Sun. It is light on resources. Here is a quick tip – you can convert a VMware virtual machine to a VirtualBox machine using qemu-img utility. [continue reading…]
Dunnington is Intel’s first multi-core CPU – features a single-die six- (or hexa) core design with three unified 3 MB L2 caches (resembling three merged 45 nm dual-core Wolfdale dies), and 96 KB L1 cache (Data) and 16 MB of L3 cache. It features 1066 MHz FSB, fits into the Tigerton’s mPGA604 socket, and is compatible with the Caneland chipset. These processors support DDR2-1066 (533 MHz), and have a maximum TDP below 130 W. They are intended for blades and other stacked computer systems.
The four-socket Sun Blade X6450 server module features Intel Xeon processor 7000 series and up to 192 GB of memory. With 24 DIMM slots per server module, it gives you 50 percent more memory capacity than competing blade servers making it an ideal fit for virtualization and server consolidation, HPC, database and enterprise applications. Fill a Sun Blade 6048 chassis for a remarkable 11TFLOPS of peak performance and up to 1152 processing cores per rack.
Fig.01: Sun Blade X6450 Server Module showing the internals
I tried old RHEL version and it failed to work because of old kernel. So I called to Redhat support and they told me to use at least kernel 2.6.18-92.1.10 and above. The problem is my client do not have RHEL 5.2 media and License (server came with Solaris 10). So I asked my client to get RHEL 5.2. Unfortunately, their local software vendor was out of stock for RHEL software. It took 5 days to get software media kit.
Finally, I’ve installed it on Sun blade server. It is working fine now. I wish I knew about latest Intel Xeon 7400 support problem earlier. It may have saved some time, effort, traveling and money on my part. I should have gone though server datasheet. This server only works with RHEL version 4.7 or 5.2 (32/64 bit) and above.
Update: Vmware sever 2.0 final has been released. Version 2.0 has updated version for Firefox 3.0.x series.
VMWare remote console plugin allows to control VMWare server 2.0RC1. However, when you upgrade Firefox to 3.0.1 it will not work or get disabled by Firefox 3.0.1 due to plug-in compatibility issue. To fix this issue shutdown your Firefox, locate a directory called VMwareVMRC@vmware.com. This hack tested on:
=> Linux running Firefox 3.0.1
=> VMware Remote Console Plug-in version 126.96.36.199265
Open a shell prompt and type the following commands: $ cd ~/.mozilla/
$ find . -type d -iname "VMwareVMRC@vmware.com"
VMware Server (formerly GSX Server) is an entry-level server virtualization solution which is proprietary, freeware software. VMware released version 2.0 beta of Server on July 1, 2008. VMware Server offers virtualization benefits such as:
+ You can create, edit, and play virtual machines.
+ Install any guest operating system for testing purpose.
+ Improve security.
+ Reduce downtime.
+ Control guest oses and VMware server from browser itself.
+ Improve resource utilization i.e. resource virtualization etc.
It uses a client-server model, allowing remote access to virtual machines.
Please note that to use this version, you will need to register for your free serial number(s).
How do I install vmware?
Once downloaded simply use rpm command to install VMware software under CentOS / RHEL 5.x: # rpm -ivh VMware-server-2.0.0-101586.x86_64.rpm
Before running VMware Server for the first time, you need to configure it for your running kernel by invoking the following command: # /usr/bin/vmware-config.pl
How do I access and control my guest operating systems?
Fire a webbrowser and type the following url: https://your.server.com:8333/
(Fig.01: Vmware server web login)
Once logged in you can see all your virtual machines and you can start / stop VPS oses:
(Fig.02: “VMWare Infrastructure Web Access” provides appliance like control [click to enlarge])
You need to install Firefox add-on called “VMware Remote Console Plugin”, once installed you can install any os or view guest / vps oses console:
(Fig.03: FreeBSD remote console within my Firefox [click to enlarge])
You can easily list all running Virtual machines from a Linux shell prompt without accessing GUI. This is useful to scripts or to get status for any VM.
vmrun is a command line application for controlling various VM operations. Type the following command:
vmrun -T server -h ‘https://vmserver.example.com:8333/sdk’ -u VMUSERName -p ‘yourVMPassword’ list
=> -T server : This is VMWARE server version 2.x
=> -h ‘https://vmserver.example.com:8333/sdk’ : VMWare server hostname. This can be local or remote server.
=> -u VMUSERName : VMWare server username (usually it is root)
=> -p ‘yourVMPassword’ : VMWare server password
=> list : List all running vms
List all running VMs
vmrun -T server -h 'https://server.nixcraft.in:8333/sdk' -u root -p 'myPassword' list
Total running VMs: 2
Listing a virtual machine with Workstation on a Windows host (open dos prompt and type the command): vmrun -T ws list
OR vmrun -T ws -gu guestUser -gp guestPassword list