- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: HPVM Guest graceful shutdown and ServiceGuard
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-26-2011 12:25 AM
тАО04-26-2011 12:25 AM
I'd like to know if and how it's possible to shutdown gracefully hpvm guest machines which are inside ServiceGuard package.
Thanks for any hint
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2011 01:36 AM
тАО04-26-2011 01:36 AM
Re: HPVM Guest graceful shutdown and ServiceGuard
Ordinary shutdown from Guest VM will look like a package failure to Serviceguard. If you plan to shutdown the guest for maintenance, disable AUTORUN first.
cmmodpkg ├в d
cmhaltpkg
Do not manually issue hpvmstop ! !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2011 01:39 AM
тАО04-26-2011 01:39 AM
Re: HPVM Guest graceful shutdown and ServiceGuard
cmhaltpkg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2011 02:04 AM
тАО04-26-2011 02:04 AM
SolutionIn the conf file (in the server machine, not in the hpvm) of the package, in the "#external_script", i have configured a script (e.g:
external_script /etc/cmcluster/
In this script i have configured a shutdown of the hpvm (with a ssh from the server) and a "sleep 120" when the package stops.
If you want to do this, after modifying the files, you have to stop the cluster, and recompile the package, and start the package.
Let me know if you have questions.
Regards.
Noe.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2011 02:14 AM
тАО04-26-2011 02:14 AM
Re: HPVM Guest graceful shutdown and ServiceGuard
2. Stop the package. cmhaltpkg -v
3. Stop the cluster. cmhaltcl -f
Thanks,
Vivek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2011 04:41 AM
тАО04-26-2011 04:41 AM
Re: HPVM Guest graceful shutdown and ServiceGuard
This looks like an option , but not for me, Host and Guests are in different VLANs so cannot SSH between them.
Anyway, after closer look on SG packaging mechanism looks that package integration really issue 'hpvmstop -F -g -P VMGuest' which should do graceful shutdown of VMGuest , but after testing VMGuest also from console 'cm > pc > g' VMGuest just stop after flush to disks, no rc.d scripts are running.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2011 10:51 AM
тАО04-26-2011 10:51 AM
Re: HPVM Guest graceful shutdown and ServiceGuard
For the moment there is no native graceful shutdown.
I asked HP about that and suggested to have and old feature activated in the VM when you use hpvmstop with "-g" option : powerfail (man 1m init).
Here is the answer of the support :
---------------------------------
I've just logged ER QXCR1001087135 against HPUX kernel to pass the powerfail to init(1M).
For now, the hpvmstop -g (aka powerfail handling on HPUX guest) behaves the way I described and it's by design.
(The powerfail code we have in HPUX is really a leftover from very early days when considerations were to have system memory non-volatile). Now with HPVM it starts to have meaning again.
I'm trying to convince people that it would make sense to connect the ropes together again, but it could take some time. Customer should not really rely on any timeframe for outcome of the discussions.
I'll be thus proposing solution to the case pointing to the ER.
---------------------------------
For the moment I have no more news.
One workaround is to shutdown the VM trough ssh. I don't understand why you can't ssh between host and guest, even if they are not in the same subnet. No route between them ?
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2011 12:23 AM
тАО04-27-2011 12:23 AM
Re: HPVM Guest graceful shutdown and ServiceGuard
use powerfail is indeed good idea to shutdown VMGuest gracefully.
All connections are blocked on firewall between Host and Guest so cannot SSH between them.
Thanks a lot for info,
Ladislav