• Home
  • About
  • Map
  • Archives
  • Videos
  • Gallery
Grab the RSS feed

spiralbound.net

spiralbound.net
  • Home
  • Adventures
  • Data and Technology
  • Et cetera
  • Highlights

Archive for "Data and Technology"

  • Data and Technology

    Posted on January 26th, 2010

    Written by cliff

    Tags

    bash, cfengine, global zone, local zone, prtdiag, script, solaris, solaris 10, sun, technology, unix, vmware, zonetype.sh

    ZoneType.sh Version 2.0

    ZoneType.sh Version 2.0

    We just started supporting Solaris 10 in our VMware cluster so I had to update my zone type script to detect if the OS is running there. I’m not sure how I feel about depending on the output of ptrdiag since the interface is labeled “unstable”, but it works for now, and I really don’t [...]

  • Data and Technology

    Posted on December 22nd, 2009

    Written by cliff

    Tags

    coolstack, iconv. mbstring, php, solaris, The data could not be converted to UTF-8, utf-8, wordpress

    WP Error: The data could not be converted to UTF-8

    WP Error: The data could not be converted to UTF-8

    If you’ve just upgraded to WordPress 2.9 and you are now getting UTF 8 conversion errors on your dashboard, you’ll need to take a look at WordPress Trac Ticket #11219.

    RSS Error: The data could not be converted to UTF-8

    The bottom line is that you’ll need to enable either iconv or mbstring in your PHP configuration. [...]

  • Data and Technology

    Posted on November 2nd, 2009

    Written by cliff

    Tags

    find, newer, posix, touch, unix

    UNIX – Find Files that Changed Within Time Window

    UNIX – Find Files that Changed Within Time Window

    Every so often us lowly UNIX admins find ourselves needing to search a file system for files that have been created or changed within a certain time window. In other words, those files that are newer than time “X”, but not newer than time “Y”. There are a number of ways to accomplish this, but [...]

  • Data and Technology, Highlights

    Posted on October 14th, 2009

    Written by cliff

    Tags

    Arduino Resources for the n00b

    Arduino Resources for the n00b

    Lately I’ve been entertaining myself by building a rebreather loop controller using the Arduino micro controller. This little open source board is really nice to work with for a number of reasons. Unlike many of the alternatives which employ proprietary programming languages, the Arduino simply uses “C”. It also has an IDE that runs the [...]

  • Data and Technology

    Posted on April 30th, 2009

    Written by cliff

    Tags

    bootable, corruption, database, database optomization, database password, mysql, mysqlcheck, port forwarding, root password, ssh, ssh tunneling

    Useful MySQL Commands

    Useful MySQL Commands

    There are a lot of usefully MySQL commands that I either don’t run enough to remember or just end up using some GUI to accomplish. Nothing against Navicat, but what kind of sysadmin would I be if I couldn’t do it at the command line as well. Anyhow, I had to do a bunch of [...]

  • Data and Technology

    Posted on March 3rd, 2009

    Written by cliff

    Tags

    cfengine, global zone, local zone, script, solaris, sun, zoneadm

    Script to Determine Solaris 10 Zone Type

    Script to Determine Solaris 10 Zone Type

    We use a lot of local zones in our Solaris 10 environment. We also use cfengine pretty heavily and there are some instances when we need to include or exclude certain automated tasks based on what type of zone we are working with. I wrote this little script that checks to see what type of [...]

  • Data and Technology

    Posted on March 2nd, 2009

    Written by cliff

    Tags

    dladm, duplex, ethernet, link, link speed, ndd

    Check Speed / Duplex on Solaris 10

    Check Speed / Duplex on Solaris 10

    In the past, I always had to use the ndd – get command to figure out what my link speed and duplex settings were. In Solaris 10, Sun now gives us the handy dladm command, which makes it a whole lot easier.

    # dladm show-dev
    e1000g2 link: up [...]

  • Data and Technology

    Posted on February 16th, 2009

    Written by cliff

    Tags

    cfgadm, disk, disk suite, failed drive, metadb, metareplace, raid, storage, sun

    Replace Failed SVM Mirror Drive

    So you have used SVM to mirror your disk, and one of the two drives fails. Aren’t you glad you mirrored them! You don’t have to do a restore from tape, but you are going have to replace the failed drive.
    Many modern RAID arrays just require you to take out the bad drive and plug [...]

  • Data and Technology

    Posted on January 27th, 2009

    Written by cliff

    Tags

    1234567890, date, epoch, time, unix, UNIX time, UTC

    Happy 1234567890′th Second UNIX!

    Happy 1234567890′th Second UNIX!

    Today, Friday February 13, at 3:31 PM (PST), the UNIX time will read exactly 1234567890. So exacly what is all this excitement about UNIX being able to count to 10? Surely, the operating system that is slowly but steadily putting Microsoft out of business must be able to do that. Well, it’s actually the UNIX [...]

  • Data and Technology

    Posted on December 31st, 2008

    Written by cliff

    Tags

    apache, centos, firewall, iptables, lamp, linux, mysl, port forward, security, ssh

    Basic iptables Configuration

    Basic iptables Configuration

    It’s always a good idea to setup a local firewall on hosts that are on unprotected networks. The internet “winds” blow harder and harder each day, and it’s only a matter of time before some daemon has an exploit that gets taken advantage of. I use CentOS 5 for all my web servers, and here [...]

  • Data and Technology

    Posted on December 28th, 2008

    Written by cliff

    Tags

    admin, admin file, basedir, defaults, packages, pkgadd, solaris, sun, unix

    Install Solaris Package in Alternate Base Directory

    Install Solaris Package in Alternate Base Directory

    Unless you specify a different administrative file, the pkgadd command reads “/var/sadm/install/admin/default”, which specifies the base directory as “/opt”. Do not change the settings in this file, but rather create a custom admin file and enter an alternate “basedir” directive if you want to install your package into a different directory. We are going to [...]

  • Data and Technology, Highlights

    Posted on December 7th, 2008

    Written by cliff

    Tags

    bahnhof, datacenter, james bond, pionen, stockholm, sweden, technology, underground

    World’s Coolest Datacenter

    World’s Coolest Datacenter

    Ever since coming to work at UC Santa Cruz, I have been feeling pretty lucky to work in a well engineered and managed datacenter. So lucky, in fact, that I’ve been cultivating hatred towards me in my former coworkers by regaling them with stories about how wonderfully designed everything is here. The problem with thinking [...]

  • Data and Technology, Highlights

    Posted on August 5th, 2008

    Written by cliff

    Tags

    bare metal, linux, restore, rhel, RHEL4

    Bare Metal Linux Restore

    Bare Metal Linux Restore

    Several weeks ago we started seeing some pretty scary errors showing up on the main system disk for our Blackboard server. We had an extra server hanging around, so we decided to move all the data off the failing disk and onto our spare server. The only question was how to make the new server [...]

  • Data and Technology

    Posted on July 14th, 2008

    Written by cliff

    Tags

    apc, centos, module, pecl, php

    Installing APC on CentOS

    Installing APC on CentOS

    Casey needed me to install APC cache for the Scriblio project. It’s a PECL module, and pecl install apc gives an error. Here are some great instructions for getting it all to work.
    UPDATE: Casey actually has some instructions that provide a more elegant method of installing APC on CentOS or RHEL. Both methods will work, [...]

  • Data and Technology

    Posted on June 11th, 2008

    Written by cliff

    Tags

    10G, backups, mount options, mountpoint, nfs, options, oracle, oralce 10G, rman

    RMAN 10G NFS Mount Options

    RMAN 10G NFS Mount Options

    We backup our Oracle databases using RMAN and then write the backup pieces out to an NFS share. This has always worked well, but RMAN started complaining that the NFS share was not mounted with the correct options when we upgraded to Oracle 10G. After some poking around in the docs I finally came up [...]

  • Older Posts Yeah! There are more posts, check them out.

  • Sponsor
  • Recent Comments
    • cliff on Raising Mallard Ducklings
    • cliff on Raising Mallard Ducklings Redux
    • cliff on Raising Mallard Ducklings
    • DEBORAH on Raising Mallard Ducklings Redux
    • jen on Raising Mallard Ducklings
    • Nancy Gorman on Raising Mallard Ducklings
    • conor on Fish Supposedly Washed Up By Asian Tsunami

Copyright © 2008 spiralbound.net - Proudly powered by Wordpress