Home
Bennie "Big Tig" Tiger [entries|archive|friends|userinfo]
Bennie "Big Tig" Tiger

[ website | My Website ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Imrovements in computer component sizes [Jul. 2nd, 2009|10:39 pm]


Excellent progress in computer component sizes.

And I'm now off to AC.
Link3 comments|Leave a comment

Server Stuff [Jun. 29th, 2009|03:28 pm]
For those of you who have shell accounts on my machine, (macrophile.com, etc) I'm doing some software upgrades to get DNS in line. In the middle of other packages, SSH was upgraded and new keys were generated for the host. So when your SSH client warns you the keys have changed, you can rest assured it was an intentional change.
LinkLeave a comment

(no subject) [Jun. 25th, 2009|02:18 pm]
[Current Mood | amused]

We have a "backup" system that consists of syncing files off to remote storage at work. It's a temporary workaround while we're waiting for a real backup system out of procurement. There is already a procedure to do the backups. (Run a script.) I was asked to detail the restore procedure.

I wonder if anyone will notice the extra bits. Or if it will pass the chuckle test.


Manual System Restore Procedure:

1. Tools

The following tools should be at hand for recovery:
  • OS install media of a matching version of the system to restore
  • Knoppix CD
  • Clonezilla CD (version compatible with hardware)
  • Stress Linux CD
  • Alcohol, preferably scotch or rum.

Optional tools:
  • 3 lb engineering hammer (5+ lb sledge hammer is an acceptable substitute)
  • LFS live CD
  • Soda water and other mixers
  • rkhunter / chrootkit CD
  • Doritos (cool ranch)
  • Video game system

1. Prepare base system

You want to install the former files onto a system as closely referencing the old as possible. The more variances in hardware or system layout, the more complicated returning the system to full functionality.

The goal here is to initially bootstrap a similar revision of the OS that you will be restoring.

If a system has only partial loss, and can be brought up in single user mode, then that is sufficient. If possible, run stresslinux on the system for at least an hour, (preferably a day) to confirm the hardware is truly not at fault.

If the system is a complete loss, (IE: dead drive and no OS on new drive) it is preferable to use clonezilla to clone a peer in the same environment. If no peers are available, install a minimal-package install of the OS of the same brand and major revision onto the system.

During this step application of the toolset "alcohol" with optional usage of the toolset "Doritos” and toolset "video game system" is appropriate.

2. Assessing the state of the backup

Files that have been backed up are stored in the archive log volume on the DotHill logserver virtual server. They can be reviewed on [machine name redacted] in: "/archive_logs/images-rsync" Each directory is the hostname of the backed up system. "Frogger" would be in: "/archive_logs/images-rsync/frogger". If you have trouble understanding that previous sentence, apply the toolset alcohol until clarity is achieved.

Within each host directory there are two sub directories and one or more files:
  • "main-backup" – This directory is the location of the most recent files that were backed up. Most of our work will copy from here.
  • "increments" – As multiple backups are performed, any files that changed or were deleted have their former versions stored here in dated subdirectories. This is a handy location to grab any "accidentally" deleted files on a system that is backed up regularly. This usually accompanies an opportunity to explain that "rm" is not the "remark" command by which you annotate files on a system.
  • "bootsector.?da.dd" – These files represent the 512-btye boot sector of the boot device for the system. They can be dd'ed back onto the raw device when some bright person overwrites the boot loader. The optional toolset "engineering hammer" is appropriate for the RCA discussion with the user that did this.

Within the main-backup directory should be rsynced copies of the filesystem for this host as appearing from root, with all permissions. A usual backup will have entries such as: bin, etc, lib, media, mnt, opt, sbin, srv, var, boot, export, home, lib64, misc, net, root, selinux, usr

You should review fstab (/archive_logs/images-rsync/frogger/main-backup/etc/fstab in our example) to verify that your drive layouts are similar. Boot labels or boot devices should be the same so the restored boot-loader will function on the new system. While bricks were the foundation of our society, turning computers into them is not necessarily our goal.

Also, as they are backed-up daily, config files and changes can be reviewed on [machine name redacted] for most of our systems. Often [this machine] will be more current than the backup.

If the backup layout appears to sufficiently match the prepared system, we can move to the next step. Optional application of the "alcohol" toolset is appropriate here. As is cursing aloud at the "idiot" (variations: "asshole", "Tom-noddy muttonheaded juggins", "daft git", "customer") that killed this system if there is a direct party at fault. (Assignment of blame in blameless scenarios is covered later in this procedure and should not be addressed at this step.)

3. Restoring files

Boot the prepared base system from a rescue CD. (Preferrably the OS install disk, otherwise Knoppix) You will need to mount all partitions that should be restored and also bring up the network. Network settings can be reviewed either in the backup on ops or from the various config files stored in [change control machine].

If you can’t bring the system up on external media, this procedure can work from single-user mode but is slightly more dangerous. I highly recommend you invoke a statically linked shell (such as "ash") before starting your work.

If the system is in the XXX.XXX.0.0/16 network, then it should be able to directly mount the archive log partitions for rsync. If not, rsync can be done over SSH to root on ops. For a NFS mount it would be something like this:
%> mkdir -pv /mnt/backup

%> mount -t nfs XXX.XXX.XXX.XXX:/archive_log/images-rsync/frogger/main-backup

For each of the major directories in the backup, you want to rsync the contents of the backup onto the new. The examples below are assuming the system is mounted as “"/mnt/recover" and the backup is on "/mnt/backup"
%> for dir in `ls /mnt/backup/`;

do mkdir -pv /mnt/restore/$dir; rsync -av --delete /mnt/backup/$dir/ /mnt/restore/$dir;

done

For systems that cannot mount the NFS partition:
%> for dir in “SPACE SEPERATED LIST OF DIRECTORIES IN BACKUP”;

do mkdir -pv /mnt/restore/$dir;

rsync -av --delete --rsh=ssh root@[machine name]:/archive_logs/images-rsync/HOSTNAME/main-backup/$dir/ /mnt/restore/$dir;

done

rsync should report on STDOUT the files it is currently transferring.

Note that it is rather important to rsync if the source and destination directories have a slash at the end or not. A configuration error on that will rsync the data into subdirectories, causing a mass-delete a lot of files that would otherwise just be stat-ed, transferring the full volume of files over the network (as opposed to a delta), and correspondingly taking much longer to process. This means you may potentially exhaust the alcohol and Doritos toolsets.

It is expected that this step will consume the most time, the toolset "video game system" is most appropriate here.

Also, the downtime of staring at rsync will give you time to consider where to assign the blame. If no specific person can be cited for blame it is customary that the person whom has been longest off-call in operations is the most deserving. This may be an appropriate resolution of blame even when there is a clear case for others to be at fault. Be aware that under certain circumstances involving higher level employees, recursive blame assignments may be triggered.

4. Bootstrapping the restored system

If the format of the underlying partitions has been unavoidably changed between backup and restoration you will need to reconfigure and re-install grub or LILO on the boot sector used by the system. If the partitions and versions line up, this should not be necessary. That being said, there is a backup copy of the boot sector that matches the backup that can be dd'ed back in place as a fallback.

Now it is time to reboot the system. Deprive system of life giving electricity until it expires, then resuscitate via restoration of power.

During the reboot, options are varied. Depending on your background and religious preference as a sysadmin, any of the following actions may be customary while rebooting:
  • Curse loudly at the computer
  • Use the alcohol toolset
  • Perform the incantation of blame with the selected party from step 3
  • Appropriate blood sacrifices
  • Blame Microsoft
  • Threaten system with retribution from the "engineering hammer” tool
  • All of the above

Hopefully with the proper combination of actions and with the successful execution of previous recovery steps, the system should boot.

5. Check system health

Once a system is booted a thorough health check should be performed. Some of the steps may include:
  • Check for hardware errors in logs and IPMI
  • Verify that swap is active, all memory shows as present
  • Perform and fsck of all partitions. It’s customary to take a shot on each bad inode.
  • Check for any orphan files in lost+found
  • Remove any inappropriate lost+found directories if file-system layout has changed.
  • Verify network is present and routing
  • Restart and verify individual apps

At this point the sysadmin will likely need to be rebooted. Some of the steps may include:
  • Put away tools
  • Go to the "Pink poodle"
  • Play video games
  • Sleep
Link3 comments|Leave a comment

boop ... beep ... bloop [Jun. 24th, 2009|11:06 am]
[Current Mood | amused]

Link14 comments|Leave a comment

I get by with a little help from my friends... [Jun. 23rd, 2009|10:57 am]
I posted my rather emo post about AC and family a bit ago.

I've been rather quiet about such things since then because a few of you have leaned in and helped out. It's very very humbling to remember you have friends that are more than willing to help. Some sent financial support (I'm not sure on some of you whom would like thanks publicly or not, but I know that [info]gavyn_lumier is ok with it), lots of others helped with general emotional support, and still others applied ninja-yarn-and-airline-fu skills to finding flights. ([info]mammallamadevil)

Thank you, all of you, for helping me out in a bout of bad timing and financial squeeze. I got to call Dad on fathers day and say that I could fly out and see him. You have no idea how much that helped and how that made his (and my) day/week/month/year.

And I hope to see the rest of you at AC and get to be social there for the first time in almost a decade. I won't have a lot to spend, of course, but who cares? I'm there to see people. Because our fandom is full of good people.

That's one of the things that was consistently reinforced to me while I was director of reg. Furrys are usually good.

A lot of fandoms can be parasitic in nature. Usually the content is made by an external group who do not necessarily identify themselves as fans and the fans are usually never considered a part of those producing the content. A costume at a convention might be a well-made homage to a bit of media, but it is always a secondary creation. "Fan art."

In furry, and in some of the sci-fi cons, there is more of a family feel. The vast majority of content in home-grown. There are more people "doing" in furry than other groups. And more people are encouraged to "do" and enjoy their work, whatever it may be. The costume that someone makes is no longer "fan art" with all the second-class citizen baggage. It is a form of primary content. Same with the artists drawing.

I was lucky enough to overhear a conversation between Mark Evanier (professional writer, producer, long time staff of SDCC and panel moderator for countless conventions) and Rob Paulsen (voice of Pinky, and many other cartoons) when they were guests for AC. Rob was somewhat perplexed on why all these people were at AC. There was no customary group of "creators" he could see. His question, reflecting that confusion: "What are they fans of?" Mark had a wonderful answer: "They're fans of each other."

I really think that is the basis of what makes us different. It's what makes a furry con, even at thousands of people, still feel like a gathering of friends and not an impersonal media con. And I think that creative streak pulls in a better group of people. Sure there are stinkers in any group, but having stood at the head of hours-long reg lines of hundreds of people, I still found most of them kind, compassionate, intelligent, understanding and caring.

Thank you all for reminding me of just how caring we can be.
Link9 comments|Leave a comment

The first programming language I ever wrote in [Jun. 18th, 2009|10:10 am]
[Current Mood | retro]

I learned to do stuff like this:


REPEAT 4
  DRAW 100
  RIGHT 90
NEXT

SHOWTURTLE

END




I was amazed. It was new and nifty. It was demystifying. It was my first taste of how these magical new "computers" worked and could be made to work. I am fairly sure that my first programming epiphany was when I played with the starting coordinates of drawing a star and it ended up wrapping around the screen edge from right to left.

Comparatively, Geert Pante learned to do stuff like this:


LET D 12
LET LEN 40/D

LET S 1

RIGHT 90
MOVE 80
RIGHT 90
MOVE 50
RIGHT 90
GO RIGHTDRAGON

END

# RIGHTDRAGON
  IF D > 0
    RIGHT 45
    PUSH D
    LET D D-1
    GO RIGHTDRAGON
    POP D
    LEFT 90
    PUSH D
    LET D D-1
    GO LEFTDRAGON
    POP D
    RIGHT 45
  ENDIF
  IF D = 0
    DRAW LEN
  ENDIF
RETURN

# LEFTDRAGON
  IF D > 0
    LEFT 45
    PUSH D
    LET D D-1
    GO RIGHTDRAGON
    POP D
    RIGHT 90
    PUSH D
    LET D D-1
    GO LEFTDRAGON
    POP D
    LEFT 45
  ENDIF
  IF D = 0
    DRAW LEN
  ENDIF
RETURN




I'm envious. In retrospect, maybe the librarian of the elementary school hadn't planned on teaching computers.

Though we might have been further along than we thought. Due to budget constraints, we students were doing pair programming years before XP and agile techniques were ever thought of.

In any case, I remember getting a handout very very similar to this.
Link7 comments|Leave a comment

(no subject) [Jun. 16th, 2009|06:40 am]
Heads up on yesterday's post:

Row #1: Apple II, Commadore 64, IBM PC DOS 1
Row #2: CP/M on an Epson, Tandy Color Computer, VIC 20
Row #3: TI 99, Sam Coupe, Sinclair
Row #4: PDP 11, Acorn Atom, VAX VMS
LinkLeave a comment

Das Boot! [Jun. 15th, 2009|11:08 am]
[Current Mood | amused]

They aren't Pokemon, but can you name 'em all? Have you used them all?

I'm a little disappointed that there seem to be relatively few "classic" mainframe boot screens. I could only find two; and those images were pulled from emulators. They're on the last line. All the rest are "personal" computers.

Link14 comments|Leave a comment

Sad. [Jun. 14th, 2009|04:08 pm]
[Current Mood | sad]

I think this confirms it.

Two years ago I did not attend Anthrocon. After stepping down as Director of Registration I wanted to make the break clean. I stayed home.

That being said, there are many people whom I would like to meet up with. Friends I now have not seen in 2 years. Some abbreviated friendships I would like a chance to build on.

Add to that, that my parents are going through a divorce and my father is in Ohio not far from where the con is happening. I've not been back to see either of my parents for two years now. Hopping to AC would give me a chance to visit him.

Consequently, I was hoping to make it to Anthrocon as a quick weekend turnaround and to see my dad and friends. The last few months, however, have been interesting financially. Between surprise glasses bills, vet fees, medical bills, having a roommate out of work and other things, I have probably taken $4-5k in surprise bills this last quarter.

It all came down to this paycheck. Flights have bounced back up in price and hotels are not cheap. When it is all said and done, I am several hundred short even before you consider the costs of taxi's, food, and other.

Sue was able to wrangle a very interesting route to AC and will be there. It is a venue for her business, so it makes sense that she is priority to get there. But unless I can figure some way of getting to the con or housed at the con in the next day or so, I will not make it.

Anyone have any ideas?
Link15 comments|Leave a comment

A mechanical TV? [Jun. 13th, 2009|03:11 pm]
[Current Mood | amused]



So here's the other side of yesterday's puzzle. [info]tilton got it off the bat, and others got it or got very close. It is, indeed, a mechanical TV.

[info]kellicjtiger recognized and linked that the disk is a Nipkow Disk. A disk, patented some 40 years before TV, that when it spins at high speeds presents a series of dots in a pattern that draws lines.

In mechanical TVs, the bulb (neon in this unit) behind the disk is modulated by a radio signal for intensity. Each time a hole goes by it draws a "line" in our vision. And persistence of vision makes it look like a picture.

The reason I mentioned the date is that today is the day analog TV dies in the US. That's the very last time an analog carrier of visual data for the TV will exist for general use.

The output of these TVs are a pain to photograph. The timing of the disc-to-shutter and the low light level mean that you inevitably double-expose frames or end up missing parts. That being said, here are some ideas on what things look when neon-illuminated in 30 lines:



Left is a marionette head used do demo some early experimental TV units. The center is the first human image known broadcast and photgraphed. The right is a recent hobbyists unit with a test image.

Mechanical TV was broadcast in several cities in the US pre-WWII. Some sites out there cover the topic of early mechanical TV formats. As with all old tech out there, there are hobbyists out there doing different versions. And, of course, there is a steampunk mechanical TV.

Cool, eh?
Link4 comments|Leave a comment

A bit of a riddle [Jun. 11th, 2009|09:31 pm]

This is going to be a larger step back in time than most of the previous retro I have been posting. But considering the date, I think this is important.

So what is it? I'm not going to give that away. Kudos and karma will go to the first to figure it out. In any case, I am glad I was able to find a picture of it.

Since I know that tube-based electronics are not really taught anymore, I'll give a hint: the trio of tubes you see in the foreground are a radio amplifier. The disk is aluminum.
Link12 comments|Leave a comment

(no subject) [Jun. 10th, 2009|10:36 am]

Yesterday's pictures was a bit of a mystery. Here's the other half that goes with it, the viewing apparatus.

What you were looking at was what Steven Sasson invented for Kodak in 1975. A camera with solid state electronics and something new called a CCD that wrote digital data to tape. While Texas Instruments had recently invented a "filmless" camera that recorded analog signals with electronics, this was the first to digitally process and encode the image. IE: the first digital camera.

It captured black-and-white images with a resolution of .01 megapixels (10,000 pixels). It took 23 seconds to record onto a digital cassette tape and another 23 seconds to read off a playback unit onto a television.

There was no reference unit for a solid stated purely digital camera. No reference images. No prior art. The entire thing had to be fabricated past the lens, and it worked.

Kodak did nothing with it other than patent a lot of the work. One thought is that Kodak bet a lot of their planning that developing counties would continue to use film cameras before moving to digital. And with countries like China hopping direct to digital, we see how well that went.

Here's Steve showing his invention off:
Link7 comments|Leave a comment

(no subject) [Jun. 8th, 2009|09:42 pm]
Link18 comments|Leave a comment

(no subject) [Jun. 5th, 2009|10:49 am]
Link13 comments|Leave a comment

Lizard brains and plan B [Jun. 4th, 2009|03:23 pm]
[Current Mood | amused]

I don't really recall where I heard it, but I want to think it was out of a sci-fi novel. The term "lizard brain" is a euphemism I use for that portion of our head that contains the instinctual urges from back when we were whatever we were before we started using printing presses, computers, electric vibrators and snuggies.

It encompasses everything from that voice that whispers in your ear that there is a "ghost" when you're in a dark and creepy place to those wonderful pants-tightening urges that make you go say dumb things about a woman's shoes when you're not looking at them.

Society and rules are the way we balance our lizard brains. Relationships are acceptable. Rape is not. Friendship is acceptable. Racism is not. Recognizing those risque urges as "lizard brain" helps rationalize and deal with them. It puts a cute image and meta-understanding of ourselves in place of raw emotion.

As such, I like to indulge my lizard brain with harmless ideas. The whole concept of "how to survive the earthquake/zombie attack/natural disaster/baptist convention in town" is fulfilling a part of that lizard brain that desires preservation and safety.

I was pondering this on the way into work this morning, and hereby present what my little lizard brain came up with:

Plan A - Live well:

Prosper, repeat.

Plan B - Present living accommodations and/or job fails:

Utilize van or purchase RV. Live out of said vehicle in parking lot of job.

Unsorted complications: 3 cats and SO living in close space. Also, no sufficient river in San Jose to live in van next to.

Plan C - Job AND accommodations fail:

Actions same as Plan B, but purchase cheaper catfood for cats and humans to consume. Consider moving back to east but discount it as "not yet desperate enough to endure humidity." Pass time by harrasing tourists.

Plan D - Societal fail:

This is most likely through economic collapse.

Same actions as plan C, except consuming tourists is now an option for food. High fat content might require more exercise. Hiking could be possible to countermeasure this. This would be the plan level that would require more guns.

Plan DD - Enjoying the societal fail:

Same failure as above except we use the travel facility of the RV/Van to visit the individual icons of industry and society as they fail and fornicate like rabid monkeys for the hell of it.

I think the sexual part of the lizard brain got in on this one. But what they hey, you have time.

Yes. Lots of guns. And occasional Frazetta poses.

Plan E - Natural disaster and society collapse:

Same as plan D or DD. Lots more guns, though. And now the usual boyscout kits for purifying water and gathering and planting food.

A secure location will need to be found and protected. Get the hell away from general society as it fails as people are dumb. Potentially hook up with well known persons who can fortify a secured facility.

Plan F - Fuck everyone else / 12 Monkeys / Zombie attack

Same as above. Better facility and long-term food situation. Probably very rural. Probably forested.

Optionally name ourselves "the Wolverines."
Link2 comments|Leave a comment

Whoah... a CSS JAPH [Jun. 4th, 2009|11:22 am]
For you web designer nerds. An CSS grid layout in one line:

http://www.vcarrer.com/2009/06/1-line-css-grid-framework.html
LinkLeave a comment

(no subject) [Jun. 4th, 2009|10:23 am]
Link11 comments|Leave a comment

(no subject) [Jun. 3rd, 2009|09:44 am]
Link11 comments|Leave a comment

(no subject) [Jun. 2nd, 2009|11:48 am]
Link21 comments|Leave a comment

Hey macro type things... [May. 28th, 2009|02:37 pm]
Here's what the ground looks like at 1000 feet.

Nice reference:

http://www.brainpickings.org/index.php/2009/05/22/stephan-zirwes-aerial-photography/
Link14 comments|Leave a comment

navigation
[ viewing | most recent entries ]
[ go | earlier ]