Basic Cisco UCS CLI commands

cisco_ucs

To check UCSM faults summary for all severity

ucspe# show fault
Severity  Code     Last Transition Time     ID       Description
--------- -------- ------------------------ -------- -----------
Warning   F16976   2016-11-02T13:14:48.685   3413419 [FSM:STAGE:RETRY:]: Cleaning up CIMC configuration for server sys/rack-unit-1(FSM-STAGE:sam:dme:ComputePhysicalDecommission:CleanupCIMC)
Warning   F16976   2016-11-02T13:09:48.682   3413469 [FSM:STAGE:RETRY:]: Cleaning up CIMC configuration for server sys/chassis-1/blade-1(FSM-STAGE:sam:dme:ComputePhysicalDecommission:CleanupCIMC)
Warning   F78434   2016-11-02T10:21:29.138   3413241 [FSM:STAGE:REMOTE-ERROR]: Result: end-point-protocol-error Code: unspecified Message: Error retrieving Server Params-MC Error(-1): (sam:dme:Comp
uteRackUnitDiscover:BmcInventory)

To display the faults related to particular severity. Below displayed only the major faults likewise can be done for other severity like critical, minor, warnings etc.,

ucspe# show fault severity major
Severity  Code     Last Transition Time     ID       Description
--------- -------- ------------------------ -------- -----------
Major     F0209    2016-11-02T10:15:26.672   3413225 Adapter uplink interface 4/1/1 link state: unavailable. Please verify connectivity to Fabric Interconnect. Acknowledging FEX might be required.
Major     F0209    2016-11-02T10:15:26.671   3413224 Adapter uplink interface 4/1/2 link state: unavailable. Please verify connectivity to Fabric Interconnect. Acknowledging FEX might be required.
Major     F0209    2016-11-02T10:15:26.668   3413222 Adapter uplink interface 3/1/1 link state: unavailable. Please verify connectivity to Fabric Interconnect. Acknowledging FEX might be required.
Major     F0209    2016-11-02T10:15:26.666   3413221 Adapter uplink interface 3/1/2 link state: unavailable. Please verify connectivity to Fabric Interconnect. Acknowledging FEX might be required.
Major     F0209    2016-11-02T10:15:26.655   3413217 Adapter uplink interface 1/8/2/1 link state: unavailable. Please verify connectivity to Fabric Interconnect. Acknowledging chassis might be requ
ired.
Major     F0209    2016-11-02T10:15:26.654   3413216 Adapter uplink interface 1/8/2/3 link state: unavailable. Please verify connectivity to Fabric Interconnect. Acknowledging chassis might be requ
ired.

To check UCSM date and time

ucspe# show clock
Wed Nov  2 13:58:31 UTC 2016

To check UCS fabric interconnect cluster status

ucspe# show cluster state 
Cluster Id: 0x7163814ea06911e6-0x8aed000c29428154

A: UP, PRIMARY
B: UP, SUBORDINATE

HA READY
ucspe# show cluster extended-state
Cluster Id: 0x7163814ea06911e6-0x8aed000c29428154

Start time: Tue Nov  1 19:29:09 2016
Last election time: Tue Nov  1 19:29:17 2016

A: UP, PRIMARY
B: UP, SUBORDINATE

A: memb state UP, lead state PRIMARY, mgmt services state: UP
B: memb state UP, lead state SUBORDINATE, mgmt services state: UP
   heartbeat state PRIMARY_OK

INTERNAL NETWORK INTERFACES:
eth0, UP

HA READY
Detailed state of the device selected for HA storage:
Chassis 1, serial: CH1, state: active
Chassis 2, serial: CH2, state: active
Server 1, serial: RK1, state: active

Recommended For You

About the Author: admin

Leave a Reply

Your email address will not be published. Required fields are marked *

Subscribe To Our Newsletter
Subscribe to our email newsletter today to receive updates on the latest news, tutorials and special offers!
No Thanks
Thanks for signing up. You must confirm your email address before we can send you. Please check your email and follow the instructions.
We respect your privacy. Your information is safe and will never be shared.
Don't miss out. Subscribe today.
×
×
WordPress Popup Plugin