Sunday, October 19, 2008

FSP and PHYP basic commands

FSP commonly used commands

To start an FSP session click on SQUADRONS button on DULUTH
To close an FSP session type "exit" at the FSP prompt

smgr mfgState to get the IPL State
smgr toolResetDelayed to reset FSP.
Clear FSP errors (errl -p) and FIPS errors (fipsdump -i) before restarting
mtdflash --reboot to reset FSP.
As per smgr toolResetDelayed, clear FSP errors (errl -p) and FIPS errors (fipsdump -i) before restarting
panlexec -f11 function's display
-f11 to -f19 look at word 11 to word 19
rtim timeofday to get the system's time/date
rtim timeofday[yyyyMMddhhmmss] to set the system's time/date
all arguments must be entered, no missing field allowed:
yyyy: Year (0001 - 9999)
MM: Month (01 - 12)
dd: Day of month (01 - 31)
hh: Hour (00 - 23)
mm: Minute (00 - 59)
ss: Second (00 - 59)
errl -l | more Lists error log by pg
errl -d 0x050009FFF | more Detailed information on error 0x050009FFF
errl -p | more purge error log
registry -r fstp/DriverName to get firmware level
rmgrcmd -i role to determine whether an FSP is primary or backup
chicmd showconfig system 0xff | grep -i ent to check for Duke card
chicmd unitidfunct iohub4 Determines if unit iohub4 (Duke) belongs to a chip that is functional
Returns TRUE if Duke is functional
chicmd unitidexists iohub4 Determines if iohub (Duke) exists in the cec cage
Returns TRUE if Duke is seen by system
ifconfig | more Shows tcpip and mac address of FSP
fipsdump -i Clear fipsdump log
fipsdump -f-mfg Check if fipsdump exists
Returns 0 if no fipsdump exist
Returns 1 if fipsdump exists
ledscommandline --clearAll Clear all LEDs
This command fail if an expantion tower is removed from the configuration
ledscommandline --reset --atten Reset all Indicators
ledscommandline -s -i -L Ux To indicate which drawer an error is in you can turn on the attention light.
Take the location of the callout and insert it for the U value.
example: ledscommandline -s -i -L U0595.001.1234567
will turn on the drawer U0595.001.12343567
You can also turn on the led for a bad card with the same commands by entering in its location
example: ledscommandline -s -i -L U0595.001.1234567-P1-C4
will turn on slot C4 led to locate the bad card
ledscommandline -r -i -L Ux To turn off the attention light, replace Ux with a valid location
(i.e U0595.001.1234567-P1-C4)
svpdMFGtool [parameter] The svpdMFGtool allows to read data from VPD
here are some of the parameters available for this function:
the following VPD fields are blanc on a new VPD card
get_system_machine_type_model
get_system_serial_number
get_system_brand
get_ccin
get_system_machine_id
the following fields contain data on a new VPD card
get_SU_keyword (System Unique ID)
svpdtool inventory this command create the file "inventory.txt" where all sensitive parts' VPD are listed.
You need to change to /opt/p1/svpd before running it.
To display the list of VPD type more inventory.txt again from /opt/p1/svpd .
registry -Hr iplp/SysPhypCurrentState Shows Phyp State
registry -Hr iplp/SysPhypState 01 Boots system to Phyp
registry -Hr iplp/SysPhypState 02 Boots system to OS
registry -Hr iplp/SysPhypState Tells you how register is set
mboxexecinvokefunction PST 0x02000000 Changes Phyp from standby(01) to runtime(02)
plckIPLRequest 0xA01 Powerdown to fsp standby
gard -clr all Clears all GARDs from the system (both primary and secondry FSP).



PHYP commonly used commands
To start a PHYP session type "PHYP_CONSOLE.KSH" on a testcell window
example: [rch2b157][analyzer] /mas> PHYP_CONSOLE.KSH

ONLY ONE PHYP CONSOLE CAN BE OPEN AT A TIME.. YOU MUST CLOSE OUT YOUR CONSOLE BEFORE RESTARTING TEST, RESUMING, OR RUNNING AUTOV.
You wont be allowed to open a PHYP console while a test case is already using it.

To close a PHYP console type in the following:
phyp #
phyp # ^] (you must type Ctrl+])
telnet> close (you must type in close)

vsp Displays system's partitions
vsp -id 1 -on boot system from Phyp to the OS with partition no. 1
lparMfg -powerdown false Set PHYP not to power off after the last partition
lparMfg -powerdown true Set PHYP to power off after the last partition
vsp -id 1 -off Power partition 1 off
Note if lparMfg -powerdown is set to true system will power off to FSP
vsp -id 1 -c Boots to IDE (C mode)
vsp -id 1 -b Boots to DST (B mode)
vsp -id 1 -d Boots from CD (D mode)
vsp -id 1 -bootmode ok-prompt Boots to OK (SMS)
vsp -id 1 -bootmode normal Boots to AIX
lparMfg -sio Shows the system's PCI slots status (empty or populated)
spcninfo -raw -noleds shows the status of spcn on each twr

1 comment:

admin said...

thanks , highly helpfull