In my never-ending quest to find justification for writing NSM-Console, I hereby present the following tutorial on how to decode the SANS Christmas packet challenge using nothing but NSM-Console: I’m going to be using NSM-Console version 0.4-DEVEL, which adds the features that allow this analysis to be performed without external tools. You can get the […]
Okay, so almost everyone has heard about Project Indiana right? The one where SUN tries to make Solaris like Linux so they can compete in more areas and get all the wonderful features of Solaris on more platforms. Well, I have a suggestion for you: Don’t use Java for your installer. Yea, sure, it’s fine […]
Alright, so for the last 3 days or so, my main Solaris machine has been going crazy and kernel panicing about once every day or so, which is extremely annoying because every time it panics the machine reboots (and this machine has 3 zones that are in current use, so I get 3 calls about […]
Here’s a nifty little submission from Ralf Ramge. It will do a ZFS snapshot backup to a local directory, a remote machine and also clone and promote the filesystem on the remote machine. It keeps the last 7 backups around. Take a look: #!/bin/bash # backup_zfssnap.sh, (c) 2007 ralf [dot] ramge [at] webde [dot] de […]
So I read quite a few Solaris blogs and when this popped up this morning I decide to take a look (warning, the movie that the post links to is >500 megs) I had expected to hear a pretty good discussion around the “linuxification” of Solaris and how Ian Murdock plans to approach it, turns […]
Hi everyone, I’m back again with another perl script to hopefully be useful to a few of you. Firstly, the script: http://lee.hinmanphoto.com/files/zdiff.txt (formatting long scripts in wordpress’ crazy editor is a very long and arduous process, thus I’m just linking to the script in this case, if anyone knows of a better place to stick […]
Here’s a simple script for creating daily zfs snapshots that get rotated every week (so you always have one for Mon, Tues, Wed, etc) #!/usr/bin/perl use warnings; use strict; my $zfsname = shift || die “Need a filesystem name\n”; my $day = `date`; $day =~ s/(Sun|Mon|Tue|Wed|Thu|Fri|Sat)[\S\s]+/$1/gi; my $snapname = “$zfsname\@$day”; my $exist = system(“zfs list […]
Basic iptables firewall conf only letting ssh and DNS through: # Generated by iptables-save v1.2.11 on Thu May 17 14:52:04 2007 *filter :INPUT DROP [13164:946396] :FORWARD ACCEPT [0:0] :OUTPUT DROP [0:0] -A INPUT -p tcp -m state –state RELATED,ESTABLISHED -j ACCEPT -A INPUT -p tcp -m tcp –dport 22 -j ACCEPT -A INPUT -s 128.222.228.235 […]
Firstly, the easy one: RAID0: Given 4 slices, each ~5g: First, need a metadb, I created a 100MB slice on c1t1d0s0 (which I am NOT using for the RAID, entirely separate drive) and ran this command to initiate the database. It is a good idea to mirror the database in a minimum of 3 positions, […]
For fun and profit! Basically, for my own categorization: 1. Celerra-side: Create filesystems (I am using 4 because I want to stripe across all 4: nas_fs -n iscsiRAID1_5g -c size=5G pool=clar_r5_performance nas_fs -n iscsiRAID2_5g -c size=5G pool=clar_r5_performance nas_fs -n iscsiRAID3_5g -c size=5G pool=clar_r5_performance nas_fs -n iscsiRAID4_5g -c size=5G pool=clar_r5_performance Mount filesystems: server_mount server_2 iscsiRAID1_5g /iscsiRAID1_5g […]