Jumpstart - your opinion

unix

    Next

  • 1. Sun ONE Studio 9, Compiler Collection available?
    Does Sun plan to release a "Sun ONE Studio 9, Compiler Collection" as Sun Studio 9 is available? If not, is there an option for those of us that want _only_ the compilers and no IDE? -- albert chin
  • 2. mailx with mail server
    Just wonder how to configure mailx connect to the remote mail server? Thanks
  • 3. LPFC instance number renamed during boot, Solaris 8
    Hello! We have seen on several occasions that the lpfc instance number gets renamed during boot. This of course leads to the renaming of the controller number for the disks, so that cxt0d0 is changed to cyt0d0. We have seen this on several servers, all running Solaris 8, but with different patch levels. They all use the Emulex driver (we use Emulex HBAs) and the storage itself is EMC Symmetrix. Also, the problem is not reproducible all the time. It can happen to a server once in a while, and then "never" again, or it can happen again after several normal reboots. The guys here are not sure if it has only happended during a "boot -r" or if it has happened even during a normal boot. Nevertheless this shouldn't be possible. Has anyone seen this behaviour? Does anyone have the solution to this? Many thanks in advance! -- ---J.T.U.

Re: Jumpstart - your opinion

Postby Neil W Rickert » Tue, 27 Jan 2004 23:03:11 GMT

"Morten Green Hermansen" < XXXX@XXXXX.COM > writes:


I don't do fully automated jumpstarts, but I do install over the
network.

I run a bunch of scripts (from my install server), both before and
after the reboot.  The scripts are in a directory with names that
imitate the "/etc/rcS.d" organization.  That is, they have names such
as I04inetd (which edits inetd.conf).  There is a master script that
calls them in sequence.

The master script contains (among other things)

## Is this being run during install.  In that case the
## installed software is at "/a".  Do a crude test.
INSTALLBASE=

if [ -d /a -a -d /a/usr/bin -a -h /a/bin ] ; then
	INSTALLBASE=/a
fi

export INSTALLBASE

 -----------------


Your choice.  I like to install everything before the reboot
(possible with a network install, since the install image is not
limited to a single CD capacity).

Then I like to disable unneeded services before the reboot, so as to
reduce the initial exposure to attacks from the net.


Re: Jumpstart - your opinion

Postby eedmit » Wed, 28 Jan 2004 01:56:13 GMT

In article <4015056e$0$1602$ XXXX@XXXXX.COM >, "Morten Green Hermansen" < XXXX@XXXXX.COM > writes:

Three examples from our (perfect!) jumpstart finish scripts:

1. relocatable command:
pkgadd -d ${SI_CONFIG_DIR} -a ${SI_CONFIG_DIR}/pkgadmin -R /a \
SUNWiof SUNWdtpcz SUNWdtpcv

2. the chroot method:
chroot /a /usr/sbin/lpadmin -d $DEFAULT_PRINTER
echo "default printer set to $DEFAULT_PRINTER"

3. the start script method:
client_inventory() {
        echo "client inventory reporting (user products via cron)"
        # delay cron installation by 0-4 minutes:
        date=`date +%S`
        random=`expr $date % 5`
        bootfile=/etc/rc3.d/S95client_inv
        cat > /a$bootfile << EOT
su products -c "/usr/bin/crontab" << _EOT
$random 10 * * 3 /app/client_inv/0/userinv_cron.sh >/dev/null 2>&1
$random 11 * * 3 /app/client_inv/0/machineinv_cron.sh >/dev/null 2>&1
_EOT
rm $bootfile
EOT
}


Method 3 generates a start script (the here document between EOT) that
executes when the machine comes up and at the end deletes itself.

-- 
Michael Tosch
IT Specialist
HP Managed Services Germany
Phone +49 2407 575 313



Re: Jumpstart - your opinion

Postby 30$13$f3i99le » Wed, 28 Jan 2004 04:04:27 GMT

Morten Green Hermansen < XXXX@XXXXX.COM > probably said:

I release my modular jumpstart scripts because not everyone has the
time and energy to deal with such things as this. They automate
installing many things post-reboot for you with no intervention and
make it a lot easier to maitain lots of profiles that have much or
little in common.

  http://www.**--****.com/ 

P.

-- 
pir


Re: Jumpstart - your opinion

Postby Rich Teer » Wed, 28 Jan 2004 04:18:03 GMT




If you have a lot of systems that you wnat to be very similar
or identical, using flash archives might be the way you want
to go.

-- 
Rich Teer, SCNA, SCSA

President,
Rite Online Inc.

Voice: +1 (250) 979-1638
URL:  http://www.**--****.com/ 

Re: Jumpstart - your opinion

Postby Scott Howard » Wed, 28 Jan 2004 19:08:06 GMT



Most can be made to work. Either by passing the correct option(s), or at
worst using chroot.  If you happen to find any Sun packages which dont
work correctly with pkgadd -R then feel free to get a bug raise and they
should be fixed.

There's some details on the chroot method at
 http://www.**--****.com/ 's a little outdated - I
really should update it one day...

Alternatively, have a look at JET, the JumpStart Enterprise Toolkit. It's
available from  http://www.**--****.com/ 
It includes a framework which makes configuring packages fairly easy, with
the ability to do it either before the first reboot, or even automatically
on any subsequent reboots.

  Scott.

Re: Jumpstart - your opinion

Postby gl » Thu, 29 Jan 2004 08:45:01 GMT

In article <1075198086.189564@docbert>,






i install only the OS during jumpstart proper.
i leave about 5 scripts in /etc/rc2.d to to the rest.

advantages:
once the finish script pulls over the custom.tar, kitup.tar,
the machine doesn't do any appreciable network activity.
so if you've a bunch of machines to do on one subnet,
you know you can kick off machine # 2 when machine #1
reboots the first time.  ie, if you want to guarantee
you won't have two machines fighting for the network.

yep, you're working with /, not /a.  one less thing
to deal with.

i have many of my customizations in packages.  i've never
tried them against /a, maybe they will, maybe they won't.
but i don't care, of course.  so i saved myself some
testing by going against / instead of /a.

doubtless there's a down side--it certainly isn't as elegant
as "doing it right", but it works.

-- 
Jay Scott		512-835-3553		 XXXX@XXXXX.COM 
Head of Sun Support, Sr. Operating Systems Specialist
Applied Research Labs, Computer Science Div.                   S224
University of Texas at Austin

Re: Jumpstart - your opinion

Postby Darren Dunham » Thu, 29 Jan 2004 12:44:13 GMT







Here's one more opinion.  I generally don't have a problem with setting
things up in a finish script, but that doesn't make it easy to make
changes in your existing machines.

I'd prefer to spend my time setting up jumpstart to get the machine
built and "in the environment" (might be limited to SSH or NIS
membership), plus activation of some sort of maintenance software.

The maintenance software is on all the machines for
installing/configuring them.  That way installation of stuff after a
jumpstart is just a special case of making sure the correct stuff is on
all the machines.

That might be a real simple rsync (possibly combined with some startup
scripts that run extra commands) to a very involved cfengine setup.

-- 
Darren Dunham                                            XXXX@XXXXX.COM 
Unix System Administrator                    Taos - The SysAdmin Company
Got some Dr Pepper?                           San Francisco, CA bay area
         < This line left intentionally blank to confuse you. >

Similar Threads:

1.jumpstart: Custom jumpstart profile isn't used

Hello again.

After getting the system to actually boot (thanks Wolfgang!) and to
display nicely (thank Mr. Chow Wing Siu!), I'm now trying to setup
a custom profile, so that the installation works without manual 
intervention.

To do so, I first copied the S10U5 Sparc DVD to the install server
with setup_install_server. I then added the install client to the
system by running:

./add_install_client \
 -p sys01.unx:/data/software/solaris/Solaris10/U5/jumpstart/sysidcfg/sys02 \
 -i 10.0.1.22 -e 00:03:ba:12:d3:04 -n 'none(255.255.248.0)' \
 -c sys01.unx:/data/software/solaris/Solaris10/U5/jumpstart/jumpstart \
 sys02 sun4u

In /data/software/solaris/Solaris10/U5/jumpstart/jumpstart, there's, 
among other things:

$ ls -al /data/software/solaris/Solaris10/U5/jumpstart/jumpstart
total 104
drwxrwxr-x    3 root     adm            22 May 14 17:11 .
-rwxr-xr-x    1 root     bin         59946 Oct 17  2007 check
-rw-r--r--    1 mike     staff         320 May 14 17:11 prog_profile
-rw-r--r--    1 mike     staff         170 May 14 17:11 rules
-rw-r--r--    1 root     root           55 May 14 17:11 rules.ok

rules.ok was created by running the check script. Contents:

$ cat rules.ok
any -                                   -                       prog_profile    -
# version=2 checksum=1874

$ cat prog_profile
# profile keywords  profile values
# ----------------- -----------------
  install_type      initial_install
  system_type       standalone
  partitioning      default
  filesys           any 512 swap # specify size of /swap
  cluster           SUNWCprog
  package           SUNWman delete
  cluster           SUNWCacc

(I also tried using a simple profile, where the keywords are on the
1st column. Doesn't make a difference.)

$ cat ../sysidcfg/sys02/sysidcfg
keyboard=Swiss-German
system_locale=de_CH.UTF-8
timezone=Europe/Zurich
terminal=dtterm
timeserver=10.0.1.11
name_service=DNS {domain_name=unx
                  name_server=10.0.1.11,10.0.2.1,10.0.15.4
                  search=unx}
nfs4_domain=dynamic
root_password=r...
network_interface=PRIMARY {hostname=sys02
                       default_route=10.0.0.254
                       ip_address=10.0.1.22
                       netmask=255.255.248.0
                       protocol_ipv6=no}
security_policy=NONE
service_profile=limited_net

Pretty darn basic, isn't it? :)

Now I'm running "boot net - install" from the sys02 machine. It gets
the sysidcfg file (I see this, because snoop says so and because the
installation is colorful and thus must be using dtterm as terminal
and it's in german, thanks to my sysidcfg file).

But it's just not working - ie. when I run "boot net - install", I'm
presented the normal Solaris-Installationsprogramm and I've got to
select what cluster to install, how to slice the disks etc. pp.. Not
what I expected.

What am I doing wrong this time?

This time, all the paths *ARE* reachable; for sure :)

On a remote system, I did:

$ ls -la /net/sys01/data/software/solaris/Solaris10/U5/jumpstart/{jumpstart/rules,sysidcfg/winds02/sysidcfg,software/Copyright}
-rw-r--r-- 1 mike   wheel  170 14. May 17:11 /net/sys01/data/software/solaris/Solaris10/U5/jumpstart/jumpstart/rules
-r--r--r-- 1 root   root  6557 27. Feb 21:01 /net/sys01/data/software/solaris/Solaris10/U5/jumpstart/software/Copyright
-rw-rw-r-- 1 root   adm    575 14. May 14:24 /net/sys01/data/software/solaris/Solaris10/U5/jumpstart/sysidcfg/sys02/sysidcfg

On /net, there's an automounter running.

Thanks once more,
Michael

2.grub jumpstart "file://jumpstart/config.tar" problem

I am trying to upgrade a server by booting from a DVD and specifying 
where to find its config info for a pretty much hands off upgrade.

The server to upgrade is a working and bootable Solaris 10 11/06 x86.
I want to upgrade it to Solaris 10 8/07 via its local DVD drive.

I insert the Solaris 10 8/07 DVD and boot from the DVD.
At the grub boot menu, I select "Solaris 10 via console ttya" (console 
is redirected on this server).
I change grub kernel line from:
   kernel /boot/multiboot kernel/unix -B install_media=cdrom,console=ttya
to:
   kernel /boot/multiboot kernel/unix - install 
file://jumpstart/config.tar -B install_media=cdrom,console=ttya


On the hard drive of that server, there is a tarball file 
/jumpstart/config.tar containing the configuration files
  to use for upgrade:
# tar tvf /jumpstart/config.tar
drwxr-xr-x   0/0        0 Nov 28 10:24 2007 ./
-rw-r--r--   0/0      166 Nov 28 10:23 2007 ./rules
-rw-r--r--   0/0      748 Nov 28 10:20 2007 ./sysidcfg
-rw-r--r--   0/0       69 Nov 28 10:22 2007 ./profile
-r-xr-xr-x   0/0    59701 Nov 28 10:22 2007 ./check.s10u3-x86
-rw-r--r--   0/0       56 Nov 28 10:24 2007 ./rules.ok

Now when I boot from the modified grub menu, here is the output saying 
the compressed config file cannot be found:
Custom JumpStart
Using install cd in /dev/dsk/c1t0d0p0
Using RPC Bootparams for network configuration information.
Attempting to configure interface e1000g0...
Skipped interface e1000g0
Setting up Java. Please wait...
Beginning system identification...
Searching for configuration file(s)...
Downloading configuration file(s) from file://jumpstart/config.tar
Downloading failed.  Looking for jumpstart.tar
Unable to extract files from net using file://jumpstart/config.tar.
Search complete.
Discovering additional network configuration...

This seemed so simple to me, what am I missing ? Anyone else doing/done 
this ?

3.Jumpstart Sol10 with Sol8 jumpstart server

Does anyone know of any issues with jumpstarting Solaris 10 SPARC
systems using a solaris8 SPARC jumpstart server? What about sol10 x86
with sol8 sparc jumpstart server?

Thanks,
Vic

4.UNIX in Vista (qualified opinions please)

Hello knowledgebase:

I  recently had an exchange with a coworker who told me that his friends @
MS told him that Vista's OS (or more specifically, its core kernel) shares
some commonalities with UNIX (or more specifically, its microkernel)... See
below for his claim:

"Interestingly enough the architect of NT based the OS Mechanics off of
4.3.0000 BSD UNIX and in turn the Vista core kernel incorporates more of the
UNIX micro-kernel system. I got that information from some friends at
MS.

If you have accurate/better info on the subject let me know.


It also
shows up with programming constructs that are more Unix like and the number
of easier ports like, PERL and scripting."

I am seeking qualified opinions on the accuracy of the above. Not being an
architect of NT -- I don't feel qualified to respond. Thanks in advance!


5.Any opinions from Linux users?

Just curious what y'all think of Vista, compared to other versions of Windows.

Mention your distro if/when you share your opinion, yes?

6. Video Card opinion for Linux IC5.0

7. Informix and Linux opinions/who is running production

8. seeking opinion on using Veritas agent on AIX (IBM Unix) to do ontape backups



Return to unix

 

Who is online

Users browsing this forum: No registered users and 47 guest