DISCLAIMER : Please note that blog owner takes no responsibility of any kind for any type of data loss or damage by trying any of the command/method mentioned in this blog. You may use the commands/method/scripts on your own responsibility.If you find something useful, a comment would be appreciated to let other viewers also know that the solution/method work(ed) for you.
Most commonly used XSCF commands- solaris
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.
XSCF> showdomainstatus -a DID Domain Status 00 Running 01 Running 02 Running 03 -
XSCF> console -d 0
Power/reboot/reset/panic commands
Poweron all domainsXSCF> poweron -a
XSCF> poweron -d 0
XSCF> poweroff -a
XSCF> poweroff -d 0
XSCF> rebootxscf
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
XSCF> sendbreak -d 0
User Administration
Creating a New userXSCF> adduser -u 345 admin
XSCF> deleteuser admin
XSCF> disableuser admin
XSCF> enableuser admin
XSCF> showuser -a
XSCF> password admin
Network related commands
Display complete network configurationXSCF> shownetwork -a
XSCF> setnetwork xscf#0-lan#0 -m 255.255.255.0 192.168.1.10
XSCF> applynetwork XSCF> rebootxscf
XSCF> setntp 192.168.1.10 192.168.1.20 Please reset the XSCF by rebootxscf to reflect the ntp settings.
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
XSCF> showstatus
XSCF> showdevices
Fault Management configuration tool
To view fault management logsXSCF> 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 .....
XSCF> fmdump -e -V -u 5f88d7d5-a107-4435-99c9-7c59479d22ed TIME CLASS
Logs
show the logsXSCF> 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
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
XSCF> cfgdevice -l
# cfgadm -c configure # c0 # /etc/init.d/volmgt start
Hostname
Display current hostanems of XSCF unitsXSCF> showhostname -a xscf#0: hostname01.example.com xscf#1: hostname02.example.com
XSCF> sethostname xscf#0 hostname01 XSCF> sethostname -d example.com
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.