Solaris 8 Jumpstart Server Problem

From: sunmanagers@freehome.ch
Date: Fri Apr 22 2005 - 13:22:54 EDT


Hi all

Trying to setup a jumpstart server but after net boot - install no error
and also nothing happens. I setup the Jumpstart server as following:

Sun Ultra 10 400 MHz 256 RAM 9 GB Disk
Hostname jumpi-serv
IP 192.168.1.127
Shell ksh
Cluster April 05

Client Sun Ultra 1
Hostname jumpi-client
IP 192.168.1.118
MAC 8:0:20:86:53:70

Because of some modifications on the OS I report some additional
information:

# pkginfo

system SUNWadmr System & Network Administration Root
system SUNWarc Archive Libraries
system SUNWarcx Archive Libraries (64-bit)
system SUNWbcp SunOS 4.x Binary Compatibility
system SUNWbtool CCS tools bundled with SunOS
system SUNWbtoox CCS libraries bundled with SunOS (64-bit)
system SUNWbzip The bzip compression utility
system SUNWcar Core Architecture, (Root)
system SUNWcarx Core Architecture, (Root) (64-bit)
system SUNWcg6 GX (cg6) Device Driver
system SUNWcg6x GX (cg6) Device Driver (64-bit)
system SUNWcsd Core Solaris Devices
system SUNWcsl Core Solaris, (Shared Libs)
system SUNWcslx Core Solaris Libraries (64-bit)
system SUNWcsr Core Solaris, (Root)
system SUNWcsu Core Solaris, (Usr)
system SUNWcsxu Core Solaris (Usr) (64-bit)
system SUNWdfb Dumb Frame Buffer Device Drivers
system SUNWeridx Sun RIO 10/100 Mb Ethernet Drivers (64-bit)
system SUNWesu Extended System Utilities
system SUNWgzip The GNU Zip (gzip) compression utility
system SUNWhea SunOS Header Files
system SUNWhmd SunSwift SBus Adapter Drivers
system SUNWhmdx SunSwift SBus Adapter Drivers (64-bit)
system SUNWipc Interprocess Communications
system SUNWipcx Interprocess Communications (64-bit)
system SUNWkey Keyboard configuration tables
system SUNWkvm Core Architecture, (Kvm)
system SUNWkvmx Core Architecture (Kvm) (64-bit)
system SUNWlibC Sun Workshop Compilers Bundled libC
system SUNWlibCx Sun WorkShop Bundled 64-bit libC
system SUNWlibm Sun WorkShop Bundled libm
system SUNWlibms Sun WorkShop Bundled shared libm
system SUNWlmsx Sun WorkShop Bundled 64-bit shared libm
system SUNWloc System Localization
system SUNWlocx System Localization (64-bit)
system SUNWnamos Northern America OS Support
system SUNWowbcp OpenWindows binary compatibility
system SUNWpd PCI Drivers
system SUNWpdx PCI Drivers (64-bit)
system SUNWpl5u Perl 5.005_03
system SUNWrmodu Realmode Modules, (Usr)
system SUNWscbcp SPARCompilers Binary Compatibility Libraries
system SUNWscpr Source Compatibility, (Root)
system SUNWscpu Source Compatibility, (Usr)
system SUNWsprot Solaris Bundled tools
system SUNWsprox Sun WorkShop Bundled 64-bit make library
system SUNWswmt Install and Patch Utilities
system SUNWtoo Programming Tools
system SUNWtoox Programming Tools (64-bit)
system SUNWxcu4 XCU4 Utilities

Activating some deactivated startscripts!

        # cd /etc/rc2.d
        # mv NOK28nfs.server K28nfs.server

        # cd /etc/rc2.d
        # mv NOS71rpc S71rpc

        # touch /etc/inet/inetd.conf
        # chown root:sys /etc/inet/inetd.conf
        # chmod 666 /etc/inet/inetd.conf

Activating inetd.conf because initially files was deleted!

        # vi /etc/inet/inetd.conf

        --------------- /etc/inet/inetd.conf ---------------

        tftp dgram udp wait root /usr/sbin/in.tftpd
in.tftpd -s /tftpboot

        --------------- /etc/inet/inetd.conf ---------------

Generating tftpboot dir!

        # mkdir -m 711 /tftpboot
        # chown root:root /tftpboot

        # cd /etc
        # ln -s /etc/inet/inetd.conf ./inet/inetd.conf

Modifying inetd deamon because line was initially commented out!

        # vi /etc/init.d/inetsvc

        --------------- /etc/init.d/inetsvc ---------------

        /usr/sbin/inetd -s &

        --------------- /etc/init.d/inetsvc ---------------

        # /etc/init.d/inetsvc stop
        # /etc/init.d/inetsvc start

Generating dir's for jumpstart server!

        # mkdir /install_server
        # mkdir /install_server/Solaris_8

        # chown -R root:root /install_server
        # chmod -R 755 /install_server

Configuring nfs mount's!

        # vi /etc/dfs/dfstab

        --------------- /etc/dfs/dfstab---------------

        share -F nfs -o ro,anon=0 /install_server/Solaris_8
        
        --------------- /etc/dfs/dfstab---------------

        # /etc/init.d/rpc start
        # /etc/init.d/nfs.server start

        # ps -ef | grep nfs

            root 193 1 0 10:59:58 ? 0:00 /usr/lib/nfs/nfsd -a
16
            root 191 1 0 10:59:58 ? 0:00 /usr/lib/nfs/mountd
            
        root 29948 1 0 10:50:01 ? 0:00 /usr/lib/nfs/nfsd -a 16

        # shareall

        # share

        - /install_server/Solaris_8 ro,anon=0 ""

        # rpcinfo -s | grep mountd

            100005 3,2,1 ticots,ticotsord,tcp,ticlts,udp mountd
superuser

Copy sources to jumpstart dir!

        # mkdir /cdrom

        # mount -F hsfs -o ro /dev/dsk/c0t2d0s0 /cdrom

        # cd /cdrom/Solaris_8/Tools
        # ./setup_install_server /install_server/Solaris_8
        Verifying target directory...
        Calculating the required disk space for the Solaris_8 product
        Calculating space required for the installation boot image
        Copying the CD image to disk...
        Copying Install Boot Image hierarchy...
        Install Server setup complete
 
        # umount /cdrom

        # mount -F hsfs -o ro /dev/dsk/c0t2d0s0 /cdrom

        # cd /cdrom/Solaris_8/Tools
        # ./add_to_install_server /install_server/Solaris_8
 
        # umount /cdrom

        # mount -F hsfs -o ro /dev/dsk/c0t2d0s0 /cdrom

        # cd /cdrom/components/sparc/Packages/

        # cp -Rp SFWgcmn /install_server/Solaris_8/Solaris_8/Product/
        # cp -Rp SFWgcc /install_server/Solaris_8/Solaris_8/Product/
        # cp -Rp SFWgm4 /install_server/Solaris_8/Solaris_8/Product/
        # cp -Rp SFWaconf /install_server/Solaris_8/Solaris_8/Product/
        # cp -Rp SFWamake /install_server/Solaris_8/Solaris_8/Product/

        # umount /cdrom

        # ls

        /install_server/Solaris_8/Solaris_8/
                                            Docs
                                            EA
                                            Misc
                                            Patches
                                            Product
                                            Tools

        # rm -rf /install_server/Solaris_8/Solaris_8/MU
        # rm -rf /install_server/Solaris_8/Solaris_8/Patches/*

Patching the Boot image from the jumpstart server!

        # mkdir /install_server/8_recommended
        # mv 8_Recommended.zip /install_server/8_recommended
        # cd /install_server/8_recommended
        # unzip 8_Recommended.zip

        # cd /install_server/8_recommended/8_Recommended

        # /usr/sbin/patchadd \
        -C /install_server/Solaris_8/Solaris_8/Tools/Boot \
        -M /install_server/8_recommended/8_Recommended \
        patch_order

Generating dir for check script and copy the script to this dir!

        # cd /install_server/Solaris_8/Solaris_8
        # cd Misc/jumpstart_sample

        # mkdir /install_server/jumpstart_8
        # mkdir /install_server/jumpstart_8/bin

        # chown -R root:root /install_server/jumpstart_8
        # chmod -R 755 /install_server/jumpstart_8

        # cp check /install_server/jumpstart_8/bin
        # chmod 755 /install_server/jumpstart_8/bin/check
        # chown -R root:root /install_server/jumpstart_8/bin

Generating sysidcfg script with some entries!

        # touch /install_server/Solaris_8/sysidcfg
        # chmod 400 /install_server/Solaris_8/sysidcfg
        # chown root:root /install_server/Solaris_8/sysidcfg

        # vi /install_server/Solaris_8/sysidcfg

        --------------- /install_server/Solaris_8/sysidcfg ---------------

        timezone=MET
        name_service=NONE {domain_name=comcept.ch
        name_server=192.168.100.125
        name_server=192.168.100.194}
        terminal=vt100
        timeserver=localhost
        network_interface=primary {netmask=255.255.255.0
        protocol_ipv6=no
        default_route=192.168.100.120}
        security_policy=NONE
        root_password=7jh5a9XLICBj2

        --------------- /install_server/Solaris_8/sysidcfg ---------------

Generating the client.profile script with some entries!

        # vi /install_server/Solaris_8/client.profile
 
        --------------- /install_server/Solaris_8/client.profile
---------------

        # profile keywords profile values
        # ----------------- -----------------
        #
        # This profile keyword is required in every profile
        #
         
        install_type initial_install

        system_type standalone

        geo C_Europe

        # Following initial Cluster's are available for installation
        #
        # SUNWCreq (Core System Support cluster)
        # SUNWCuser (End-User cluster),
        # SUNWCprog (Developer cluster)
        # SUNWCall (Every OS package)
        
        cluster SUNWCprog

        # Partitioning will be done explixit
        #
        
        partitioning explicit
        
        # How the Client will pe partioned
        #
        filesys any 512 swap
        filesys any free /

        # How the Client will pe partioned for a "SUN4.2G"
        #

        #filesys rootdisk.s0 2480 /
        #filesys rootdisk.s1 1048 /var
        #filesys rootdisk.s2 all overlap
        #filesys rootdisk.s3 512 swap
        #filesys rootdisk.s4 10 /metadb1
        #filesys rootdisk.s5 free /metadb2

        # How the Client will pe partioned for a "SUN2.1G"
        #

        #filesys rootdisk.s0 472 /
        #filesys rootdisk.s1 1048 /var
        #filesys rootdisk.s2 all overlap
        #filesys rootdisk.s3 512 swap
        #filesys rootdisk.s4 10 /metadb1
        #filesys rootdisk.s5 free /metadb2
        
        # Deinstall SUN packages based on 32bit
        #

        package SUNWsndmr delete
        package SUNWsndmu delete
        package SUNWpcmci delete
        package SUNWpcmcu delete
        package SUNWpcmem delete
        package SUNWpcser delete
        package SUNWpcelx delete
        package SUNWpsdpr delete
        package SUNWauda delete
        package SUNWaudd delete
        package SUNWftpr delete
        package SUNWftpu delete
        package SUNWged delete
        package SUNWnisr delete
        package SUNWnisu delete
        package SUNWwsr2 delete
        package SUNWatfsr delete
        package SUNWatfsu delete
        package SUNWced delete
        package SUNWdtcor delete
        package SUNWfcip delete
        package SUNWfcp delete
        package SUNWfctl delete
        package SUNWi15cs delete
        package SUNWi1cs delete
        package SUNWluxop delete
        package SUNWmdi delete
        package SUNWnamow delete
        package SUNWses delete
        package SUNWsolnm delete
        package SUNWssad delete
        package SUNWudf delete
        package SUNWudfr delete
        package SUNWxwdv delete
        package SUNWxwmod delete
        package SUNWm64 delete
        package SUNWqfed delete
        package SUNWusb delete
        package SUNWuaud delete

        # Deinstall SUN packages based on 64bit
        #

        package SUNWauddx delete
        package SUNWcedx delete
        package SUNWfcipx delete
        package SUNWfcpx delete
        package SUNWfctlx delete
        package SUNWluxdx delete
        package SUNWluxox delete
        package SUNWpcmcx delete
        package SUNWqfedx delete
        package SUNWssadx delete
        package SUNWudfrx delete
        package SUNWmdix delete
        package SUNWsesx delete
        package SUNWtleux delete
        package SUNWuaudx delete
        package SUNWxwdvx delete
        package SUNWxwmox delete
        package SUNWusbx delete
        package SUNWm64x delete

        # Install SUN packages based on 32bit and 64bit
        #

        package SUNWtoox add
        package SUNWtoo add
        package SUNWlibCx add
        package SUNWlibC add
        package SUNWbcp add
        package SUNWowbcp add
        package SUNWscbcp add
        package SUNWscpr add
        package SUNWscpu add
        package SUNWipcx add
        package SUNWipc add
        package SUNWarcx add
        package SUNWarc add
        package SUNWgzip add
        package SUNWlibm add
        package SUNWbtoox add
        package SUNWbtool add
        package SUNWhea add
        package SUNWsprox add
        package SUNWsprot add
        package SFWgcmn add
        package SFWgcc add
        package SFWgm4 add
        package SFWaconf add
        package SFWamake add
        package SUNWmdr add
        package SUNWmdu add
        package SUNWmdx add

        --------------- /install_server/Solaris_8/client.profile
---------------

Copy default rules to jumpstart dir and modify the rules that it matches the

Jumpi-client (Ultra 1 sun4u with IP 192.168.100.118)!

        # cp /install_server/Solaris_8/Solaris_8/Misc/jumpstart_sample/rules
\
        /install_server/Solaris_8/rules

        # vi /install_server/Solaris_8/rules

        --------------- /install_server/Solaris_8/rules ---------------

        
############################################################################
        #
        # RULE EXAMPLES
        #
        # The following rule matches only one system:
        #
        
        hostname jumpi-client.comcept.ch - client.profile -
        
        # The following rule matches any system that is on the 924.222.43.0
network
        # and has the sun4c kernel architecture:
        # Note: The backslash (\) is used to continue the rule to a new
line.
        
        network 192.168.100.0 && karch sun4u - client.profile -
        
        # The following rule matches any sparc system with a c0t3d0 disk
that is
        # between 400 to 600 MBytes and has Solaris 2.1 installed on it:
        
        #arch sparc && \
        # disksize c0t3d0 400-600 && \
        # installed c0t3d0s0 solaris_2.1 - upgrade -
        
        #
        # The following rule matches all x86 systems:
        
        #arch i386 x86-begin x86-class -
        
        #
        # The following rule matches any system:
        
        any - - client.profile -
        
        --------------- /install_server/Solaris_8/rules ---------------

Verifying if rules are ok and generating rules.ok file!

        # cd /install_server/Solaris_8

        # /install_server/jumpstart_8/bin/check \
        -r rules \
        -p /install_server/Solaris_8

        Validating rules...
        Validating profile client.profile...
        The custom JumpStart configuration is ok.

        # /install_server/jumpstart_8/bin/check \
        -p /install_server/Solaris_8

        Validating rules...
        Validating profile client.profile...
        The custom JumpStart configuration is ok.

        # ls -la rules.*

        -rw-r--r-- 1 root other 157 Apr 22 18:56 rules.ok

Make the entry for the jumpi-client in /etc/ethers and /etc/hosts!

        # vi /etc/ethers

        --------------- /etc/hosts ---------------

        8:0:20:86:53:70 jumpi-client.comcept.ch

        --------------- /etc/hosts ---------------

        # vi /etc/hosts

        --------------- /etc/hosts ---------------

        192.168.1.118 jumpi-client jumpi-client.comcept.ch

        --------------- /etc/hosts ---------------

Use add_install_client script to add the client and generating
/etc/bootparams as the
Files in /tftpboot!

        # cd /install_server/Solaris_8/Solaris_8/Tools

        # /install_server/Solaris_8/Solaris_8/Tools/add_install_client \
        -e 8:0:20:86:53:70 \
        -i 192.168.1.118 \
        -s jumpi-serv:/install_server/Solaris_8 \
        -c jumpi-serv:/install_server/Solaris_8 \
        -p jumpi-serv:/install_server/Solaris_8 \
        jumpi-client.comcept.ch \
        sun4u

        starting rarpd
        starting bootparamd
        starting nfsd's
        starting nfs mountd
        updating /etc/bootparams
        copying inetboot to /tftpboot

        # ps -ef | grep nfs

    root 20559 1 0 16:48:04 ? 0:00 /usr/lib/nfs/mountd
    root 20561 1 0 16:48:04 ? 0:00 /usr/lib/nfs/nfsd -a 16

        # ps -ef | grep /usr/sbin/

    root 20564 1 0 16:48:04 ? 0:00 /usr/sbin/in.rarpd -a
    root 20532 1 0 16:47:56 ? 0:00 /usr/sbin/rpcbind
    root 20566 1 0 16:48:04 ? 0:00 /usr/sbin/rpc.bootparamd
    root 20527 1 0 16:47:49 ? 0:00 /usr/sbin/nscd

        # ps -ef | grep inet

    root 26210 1 0 19:00:50 ? 0:00 /usr/sbin/inetd -s

        # cat /etc/bootparams

        --------------- /etc/hosts ---------------

        jumpi-client
root=jumpi-serv:/install_server/Solaris_8/Solaris_8/Tools/Boot
        install=jumpi-serv:/install_server/Solaris_8 boottype=:in
        sysid_config=jumpi-serv:/install_server/Solaris_8
        install_config=jumpi-serv:/install_server/Solaris_8
        rootopts=:rsize=32768

        --------------- /etc/hosts ---------------

        # ls -la /tftpboot/
        total 346
        drwx--x--x 2 root other 512 Apr 22 16:49 .
        drwxr-xr-x 21 root root 512 Apr 21 22:08 ..
        lrwxrwxrwx 1 root other 26 Apr 22 16:49 C0A86476 ->
inetboot.SUN4U.Solaris_8-1
        lrwxrwxrwx 1 root other 26 Apr 22 16:49 C0A86476.SUN4U
-> inetboot.SUN4U.Solaris_8-1
        -rwxr-xr-x 1 root other 159424 Apr 22 16:49
inetboot.SUN4U.Solaris_8-1
        -rw-r--r-- 1 root other 317 Apr 22 16:49
rm.192.168.100.118
        

Goin to the client and connecting with serial console to ok prompt! Giving
following
Command! (both jumpi-server and jumpi-client are connected to the same
switch)

        # boot net - install
        Rebooting with command: boot net - install

        Boot device: /sbus/ledma@e,8400010/le@e,8c00000 File and args: -
install

On the jumpstart server I see with snoop that there are some Broadcast
requests from
Jumpi-client to the jumpstart server (tftp read C0A86476 (octet) etc.) but
there is
Nothing going to the jumpi-client. Also on the client there is no other
messages as
The Boot device message.

I tried also to use easier configuration as mentioned here it means for
sysidcf and
For client.profile. I controlled all logs local and on the log server no
messages no
Errors.

In my eyes it looks all fine also with the files etc. but why it is not
function?

Please help......many thanks in advanced for your help!

Andrea
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:30:35 EDT