First, some work has to be done on jumpstart server:
1. Add sysidcfg in /JumpStart/sysidcfg/appzone02
Code: Select all
system_locale=C
terminal=vt100
nfs4_domain=dynamic
name_service=DNS {
domain_name=ols.minimed.com
name_server=10.0.20.18,10.48.246.170,172.24.120.170
search=ols.minimed.com,corp.medtronic.com
}
network_interface=ixgbe0 {
hostname=appzone02
ip_address=10.0.33.8
default_route=10.0.32.1
netmask=255.255.254.0
protocol_ipv6=no
}
security_policy=NONE
root_password=v.Ht9UnFKcioQ
timezone=US/Pacific
timeserver=144.15.157.92
auto_reg=disable
2. Modify /JumpStart/rules to include the following line at the bottom:
Code: Select all
hostname appzone02 - appzone02_profile -
3. Create a appzone02_profile in /JumpStart
Code: Select all
Install_type initial_install
Cluster SUNWCall
root_device c2t338670488B799130d0
pool rpool auto auto auto c2t338670488B799130d0
pool zonepool auto auto auto c0t3A326F3C118FEC2Ed0
bootenv installbe bename solaris10_u11
P.S. "root_device" should be able to specify which disk to install
4. Run check program
Code: Select all
jumpstart:/JumpStart%check
Validating rules...
Validating profile appzone02_profile...
The custom JumpStart configuration is ok.
5. Set up new system to install from the network
Code: Select all
cd /JumpStart/install/sparc_solaris10_u11/Solaris_10/Tools
./add_install_client -i 10.0.33.8 -e 0:10:e0:35:86:8a -p jumpstart:/JumpStart/sysidcfg/appzone02 -c jumpstart:/JumpStart appzone02 sun4v
Adding IP address for appzone02.ols.minimed.com to /etc/hosts
Adding Ethernet number for appzone02.ols.minimed.com to /etc/ethers
updating /etc/bootparams
copying boot file to /tftpboot/inetboot.SUN4V.Solaris_10-1
5. Verify these files:
Code: Select all
/etc/hosts
/etc/ethers
/etc/bootparams
7. Boot from appzone02 ok prompt
Code: Select all
{0} ok boot net - install
Boot device: /pci@300/pci@1/pci@0/pci@1/network@0 File and args: - install
1000 Mbps full duplex Link up
Requesting Internet Address for 0:10:e0:35:86:8a
1000 Mbps full duplex Link up
SunOS Release 5.10 Version Generic_147147-26 64-bit
Copyright (c) 1983, 2013, Oracle and/or its affiliates. All rights reserved.
Configuring devices.
WARNING: /pci@3c0/pci@1/pci@0/pci@2/scsi@0/iport@v0/disk@w338670488b799130,0 (sd4):
Corrupt label; wrong magic number
WARNING: /pci@300/pci@1/pci@0/pci@2/scsi@0/iport@v0/disk@w3a326f3c118fec2e,0 (sd5):
Corrupt label; wrong magic number
Using RPC Bootparams for network configuration information.
Attempting to configure interface ixgbe3...
Skipped interface ixgbe3
Attempting to configure interface ixgbe2...
Skipped interface ixgbe2
Attempting to configure interface ixgbe1...
Skipped interface ixgbe1
Attempting to configure interface ixgbe0...
Configured interface ixgbe0
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.0.33.6:/JumpStart/sysidcfg/appzone02/sysidcfg
Search complete.
Discovering additional network configuration...
Completing system identification...
Starting remote procedure call (RPC) services: done.
For some reason, the system asked interaction from admin regarding the system time. sysidcfg is supposed to take care of this.....
Some issues regarding the disks.
Code: Select all
System identification complete.
Starting Solaris installation program...
Searching for JumpStart directory...
Using rules.ok from 10.0.33.6:/JumpStart.
Checking rules.ok file...
Using profile: appzone02_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.
ERROR: One or more disks are found, but one of the following problems exists:
- Hardware failure
- The disk(s) available on this system cannot be used to install Solaris Software. They do not have a valid label. If you want to use the disk(s) for the install, use format(1M) to label the disk and restart the installation.
Solaris installation program exited.
Then, I had to use format to label the disks:
Code: Select all
# format
Searching for disks...done
c0t3A326F3C118FEC2Ed0: configured with capacity of 1115.67GB
c2t338670488B799130d0: configured with capacity of 556.97GB
AVAILABLE DISK SELECTIONS:
0. c0t3A326F3C118FEC2Ed0 <LSI-LogicalVolume-3000 cyl 48547 alt 2 hd 255 sec 189>
/pci@300/pci@1/pci@0/pci@2/scsi@0/iport@v0/disk@w3a326f3c118fec2e,0
1. c2t338670488B799130d0 <LSI-LogicalVolume-3000 cyl 65533 alt 2 hd 32 sec 557>
/pci@3c0/pci@1/pci@0/pci@2/scsi@0/iport@v0/disk@w338670488b799130,0
Specify disk (enter its number): 0
selecting c0t3A326F3C118FEC2Ed0
[disk formatted]
Disk not labeled. Label it now? y
FORMAT MENU:
disk - select a disk
type - select (define) a disk type
partition - select (define) a partition table
current - describe the current disk
format - format and analyze the disk
repair - repair a defective sector
label - write label to the disk
analyze - surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels
save - save new disk/partition definitions
inquiry - show vendor, product and revision
volname - set 8-character volume name
!<cmd> - execute <cmd>, then return
quit
format> disk 1
selecting c2t338670488B799130d0
[disk formatted]
Disk not labeled. Label it now? y
After the disks are labeled, I tried to install again from net.
Code: Select all
# reboot -- net - install
syncing file systems... done
rebooting...
Resetting...
NOTICE: Entering OpenBoot.
NOTICE: Fetching Guest MD from HV.
NOTICE: Starting additional cpus.
NOTICE: Initializing LDC services.
NOTICE: Probing PCI devices.
NOTICE: Finished PCI probing.
SPARC T5-2, No Keyboard
Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
OpenBoot 4.35.0.a, 255.0000 GB memory available, Serial #104171146.
Ethernet address 0:10:e0:35:86:8a, Host ID: 8635868a.
Boot device: /pci@300/pci@1/pci@0/pci@1/network@0 File and args: - install
1000 Mbps full duplex Link up
Requesting Internet Address for 0:10:e0:35:86:8a
1000 Mbps full duplex Link up
SunOS Release 5.10 Version Generic_147147-26 64-bit
Copyright (c) 1983, 2013, Oracle and/or its affiliates. All rights reserved.
Configuring devices.
Using RPC Bootparams for network configuration information.
Attempting to configure interface ixgbe3...
Skipped interface ixgbe3
Attempting to configure interface ixgbe2...
Skipped interface ixgbe2
Attempting to configure interface ixgbe1...
Skipped interface ixgbe1
Attempting to configure interface ixgbe0...
Configured interface ixgbe0
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.0.33.6:/JumpStart/sysidcfg/appzone02/sysidcfg
Search complete.
Discovering additional network configuration...
Completing system identification...
Starting remote procedure call (RPC) services: done.
q The Oracle Solaris Installation Program qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq
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'll be able to 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.
qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq
Esc-2_Continue Esc-6_Help
q Identify This System qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq
On the next screens, you must identify this system as networked or
non-networked, and set the default time zone and date/time.
If this system is networked, the software will try to find the information
it needs to identify your system; you will be prompted to supply any
information it cannot find.
> To begin identifying this system, press F2.
qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq
Esc-2_Continue Esc-6_Help
q Date and Time qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq
> Accept the default date and time or enter
new values.
Date and time: 2013-08-16 11:42
Year (4 digits) : 2013
Month (1-12) : 08
Day (1-31) : 16
Hour (0-23) : 11
Minute (0-59) : 42
qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq
Esc-2_Continue Esc-6_Help
System identification complete.
Starting Solaris installation program...
Searching for JumpStart directory...
Using rules.ok from 10.0.33.6:/JumpStart.
Checking rules.ok file...
Using profile: appzone02_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 profile
- Saving Boot Environment Configuration
- Selecting cluster (SUNWCall)
- Selecting all disks
- Configuring boot device
- Automatically configuring disks for Solaris operating system
- Deselecting unmodified disk (c2t338670488B799130d0)
Verifying disk configuration
- WARNING: Changing the system's default boot device in the EEPROM
Verifying space allocation
- Total software size: 4434.47 Mbytes
Preparing system for Solaris install
Configuring disk (c0t3A326F3C118FEC2Ed0)
- Creating Solaris disk label (VTOC)
Creating and checking file systems
- Creating / (c0t3A326F3C118FEC2Ed0s0)
- Creating /export/home (c0t3A326F3C118FEC2Ed0s7)
Beginning Solaris software installation
Starting software installation
SUNWocfd.........................done. 4434.12 Mbytes remaining.
SUNWcnetr........................done. 4434.06 Mbytes remaining.
SUNWkvmt200.v....................done. 4433.71 Mbytes remaining.
SUNWlucfg........................done. 4433.63 Mbytes remaining.
SUNWcart200.v....................done. 4433.52 Mbytes remaining.
SUNWdefault-java.................done. 4433.49 Mbytes remaining.
SUNWcsu..........................done. 4417.13 Mbytes remaining.
SUNWjdmk-base....................done. 4415.88 Mbytes remaining.
.....
SUNWgnome-project-devel-share....done. 397.65 Mbytes remaining.
SUNWuium.........................done. 397.53 Mbytes remaining.
SUNWgnome-media-player-share.....done. 397.17 Mbytes remaining.
Completed software installation
Solaris 10 software installation succeeded
Customizing system files
- Mount points table (/etc/vfstab)
- Unselected disk mount points (/var/sadm/system/data/vfstab.unselected)
- Network host addresses (/etc/hosts)
- Environment variables (/etc/default/init)
Cleaning devices
Customizing system devices
- Physical devices (/devices)
- Logical devices (/dev)
Installing boot information
- Installing boot blocks (c0t3A326F3C118FEC2Ed0s0)
- Installing boot blocks (/dev/rdsk/c0t3A326F3C118FEC2Ed0s0)
- Updating system firmware for automatic rebooting
- Given Disk (/dev/dsk/c0t3A326F3C118FEC2Ed0s0) is not a iSCSI Disk
Installation log location
- /a/var/sadm/system/logs/install_log (before reboot)
- /var/sadm/system/logs/install_log (after reboot)
Installation complete
Executing SolStart postinstall phase...
Executing finish script "patch_finish"...
Finish script patch_finish execution completed.
Executing JumpStart postinstall phase...
The begin script log 'begin.log'
is located in /var/sadm/system/logs after reboot.
The finish script log 'finish.log'
is located in /var/sadm/system/logs after reboot.
Creating boot_archive for /a
updating /a/platform/sun4v/boot_archive
syncing file systems... done
rebooting...
Resetting...