| Displaying The Version
Of SSP Software |
- To see the installed SSP packages
|
| ssp% pkginfo | grep -i
ssp |
| ssp% pkginfo -l <Any_SSP_Package> |
| |
| Example: |
ssp% pkginfo -l
SUNWsspue
PKGINST: SUNWsspue
NAME: System Service Processor User Environment
CATEGORY: servproc
ARCH: sparc
VERSION: 3.0.0,REV=97.02.27.20.05
BASEDIR:/
ENDOR: Sun Microsystems, Inc.
DESC: System Service Processor User Environment
|
|
|
| Creating
An eeprom Image File For A Domain |
| Follow
the steps given below to create new eeprom.image files
: |
| 1. Log in as usr ssp
on the main ssp |
| 2. cd to eeprom template
directory |
| ssp% cd $SSPVAR/.ssp_private/eeprom_save
|
| 3. Use hostid or serial
number and key to create new eeprom.image files. |
| sys_id -f eeprom.image.domain_name
-k key {- s serial_no | -h host_id} |
| 4. Verify the result
with sys_id -d command |
| ssp% sys_id
-d -f eeprom.image.domain_name |
|
|
-> Have key, Serial_Number
and Hostid ready
-> The first domain uses the serial number and other
domains uses hostid.
-> Use -f flag to avoid the template eeprom.image
file being overwritten |
|
|
| Procedure To Create
A Domain From The Command Line |
|
The following needs to be
ready to create a domain :
|
- Target system boards must be present and should
not be used for any other domain.
|
- At least one network interface in the domain (Must
be on same subnet as SSP)
|
- Sufficient memory
|
- Connection to a disk for the OS and Jumpstart server
for OS install
|
- Unique hostname
|
- Entry in host database (/etc/hosts or whereever
required)
|
- eeprom.image.domain_name
|
| |
| Syntax
to create new domain : |
| ssp%
domain_create -d domainname -b sys_board_list -o os_version
-p platform_name |
- -d => is the name of the new domain
- -b => are the system boards for the new domain
- -o => is the OS for the domain
- -p => is the platform name, which is name for
the e10k
Example:
ssp% domain_create -d marsh -b 4 11 -o 5.6 -p frame-1
Domain : marsh is created ! |
|
|
| Procedure To Change
A Domain Name |
- Run sys-unconfig on the domain.
|
| On the
SSP, run the following command |
- Remove the old domain
|
| ssp% domain_remove
-d old_domain_name |
- Rename the eeprom.image file
|
| ssp% cd /var/opt/SUNWssp/.ssp_private/eeprom_save
|
| ssp% mv eeprom.image.old_domain_name
eeprom.image.new_domain_name |
- Edit the domain_history file
|
| ssp% cd /var/opt/SUNWssp/.ssp_private
|
| ssp% vi domain_history
(change occurance of old_domainname to new_domainname)
|
- Edit /etc/hosts and entries in your nis host files
|
| # vi /etc/hosts
|
 |
change old_domainname to new_domainname |
- Rename the domain directory
|
| ssp% cd /var/opt/SUNWssp/adm
|
| % mv old_domain_name
new_domain_name create the new domain |
- Create domian with desired hostname
|
| ssp% domain_create
-d new_domain_name |
- Bringup the new domain
|
| ssp% domain_switch
new_domain_name |
| ssp% bringup
-A off |
|
| Creating A Backup
SSP |
- Step 1: Backup the following files from the main
SSP
|
|     /$SSPVAR/.ssp_private |
|     /$SSPVAR/etc
|
|     /etc/ethers |
|     /etc/hosts
|
- Load SSP packages on spare SSP
|
| # pkgadd -d
. |
|
|
Excute this command from
the location where you have your ssp pacakages stored |
- Restore files from step 1 on backup SSP.
|
- Edit /etc/ssp_to_domain_hosts and change ssp host
name to that of the new SSP.
|
|     Edit /etc/hosts
as needed. |
- Run ssp_config and answer "N" to "Are you currently
configuring for the MAIN SSP?"
|
|
| Determining If Mezzanine
Board Is Installed On The System Board Or Not |
| To determine whether there is an IO/Mezzanine
board is installed on a system board or |
| not without taking the e10k down |
| |
| Run the following
command on main ssp : |
ssp% redx -c; eepr io
sb#
example: ssp% redx -c ; eepr io 10 |
| |
| This will return the serial number on
the board. If it does not find the board it will return
code=0 |
|
| Important SSP Variable
|
|
$SUNW_HOSTNAME
Sets to name of domain being controlled
$SSPETC = (/etc/opt/SUNWssp)
SSP startup files & snmpd config files
$SSPVAR = /var/opt/SUNWssp/
$SSPLOGGER= /var/opt/SUNWssp/adm/
$SSPOPT=/opt/SUNWssp/
|
|
| SSP Daemons |
| The following daemon
runs on ssp : |
| |
|
SSP Specific
ssp_startup
machine_server
cbs
fad
straps
|
| |
|
Platform Specific
edd
snmpd
|
| |
|
Domain Specific
obp_helper
netcon_server
|
|
| Blacklisting Hardware
Through Command Line |
| A hardware
can be blacklisted using the host view or at command
line on ssp |
| |
Step 1. #
cd /var/opt/SUNWssp/etc/<frame-name>
Step 2. # vi blacklist |
| |
| CPU |
proc <system_board>.<proc_number>
i.e. proc 2.3 |
| |
| System Board
|
sysbd <sys_brd_number>
i.e. sysbd 9 |
| |
| Sbus Card |
scard <sb>.<ioctl>.<slot>
i.e. scard 3.1.0 |
| |
| Memory |
mem <sb>
i.e. mem 4 |
| |
| hlf of the centerplane
|
cplane <half-centerplane>
i.e. cplane 1 |
| |
| port controller
|
pc <sb>.<pc>
i.e. pc 0.1 |
| |
| xdb |
xdb <sb>.<xdb>
i.e. xdb 0.2 |
| |
| cic |
cic <sb>.<cic>
i.e. cic 0.1 |
| |
 |
Any Changes in the blacklist
file will not be effective until a bringup is performed
on the domain |
| |
|
Bringup the domain with default level
|
ssp% domain_switch
<domain_name>
ssp% bringup -A off |
|
This will bringup the domain with default
level 16 |
|
| Starting and Stopping
SSP Process |
| To start and stop
ssp process, do the following |
# /etc/init.d/ssp start
# /etc/init.d/ssp stop |
|
| SSP
and domain log files location |
SSP
/var/adm/messages /var/opt/SUNWssp/adm/domain_name/netcon
/var/opt/SUNWssp/adm/domain_name/redxhist.redx
/var/opt/SUNWssp/adm/domain_name/last_edd_bringup.out
/var/opt/SUNWssp/adm/domain_name/messages
/var/opt/SUNWssp/adm/domain_name/post/postmmdd.hhmm.log
Domain
/var/adm/messages
/var/log/syslog |
|
| Redx Utility |
|
redx commands and usage
:
dumpf load - loads a specific Arbstop, Record-Stop
or xfstate file
wfail - displays contents of register
-s - displays failing components
-B - displays entries to use in blacklist
exit - exit redx
Loading file on redx
Display
variable needs to be set on a remote host and issue
an xhost command
         csh shell : setenv
DISPLAY hostname:0.0
         ksh shell
: export DISPLAY=hostname:0.0
ssp% redx -l
A window will popup now display redx> prompt
redx> dumpf load <File_Path_To_Be_Loaded>
redx> wfail
redx> exit |
|
| Renaming a Domain |
ssp% domain_switch <domain_name>
ssp% domain_rename -d <existing_domain> -n <new_domain>
|
Example:
ssp% domain_switch marsh
Switch to domain marsh
ssp:marsh% domain_rename -d marsh -n marsh_tmp
Domain : marsh is renamed to marsh_tmp !
NOTE: The domain boot disk name may also need to be
changed |
|
| Removing a Domain |
|
ssp% domain_remove -d <domain_name>
Example:
ssp:marsh% domain_remove -d
marsh
domain_remove: The following subdirectories contain
domain specific
information such as messages files, configuration
files,
and hpost dump files. You may choose to keep these
directories if you still need this information. This
domain may be created with or without this information
being saved.
/var/opt/SUNWssp/adm/marsh
/var/opt/SUNWssp/etc/frame-1/marsh
Keep directories (y/n)? n
Domain : marsh is removed !
|
|
| CPU Numbering on
A E10K System |
|
Sys Brd 0
|
0
|
0
|
Sys Brd 4
|
0
|
16
|
Sys Brd 8
|
0
|
32
|
|
0
|
48
|
|
1
|
1
|
1
|
17
|
1
|
33
|
1
|
49
|
|
2
|
2
|
2
|
18
|
2
|
34
|
2
|
50
|
|
3
|
3
|
3
|
19
|
3
|
35
|
3
|
51
|
|
Sys Brd 1
|
0
|
4
|
Sys Brd 5
|
0
|
20
|
Sys Brd 9
|
0
|
36
|
Sys Brd 13
|
0
|
52
|
|
1
|
5
|
1
|
21
|
1
|
37
|
1
|
53
|
|
2
|
6
|
2
|
22
|
2
|
38
|
2
|
54
|
|
3
|
7
|
3
|
23
|
3
|
39
|
3
|
55
|
|
Sys Brd 2
|
0
|
8
|
Sys Brd 6
|
0
|
24
|
Sys Brd 10
|
0
|
40
|
Sys Brd 14
|
0
|
56
|
|
1
|
9
|
1
|
25
|
1
|
41
|
1
|
57
|
|
2
|
10
|
2
|
26
|
2
|
42
|
2
|
58
|
|
3
|
11
|
3
|
27
|
3
|
43
|
3
|
59
|
|
Sys Brd 3
|
0
|
12
|
Sys Brd 7
|
0
|
28
|
Sys Brd 11
|
0
|
44
|
Sys Brd 15
|
0
|
60
|
|
1
|
13
|
1
|
29
|
1
|
45
|
1
|
61
|
|
2
|
14
|
2
|
30
|
2
|
46
|
2
|
62
|
|
3
|
15
|
3
|
31
|
3
|
47
|
3
|
63
|
|
|
| Switching the Active
Control Board |
- Shutdown all running domains
|
- Power off all boards
ssp% power -off -all |
- as root, run /opt/SUNWssp/bin/ssp_config to change
the primary control board
# /opt/SUNWssp/bin/ssp_config
cb |
- If there is a spare ssp, run ssp_config to change
the primary control board.
|
- reboot the ssp(s)
|
- log into the primary ssp as the ssp user and power
on all the boards
ssp% power -on -all |
- Use bringup on each domain
|
ssp% domain_switch <domain>
ssp% bringup |
|
| Switching The Active
SSP |
- Deconfigure the Acting SSP
# /opt/SUNWssp/bin/ssp_config
(answer "n" to the MAIN SSP question)
# rm -rf /tftpboot
# init 6
|
| |
- Domain Changes - For each domain, perform the following
steps:
|
1. login into the domain as
root
2. Edit /etc/ssphostname and replace the hostname of
the current ssp with the hostname of the new ssp |
| |
- Switch console communication from the old ssp to
the new ssp by typing:
|
# ps -ef | grep cvcd
# kill -9 cvcd_pid
# /sbin/cvcd
|
| update the /etc/opt/SUNWxntp/ntp.conf
file and replace the old ssp hostname with the new ssp
hostname. |
| |
- Updating the New SSP
|
1.log into the new ssp as root
2.Restore the following directories from the old ssp:
   /var/opt/SUNWssp
   /etc/opt/SUNWssp
   /export/home/ssp
3.Edit the /var/opt/SUNWssp/.ssp_private/ssp_to_domain_hosts
and replace the old ssp 4.hostname with the new ssp
hostname.
5.Run /opt/SUNWssp/bin/ssp_config spare
6.Edit /etc/ethers and add in entries for each control
board and ssp
7.Edit /etc/hosts and add in entries for each control
board and ssp
8.Verify that the entries for mailhost and loghost point
to the appropriate host
9.reboot the ssp |
|
| Steps To Troubleshoot
a HUNG Domain |
- ssp% check_host -v > /tmp/check_host.out
- ssp% hostinfo -h > /tmp/hostinfo_h.out
- ssp% sigbcmd -p [bootproc] obp (Equivalent to ~#)
- ssp% sigbcmd -p [different proc] obp
if sigbcmd works, run the following:
ok>ctrace
ok>.registers
ok>.locals
ok> sync
- ssp% sigbcmd -p [bootproc] panic
- ssp% hostint
- ssp% hostreset
- ssp% bringup -A off
|
|
| Knowing The Part
No Of a System Board |
| ssp% redx -l |
| A window will popup displaying
redx> prompt |
| |
| redx> eepr sys 4 |
| 4 is the system board |
|
OR
|
| ssp% board_id -b sb -n
12 |
12 is the system board no.
Example:
ssp:marsh% board_id -b sb -n 11
Assembly Part Number 501-4786-02 Rev 50 Serial Number
28B004424
Programmed on Tue Apr 20 01:37:37 1999 |
|
| Powering Off &
On system board |
| ssp% power -on -sb # |
| The above will power on a given system
board no. |
| ssp% power -off -sb # |
| The above will power off a given system
board |
| ssp%
power -on -all |
| The above will power on all the system
board |
| ssp%
power -off -all |
| The above will power off all the system
board |
|
| Checking the Ethernet
address of a domain |
ssp% domain_switch <domain-name>
ssp:jupitor% sys_id -d |
| |
Example:
ssp% domain_switch marsh
Switch to domain marsh
ssp:marsh% sys_id -d
IDPROM in /var/opt/SUNWssp/etc/frame-1/marsh/eeprom.image |
|
Format  
=
|
  0x01 |
|
Machine Type  
=
|
  0x80 |
|
Ethernet Address
  =
|
  0:0:be:a6:63:1f |
|
Manufacturing
Date   =
|
  Wed Dec
31 19:00:00 1969 |
|
Serial Number
(Host ID)   =
|
  0xa6631f |
|
Checksum   =
|
  0x3f |
|
| hpost levels |
| Level |
Description
|
| 7 |
The minimum level. Hardware probing
and configuration |
| 16 |
Default level. Basic testing of
processor, memory, and I/O. |
| 17 |
Processor-based bbsram tests. |
| 24 |
More DTAG, memory and I/O tests, proc
and I/O vs. memory, xcall, JTAG interrupt test,
JTAG chain_length tests. |
| 32 |
More DTAG & memory tests, I/O
ecc tests. |
| 64 |
The highest "normal" diag level.
More DTAG & memory, cache coherency.
Error detection tests. |
| 100 |
Verify bbsram downloads. |
| 127 |
The maximum level. |
|
| |
| ssp% bringup -A off -ll7 |
|