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. Sysadmin because even developers need heroes!!!
[click to continue…]
I’ve already written about creating a partition size larger than 2TB under Linux using GNU parted command with GPT. In this tutorial, I will provide instructions for booting to a flat 2TB or larger RAID array under Linux using the GRUB boot loader.
[click to continue…]
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.
I’ve Sun Blade X6450 server for ERP application:
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.
You can easily start / stop / pause or take a snapshot from a shell prompt under a Linux / Windows host using vmrun command. This is useful if you do not want to run web interface for starting and/or stopping VMs.
vmrun -u USER -h ‘https://vmware.server.com:8333/sdk’ -p PASSWORD COMMAND [PARAMETERS]
vmrun -u USER -h ‘https://vmware.server.com:8333/sdk’ -p PASSWORD start “[storage] Path/to/.vmx”
=> -u USER : VMWare server username
=> -h ‘https://vmware.server.com:8333/sdk’ : Local or remote server FQDN / IP address
=> -p PASSWORD : VMWare server password
=> COMMAND [PARAMETERS] : Command can be any one of the following:
POWER COMMANDS PARAMETERS DESCRIPTION
-------------- ---------- -----------
start Path to vmx file Start a VM
stop Path to vmx file Stop a VM
reset Path to vmx file Reset a VM
suspend Path to vmx file Suspend a VM
pause Path to vmx file Pause a VM
unpause Path to vmx file Unpause a VM
Start a VM called CentOS
To start a virtual machine with Vmware server 2.0 on a Linux host, stored on storage called iscsi:
vmrun -T server -h 'https://vms.nixcraft.in:8333/sdk' -u root -p 'secrete' start "[iSCSI] CentOS52_64/CentOS52_64.vmx"
To start a virtual machine with Workstation on a Windows host (open command prompt by visiting Start > Run > cmd > [enter] key):
vmrun -T ws start "c:\My VMs\centos\centos.vmx"
Stop a VM called CentOS
To stop a virtual machine with Vmware server 2.0 on a Linux host, stored on storage called iscsi:
vmrun -T server -h 'https://vms.nixcraft.in:8333/sdk' -u root -p 'secrete' stop "[iSCSI] CentOS52_64/CentOS52_64.vmx"
Reset a VM called Debian
To reset a virtual machine with Vmware server 2.0 on a Linux host, stored on storage called DISK3:
vmrun -T server -h 'https://sun4k.nixcraft.co.in:8333/sdk' -u root -p 'secrete' reset "[DISK3] Debian5/Debian5.vmx"
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 220.127.116.11265
Open a shell prompt and type the following commands:
$ cd ~/.mozilla/
$ find . -type d -iname "VMwareVMRC@vmware.com"
Change the directory, enter:
$ cd ./firefox/szvrcz3m.default/extensions/VMwareVMRC@vmware.com
$ cp install.rdf ~/install.rdf.bak
$ vi install.rdf
Find line that read as follows:
Replace it with:
Save and close the file. Open Firefox and plug-in should work without a problem.
(Fig.01: Running VMWare Server Remote Console Plugin under Updated Firefox v3.0.1)
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.
Download VMware Server 2.0 Release Candidate 1
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:
How do I access and control my guest operating systems?
Fire a webbrowser and type the following url:
(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
vmrun -T ws -gu guestUser -gp guestPassword list