Category Archives: Solaris Cluster

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

pm_tick Panics

If your virtualized cluster panics with the following:


Sep  8 09:18:10 node1 genunix: [ID 898738 kern.notice] Aborting node because pm_tick delay of 5492 ms exceeds 5050 ms

This is common when using Solaris Cluster in a virtual machine. The following may help the issue:


root@node1 # scconf -cw heartbeat_timeout=60000
root@node1 # scconf -cw heartbeat_quantum=10000

scinstall Reboot Fails

If the first node fails a reboot after scinstall completes with the following errors, read on for the fix:


Jan 27 11:52:50 node1 genunix: WARNING: CCR: Invalid CCR table : rgm_rt_SUNW.LogicalHostname:4 cluster global.
Jan 27 11:52:50 node1 genunix: WARNING: CCR: Invalid CCR table : rgm_rt_SUNW.SharedAddress:2 cluster global.
...
Jan 27 11:53:55 node1 Cluster.RGM.global.rgmd: [ID 349049 daemon.alert] CCR reported invalid table rgm_rt_SUNW.LogicalHostname:4; halting node
Jan 27 11:53:55 node1 Cluster.RGM.global.rgmd: [ID 349049 daemon.alert] CCR reported invalid table rgm_rt_SUNW.SharedAddress:2; halting node

The fix is to boot the node outside of cluster and repair the directory table:


cd /etc/cluster/ccr/global
vi directory

You want to remove these two lines:


rgm_rt_SUNW.LogicalHostname:4
rgm_rt_SUNW.SharedAddress:2

Save the file and bless it:


ccradm recover -o directory

Reboot back into cluster and proceed. After both nodes have rebooted and are in cluster mode, register these two resource types:


clresourcetype register SUNW.LogicalHostname
clresourcetype register SUNW.SharedAddress