HPE Storage Users Group
https://3parug.net/

Scripts for overall health checks
https://3parug.net/viewtopic.php?f=18&t=121
Page 1 of 1

Author:  jlucivero [ Mon Feb 13, 2012 10:50 am ]
Post subject:  Scripts for overall health checks

I am new to 3PAR storage and I would like to know are there any scripts that will give me health check status disk free disk used cpu stats port stats etc? i would like to run them daily and dump them to html or excel any help is greatly appreciated. Thank you.

Author:  sid [ Thu Feb 16, 2012 7:55 am ]
Post subject:  Re: Scripts for overall health checks

Hi

Most of this can be done using system reporter. You can create your own custom reports or use the the 'web queries' options to generate tables/charts as needed. If you script it you can grab the csv file each web query/report creates and use that data.

I've put a daily cpg use table in excel format (from 1st Jan 2012) example below.
# daily cpg space
Quote:
http://WEBSERV/cgi-bin/3par-rpts/inserv_perf.exe?reptype=vstime&maxgraphs=8&comparesel=used_space&begintsecs=1325376053&endtsecs=&txtfromselcpg=&selcpg=--All+CPGs--&selraidtype=all&seldisktype=--All+Disk+Types--&charttab=table&chartlib=gdgraph&charttype=lines&graphx=&graphy=&timeform=absolute&graphlegpos=&ldspaceunit=GiB&report=cpg_space_time&category=daily&selsys=INSERV&seldomain=--All+Domains--&tableformat=excel


Change WEBSERV to the webserver where you run sys reporter and INSERV to your 3par.

I havent found a 'status' report option but would be interested to know if anyone has.

Author:  jxrojas [ Thu Mar 22, 2012 3:24 pm ]
Post subject:  Re: Scripts for overall health checks

There is a health check report available thru SPOCC. Basically login via web browser to your SP IP address using default credentials (User: 3parcust Password: 3parInServ).

Then go to Support and fire up a Health Check. It takes quite a while to complete.

You can also use full service account, but you should be rather cautious with it: User: spvar Password: 3parvar.

Attachments:
healthcheck.jpg
healthcheck.jpg [ 44.23 KiB | Viewed 37447 times ]

Author:  jxrojas [ Thu Mar 22, 2012 3:32 pm ]
Post subject:  Re: Scripts for overall health checks

This is a sample output for the health check (summary):

# checkhealth 2.3.1.330
#Thu Mar 22 14:50:52 EDT 2012
### showsys

------------General-------------
System Name :
System Model : InServ T800
Serial Number :
System ID :
Number of Nodes : 6
Master Node : 3
Nodes Online : 2,3,4,5,6,7
Nodes in Cluster : 2,3,4,5,6,7

------System Capacity (MB)------
Total Capacity : 524681216
Allocated Capacity : 249135104
Free Capacity : 275544320
Failed Capacity : 1792

--------System Descriptors--------
Location :
Owner :
Contact :
Comment :



### Begin Summary Status

Component -----------------------------Description------------------------------ Qty
LD LDs not mapped to a volume 8
PD Disks experiencing a high level of I/O per second 46
Port Ports with less than one week of LESB history 37
Port Ports with increasing CRC error counts 33
Port Ports or devices which have experienced CRC errors within the last day 1
RC Groups which are not started 2
vlun Hosts not connected to a port 2
vlun Paths not reported by host agent 924


### End Summary Status

Author:  craving2learn [ Fri May 25, 2012 7:42 am ]
Post subject:  Re: Scripts for overall health checks

We are on Release version 3.1.1 (MU1) and "checkhealth -detail" command runs complete checkhealth on the InServ.

cli% showversion
Release version 3.1.1 (MU1)
Patches: None

Component Name Version
CLI Server 3.1.1 (MU1)
CLI Client 3.1.1 (MU1)
System Manager 3.1.1 (MU1)
Kernel 3.1.1 (MU1)
TPD Kernel Code 3.1.1 (MU1)
cli% checkhealth -detail
Checking alert
Checking cage
Checking date
Checking ld
Checking license
Checking network
Checking node
Checking pd
Checking port
Checking rc
Checking snmp
Checking task
Checking vlun
Checking vv

Author:  sunshinekoxtn [ Wed Oct 17, 2012 2:34 pm ]
Post subject:  Re: Scripts for overall health checks

I'm unable to connect to my spocc. It just times out. Is there anyway I can check if spocc is up and running through cli?

Author:  Richard Siemers [ Thu Oct 18, 2012 7:38 am ]
Post subject:  Re: Scripts for overall health checks

spocc runs on the "service processor" not the storage nodes, that is a 1U server that comes with the storage that handles phone home and remote support operations. It will have a different IP address than your storage. It's also when the techs plug into when they come onsite to do hardware swaps.

Author:  ailean [ Fri Oct 19, 2012 8:07 am ]
Post subject:  Re: Scripts for overall health checks

jxrojas wrote:
There is a health check report available thru SPOCC. Basically login via web browser to your SP IP address using default credentials (User: 3parcust Password: 3parInServ).

Then go to Support and fire up a Health Check. It takes quite a while to complete.

You can also use full service account, but you should be rather cautious with it: User: spvar Password: 3parvar.

:roll:
Yet more default passwords we should go change now. ;)

Author:  ddIG46 [ Thu Jan 16, 2014 8:15 am ]
Post subject:  Re: Scripts for overall health checks

Hello All,

Just found this site what a great resource. I am trying to run the checkhealth command from the CLI and it is telling me I don't have Permissions? I know i can run it from SPOCC but would rather use the CLI.

I am logged in as 3parcust on version 2.3.1.

Any help I would appreciate it.

Cheers,
Daniel

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/