HPE Storage Users Group

A Storage Administrator Community




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Interesting commands HPE support run
PostPosted: Sun May 26, 2019 11:37 pm 

Joined: Tue Mar 29, 2016 9:32 pm
Posts: 136
Hi,

Just thought I'd create a running log of commands I've not seen before that HPE support run when troubleshooting :

cgcmd -tc tty -C cage3 -c "report_faults" -p b

Some sort of "cage command", looks like it interrogates the controllers in drive cages.
Output some good info, found the drive shelf was complaining about low temperature warnings (it was "degraded" in SSMC but no reason as to why found in the GUI, so logged a case)

Anyone else have some interesting commands ?


Top
 Profile  
Reply with quote  
 Post subject: Re: Interesting commands HPE support run
PostPosted: Mon May 27, 2019 5:40 am 

Joined: Thu Oct 26, 2017 1:21 am
Posts: 96
those commands are for reason allowed only to hpe and should stay that way :)


Top
 Profile  
Reply with quote  
 Post subject: Re: Interesting commands HPE support run
PostPosted: Mon May 27, 2019 5:28 pm 

Joined: Tue Mar 29, 2016 9:32 pm
Posts: 136
where is your sense of curiosity :-)


Top
 Profile  
Reply with quote  
 Post subject: Re: Interesting commands HPE support run
PostPosted: Mon May 27, 2019 9:52 pm 

Joined: Tue Aug 25, 2015 3:01 am
Posts: 49
Those commands on the 7000/8000 interact with the Xyratex CLI.
There is some additional detailed hardware diagnostics HPE support can do.


Quote:
cgcmd -tc tty -C cage0 -c "getvpd" -p a
Battery 0: Present
Device ID : 0x20
Manufacturer : XYRATEX
PN : 0979814-03
SN : BCC0974242G39HP
Mfr Date : 0x9a3284
PCB SN :
Battery 1: Present
Device ID : 0x20
Manufacturer : XYRATEX
PN : 0979814-05
SN : BCC0974242G5HK6
Mfr Date : 0xaa64ec
PCB SN :


Top
 Profile  
Reply with quote  
 Post subject: Re: Interesting commands HPE support run
PostPosted: Mon Jun 17, 2019 7:33 am 

Joined: Fri Oct 26, 2018 9:05 am
Posts: 5
adam wrote:
Those commands on the 7000/8000 interact with the Xyratex CLI.
There is some additional detailed hardware diagnostics HPE support can do.


Yes, this commands communicate directly to HW. In most cases you do not need to do so.

For lovers of CLI, here is command from first post edited to InformOS CLI.
Code:
tcli -e "jt tty -n cage3 -c "report_faults" -p b"


I propose using this commands only on LAB units, trying commands without documentation on production... ;-)


Top
 Profile  
Reply with quote  
 Post subject: Re: Interesting commands HPE support run
PostPosted: Tue Jun 18, 2019 5:35 am 

Joined: Tue Aug 25, 2015 3:01 am
Posts: 49
HPE them self published another low level cage command in this youtube video.

https://www.youtube.com/watch?v=95e1HU4IRzs&t=109s

3PAR 7000&8000:
Code:
cgcmd -tc tty -C cageX -c resetdrive X -p a|b

3PAR 9000&20000:
Code:
cgcmd -tc tty -C cage1 -p a -c drivebay bay=3 set power=off
cgcmd -tc tty -C cage1 -p a -c drivebay bay=3 set power=on


Top
 Profile  
Reply with quote  
 Post subject: Re: Interesting commands HPE support run
PostPosted: Tue Feb 04, 2020 7:25 am 

Joined: Tue Feb 04, 2020 7:20 am
Posts: 2
Hi

Just wondered how you fixed the low temperature warnings ? Im seeing something similar with the cage degraded in the SSMC and a low temperature warning, but showcage seems to think everything is fine! I've got a case open with HPe but they haven't go to the bottom of it yet.....


markinnz wrote:
Hi,

Just thought I'd create a running log of commands I've not seen before that HPE support run when troubleshooting :

cgcmd -tc tty -C cage3 -c "report_faults" -p b

Some sort of "cage command", looks like it interrogates the controllers in drive cages.
Output some good info, found the drive shelf was complaining about low temperature warnings (it was "degraded" in SSMC but no reason as to why found in the GUI, so logged a case)

Anyone else have some interesting commands ?


Top
 Profile  
Reply with quote  
 Post subject: Re: Interesting commands HPE support run
PostPosted: Sun Feb 09, 2020 1:43 pm 

Joined: Tue Mar 29, 2016 9:32 pm
Posts: 136
3parnoob wrote:
Hi

Just wondered how you fixed the low temperature warnings ? Im seeing something similar with the cage degraded in the SSMC and a low temperature warning, but showcage seems to think everything is fine! I've got a case open with HPe but they haven't go to the bottom of it yet.....



We had low temperature alerts three times now .. two where on PCM modules which HPE could hot swap, the third was on the internal backplane of the cage and that couldn't be hot swapped so HPE had to attach an extra cage and move drives to it (took about a week to complete as drives had to be emptied before they could be pulled and moved), then replace the bad cage, and reverse the drive swap process .. wasn't fun doing it all on a live system and not something I'd do without HPE support :)


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 


Who is online

Users browsing this forum: No registered users and 40 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group | DVGFX2 by: Matt