- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Sleep in SG control Script
Operating System - HP-UX
1752786
Members
5996
Online
108789
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО01-27-2011 09:09 AM
тАО01-27-2011 09:09 AM
Sleep in SG control Script
Hello All,
I have a scenario to migrate the Oracle Package from one vPar to another using Serviceguard along with memory.
The vparmodify command was included on the control script's "customer_defined_run_cmds" section. But the issue here is, the memory is not migrated along with the DB since the vpar took some time to release the memory, since the package was started before that.
So can I employ a sleep command to make the script wait until the memory got released.
I included the sleep 10 after the vparmodify command, but it seems its not effective when migrating the package from the SG GUI.
Is there any specific syntax to employ the sleep on the SG control script. Please suggest.
Thanks,
Jayaprakash S
I have a scenario to migrate the Oracle Package from one vPar to another using Serviceguard along with memory.
The vparmodify command was included on the control script's "customer_defined_run_cmds" section. But the issue here is, the memory is not migrated along with the DB since the vpar took some time to release the memory, since the package was started before that.
So can I employ a sleep command to make the script wait until the memory got released.
I included the sleep 10 after the vparmodify command, but it seems its not effective when migrating the package from the SG GUI.
Is there any specific syntax to employ the sleep on the SG control script. Please suggest.
Thanks,
Jayaprakash S
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2011 09:49 AM
тАО01-27-2011 09:49 AM
Re: Sleep in SG control Script
you should just be able to add the sleep command as part of the "customer_defined_run_cmds" and it may be a good idea to give it the full path name of the sleep command
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2011 05:51 AM
тАО01-29-2011 05:51 AM
Re: Sleep in SG control Script
yes ..there is no such standard "sleep" option anywhere in MCSG . Calling the sleep function
with absolute path in customer defined section may do the the trick i guess.
with absolute path in customer defined section may do the the trick i guess.
HP-UX been always lovable - Mani Kalra
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP