'geekery' Category

  • Decoding the SANS Christmas packet challenge using only NSM-Console

    January 11, 2008

    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 […]

  • First suggestion for Project Indiana

    June 14, 2007

    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 […]

  • Frustrating: Kernel panics

    June 8, 2007

    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 […]

  • Submission: local/remote zfs snapshot script

    June 6, 2007

    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 […]

  • Ian Murdock at OpenSolaris users group

    June 5, 2007

    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 […]

  • Not-as-simple perl script for ZFS snapshot auditing

    June 5, 2007

    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 […]

  • Super-simple perl script for zfs snapshots

    June 1, 2007

    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 […]

  • Linux firewall configuration

    May 17, 2007

    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 […]

  • Use SVM to make RAID0 and RAID1 meta-partitions

    May 17, 2007

    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, […]

  • Getting EMC Celerras to work for iscsi on Solaris 10

    May 17, 2007

    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 […]

 
Powered by Wordpress and MySQL. Theme by Shlomi Noach, openark.org