- Community Home
- >
- Storage
- >
- Entry Storage Systems
- >
- Disk Enclosures
- >
- pairdisplay question?
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
Discussions
Discussions
Forums
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
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-08-2003 02:02 AM
тАО04-08-2003 02:02 AM
pairdisplay question?
I need help with the script syntax for having a loop which checks the pair status of BC VGs which are being synchronized. I want the script to loop until the pair status equals PAIR then to exit to do another command.
Any ideas would be most appreciated!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2003 02:30 AM
тАО04-08-2003 02:30 AM
Re: pairdisplay question?
We use the 'pairevtwait' command in our scripts when we are synchronizing disks. You can specify the wait time and it will wait until the disks are in PAIR state or until the timeout is reached, whichever comes first. We use a timeout value of around 10 minutes, and then put that pairevtwait command inside of a loop that will keep running it until they are paired. That way, if a sync is taking too long, your script will report it at ten minute intervals.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2003 02:44 AM
тАО04-08-2003 02:44 AM
Re: pairdisplay question?
Thanks for the info, but i cant seem to get a man page on "pairevtwait"?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2003 02:53 AM
тАО04-08-2003 02:53 AM
Re: pairdisplay question?
For some reason HP doesn't install man pages with that software yet, which is a real pain. I'll be at work in a bit and I'll post some info that might help you.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2003 03:13 AM
тАО04-08-2003 03:13 AM
Re: pairdisplay question?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2003 06:25 AM
тАО04-08-2003 06:25 AM
Re: pairdisplay question?
I have a manual for all those array commands but I can't find it
right now. I'll keep looking. If I find it and I can find it on
an HP site I'll post the URL.
The way we use it is that we do the pairresync command, and then
we go into a loop with the pairevtwait command. We specify a timeout
value of ten minutes [600 seconds]. If the establish is still running
after that time the pairevtwait returns, we write a message to a log
file, and we run it again. We add the timeout value to a counter and
keep track of the total value for a total timeout. If we reach that value,
we send a page and/or an e-mail. Here is the command line we use:
pairevtwait -g $GROUP -s pair -nomsg -t $SHORTTIMEOUT
Where we have variables for the group and the timeout value.
I did the pairevtwait with a -h option and it listed the help:
# pairevtwait -h
Model : Raid-Manager-XP/HP-UX
Ver&Rev: 01.10.02
Usage : pairevtwait [options] for HORC
-h Help/Usage
-z Set to the interactive mode
-zx Set to the interactive mode and HORCM monitoring
-q Quit(Return to main())
-g
-d
-d[g]
-d[g]
-nomsg Not display message of pairevtwait
-nowait Set to the No_wait_mode
-s
-t
-l Specify the local only
-FCA Specify the force operation for cascading CA_VOL
-FBC [mun#] Specify the force operation for cascading BC_VOL
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2003 06:58 AM
тАО04-08-2003 06:58 AM
Re: pairdisplay question?
Thanks for the feedback. Attached is the script I have currently but the script logic is not that robust & also errors out. Could you perhaps peruse it & give me your comments/or suggested manner the script should work.
My concern is that it does not LOOP as its supposed to?
Thanks!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2003 08:40 AM
тАО04-08-2003 08:40 AM
Re: pairdisplay question?
I'll be glad to look at your loop. Your attachment didn't make it, so you might want to try posting it again.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2003 08:43 AM
тАО04-08-2003 08:43 AM
Re: pairdisplay question?
The -h option is the way to get help, or take a look at this manual:
http://h200005.www2.hp.com/bc/docs/support/SupportManual/lpg29261/lpg29261.pdf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2003 09:05 AM
тАО04-08-2003 09:05 AM
Re: pairdisplay question?
http://h20000.www2.hp.com/bc/docs/support/SupportManual/lpg28385/lpg28385.pdf
Look on pg 116 for a description of the command you're using.
-Vince