Jumpstart

Jumpstart

Post by Todd Sawye » Sat, 20 Nov 2004 05:40:11



Hello All,

I am attempting to implement a jumpstart config.  The basic jumpstart
installation that I have works for installing the OS and slicing the
disks as defined.  I am trying to get some finish scripts to work to
install solstice disk suite and to copy some patches to the server
(not install them just copy).  I have the scripts written and they
work if I run them on my local machine. They are pretty basic scripts
(as my scripting abilities are also basic :) ), Ideally I would like
to have both scripts called from one script. But for now I will just
deal with getting one to work from the jumpstart load.  Here is the
script.

#!/bin/ksh

touch /a/noautoshutdown

BASEDIR=/a
SLASHMNT=${BASEDIR}/mnt
SD=/export/home/Jumpstart/Packages/SDS

mount -F nfs <jumpstart server>:${SD} ${SLASHMNT}

if [ $? != 0 ]; then
        exit 1
fi

#perform package add

echo "Installing package SUNWmdg.."
pkgadd -a ${SI_CONFIG_DIR}/noask_pkg -d ${SLASHMNT} -R ${BASEDIR}
SUNWmdg

...
...
etc...

When the finish script is getting called I get the following.

Executing JumpStart postinstall phase...
Executing finish script "Finish/pkg.add.fin".
nfs mount: <jumpstart server> : RPC: Rpcbind failure - RPC: Success
nfs mount: retrying: /a/mnt
nfs mount: <jumpstart server> : RPC: Rpcbind failure - RPC: Success
...
...

The mount point is shared out on the jumpstart server. Can anyone
point me in the right direction ?

Thanks in Advance

 
 
 

Jumpstart

Post by Bernd.Schemme » Sat, 20 Nov 2004 15:57:44


 > nfs mount: <jumpstart server> : RPC: Rpcbind failure - RPC: Success
 > nfs mount: retrying: /a/mnt
 > nfs mount: <jumpstart server> : RPC: Rpcbind failure - RPC: Success

Seems that the jump start server is unknown to the machine.

Use the IP address for <jumpstart server> .

To test you may create a finish script with only the command  "/sin/sh +e "

Than you'll get a shell (on the console) after the installation and you
can manually do the commands from your script and test them.

regards

Bernd


> Hello All,

> I am attempting to implement a jumpstart config.  The basic jumpstart
> installation that I have works for installing the OS and slicing the
> disks as defined.  I am trying to get some finish scripts to work to
> install solstice disk suite and to copy some patches to the server
> (not install them just copy).  I have the scripts written and they
> work if I run them on my local machine. They are pretty basic scripts
> (as my scripting abilities are also basic :) ), Ideally I would like
> to have both scripts called from one script. But for now I will just
> deal with getting one to work from the jumpstart load.  Here is the
> script.

> #!/bin/ksh

> touch /a/noautoshutdown

> BASEDIR=/a
> SLASHMNT=${BASEDIR}/mnt
> SD=/export/home/Jumpstart/Packages/SDS

> mount -F nfs <jumpstart server>:${SD} ${SLASHMNT}

> if [ $? != 0 ]; then
>         exit 1
> fi

> #perform package add

> echo "Installing package SUNWmdg.."
> pkgadd -a ${SI_CONFIG_DIR}/noask_pkg -d ${SLASHMNT} -R ${BASEDIR}
> SUNWmdg

> ...
> ...
> etc...

> When the finish script is getting called I get the following.

> Executing JumpStart postinstall phase...
> Executing finish script "Finish/pkg.add.fin".
> nfs mount: <jumpstart server> : RPC: Rpcbind failure - RPC: Success
> nfs mount: retrying: /a/mnt
> nfs mount: <jumpstart server> : RPC: Rpcbind failure - RPC: Success
> ...
> ...

> The mount point is shared out on the jumpstart server. Can anyone
> point me in the right direction ?

> Thanks in Advance


 
 
 

1. Jumpstart x86: How not to PXE after jumpstart finishes and reboots ...

Hi:

Does anyone know or have a the soultion to the following.

========
Given:
========
 - Jumpstart Solaris 10 onto an !!NON-Sun!! manufactured x86 systems
   (where there is a BIOS, and not OpenBoot).

 - Completely hands-off since we are building racks of these x86
systems.

========
Question
========
How does one get around the fact that the BIOS, once set to boot off
the network
via PXE, cannot "programmatically" be reset to boot off the disk? (as
far as I know
it can only be done manually, which means no hands-off jumpstart). :-(

Side Note: Having to deal with this issue early on, Linux does so via a
system program
called pivot_root, which avoids rebooting altogether by essentially
unwinding the in-memory
O/S used at build time to a certain point, and then rebuilding the O/S
but from information
contained on the disk to create the run-time version (... it never
reboots).

Anyone see any work arounds for Solaris x86 (in any fashion) for this
problem?

TIA
Regards,
Noelle

2. rusers crash with -l "long" option

3. Jumpstart 2.5.1 Client from a 2.6 Jumpstart Server

4. Adding Win NT 4.0 after a UW7 install

5. Jumpstart not jumpstarting a Sparcstation2

6. Article about FreeBSD in French

7. NFS-root with Jumpstart...

8. Attn: Bob M

9. jumpstart image - add patches and clsuters

10. install patches in custom jumpstart (2.5.1)

11. basic JumpStart question

12. Solaris 2.5 jumpstart problem

13. 2.6 Jumpstart Profile - to mount /usr/dt