Brad's Blog

Using JET and Flash Archive

Sunday Aug 19, 2007

I have recently had a couple of customer visits where the servers had not been previously installed, or the were installed totally wrong.

This meant that I had to break out the Solaris CD's and EIS CD and install/patch Solaris. This took almost a day and a half to do two servers. Very very frustrating and a huge waste of time.

I set out the try JET/Jumpstart and found that the instructions were all there, but information was spaced out all over the place. I eventually used a Solaris 10 VM as my JET server, and it turned out great. Make sure that you have a bunch of disk space avail 20gb +

I know that some of you have done this already, and I have taken some input, but wanted to summarize what I did.

JET is an add-on to Jumpstart to try and make things simpler to use. JET has many components and add-ons which let you configure almost everything imaginable for automated install.

There are two modes in which I use JET.

  1. The first is an actual Solaris install and patching using the EIS cd. This will build any system and is MUCH faster than the DVD method.
  2. The second is to use JET to push a pre-built Flash Archive. Flash Archive is a system file by file copy. When you apply a flash archive, the disks are partitioned, then the archive is copied, then sysidconfig is run. JET makes all of that automatic, resulting in a system up and running from bare metal in 20 minutes. The only down side with flash archive is that they are architecture specific (sun4u, sun4v, i86pc, etc) You will need a different Flar for each arch that you intend to install. I have three sun4u(most recent Ultra Sparc systems) sun4v (t2000) and i86pc.

There is a JET module for installing SRSS which I will eventually play with, but since installing SRSS is not very long, I didn't start there. Also, it currently does not support SRSS 4.0. I'm sure that it will soon.

Here are the instructions to install and configure JET and install a system. Note that these are using the latest EIS standards for installing a system from eis.central.

This is set to partition accordingly:

	0    /         18432 mb
1    swap      4096
2    backup    Entire Disk
3    LU Part   18432

Also note that this is for 72GB disks or higher, if using 36GB disks, root and LU partitions should be 15360.

Setup:


1) Install Packages (downloadable from jet.uk)

	# pkgadd -d ./JetEISCD.pkg
# pkgadd -d ./JetFLASH.pkg


2) Create directory structure

	# mkdir -p /export/install/media
# mkdir /export/install/patches
# mkdir /export/install/flash
# mkdir /export/install/pkgs


3) Copy media for installation

    Insert Solaris 10 SPARC DVD

	# /opt/SUNWjet/bin/copy_solaris_media \
-d /export/install/media/sol_10_1106_sparc \
-n sol_10_1106_sparc /dev/cdrom/cdrom0

    Insert Solaris 10 SPARC DVD

	# /opt/SUNWjet/bin/copy_solaris_media \
-d /export/install/media/sol_10_1106_x86 \
-n sol_10_1106_x86 /dev/cdrom/cdrom0

    Insert EIS DVD

	# /opt/SUNWjet/bin/copy_eiscd /cdrom/cdrom0


4) Create NFS shares

    Add the following 4 lines to /etc/dfs/dfstab

	share -F nfs -o ro,anon=0 -d "JET Packages" /export/install/pkgs
share -F nfs -o ro,anon=0 -d "JET Patches" /export/install/patches
share -F nfs -o ro,anon=0 -d "JET Media" /export/install/media
share -F nfs -o ro,anon=0 -d "JET Flash" /export/install/flash

# shareall


5) Set Jumpstart defaults

    Default password is "newroot" you can change it to "sun123" by editing /opt/SUNWjet/etc/jumpstart.conf

	JS_Default_Root_PW=ZfUkMgnBXHSOU

    Set the EISCD component to always install the latest EISCD image

	# vi /opt/SUNWjet/Products/eiscd/eiscd.conf

eiscd_product_version="latest"

    Set Defaults for system configuration according to EIS standards

	# vi /opt/SUNWjet/Products/base_config/solaris/base_config.conf
	base_config_profile_cluster="SUNWCXall"  <-All+OEM Install
base_config_profile_root=18432  <-- 18gb root (set to 15GB for 32GB disks)
base_config_profile_swap=4096   <-- swap file of 4GB
base_config_profile_s3_size=18432   <-- unmounted partition for LU


6) For x86 clients setup DHCP

    If jumpstarting x86 clients you will need to enable the DHCP server on the jumpstart server.

    This will need to be in the same network range as the static IP address that you will assign the jumpstart server

	# vi /opt/SUNWjet/Products/base_config/solaris/make_dhcp
This only sets up the basic network information.
Host specific information is added automatically
NETWORK=192.168.0.0
NETMASK=255.255.255.0
ROUTER=192.168.0.1
	# chmod +x /opt/SUNWjet/Products/base_config/solaris/make_dhcp
	# /opt/SUNWjet/Products/base_config/solaris/make_dhcp


Client Installation:


1) Create template

	make_template -A i86pc -O sol_10_1106_x86 \
-E 00:0c:29:47:d5:1a <hostname> [products]

        -A = this should be the arch (i86pc, sun4u, sun4v)
        -O = this should be the OS to install (sol_10_1106_x86, sol_10_1106_sparc)
        -E = the MAC address of the client
        <hostname> = final hostname
        [products] = eiscd or flash

2) Edit template (/opt/SUNWjet/Templates/<hostname>) and set/check:

For x86 only:
base_config_client_allocation="grub" <-- only for x86
base_config_sysidcfg_nameservice
base_config_sysidcfg_ip_address
base_config_sysidcfg_netmask
base_config_sysidcfg_timezone
base_config_sysidcfg_default_route

For Flash install only:
flash_archive_locations="nfs://192.168.0.242/export/install/flash/filename.flar"


3) Setup client for booting

	# make_client <hostname>


4) Boot system

    Use crossover cable or small switch and two cables

    x86:

        Start a PXE boot. This may require BIOS changes

    sparc:

	stop-a
ok> diag-switch?=false
ok> local-mac-address?=true
ok> boot net - install

5) Remove client

	# remove_client <hostname>

 
NOTES:




To create a flash archive use:

	# flar create -c -R / -S -n "S10 U3, sun4u, EIS 7.31.07" S10U3-sun4u-e7.31.07.flar


Then ftp it to your jumpstart system for later use.

Like this post? del.icio.us | furl | slashdot | technorati | digg

Worst game show ever?

Monday Mar 05, 2007

Has anybody sat through more than 15 minutes of "Are you smarter than a 5th grader?"

Initially the premise sounds great... Point out all the things that you learned in school but forgot because you never use it.

The problem is execution. They need to have 10 times the number of questions, it takes them 7 minutes to get through "How many parallel sides does a trapezoid have?"

I can't stand the the manufactured suspense and the usually hilarious Foxworthy is pretty dull.

Usually the thing on my mind when I see programs like these is that the contestants were cleverly picked and coached to create a specific show. In this case they've definitely found some batty folks with tons of self doubt.

When will the "let's find the biggest morons that we can find and laugh at them" phase of TV programming come to an end?

Like this post? del.icio.us | furl | slashdot | technorati | digg

Idol makes us Idle

Monday Mar 05, 2007

I'm so annoyed with American Idol these days. Why is there 4 hours of content on every week? Do people actually sit through all of it each week? Don't get me wrong, I love to hear the good singers. I just wish that they would cut a bunch of them and get down to it.

1 hour show plus 30 min results is about it.

Fox is surely capable of copying another networks show idea to fill in the time.

Thanks to my TiVo I can skip all of the BS and just listen to the music.

Like this post? del.icio.us | furl | slashdot | technorati | digg

Best Roller Coaster Ever!

Tuesday Feb 27, 2007

We rode The Hulk this weekend at Universal Studios Islands of Adventure.

Absolutely the best coaster I've ever been on. It was a long ride, the drops above the water were great and the lines weren't that long.

It almost seemed as if the corkscrews and loops were timed differently that other coasters. It had this great flow to it.

Besides 0 to 40 in 2 sec is amazing. It's one of those magnetic systems that doesn't need a drop to get you going. This one is upward, so it's like being shot out of a cannon, or being on a rocket ship.

Spider Man got a lot of hype, but I kind of though that it was just another one of those elevator/pod rides with some good 3d images thrown in. My one complaint, is that the speakers in our "pod" were turned WAY too loud, they were clipping really really badly or they were already blown out from too much clipping. Hard to tell sometimes.

Like this post? del.icio.us | furl | slashdot | technorati | digg

Time Share salesmen

Tuesday Feb 27, 2007

Staci, Ferrin and i went to Orlando this past weekend to get some quick play time. We got a call from the Hilton Grand Vacation folks who offered us an almost free stay at a Hilton hotel in the southern Orlando area if we came in and talked to them about their "Vacation Club" Which I'm sure if you feed it through some translation tool comes out as "Time Share".

Ferrin has been anxious to go to Disney again, so we decided a quick trip would be good.

I'll cover the Fun part of the trip in another post, but I want to talk about this Vacation Club thing....

It's a Time Share... period. They try to obscure it by giving you "Points" that you can use the get to and use all types of Hilton and non-Hilton properties all around the world. That sounds all well and good, but since they are using "points" and not dollars, that conversion factor is obscured to you so it's almost impossible to determine if you are getting a good deal or not.

Add to that, the fast that yo have to filter the points necessary for a particular stay through their HUGE booklet describing times of year, room type, etc. and you'll never know how you're doing.

I like the idea of paying for a vacation plan to get the best value out of your dollars, but it's impossible to compare them.

These things are expensive. We were getting sold on the "entry" 7000 point plan and the resulting cost was about $30k... 7000 points would get you about 1.5 weeks a year in the vacation club resorts. There are about 30 of them around the US, but 15 of them are in Florida.

The real kicker here is that you had to pay $7000 up front, and had to use their financing at 16.5 percent.

These guys were trained really well. They had a plan and said all the right things to make you feel like you needed it, or were the only ones not taking this great deal. The buy actually tried to tell us that 1 in 3 folks who came into the sales office that day bought the plan... BullSh#$!

There is no way that I could make a $30k decision in the two hours we were there.

I spend more time than that researching which vacuum cleaner to buy. (I got a Dyson by the way :)


[1] Comments
Like this post? del.icio.us | furl | slashdot | technorati | digg

There is always beginning to everything...sometimes two

Monday Feb 26, 2007

My last post to this blog was almost an entire year ago.

I told myself that I'd start blogging, but I didn't get very far. Part of it was laziness and part of it as wondering what to say. The other piece is that blogging is actually a little bit of a pain...login to blogging web site, navigate to new entry, use their strange WISYWIG HTML tool, etc.

I wanted something that was easy to use and no more than a couple of clicks before I started typing...

I'm going to try a few out. I'm starting with the Performancing Plugin for Firefox. Basically it puts a little notepad icon in the lower left hand of your browser which reveals access to a Blog editor. It pops up in the bottom half of the browser window.

I'll let you know how it works after a few posts.




Like this post? del.icio.us | furl | slashdot | technorati | digg

Random Stuff about me...

Wednesday Mar 01, 2006

To frame the stuff on this site, I thought that I'd douse you in a bit of info about me.

I've been with Sun for over 5 years now, I've been focusing on different technologies over the years, but all of them have been customer focused "services" types of roles.

A year and a half ago I joined the Desktop and Mobility practice. I have spent this time mostly focused on Sun Ray and SGD. I really love this stuff... it's what connects people to computing. It's the things the people touch every day and can feel the benefit from.

I have so much to say about Sun Ray's, but I'll post on it another day.

I am an avid Motocross Racer!... I love to Mountain Bike, and ski. I grew up in Colorado, but 8 months ago I moved to Hilton Head, South Carolina. Staci is in the Marines and she got stationed at Parris Island, so we are now in the "Low Country". I have a ton of observations on the move, it's definately an interesting change :)

I had to buy a road bicycle since moving here... there are no hills or rocks... but I also noticed that there are no shoulders on the roads! I think that folks down here don't do too much physical activities. Maybe it's the heat in the summer or the bugs, but the winters are soo nice... Kids can't even ride their bikes to school... very few sidewalks...

Time to write my city council.





[1] Comments
Like this post? del.icio.us | furl | slashdot | technorati | digg

First Entry...

Wednesday Mar 01, 2006

So, with a bit of nudging from my fellow Sun folks, I finally have an external blog.

Things that go "bump" in the night refers to those thoughts/ideas that just randomly jump in your head when you're in the bed. You know, the ones that arrive while you're witing for that neighbor teenager kid to turn off his car stereo so you can sleep, or when the moon is so bright outside that it feels like daylight, or when you're so tired that you actually can't get to sleep.

I'm going to try and use this space to capture some of those things, and the other ones that arrive when you're on the bus/train, on the airplane, or on the... um... toilet. :)

If you see anything interesting or annoying or wrong please feel free to comment.

[0] Comments
Like this post? del.icio.us | furl | slashdot | technorati | digg