Category Archives: Technology

Cleaning up after KernSafe Trial

I’ve recently been evaluating iSCSI target drivers on my Mac. I tried several and I won’t bore you with those details but one, iSCSI Initiator X from KernSafe, did cause some issues following the evaluation. I wanted to capture the steps I needed to follow when I noticed severe performance issues following my evaluation period.

Continue reading

Solaris 11 Serial Console

I am providing support for Solaris Cluster again and have am now on a Mac (Hacintosh) using Vmware Fusion for my virtualization. Before you proceed with this tutorial, you must first install socat on the Mac as it is used to perform the console I/O redirection.  I suggest using homebrew:

brew install socat

Continue reading

Installing systemtap on CentOS 7

I recently had the need to install systemtap¬†on one of my CentOS 7 VMs and the process isn’t as straight forward as it should be. It seems not all packages needed are built for all revisions of the kernel. After much searching, I managed to get this working and wanted to archive this procedure.

Continue reading

FreeBSD / FreeNAS Clone Jail

I recently had the need to update my shiny new FreeBSD jailed server because I wanted to migrate to WordPress. I didn’t want to bring down the existing server while I did the install and converted my content so I managed to clone my existing jailed server using warden:

 warden export name_of_jail --dir=/directory_for_warden_file 

This will take a while… Once done, you can import the warden file creating a new jail:

 warden import jail_warden_file.wdn --host=jailbird --ipv4=192.168.1.105/24 

You’ve now got a cloned jail and a template for creating other jailed servers.

Solaris 11 Tips

Static IP

Solaris 11 network stack is using crossbow so network administration is completely different now. In order to switch from DHCP to a static IP, we need to do the following:

# netadm enable -p ncp DefaultFixed
# ipadm create-ip net0
# ipadm create-addr -T static -a 192.168.1.21/24 net0/v4

Enable root login

rolemod -K type=normal root

Install Gnome

pfexec pkg install --accept solaris-desktop

Automated Installer

If the installadm client fails to boot and you land at the grub prompt, you may be missing next-server directive in the dhcp configuration. This should follow the filename directive.

# vi /etc/inet/dhcpd4.conf
...

host 08002746E9C3 {
  hardware ethernet 08:00:27:46:E9:C3;
  if option arch = 00:00 {
    filename "0108002746E9C3.bios";
  } else if option arch = 00:07 {
    filename "0108002746E9C3.uefi";
  }
  next-server 192.168.2.1;
}

Solaris Cluster in a Box

A VirtualBox Solaris Cluster complete with shared storage and quorum disk!

Host System

The host system is a Mac running 10.8:

Intel Core i7-3770K Ivy Bridge 3.5GHz
16Gb RAM
GeForce GTX 470 1280M
At the time of this article, I’m running Mac OSX 10.8.2 with VirtualBox 4.2.6. The Solaris Cluster is 3.3 running in a Solaris 10u10 virtual machine.
Continue reading