• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

Most commonly used XSCF commands (Cheat Sheet)

by admin

The eXtended System Control Facility Unit (XSCFU) is a service processor that operates and administrates both midrange servers. The XSCFU diagnoses and starts the entire server, configures domains, offers dynamic reconfiguration, as well as detects and notifies various failures. The XSCFU enables standard control and monitoring function through network. Using this function enables starts, settings, and operation managements of the server from remote locations.

Connecting a domain

Check for the available domains on the servers :

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

Now to connect to the domain with ID 00 :

XSCF> console -d 0

Power/reboot/reset/panic commands

Poweron all domains

XSCF> poweron -a

Poweron only domain 0

XSCF> poweron -d 0

Poweroff all domains

XSCF> poweroff -a

Poweroff domain 0

XSCF> poweroff -d 0

Reboot XSCF

XSCF> rebootxscf

The 3 modes to reset a domain are :

por: To reset the domain
panic: To panic the domain
xir: To reset the CPU in domain
XSCF> reset -d 0 por
XSCF> reset -d 0 panic
XSCF> reset -d 0 xir

Send a break signal to a domain (with ID 0)

XSCF> sendbreak -d 0

User Administration

Creating a New user

XSCF> adduser -u 345 admin

Delete a user

XSCF> deleteuser admin

Disable a user

XSCF> disableuser admin

Enable a user

XSCF> enableuser admin

Display user account information

XSCF> showuser -a

Set or change a User (admin) password

XSCF> password admin

Network related commands

Display complete network configuration

XSCF> shownetwork  -a

Set IP address for XSCF-LAN#0 in the XSCFU#0

XSCF> setnetwork xscf#0-lan#0 -m 255.255.255.0 192.168.1.10

We must apply the network settings and reboot the XSCF in order to the network settings to take effect :

XSCF> applynetwork
XSCF> rebootxscf

Setup 2 NTP servers with IP 192.168.1.10 and 192.168.1.20

XSCF> setntp 192.168.1.10 192.168.1.20
Please reset the XSCF by rebootxscf to reflect the ntp settings.

To delete a NTP server 192.168.1.20

XSCF> setntp -c del 192.168.1.20
  Please reset the XSCF by rebootxscf to reflect the ntp settings.

Hardware Related Commands

Show field replaceable units(FRU)

XSCF> showhardconf

Display degraded units

XSCF> showstatus

To display configured devices on XSBs

XSCF> showdevices

Fault Management configuration tool

To view fault management logs

XSCF> fmdump -v
TIME                    UUID                                    MSG-ID
Nov 30 20:44:55.1283    9f773e33-e46f-466c-be86-fd3fcc449935   FMD-8000-0W
   100%  defect.sunos.fmd.nosub
   .....

Display Very Verbose Event Detail for a UUID

XSCF> fmdump -e -V -u 5f88d7d5-a107-4435-99c9-7c59479d22ed TIME CLASS

Logs

show the logs

XSCF> showlogs -v
XSCF> showlogs error
XSCF> showlogs power

Snapshots

We can take a snapshot of M series servers XSCF either on a remote server or on a USB device locally connected. To take a snaphot on a remote system 192.168.1.10 (in /var/tmp directory) by using root user credentials :

XSCF> snapshot -L F -t root@192.168.1.10:/var/tmp

To take the snapshot on a Local USB device connected to the server :

XSCF> snapshot -L F -d usb0

Connect DVD Device to a domain

Run the following from the XSCF to connect the DAT & DVD to the needed port based on the domain(s) configuration.

XSCF> cfgdevice -q -y -c attach -p 0-0

Confirm that the device is attached to domain and is enabled :

XSCF> cfgdevice -l

From the OS prompt configure the newly added DVD device and restart the volmgmt service:

# cfgadm -c configure # c0
# /etc/init.d/volmgt start

Hostname

Display current hostanems of XSCF units

XSCF> showhostname -a
xscf#0: hostname01.example.com 
xscf#1: hostname02.example.com

To set hostname and DNS domain name for XSCF doamin respectively

XSCF> sethostname xscf#0 hostname01
XSCF> sethostname -d example.com
Most Commonly used ALOM commands (Cheat Sheet)
Most Commonly used LOM commands (Cheat Sheet)
Most Commonly used ILOM commands (Cheat Sheet)
Most commonly used XSCF commands (Cheat Sheet)
Most Commonly used RSC commands (Cheat sheet)

Hardware consoles Oracle

Filed Under: Hardware

Some more articles you might also be interested in …

  1. How to setup RSC console on Sun Fire 280R, V480, V490, V880, V890 servers
  2. Complete Hardware Reference : SPARC T7-1 / T7-2 / T7-4
  3. Complete hardware reference : M3000 / M4000 / M5000 / M8000 / M9000
  4. Complete Hardware Reference : SPARC T5-2 / T5-4 / T5-8
  5. How to force a crash dump on T1000/T2000 servers from ALOM
  6. Complete Hardware Reference : SPARC T3-1 / T3-2 / T3-4
  7. Most Commonly used LOM commands (Cheat Sheet)
  8. How to collect XSCF snapshot on M-series servers (M3000 / M4000 / M5000 / M8000 / M9000)
  9. How to create an OBP boot device alias in Solaris [SPARC]
  10. How to set boot-device with luxadm command in Solaris

You May Also Like

Primary Sidebar

Recent Posts

  • “aws s3 mv” Command Examples
  • “aws s3 mb” Command Examples
  • “aws s3 ls” Command Examples
  • “aws s3 cp” Command Examples

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright