Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem flash archive jumpstart

Status
Not open for further replies.

mahalingam1

IS-IT--Management
Dec 7, 2007
75
0
0
Hi all, I have the following problem with flash archive and jumpstart:

I have installed a JET package with the flash tool on a solaris 10 server.

I created the flash archive via

flarcreate -n test -S -c /several/media
When i try to add this media location via /opt/SUNWjet/bin/add_solaris_location script i get the following message


The directory /several/media does not look like
a Solaris JumpStart image. Please ensure the path given is
the path that was given to the setup_install_server script

on the other hand if i made an image via

/setup_install_server /export/home/prueba/media

i can add this new media location:

./add_solaris_location 10 /export/home/prueba/media

Added Solaris image 10 at the following location:
Media: /export/home/prueba/media


Please anyone can help me???

Thanks in advance and best regards.

 
After the creation of the archive you have to specify the location of it in the jet template - if you have an existing client template do:

# /opt/SUNWjet/bin/make_template -f -T myclient myclient flash
Adding product configuration information for
+ flash
Updating base_config template specifics
Client template created in /opt/SUNWjet/Templates

Then edit the template and add the entry for:
flash_archive_locations

############
#
# Specify archive locations - you can install more than one, especially
# if you create archives for layered products etc.
#
# Space seperated list of items; each item is of the form...
#
# nfs://10.1.1.11/archives/sample
# #
# locations that specifiy a directory only will default to look for
# an archive called installsvr
#
flash_archive_locations="nfs://*.*.*.*/share/install/flash/myclient.flar"

# /opt/SUNWjet/bin/make_client -f myclient
Gathering network information..
...
...
Adding flash specifics to client configuration
FLASH: Modifying client profile for flash install
FLASH: Removing package/cluster/usedisk entries from profile
...
Checking product flash
FLASH: Checking nfs://*.*.*.*/share/install/flash/myclient.flar
--------------------------------------------------------------
Check of client myclient
-> Passed....

Hope that helps

mrjazz
 
Hi mrjazz, the steps that you tell me are done but when i try create the client via /opt/SUNWjet/bin/make_client script i have one problem with nfs section


the system try to mount /tmp/xxxx but i only specify the flash_archive_location (fal but the system try to mount both, the fal and the /tmp/xxxx .


i am not at work at this moment, tomorrow i will tell you in greater detail.

Thank you very much for your answer .

mahalingam
 
Hi mrjazz the nfs problem is solved but i have another one.


When i launch the make_client script i get:

luna:/opt/SUNWjet/bin> ./make_client -f bubu
Gathering network information..
Client: 10.17.13.242 (10.17.0.0/255.255.240.0)
Server: 10.17.1.16 (10.17.0.0/255.255.240.0, SunOS)
WARNING: no .cdtoc in remote media - might be a boot image
WARNING: no .cdtoc in remote media - might be a boot image
Error: no .cdtoc in remote media
./make_client[398]: WARNING:: no encontrado
Solaris: client_prevalidate
ERROR:
ERROR: The build command set up for this version of the solaris media
ERROR: is not executable. Please verify this is the correct path to the
ERROR: media.
ERROR:
ERROR: Could not prevalidate client configuration.
client_prevalidate returned non-zero exit status (1)


This image is a bootable image for use with JET tool.

As you can see client_prevalidate script returned non-zero exit


if i copy the .cdtoc in the media location the result is the same



Cheers

Mahalingam
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top