HPE Storage Users Group

A Storage Administrator Community




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: Scripts for overall health checks
PostPosted: Mon Feb 13, 2012 10:50 am 

Joined: Mon Feb 13, 2012 10:48 am
Posts: 4
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.


Top
 Profile  
Reply with quote  
 Post subject: Re: Scripts for overall health checks
PostPosted: Thu Feb 16, 2012 7:55 am 

Joined: Thu Feb 16, 2012 7:04 am
Posts: 7
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.


Top
 Profile  
Reply with quote  
 Post subject: Re: Scripts for overall health checks
PostPosted: Thu Mar 22, 2012 3:24 pm 

Joined: Wed Mar 21, 2012 4:21 pm
Posts: 9
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 37154 times ]
Top
 Profile  
Reply with quote  
 Post subject: Re: Scripts for overall health checks
PostPosted: Thu Mar 22, 2012 3:32 pm 

Joined: Wed Mar 21, 2012 4:21 pm
Posts: 9
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


Top
 Profile  
Reply with quote  
 Post subject: Re: Scripts for overall health checks
PostPosted: Fri May 25, 2012 7:42 am 

Joined: Wed Apr 11, 2012 10:35 am
Posts: 1
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


Top
 Profile  
Reply with quote  
 Post subject: Re: Scripts for overall health checks
PostPosted: Wed Oct 17, 2012 2:34 pm 

Joined: Wed Oct 10, 2012 1:41 pm
Posts: 7
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?


Top
 Profile  
Reply with quote  
 Post subject: Re: Scripts for overall health checks
PostPosted: Thu Oct 18, 2012 7:38 am 
Site Admin
User avatar

Joined: Tue Aug 18, 2009 10:35 pm
Posts: 1328
Location: Dallas, Texas
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.

_________________
Richard Siemers
The views and opinions expressed are my own and do not necessarily reflect those of my employer.


Top
 Profile  
Reply with quote  
 Post subject: Re: Scripts for overall health checks
PostPosted: Fri Oct 19, 2012 8:07 am 

Joined: Wed Nov 09, 2011 12:01 pm
Posts: 392
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. ;)


Top
 Profile  
Reply with quote  
 Post subject: Re: Scripts for overall health checks
PostPosted: Thu Jan 16, 2014 8:15 am 

Joined: Thu Jan 16, 2014 7:50 am
Posts: 9
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


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


Who is online

Users browsing this forum: No registered users and 52 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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group | DVGFX2 by: Matt