- Community Home
- >
- Storage
- >
- Midrange and Enterprise Storage
- >
- HPE 3PAR StoreServ Storage
- >
- 3PAR health checkup scripting
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2023 04:47 AM - last edited on 04-20-2023 03:53 AM by support_s
04-19-2023 04:47 AM - last edited on 04-20-2023 03:53 AM by support_s
3PAR health checkup scripting
Dear Mate,
I am trying to write a health checkup script, may be I am not passing the correct parameter, please look into it...
=============================================================
@ECHO off
set /p server="Enter host name: "
IF /i "%server%"=="3par" goto section3par
goto commonserver
:section3par
start putty.exe -ssh 3paradm@192.168.220.50 -pw 3pardata
cli showpd -sys 3Par8200
exit /b
==================================================
output-----
- Tags:
- 3PAR_Primera
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2023 10:00 AM
04-19-2023 10:00 AM
Re: 3PAR health checkup scripting
Hello @Dsinghp2002,
In your script, can you please change to IP address instead of hostname and check it how it goes.
Also can you please share the 'showsys' command output? (please mask the system serial number)
Regards,
Srinivas Bhat
If you feel this was helpful please click the KUDOS! thumb below!
Note: All of my comments are my own and are not any official representation of HPE.
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2023 10:51 AM - last edited on 04-25-2023 07:25 AM by Sunitha_Mod
04-19-2023 10:51 AM - last edited on 04-25-2023 07:25 AM by Sunitha_Mod
Re: 3PAR health checkup scripting
Dear Srinivas,
Please find the below output.
3Par8200 cli% showsys
----------------(MB)----------------
ID --Name-- ---Model---- -Serial- Nodes Master ClusterLED TotalCap AllocCap FreeCap FailedCap
99678 3Par8200 HP_3PAR 8200 1699678 2 0 n/a 20127744 1369088 18758656 0
3Par8200 cli%
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2023 12:44 AM
05-17-2023 12:44 AM
Re: 3PAR health checkup scripting
The script you provided seems to be attempting to perform a health checkup on a 3PAR storage system. However, it appears that you're not passing the correct parameters to the script. Here's a modified version of the script with some improvements:
@ECHO off
set /p server="Enter host name: "
IF /i "%server%"=="3par" goto section3par
goto commonserver
:section3par
start putty.exe -ssh 3paradm@192.168.220.50 -pw 3pardata -m "cli showpd -sys 3Par8200"
exit /b
In this modified script:
The user is prompted to enter the host name. If they enter "3par", the script proceeds to the 'section3par' label. Otherwise, it goes to the 'commonserver' label (which is not included in the provided script).
Inside the 'section3par' label, the 'putty.exe' command is executed with the specified parameters. The '-m' option is added to provide a script file ('cli showpd -sys 3Par8200') to execute on the remote server. This script file contains the command 'cli showpd -sys 3Par8200', which is passed to the 3PAR system to retrieve information about the physical disks (showpd) on the specified system (-sys 3Par8200).
Make sure you have Putty installed and the correct path to 'putty.exe' is set. Also, ensure that the IP address (192.168.220.50), username (3paradm), and password (3pardata) are correct for your 3PAR storage system.
This modified script should help you retrieve the desired output for your 3PAR health checkup.
Hope it helps! Let me know