Did the install and unchecked all uses except 'base system'. To install the VMware tools, had to add the following packages
psmisc - for killall
linux-headers-`uname -r`
gcc (with deps binutils, cpp, cpp-4.1, gcc-4.1 libssp0)
make
Accepting the defaults for vmware-config-tools seemed to do the trick. Except for the HGFS module - that didn't load on reboot.
Monday, August 13, 2007
Friday, April 20, 2007
Dualboot VMware
I got fed up with running out of disk space so I stuck an old EIDE disk (PATA?) in my Dell to stick my virtual machines on (using the advice from the previous post).
Having two different drive types worked out well. I want to play with Xen when I get a chance, so I thought I'd try setting up CentOS 5 for dual-booting and for running inside a VM when I'm running Windows.
After a quick read of the old docs for VMware 4.5 I found by Googling (http://www.vmware.com/support/ws45/doc/disks_dualboot_ws.html) I created a custom machine configuration that exposed the physical disk to the virtual machine.

Installed CentOS using VMware (because I couldn't get my machine to boot of the DVD-ROM for some reason) without a hitch, rebooted and hit F12 for the boot menu, selected the Master Primary IDE disk (rather than the SATA Master) and it booted right into CentOS.
There are a couple of issues to resolve - the graphics and audio drivers change depending on which environment CentOS is booted in. I need to add something to the init process to switch around the configuration files depending on the boot configuration. I suppose there could be a mechanism built into the OS...
Having two different drive types worked out well. I want to play with Xen when I get a chance, so I thought I'd try setting up CentOS 5 for dual-booting and for running inside a VM when I'm running Windows.
After a quick read of the old docs for VMware 4.5 I found by Googling (http://www.vmware.com/support/ws45/doc/disks_dualboot_ws.html) I created a custom machine configuration that exposed the physical disk to the virtual machine.
Installed CentOS using VMware (because I couldn't get my machine to boot of the DVD-ROM for some reason) without a hitch, rebooted and hit F12 for the boot menu, selected the Master Primary IDE disk (rather than the SATA Master) and it booted right into CentOS.
There are a couple of issues to resolve - the graphics and audio drivers change depending on which environment CentOS is booted in. I need to add something to the init process to switch around the configuration files depending on the boot configuration. I suppose there could be a mechanism built into the OS...
Thursday, April 12, 2007
VMWare Workstation Tweaks
I found a useful little article on VMWare disk performance
http://www.virtualization.info/2005/11/how-to-improve-disk-io-performances.html
It recommends disabling anti-virus auto-scanning of the VMDK and VMEM files - I also followed the .ISO recommendation as I attach a lot of them for installation/liveCD testing.
http://www.virtualization.info/2005/11/how-to-improve-disk-io-performances.html
It recommends disabling anti-virus auto-scanning of the VMDK and VMEM files - I also followed the .ISO recommendation as I attach a lot of them for installation/liveCD testing.
Tuesday, April 10, 2007
Wot no updates
So much for blogging - haven't updated this in weeks. I'm working on a couple of projects - replacing my phone service with Asterisk running on my Linksys router and I'm toying with integrating Bacula with the Amazon S3 service so I can stop worrying about backups.
I'm also trying out the CentOS 4.92 beta. Running the hgfs driver for shared folders with SELinux enabled caused the kernel to panic. Once I disable it, it worked fine. 'dmesg' had an error in it about hgfs not supporting labelling so I thought I'd get rid of it.
I'm also trying out the CentOS 4.92 beta. Running the hgfs driver for shared folders with SELinux enabled caused the kernel to panic. Once I disable it, it worked fine. 'dmesg' had an error in it about hgfs not supporting labelling so I thought I'd get rid of it.
Tuesday, February 6, 2007
SQLServer 2005 trigger debugging
They've removed the T-SQL debugger in SQLServer 2005. Luckily I have 1 day left of my Visual Studio 2005 trial.
The way to debug a trigger is to create a stored procedure that exercises the trigger (mine just did an update on the table), set a breakpoint in the trigger where you want, and then step into the *stored procedure* by right clicking on it. Bobs your uncle, VS grinds away and you get to your breakpoint (eventually).
The way to debug a trigger is to create a stored procedure that exercises the trigger (mine just did an update on the table), set a breakpoint in the trigger where you want, and then step into the *stored procedure* by right clicking on it. Bobs your uncle, VS grinds away and you get to your breakpoint (eventually).
Thursday, February 1, 2007
Fedora setup
Ok, on to setting up FC6. I've installed the base FC6 and picked out the development and MySQL packages. On configuration, I disabled the firewall and SELinux during testing. We'll decide what do about those on deployment.
Next I instaled the VMware tools (thanks for the mouse pointer help here http://www.thoughtpolice.co.uk/vmware/howto/fedora-core-6-vmware-tools-install.html and the vmxnet diver help here http://www.vmware.com/community/thread.jspa?messageID=556834).
To make sure the two are synchronised I'm planning to setup NTP on the second node pointing to the first one (I found instructions here http://wiki.novell.com/index.php/SUSE_Linux_Enterprise_Server) - but I want to get MySQL configured and running on the master first before I clone the system.
Next I instaled the VMware tools (thanks for the mouse pointer help here http://www.thoughtpolice.co.uk/vmware/howto/fedora-core-6-vmware-tools-install.html and the vmxnet diver help here http://www.vmware.com/community/thread.jspa?messageID=556834).
To make sure the two are synchronised I'm planning to setup NTP on the second node pointing to the first one (I found instructions here http://wiki.novell.com/index.php/SUSE_Linux_Enterprise_Server) - but I want to get MySQL configured and running on the master first before I clone the system.
Testing MySQL Clustering
At work we're setting up a pool of LAMP servers and they will need some persistent storage. We're using MySQL in house for our other relational needs so I'm having a go at getting a 2-node high-availability/shared nothing/load balanced database cluster working.
I can't access the actual hardware yet, so I'm playing in a couple of virtual machines. The first step is to get them installed and stick MySQL on there. The LAMP servers are all using FC6 (for better or worse - maybe CentOS would have been better) so I'll use that. First step, getting the first node working so I can clone it and try out replication.
I can't access the actual hardware yet, so I'm playing in a couple of virtual machines. The first step is to get them installed and stick MySQL on there. The LAMP servers are all using FC6 (for better or worse - maybe CentOS would have been better) so I'll use that. First step, getting the first node working so I can clone it and try out replication.
Subscribe to:
Posts (Atom)