Solaris 11 Tips

Solaris, Technology
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; }
Read More

VirtualBox Serial Port Console on Solaris 10

Solaris, Technology, Virtualization
If you're like me and prefer the command line to the GUI, here's a trick and script to help you manage your Solaris VMs. Enable a serial port for the VM. Enable Port 1 Port Number COM1 Port Mode: Host Pipe Create Pipe Port/File Path: /tmp/vb-VM-NAME-console Perform a reconfiguration boot on the VM. Install socat on the host system sudo apt-get install socat Change the eeprom console device for the VM: eeprom console=ttya Change the /boot/grub/menu.lst for the VM: ... # To enable grub serial console to ttya uncomment the following lines # and comment out the splashimage line below # WARNING: don't enable grub serial console when BIOS console serial # redirection is active!!! serial --unit=0 --speed=9600 terminal serial # # Uncomment the following line to enable GRUB splashimage on console #splashimage /boot/grub/splash.xpm.gz # # To…
Read More

pm_tick Panics

Solaris Cluster, Technology
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
Read More

scinstall Reboot Fails

Solaris Cluster, Technology
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,…
Read More