Problem in configuring jumpstart installation


 
Thread Tools Search this Thread
Operating Systems Solaris Problem in configuring jumpstart installation
# 1  
Old 10-06-2014
Problem in configuring jumpstart installation

I am trying to configuring jumpstart configuration. Please find below sysidcfg configuration file output

Code:
bash-3.2# cat sysidcfg
terminal=vt100
network_interface=nxge0 { primary hostname=sun1 ip_address=192.168.11.10 \
protocol_ipv6=no netmask=255.255.255.0 default_route=192.168.11.7}
timezone=Asia/Calcutta
nfs4_domain=dynamic
security_policy=NONE
keyboard=US-English
system_locale=en_US
timeserver=localhost
root_password='IiXxFy7eP8BdI'
name_service=NONE
security_policy=NONE
auto_reg=disable


Now when I booting from the client, it start asking question from "iSCSI Installation". I want to select "Install on non-iSCSI target". So please let me know what need to be added in sysidcfg file.

Please find below output.


Code:
SunOS Release 5.10 Version Generic_147147-26 64-bit
Copyright (c) 1983, 2013, Oracle and/or its affiliates. All rights reserved.
NOTICE: nxge0: xcvr addr:0x1d - link is up 1000 Mbps full duplex
Configuring devices.
Using RPC Bootparams for network configuration information.
Attempting to configure interface e1000g1...
NOTICE: nxge1: xcvr addr:0x1c - link is down
NOTICE: nxge2: xcvr addr:0x1b - link is down
NOTICE: nxge3: xcvr addr:0x1a - link is down
Skipped interface e1000g1
Attempting to configure interface e1000g0...
Skipped interface e1000g0
Attempting to configure interface nxge3...
Skipped interface nxge3
Attempting to configure interface nxge2...
Skipped interface nxge2
Attempting to configure interface nxge1...
Skipped interface nxge1
Attempting to configure interface nxge0...
Configured interface nxge0
USB keyboard
svc:/system/filesystem/local:default: WARNING: /usr/sbin/zfs mount -a failed: one or more file systems failed to mount
Setting up Java. Please wait...
Serial console, reverting to text install
Beginning system identification...
Searching for configuration file(s)...
Using sysid configuration file 10.240.21.104:/jumpstart/sysidcfg
Search complete.
Discovering additional network configuration...
Completing system identification...
Starting remote procedure call (RPC) services: done.
System identification complete.
Starting Solaris installation program...
Searching for JumpStart directory...
not found
Warning: Could not find matching rule in rules.ok
Press the return key for an interactive Solaris install program...
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.
- The Solaris Installation Program ---------------------------------------------
  The Solaris installation program is divided into a series of short sections
  where you'll be prompted to provide information for the installation. At the
  end of each section, you can change the selections you've made before
  continuing.
  About navigation...
        - The mouse cannot be used
        - If your keyboard does not have function keys, or they do not
          respond, press ESC; the legend at the bottom of the screen
          will change to show the ESC keys to use for navigation.
 
 
 
 

--------------------------------------------------------------------------------
     F2_Continue    F5_Exit    F6_Help
- Solaris Interactive Installation ---------------------------------------------
  On the following screens, you can accept the defaults or you can customize
  how Solaris software will be installed by:
        - Selecting the type of Solaris software to install
        - Selecting disks to hold software you've selected
        - Selecting unbundled products to be installed with Solaris
        - Specifying how file systems are laid out on the disks
  After completing these tasks, a summary of your selections (called a
  profile) will be displayed.
  There are two ways to install your Solaris software:
   - "Standard" installs your system from a standard Solaris Distribution.
      Selecting "Standard" allows you to choose between initial install
      and upgrade, if your system is upgradable.
   - "Flash" installs your system from one or more Flash Archives.
 
--------------------------------------------------------------------------------
     Esc-2_Standard    F3_Go Back    Esc-4_Flash    F5_Exit    F6_Help
- iSCSI Installation -----------------------------------------------------------
  Do you want to install Oracle Solaris 10 on an iSCSI target?
  NOTE: You must have created the iSCSI target before beginning the OS
  installation and the target system should be running Oracle Solaris 11 or
  Solaris 10 U5 or greater.
  If you choose to install the OS on a non-iSCSI target, you will be taken
  directly to the Oracle Solaris 10 installation screens.
 
            [X] Install on non-iSCSI target
            [ ] Install on iSCSI target
 
 
 
--------------------------------------------------------------------------------
     F2_Continue    F3_Go Back    F5_Exit
- Eject a CD/DVD Automatically? ------------------------------------------------
  During the installation of Solaris software, you may be using one or more
  CDs/DVDs. You can choose to have the system eject each CD/DVD automatically
  after it is installed or you can choose to manually eject each CD/DVD.

            [X] Automatically eject CD/DVD
            [ ] Manually eject CD/DVD
 
 
 
 
 
 
--------------------------------------------------------------------------------
     F2_Continue    F3_Go Back    F5_Exit
- Reboot After Installation? ---------------------------------------------------
  After Solaris software is installed, the system must be rebooted. You can
  choose to have the system automatically reboot, or you can choose to
  manually reboot the system if you want to run scripts or do other
  customizations before the reboot.  You can manually reboot a system by using
  the reboot(1M) command.

            [X] Auto Reboot
            [ ] Manual Reboot
 
 
 
 
 
--------------------------------------------------------------------------------
     F2_Continue    F3_Go Back    F5_Exit
- Choose Media -----------------------------------------------------------------
  Please specify the media from which you will install the Solaris Operating
  System.
  Media:

      [ ]  CD/DVD
      [X]  Network File System
 
 
 
 
 

--------------------------------------------------------------------------------
     F2_Continue    F3_Go Back    F5_Exit
- Specify Network File System Path ---------------------------------------------
  Please specify the path to the network file system from which you will
  install the Solaris Operating System.  Example:
     NFS Location: server:/path_to_Solaris_image
  ============================================================================
            NFS Location: 10.240.21.104:/export/install/
 
 
 
 
 
   Please wait ...
--------------------------------------------------------------------------------
     F2_Continue    F3_Go Back
- Solaris Interactive Installation ---------------------------------------------
  This system is upgradable, so there are two ways to install the Solaris
  software.
  The Upgrade option updates the Solaris software to the new release, saving
  as many modifications to the previous version of Solaris software as
  possible.  Back up the system before using the Upgrade option.
  The Initial option overwrites the system disks with the new version of
  Solaris software.  This option allows you to preserve any existing file
  systems.  Back up any modifications made to the previous version of Solaris
  software before starting the Initial option.
  After you select an option and complete the tasks that follow, a summary of
  your actions will be displayed.
 
 
   Please wait ...
--------------------------------------------------------------------------------
     F2_Upgrade    F3_Go Back    F4_Initial    F5_Exit    F6_Help
- Initializing -----------------------------------------------------------------
 
 
  The system is being initialized.
 
 
 
 
 
 

  Loading install media, please wait...
- License ----------------------------------------------------------------------
        You acknowledge that your use of this Oracle Solaris software product
        is subject to (i) the license terms that you accepted when you obtained
        the right to use Oracle Solaris software; or (ii) the license terms
        that you agreed to when you placed your Oracle Solaris software order
        with Oracle; or (iii) the Oracle Solaris software license terms
        included with the hardware that you acquired from Oracle; or, if (i),
        (ii) or (iii) are not applicable, then, (iv) the OTN License Agreement
        for Oracle Solaris (which you acknowledge you have read and agree to)
        available at
               http://www.oracle.com/technetwork/licenses/
                      solaris-cluster-express-license-167852.html
        Note: Software downloaded for trial use or downloaded as replacement
        media may not be used to update any unsupported software.
 
 
 
--------------------------------------------------------------------------------
     Esc-2_Accept License    F5_Exit

# 2  
Old 10-06-2014
I'm using JET (from Sun/Oracle) for jumpstart installations for years... JET is a framework that helps configuring jumstart installations... You'll find infos here:

Installing JET

And the download here:

Jumpstart Enterprise Toolkit Overview
# 3  
Old 10-06-2014
I think your sysidcfg is okay.
Quote:
Searching for JumpStart directory...
not found
Warning: Could not find matching rule in rules.ok
It's missing the rules file that specifies disks, packages, finish script, ...
The path to the rules file is given in bootparams (or in DHCP?).
# 4  
Old 10-07-2014
Hi DukeNuke2

Thanks for your suggestion. I will definately configure the JET once I have done with Jumpstart as it is new to me.


Hi MadeInGermany

Thanks for your input. I have configure the rule file as well as profile(sol10update11) file along with bootparam file. Please find below output

Code:
bash-3.2# cat rules
#
# ident "@(#)rules      1.13    10/05/26 SMI”
#
# The rules file is a text file used to create the rules.ok file for
# a custom JumpStart installation. The rules file is a lookup table
# consisting of one or more rules that define matches between system
# attributes and profiles.
#
# This example rules file contains:
#   o syntax of a rule used in the rules file
#   o rule_keyword and rule_value descriptions
#   o rule examples
#
# See the installation manual for a complete description of the rules file.
#
#
#############################################################################
#
# RULE SYNTAX:
#
# [!]rule_keyword rule_value [&& [!]rule_keyword rule_value]... begin profile finish
#
#    "[ ]"  indicates an optional expression or field
#    "..."  indicates the preceding expression may be repeated
#     "&&"  used to "logically AND" rule_keyword and rule_value pairs together
#      "!"  indicates negation of the following rule_keyword
#
#  rule_keyword   a predefined keyword that describes a general system
#                 attribute. It is used with the rule_value to match a
#                 system with the same attribute to a profile.
#
#  rule_value     a value that provides the specific system attribute
#                 for the corresponding rule_keyword. A rule_value can
#                 be text or a range of values (NN-MM).
#                 To match a range of values, a system's value must be
#                 greater than or equal to NN and less than or equal to MM.
#
#  begin          a file name of an optional Bourne shell script
#                 that will be executed before the installation begins.
#                 If no begin script exists, you must enter a minus sign (-)
#                 in this field.
#
#  profile        a file name of a text file used as a template by the
#                 custom JumpStart installation software that defines how
#                 to install Solaris on a system.
#
#  finish         a file name of an optional Bourne shell script
#                 that will be executed after the installation completes.
#                 If no finish script exists, you must enter a minus sign (-)
#                 in this field.
#
# Notes:
# 1. You can add comments after the pound sign (#) anywhere on a line.
# 2. Rules are matched in descending order: first rule through the last rule.
# 3. Rules can be continued to a new line by using the backslash (\) before
#    the carriage return.
# 4. Don't use the "*" character or other shell wildcards, because the rules
#    file is interpreted by a Bourne shell script.
#
#
#############################################################################
#
# RULE_KEYWORD AND RULE_VALUE DESCRIPTIONS
#
#
# rule_keyword    rule_value Type       rule_value Description
# ------------    ---------------       ----------------------
#  any            minus sign (-)        always matches
#  arch           text                  system's architecture type
#  domainname     text                  system's domain name
#  disksize       text range            system's disk size
#                                          disk device name (text)
#                                          disk size (MBytes range)
#  hostname       text                  system's host name
#  installed      text text             system's installed version of Solaris
#                                          disk device name (text)
#                                          OS release (text)
#  karch          text                  system's kernel architecture
#  memsize        range                 system's memory size (MBytes range)
#  model          'text'                system's model number
#  network        text                  system's IP address
#  totaldisk      range                 system's total disk size (MBytes range)
#
#
############################################################################
#
# RULE EXAMPLES
#
# The following rule matches only one system:
#

hostname sample_host    -       host_class       -

#
# The following rule matches the system fuzzball and applies the
# zfsrootsimple profile to it
#

hostname fuzzball       -       zfsrootsimple    -

# 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 924.222.43.0 && \
        karch sun4c     -       net924_sun4c     -

# 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 -   -   sol10update11  -

bash-3.2# cat sol10update11
install_type    initial_install
system_type     standalone
partitioning    explicit
cluster         SUNWCXall
filesys         c1t0d0s0        40960   /
filesys         c1t0d0s1        30720   swap
filesys         c1t0d0s3        30720   /u01
 
bash-3.2# cat /etc/bootparams
sun1  root=remedyweb1:/export/install/Solaris_10/Tools/Boot install=remedyweb1:/export/install/ boottype=:in sysid_config=remedyweb1:/jumpstart install_config=remedyweb1:/jumpstart/ rootopts=:rsize=8192

For configuring & selecting "Install on iSCSI target" we need to configure below parameters.

When installing the Oracle Solaris 10 OS on an iSCSI target through the JumpStart method, include the following new keywords in the profile:
  • iscsi_target_name
  • iscsi_target_ip
  • iscsi_target_lun
  • iscsi_target_port
  • iscsi_target_slice
But what parameter I have to configure along with value to select "Install on non-iSCSI target" in profile file
# 5  
Old 10-07-2014
Does a manual mount work?
Code:
mount remedyweb1:/jumpstart/ /mnt
cat /mnt/rules
cat /mnt/rules.ok



# 6  
Old 10-07-2014
Well We are able to mount /jumpstart directory on another client machine & also able to do

Code:
cat /mnt/rules
cat /mnt/rules.ok

It also seems that it able to read sysidcfg file that is that it came struck on iscsi installation screen

Code:
bash-3.2# cd /jumpstart
bash-3.2# ls -l
total 162
-rw-r--r--   1 root     root         182 Oct  6 15:36 any_machine
-rwxr-xr-x   1 root     root       66297 Oct  6 15:36 check
-rw-r--r--   1 root     root         243 Oct  6 15:36 host_class
-rw-r--r--   1 root     root         227 Oct  6 15:36 net924_sun4c
-rw-r--r--   1 root     root        4886 Oct  6 15:38 rules
-rw-r--r--   1 root     root         380 Oct  6 16:31 rules.ok
-rw-r--r--   1 root     root         233 Oct  6 15:30 sol10update11
-rw-r--r--   1 root     root         366 Oct  6 16:02 sysidcfg
-rw-r--r--   1 root     root          24 Oct  6 15:36 upgrade
-rw-r--r--   1 root     root         685 Oct  6 15:36 x86-begin
drwxr-xr-x   2 root     root         512 Oct  6 15:36 x86-begin.conf
-rw-r--r--   1 root     root         267 Oct  6 15:36 x86-class
-rw-r--r--   1 root     root         896 Oct  6 15:36 zfsrootsimple
bash-3.2#
bash-3.2# share
-               /export/install   ro,anon=0   ""
-               /jumpstart   ro,anon=0   ""
-               /cdrom/sol_10_113_sparc/Solaris_10/Tools/Boot   ro,anon=0   ""
bash-3.2#


Last edited by sb200; 10-07-2014 at 05:34 AM.. Reason: to make more understandable
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

help me! jumpstart installation error

Hi actualy my two machines are sun sparc ultra 60. Both are same configuration. I am trying jumpstart Installation in my two machines, i got no errors in server side but in the client side actually it detects the server machine with correct hostname and domainname but after showed that it will... (2 Replies)
Discussion started by: Grovestreet
2 Replies

2. Solaris

Could not start installation using jumpstart

hello I created a boot server and tryed to run intstall with jumpstart on other solaris server, but jumpstart coudn't starts, only text-based install. sysidcfg and rules file are in the same shared folder, rules file has only one string any - - any_profile - and thta't all. also I created... (2 Replies)
Discussion started by: sluge
2 Replies

3. Solaris

Solaris x86 installation using jumpstart does not local boot ( boot from hdd)

I am trying to install Solaris x86 using the Jumpstart server. I run the add_install_client command with appropriate options, and reboot my x86 Target box. The installation starts fine and unattended. After the installation completes and the target goes for a re-boot, it does not boot from the HDD... (9 Replies)
Discussion started by: hemalsid
9 Replies

4. Solaris

Jet/Jumpstart installation freezing

Hi guys, I have a problem with installing new Solaris servers via jet/jumpstart (tried both). I`ve configured server, created profile for a client, issued {1} boot net -v install and went to get some cofee... After I came back, client was able to load system from server, get IP and,... (4 Replies)
Discussion started by: masloff
4 Replies

5. Solaris

Jumpstart Installation from X86 machine

Hi friends , i have on ultra 10 Sparc machine . Due to some problem my OS is fully corrupted , so i am planning to install again but my problem is the cd drive in Ultra 10 machine is not working. Now i am planning to use Jumpstart installation method to install my server. But i... (4 Replies)
Discussion started by: vr_mari
4 Replies

6. Solaris

jumpstart installation

hi friends, i dont know how to install jumpstart . i have solaris cds( 5 nos.). i tried to install jumpstart but there is no setup_install_server file. What i want to do for installing jumpstart server please help me thanks to all (8 Replies)
Discussion started by: sijocg
8 Replies

7. Solaris

Flash installation with Jumpstart

I get following error while doing a flash installation. I 'm trying to deploy a flash archive created by our engineering team. I 'm trying to install it with ZFS root and the profile which i using is as following #more flash_profile_test install_type flash_install archive_location nfs... (3 Replies)
Discussion started by: fugitive
3 Replies

8. Solaris

Jumpstart Solaris Installation Program screen

Hi! I'm trying to skip the installation welcome screen (actually the first three screens: The Solaris Installation Program screen, Identify This System screen and date and time settings - not timezone settings). Everything else runs automaticly from jumpstart except these three screens, just... (6 Replies)
Discussion started by: Luka
6 Replies

9. Solaris

Solaris 10 installation over WAN using jumpstart

I am trying to install Solaris 10 OS using jumpstart over WAN. I have configured the jumpstart server with apache server and created all the necessary configurations and files. When i WAN boot my target machine, it gets booted using wanboot, it downloads the miniroot from the jumpstart server, but... (3 Replies)
Discussion started by: hemalsid
3 Replies

10. Solaris

Jumpstart installation problem.

We are installing Solaris 9 with Jumpstart ...facing problems.. Problem is .it is prompting for questions, even though we set the Sysidcfg and class files properly. when we give "boot net - install" at OK prompt, it is coming till "The system is coming up. Please wait" After that it... (5 Replies)
Discussion started by: b_manu78
5 Replies
Login or Register to Ask a Question