Thursday, December 26, 2013

XSCF COMMANDS




XSCF : eXtended System Control Facility
List of servers
  • IOU : I/O Unit
The IOU includes PCI slots.
  • PSB : Physical System Board
The PSB includes at least 1 CPUM, 1 MEMB and 1 IOU on M4000 or M5000 server.
A M4000 server includes 1 PSB (PSB#00) and a M5000 server includes 2 PSB(PSB#00 and PSB#01).
  • XSB : Extended System Board
The PSB is configured either in Uni-XSB mode or Quad-XSB mode.
In uni-XSB mode, the XSB are named XSB#XX-0.
In quad-XSB mode, the XSB are named XSB#XX-0, XSB#XX-1, XSB#XX-2 and XSB#XX-3
XX represents the PSB number.
  • LSB : Logical System Board
Before adding an XSB to a domain, it is necessary to assign a number of LSB in the DCL (corresponding to the domain).
  • DCL : Domain Component List
Each domain has his own DCL. Each DCL contains 16 LSB.
  • DCU : Domain Configuration Unit
  • XCP : XSCF Control Package
  • Default user account
The user is default only works on serial port.
There is no password but you must follow the instructions.
Login: default
Change the panel mode switch to Service and press return...
turn the key, press return
Leave it in that position for at least 5 seconds.  Change the panel mode switch to Locked, and .
wait 5 seconds
turn the key, press return
  • Create a user
XSCF> adduser user-admin
XSCF> password user-admin
XSCF> setprivileges user-admin platadm useradm auditadm fieldeng mode
  • Display list of users
XSCF> showuser -l
  • Script configuration
XSCF> setupplatform
  • Manual Configuration
XSCF0 Configuration
  • IP : 10.0.0.4
  • Netmask : 255.255.255.0
  • Gateway : 10.0.0.254
  • xscf0 name : tatouky
  • Domain name : tatouky.com
  • IP of primary and secondary DNS : 10.0.0.100 10.0.0.101
  • IP of primary and secondary NTP : 10.0.0.200 10.0.0.201
XSCF> setnetwork xscf#0-lan#0 -m 255.255.255.0 10.0.0.4
XSCF> setroute -c add -n 0.0.0.0 -m 0.0.0.0 -g 10.0.0.254 xscf#0-lan#0
XSCF> sethostname xscf#0 tatouky
XSCF> setnameserver -c add 10.0.0.100 10.0.0.101
XSCF> setntp -c add 10.0.0.200 10.0.0.201
XSCF> sethostname -d tatouky.com
Configuration of DSCP network ( communication between the XSCFU et the domains )
XSCF> setdscp -y -i 192.168.224.0 -m 255.255.255.0
Activate the ssh
XSCF> setssh -q -y -c enable
Apply the modifications
XSCF> applynetwork -y
and also
XSCF> setaltitude -s altitude=500
XSCF> settimezone -c settz -s Europe/Paris
XSCF> setservicetag -c enable
Reboot
XSCF> rebootxscf
  • Show the network configuration
XSCF> showssh
XSCF> showhostname -a
XSCF> shownetwork -a
XSCF> showroute -a
XSCF> showntp -a
XSCF> shownameserver
  • Display
XSCF> showfru -a sb              
Device  Location    XSB Mode        Memory Mirror Mode 
sb      00          Uni             no                 
sb      01          Uni             no 
XSCF> showfru sb 0
  • Define
To Uni-XSB
  XSCF> setupfru -x 1 sb 0
To Quad-XSB
  XSCF> setupfru -x 4 sb 0
  • Display
XSCF> showdcl -a -v
XSCF> showdcl -v -d 0
  • Define a DCL number to a XSB
XSCF> setdcl -d 0 -a 0=00-0
The XSB 00-0 has the DCL number 0 on the domain 0.
  • Suppress
XSCF> setdcl -d 0 -r 00
  • Display all boards
XSCF> showboards -a -v
  • Add a board to a domain
XSCF> addboard -d 0 -c assign 00-0
We add the xsb 00-0 to the domain 0
  • Suppress a board
XSCF> deleteboard -c unassign 00-0
  • Power on the domain 0
XSCF> poweron -y -d 0
  • Power off the domain 0
XSCF> poweroff -y -d 0
  • Connect on the console of the domain 0
XSCF> console -y -d 0
  • Display connected users in console mode
XSCF> showconsolepath -a
  • Défine autoboot function to a domain
XSCF> setdomainmode -y -d 0 -m diag=max
XSCF> setdomainmode -y -d 0 -m autoboot=off
XSCF> setdomainmode -y -d 0 -m secure=off
By default, the secure mode is define to “on” which is disabled the break signal.
  • send a break
XSCF> sendbreak -d 0
Send break signal to DomainID 0?[y|n] :y
  • Do a reset to a domain
XSCF> reset -d 0 xir
Option
Description
panic
send a reset with panic option
por
send a system reset
xir
send a CPU reset
  • device
Display a resume of hardware configuration
XSCF> showhardconf -u
Display page by page
XSCF> showhardconf -M
Display the attached device to a domain( The OS must run on the domain )
XSCF> showdevices -d 0
It is necessary to configure the dscp and also to start the SMF services else the command returns the follow error message :
Can't get device information from DomainID 1.
Display the hardware with degraded status
XSCF> showstatus
MBU_B;
MEMB#0;
* MEM#0A; Status:Faulted;
XSCF> ioxadm -v list
Replace the FRU (FAN and PSU for M4000/M5000)
XSCF> replacefru
  • Help
XSCF> man intro
  • Log
XSCF> showlogs -v error
XSCF> showlogs -t
XSCF> showlogs power
The firmware update is contained on only one image who is named XCP. Le nom du fichier represente le type de serveur :
  • IKXCPxxyy.tar.gz pour les serveurs M3000 (Ikkaku)
  • FFXCPxxyy.tar.gz pour les serveurs M4000-M5000 (Form Factor)
  • DCXCPxxyy.tar.gz pour les serveurs M8000-M9000 (Data Center)
Verify the firmware version
XSCF> version -c xcp -v -t
Use one of this 2 methods :
  • Download by ftp
XSCF> getflashimage -u root ftp://10.0.0.254/FFXCP1081.tar.gz
  • Download by a usb key
XSCF> getflashimage file:///media/usb_msd/FFXCP1081.tar.gz
Install the firmware
XSCF> flashupdate -c check -m xcp -s 1081
XSCF> flashupdate -c update -m xcp -s 1081
Reboot the xscf
XSCF> rebootxscf
After you finish to install the Solaris 10 OS, you must check that this 3 SMF services is started.
svc:/platform/sun4u/dscp:default
svc:/platform/sun4u/sckmd:default
svc:/platform/sun4u/dcs:default
Verify with the command ifconfig -a that the interface sppp0 exists :
....
         sppp0: flags=10010008d1<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST,IPv4,FIXEDMTU> mtu 1500 index
         inet 192.168.224.3 --> 192.168.224.1 netmask ffffff00
         ether 0
http://tatouky.ovh.org/lib/plugins/gallery/images/expand.gifhttp://tatouky.ovh.org/lib/plugins/gallery/images/close.gifhttp://tatouky.ovh.org/lib/plugins/gallery/images/next.gifhttp://tatouky.ovh.org/lib/plugins/gallery/images/prev.gif

No comments:

Post a Comment