Archive

Author Archive

opensolaris – pkg verify

May 23rd, 2010 Daz No comments

I ran through a pkg verify the other day and came across a lot of errors. Running the subsequent pkg fix command presented me with this…

pkg: Requested “install” operation would affect files that cannot be modified in live image.

Please retry this operation on an alternate boot environment.

This is the fix….

mkdir /mnt/osol-134fix
beadm create osol-134fix
beadm mount osol-134fix /mnt/osol-134fix
pkg -R /mnt/osol-134fix fix –accept
beadm activate osol-134fix

Then reboot your machine into the new boot image

Categories: OpenSolaris

opensolaris – default route

May 11th, 2010 Daz No comments

type the following to check your default routes…

netstat -rn

Categories: Networking, OpenSolaris

vmware – measuring iscsi write performance

May 7th, 2010 Daz No comments

I picked this trick up off vmware support. If you’ve got your iscsi all setup you can drop to the shell (either ssh or console) and do this to measure your average write throughput.

time vmkfstools -c 4000 /vmfs/volumes/san_vmfs/my_vm/fat_disk.vmdk

Essentially this will initiate the host to create a fat disk in the location above. You will then get a time recorded on how long it takes to execute this command. Then you can use your maths skill to work out the transfer rate…

While this is happening you can open another SSH type esxtop then press “d” and watch the (d)isk throughput on the console. Pressing “v” will show you stats per (v)irtual machine.

Categories: Virtual

vmware – XP as a virtual guest

May 6th, 2010 Daz No comments

I’ve run into some issues lately with XP guests that are running off a IDE controller. If you want any kind of performance you must build your machine with the LSI drivers (parallel).

Here is a flp image with the required LSI drivers (Press F6 etc on xp boot)

http://communities.vmware.com/message/1499140#1499140

Categories: Virtual, Windows

hyper-v to esx conversion

April 14th, 2010 Daz No comments

V2V cold clone process for SBS / exchange / sql / DC’s etc…..    (works in vSphere)

Steps to convert from hyper-v guest to vmware guest

  • Remove hyper-v integrated services while hyper-v guest is running. (if possible)
  • Note down NIC networking details first
  • Clean shutdown hyper-v guest
  • Use StarWind Converter (free) to convert VHD to “dynamically growing VMware” image and use “IDE” as type. Note “SCSI” does NOT work if you have not got the LSI / BUS drivers in the source image, just use the default options – dynamic vmware and IDE.
  • Create VMware guest shell (virtual machine equivalent to hyper-v specs but without the disks) – remove all hard drives, iscsi controller should also disappear.
  • Upload the VMDK to same data store as virtual machine and attach to the virtual guest in the right order. They should be detected as “IDE”
  • Start new vmware guest
  • If you could not remove integrated services (i.e. hot clone), then you MUST disable hyper-v services immediately.
  • Install vmware tools – reboot
  • Remove hidden NIC and other orphaned devices, and reconfigure network card as per original.
  • Windows may need to be re-activated – do this.

Note : converting a machine to use an IDE controller will limit its performance!

Categories: Virtual