SUMMARY: unable to install flash archive via network-based jumpstart

From: <William.Sirinek_at_alltel.com>
Date: Mon Apr 28 2008 - 16:22:30 EDT
I configured name-service=DNS in my sysidcfg file and sudden;y the
install worked. I was using ip addresses only before, but apparently
setting name_service=NONE "disables networking" according the the
manual. The install client has filesystems mounted from the install
server, so I'm still not sure why the flash archive wouldnt mount, but
I'm fine with setting up DNS in the sysidcfg.

Bill


-----Original Message-----
From: Sirinek, William
Sent: Monday, April 28, 2008 3:26 PM
To: 'sunmanagers@sunmanagers.org'
Subject: unable to install flash archive via network-based jumpstart


I'm having a difficult time loading a flash archive image onto a system
via jumpstart.

I built a box and then created a flash archive of it immediately. Now I
am trying to load it onto the same physical piece of hardware via custom
jumpstart.

OS initial installs via the network from this jumpstart setup work great
though.

Anyone seen this before? I have scoured google and docs.sun.com as
usual, but not really come up with anything useful.

Thanks

Bill



Here's my profile:
--------------------------
install_type    flash_install
archive_location nfs 10.153.75.137:/flash_archive/billsbox-test.flar
partitioning    explicit
filesys rootdisk.s0     15120    /
filesys rootdisk.s1     1:2849  swap
filesys rootdisk.s2     all     overlap
filesys rootdisk.s3     10240   /opt
filesys rootdisk.s4     10240   /var
filesys rootdisk.s5     free
metadb c0t0d0s7
--------------------------

If I try and specify a retry value in the archive_location, as the
Documentation says you can, I get an error, so I leave it out:

Error in file "Profiles/ACI_flash_restore.profile", line 2
        archive_location nfs
10.153.75.137:/flash_archive/billsbox-test.flar retry 5
ERROR: Too many arguments for this keyword



Here's my sysidcfg:
-------------------------
system_locale=en_US
timezone=US/Central
network_interface=primary {netmask=255.255.252.0
                           protocol_ipv6=no
                           default_route=10.153.69.1}
terminal=vt100
security_policy=NONE
name_service=NONE
timeserver=localhost
root_passwd='blahblahblah'
-------------------------

Here's what happens when jumpstart tries to load the image:


Please wait while the system is configured with your settings...
Generating software table of contents [this may take a few minutes...]
Table of contents complete.
Starting Solaris installation program...
Searching for JumpStart directory...
Using rules.ok from 10.153.69.98:/export/install/jass.
Checking rules.ok file...
Using profile: Profiles/ACI_flash_restore.profile
Executing JumpStart preinstall phase...
Searching for SolStart directory...
Checking rules.ok file...
Using begin script: install_begin
Using finish script: patch_finish
Executing SolStart preinstall phase...
Executing begin script "install_begin"...
Begin script install_begin execution completed.

Processing default locales
        - Specifying default locale (en_US.ISO8859-1)

Processing profile
        - Opening Flash archive

ERROR: Could not mount 10.153.75.137:/flash_archive/billsbox-test.flar

ERROR: Flash installation failed

#

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

So I'm dropped to a root prompt. I poke around and here's some info. My
server is on the 10.153.69 network and the NAS which has the flar images
is on 10.153.75 and sharing the flash_archive directory ro,anon=0.  I'm
able to mount the filesystem via nfs manually, so I dont think the
problem is network-related.

The jumpstart server is running Solaris 10 08/07.
I am booting a Solaris 9 09/04 kernel to try and do this flash_install.
The flar file is of a Solaris 9 09/04 system patched with a R&S bundle
no more than a few months old.



# ifconfig fjgi1
fjgi1: flags=1000863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST,IPv4> mtu
1500 index 1
        inet 10.153.69.158 netmask fffffc00 broadcast 10.153.72.255
        ether 0:b:5d:fa:69:13

# netstat -nr

Routing Table: IPv4
  Destination           Gateway           Flags  Ref   Use   Interface
-------------------- -------------------- ----- ----- ------ ---------
10.153.69.0            10.153.69.158          U         1      2  fjgi1
224.0.0.0            10.153.69.158          U         1      0  fjgi1
default              10.153.69.1            UG        1      2
127.0.0.1            127.0.0.1            UH        1      0  lo0

# mount 10.153.75.137:/flash_archive /mnt

# df -k /mnt
Filesystem            kbytes    used   avail capacity  Mounted on
10.153.75.137:/flash_archive
                     302511984 57759832 244752152    20%    /mnt

# ls -l /mnt/billsbox-test.flar
-rw-r--r--   1 root     root     2293177526 Apr  9 12:21
/mnt/billsbox-test.flar

# flar info /mnt/billsbox-test.flar
archive_id=92ebb0a6e54809bce9f1c596007cb568
files_archived_method=cpio
creation_date=20080409191600
creation_master=billsbox
content_name=billsbox-test
creation_node=billsbox
creation_hardware_class=sun4us
creation_platform=FJSV,GPUZC-M
creation_processor=sparc
creation_release=5.9
creation_os_name=SunOS
creation_os_version=Generic_122300-11
files_compressed_method=none
files_archived_size=2293172397
content_architectures=sun4us
type=FULL
#





*****************************************************************************
*************
The information contained in this message, including attachments, may contain
privileged or confidential information that is intended to be delivered only
to the
person identified above. If you are not the intended recipient, or the person
responsible for delivering this message to the intended recipient, Alltel
requests
that you immediately notify the sender and asks that you do not read the
message or its
attachments, and that you delete them without copying or sending them to
anyone else.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Mon Apr 28 16:23:25 2008

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:44:10 EST