Skip to main content

Jumpstart reminder

bash-3.2# cd /cdrom
bash-3.2# cd sol_10_811_sparc/
bash-3.2# cd Solaris_10/Tools/
bash-3.2# cd /opt/
bash-3.2# mkdir solaris
bash-3.2# cd /cdrom/sol_10_811_sparc/Solaris_10/Tools/
bash-3.2# ./setup_install_server /opt/solaris


Verifying target directory...
Calculating the required disk space for the Solaris_10 product
Calculating space required for the installation boot image
Copying the CD image to disk...
Copying Install Boot Image hierarchy...
Copying /boot netboot hierarchy...
Install Server setup complete

 
bash-3.2# cd /
bash-3.2# mkdir jumpstart
bash-3.2# cp -r /opt/solaris/Solaris_10/Misc/jumpstart_sample /jumpstart
bash-3.2# cp -R /jumpstart/jumpstart_sample/* /jumpstart/
bash-3.2# cd /jumpstart
bash-3.2# rm -rf jumpstart_sample
bash-3.2# vi /etc/dfs/dfstab


share -F nfs -o ro,anon=0 /jumpstart

 
bash-3.2# shareall
bash-3.2# cd /jumpstart/
bash-3.2# ./check


Validating rules...
Validating profile host_class...
Validating profile zfsrootsimple...
Validating profile net924_sun4c...
Validating profile upgrade...
Validating profile x86-class...

Validating profile any_machine...
The custom JumpStart configuration is ok.

 
bash-3.2# cd /opt/solaris/Solaris_10/Tools
bash-3.2# ./add_install_client -c KGBI-SRV009-n1:/jumpstart -e 0:21:28:e7:ed:6 KGBI-SRV009-n2 sun4v
WARNING:        No hostname found for 10.10.0.1
saving original /etc/dfs/dfstab in /etc/dfs/dfstab.orig
Adding "share -F nfs -o ro,anon=0 /opt/solaris" to /etc/dfs/dfstab
cleaning up preexisting install client "KGBI-SRV009-n2"
removing KGBI-SRV009-n2 from bootparams
removing /etc/bootparams, since it is empty
removing /tftpboot/inetboot.SUN4V.Solaris_10-1
removing /tftpboot
making /tftpboot
svcprop: Pattern 'network/tftp/udp6:default/:properties/restarter/state' doesn't match any entities
enabling network/tftp/udp6 service
svcadm: Pattern 'network/tftp/udp6' doesn't match any instances
updating /etc/bootparams
copying boot file to /tftpboot/inetboot.SUN4V.Solaris_10-1

 
bash-3.2# cd /jumpstart/
bash-3.2# rm -f rules
bash-3.2# rm -f rules.ok
bash-3.2# touch rules
bash-3.2# ./check


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

 
bash-3.2# nohup /usr/sbin/in.rarpd -ad &
bash-3.2# cat /etc/inetd.conf
#
# Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
#ident  "@(#)inetd.conf 1.56    04/10/21 SMI"
#
# Legacy configuration file for inetd(1M).  See inetd.conf(4).
#
# This file is no longer directly used to configure inetd.
# The Solaris services which were formerly configured using this file
# are now configured in the Service Management Facility (see smf(5))
# using inetadm(1M).
#
# Any records remaining in this file after installation or upgrade,
# or later created by installing additional software, must be converted
# to smf(5) services and imported into the smf repository using
# inetconv(1M), otherwise the service will not be available.  Once
# a service has been converted using inetconv, further changes made to
# its entry here are not reflected in the service.
#
#
# CacheFS daemon.  Provided only as a basis for conversion by inetconv(1M).
#
100235/1 tli rpc/ticotsord wait root /usr/lib/fs/cachefs/cachefsd cachefsd
# TFTPD - tftp server (primarily used for booting)
tftp    dgram   udp6    wait    root    /usr/sbin/in.tftpd      in.tftpd -s /tftpboot


bash-3.2# cat /etc/hosts


#
# Internet host table
#
::1     localhost
127.0.0.1       localhost
172.28.147.219  KGBI-SRV009-n1  loghost
10.10.0.2       KGBI-SRV009-n2

 
bash-3.2# perl -e 'printf "%02x"x4 ."\n",10,10,0,2;'|tr a-z A-Z
0A0A0002

 
bash-3.2# inetconv
inetconv: Notice: Service manifest for 100235/1 already generated as /var/svc/manifest/network/rpc/100235_1-rpc_ticotsord.xml, skipped
tftp -> /var/svc/manifest/network/tftp-udp6.xml
Importing tftp-udp6.xml ...Done

 
{20} ok boot net - install
Resetting...
POST Sequence 01 CPU Check
POST Sequence 02 Banner
LSB#01 (XSB#01-0): POST 2.15.0 (2010/10/06 14:23)
POST Sequence 03 Fatal Check
POST Sequence 04 CPU Register
POST Sequence 05 STICK
POST Sequence 06 MMU
POST Sequence 07 Memory Initialize
POST Sequence 08 Memory
POST Sequence 09 Raw UE In Cache
POST Sequence 0A Floating Point Unit
POST Sequence 0B SC
POST Sequence 0C Cacheable Instruction
POST Sequence 0D Softint
POST Sequence 0E CPU Cross Call
POST Sequence 0F CMU-CH
POST Sequence 10 PCI-CH
POST Sequence 11 Master Device
POST Sequence 12 DSCP
POST Sequence 13 SC Check Before STICK Diag
POST Sequence 14 STICK Stop
POST Sequence 15 STICK Start
POST Sequence 16 Error CPU Check
POST Sequence 17 System Configuration
POST Sequence 18 System Status Check
POST Sequence 19 System Status Check After Sync
POST Sequence 1A OpenBoot Start...
POST Sequence Complete.

SPARC Enterprise M5000 Server, using Domain console
Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2011, Oracle and/or its affiliates and Fujitsu Limited. All rights                                                                                         reserved.
OpenBoot 4.33.0.a, 131072 MB memory installed, Serial #xxxxxxxx.
Ethernet address 0:21:28:e6:6a:65, Host ID: xxxxxxxx.



Rebooting with command: boot net - install
Boot device: /pci@10,600000/pci@0/pci@8/pci@0/network@2  File and args: - instal                                                                                        l
1000 Mbps full duplex  Link up
Requesting Internet Address for 0:21:28:e7:ed:6
Requesting Internet Address for 0:21:28:e7:ed:6
1000 Mbps full duplex  Link up
SunOS Release 5.10 Version Generic_147440-01 64-bit
Copyright (c) 1983, 2011, Oracle and/or its affiliates. All rights reserved.
Configuring devices.
Using RPC Bootparams for network configuration information.
Attempting to configure interface nxge3...
NOTICE: nxge2: xcvr addr:0x0b - link is down
NOTICE: nxge0: xcvr addr:0x0d - link is down
NOTICE: nxge3: xcvr addr:0x0a - link is down
NOTICE: nxge1: xcvr addr:0x0c - link is down
Skipped interface nxge3
Attempting to configure interface nxge2...
Skipped interface nxge2
Attempting to configure interface nxge1...
Skipped interface nxge1
Attempting to configure interface nxge0...
Skipped interface nxge0
Attempting to configure interface bge1...
Skipped interface bge1
Attempting to configure interface bge0...
Configured interface bge0
Setting up Java. Please wait...
Serial console, reverting to text install
Beginning system identification...
Searching for configuration file(s)...
Search complete.
Discovering additional network configuration...

Comments

Popular posts from this blog

Solaris. remove unusable scsi lun

Solaris remove unusable or failing scsi lun 1. The removed devices show up as drive not available in the output of the format command: # format Searching for disks...done ................      255. c1t50000974082CCD5Cd249 <drive not available>           /pci@3,700000/SUNW,qlc@0/fp@0,0/ssd@w50000974082ccd5c,f9 ................      529. c3t50000974082CCD58d249 <drive not available>           /pci@7,700000/SUNW,qlc@0/fp@0,0/ssd@w50000974082ccd58,f9 2. After the LUNs are unmapped Solaris displays the devices as either unusable or failing. # cfgadm -al -o show_SCSI_LUN | grep -i unusable # # cfgadm -al -o show_SCSI_LUN | grep -i failing c1::50000974082ccd5c,249       disk         connected    configured   failing c3::50000974082ccd58,249 ...

memory error detect XSCF uboot

If you see something like this when you poweron you server: memory error detect 80000008, address 000002d0 data 55555555 -> fbefaaaa capture_data hi fbefaaaa lo deadbeef ecc 1b1b capture_attributes 01113001 address 000002d0 memory error detect 80000008, address 000002d4 data aaaaaaaa -> deadbeef capture_data hi fbefaaaa lo deadbeef ecc 1b1b capture_attributes 01113001 address 000002d4 memXSCF uboot  01070000  (Feb  8 2008 - 11:12:19) XSCF uboot  01070000  (Feb  8 2008 - 11:12:19) SCF board boot factor = 7180     DDR Real size: 256 MB     DDR: 224 MB Than your XSCF card is broked. Replace it with new one. After that it will ask you for enter chassis number - located at front of the server XSCF promt to enter your chasses number ( is a S/N of your server ): Please input the chassis serial number : XXXXXXX 1:PANEL Please select the number : 1 Restoring data from PANEL to XSCF#0. Please wait for se...

SPARC OBP cheatsheet

Boot PROM Basics Boot PROM(programmable read only memory): It is a firmware (also known as the monitor program) provides: 1. basic hardware testing & initialization before booting. 2. contains a user interface that provide access to many important functions. 3. enables the system to boot from wide range of devices. It controls the system operation before the kernel becomes available. It provides a user interface and firmware utility commands known as FORTH command set. These commands include the boot commands, the diagnostic commands & the commands for modifying the default configuration. Command to determine the version of the Open Boot PROM on the system: # /usr/platform/'uname -m'/sbin/prtdiag -v (output omitted) System PROM revisions: ---------------------- OBP 4.16.4 2004/12/18 05:21 Sun Blade 1500 (Silver) OBDIAG 4.16.4.2004/12/18 05:21 # prtconf -v OBP 4.16.4 2004/12/18 05:21 Open Boot Architectures Standards: It is based on IEEE standard #1275, accord...