Showing posts with label XSCF. Show all posts
Showing posts with label XSCF. Show all posts

Monday, January 23, 2017

XSCF sun solaris command

In order to login into console from XSCF you must know in which domain you want to login into.

1. To show all the domains on a server.

XSCF> showdomainstatus -a
DID         Domain Status
00          Running
01          Running
02          -
03          -

2. To check the status of server.
XSCF> showstatus
No failures found in System Initialization.
Note: Currently on the server no hardware fault. this command clearly show the current status.

3. To login in domain-

XSCF> console -d 00
Console contents may be logged.
Connect to DomainID 0?[y|n] :y

if the console is not appear then you can run the below command to take a console forcefully.
XSCF> console -d 00 -f
Console contents may be logged.
Connect to DomainID 0?[y|n] :y

4. To check the complete hardware status from XSCF.
XSCF> showhardconf


5. To return to XSCF from domain , type
#.

6. To power-on & power-off the domain
XSCF> poweroff -d 00

XSCF>poweron -d 00

Note: if domain 00 is not power off , you can use "-f" with command to shutdown forcefully.

7. To check the error & power logs from SXCF

XSCF> showlogs error
Date: Nov 02 11:15:03 UTC 2016     Code: 40000200-cfffd701-0300003200000000
    Status: Information            Occurred: Nov 02 11:15:02.536 UTC 2016
    FRU: /HDD#0,/IOU#0
    Msg: Boot process failed

XSCF> showlogs power
Date                          Event            Cause          DID  Switch
Jan 01 00:29:36 UTC 2001      SCF Reset        Power On       --   Locked
Jan 01 01:43:31 UTC 2001      SCF Reset        Self Reset     --   Locked

8. To check the hostname of XSCF server

XSCF> showhostname -a

9. To view the fault management logs

XSCF> fmdump -v
TIME                 UUID                                 MSG-ID
Nov 02 11:15:03.3078 b121fe1b-a418-4b9e-8a23-474dda80891f SCF-8001-KC
   66%  upset.chassis.SPARC-Enterprise.io.disk.boot

10. To reboot the XSCF

XSCF>rebootsxcf

11. To display complete network information

XSCF> shownetwork  -a

xscf#0-lan#0
          Link encap:Ethernet  HWaddr 00:21:28:6E:C4:AA
          inet addr:192.168.0.1  Bcast:192.168.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:240177064 errors:419 dropped:0 overruns:0 frame:0
          TX packets:75330 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3346969538 (3.1 GiB)  TX bytes:12900961 (12.3 MiB)
          Base address:0xe000

xscf#0-lan#1
          Link encap:Ethernet  HWaddr 00:21:28:6E:C4:AB
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Base address:0xc000