- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- hpvmstop - un-graceful shutdown
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
тАО02-22-2008 09:47 PM
тАО02-22-2008 09:47 PM
Without SG, admin uses "hpvmstop -g -P
It seems hpvmstop -g option doesn't work in this matter. Is there a workaround / patch to fix this?
Another minor issue in SG & multiserver environment: the column "runsysid" in hpvmstatus output - it should show the SERVERID defined in database "hpvmdevmgmt -l server" (for example, 1 for server1 and 2 for server2) for the VM guest in SG cluster. However on both VM hosts, the runsysid for local VM guest is correct but the remote VM host shows UP for the same VM guest but 0 as runsysid. SG is running well and Multiserver environment is setup as per the Integrity Admin Config document. Any idea why?
thanks
Lorne
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2008 12:56 AM
тАО02-25-2008 12:56 AM
Re: hpvmstop - un-graceful shutdown
What do you mean by graceful shutdown ? Do you expect a behavior like if "shutdown -h 0" would have been issued from the guest ?
As far as I know, nor hpvmstop -h, nor hpvmstop -g work this way. "-g" permits to flush buffers, that's all (man page about -g) :
"Performs a graceful shutdown. The guest operating system is notified of an imminent power failure, which gives it time to perform cleanup operations. This is the default action. HP recommends stopping virtual machines using their native operating system commands."
"HP recommends stopping virtual machines using their native operating system commands" --> In the cluster I have built for one of my client, I have totally rewriten the portion that stop the VM to accomodate this recommandation.
For the sysid problem did you use the script /opt/cmcluster/toolkit/hpvm/hpvmsg_package ? If yes, did you created the VM on both nodes BEFORE ? This script modifies -i and -j flags of the VM on both nodes. Can you control with hpvmstatus -P VM on the VM hosts ?
Regards
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2008 07:34 PM
тАО02-25-2008 07:34 PM
Re: hpvmstop - un-graceful shutdown
For the runsysid,
1. I used the script hpvmsg_package;
2. VMs are created before SG & Multiserver Environment setup;
3. the script did -i and -j to the VMs;
4. by means of control, it has to use "-F" option in hpvmstop.
Do you see the correct runsysid in your case?
thanks
Lorne
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2008 12:33 AM
тАО02-26-2008 12:33 AM
SolutionAccess to forums is dramatically bad today :-(
Yes I can see correct sysid. See the attached text file.
Also could you post result of following command :
hpvmstatus -M | cut -d: -f 1 | while read VM
do echo
echo -------------
echo $VM
echo -------------
echo
hpvmstatus -V -P $VM | egrep "Running on serverid|Application controllers|Distributed"
done
You will find my results in attached file to compare with yours
Regards
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2008 05:56 PM
тАО02-26-2008 05:56 PM
Re: hpvmstop - un-graceful shutdown
I believe yours is the right one. Where could I do wrong? I will do some troubleshooting tomorrow on it.
If you have any suggestions, please let me know. Is your IVM v3.0?
thanks a lot,
Lorne
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2008 12:58 AM
тАО02-27-2008 12:58 AM
Re: hpvmstop - un-graceful shutdown
Yes HPVM 3.0, SG 11.18, ...
Patch and versions ? I will connect at client's site at about 11h00 GMT and will post its configuration from VM Host and VM guest point of view.
Regards
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2008 04:09 AM
тАО02-27-2008 04:09 AM
Re: hpvmstop - un-graceful shutdown
You will find in attached text file "swlist" and "swlist -l product" for a host and a guest.
Here is an extract of some componants :
Integrity VM from host :
T2767AC A.03.00 Integrity VM
VMGuestLib A.03.00.76 Integrity VM Guest Support Libraries
VMKernelSW A.02.00 Integrity VM Kernel Software
VMMGR A.03.00.00.05 HP Integrity VM Manager
VMMigrate A.03.00 Integrity VM Migration Bundle
VMProvider A.03.00.76 WBEM Provider for Integrity VM
Integrity VM from guest :
HPVM-Guest A.03.00.01 Integrity VM Guest
VMGuestLib A.03.00.76.01 Integrity VM Guest Support Libraries
VMProvider A.03.00.76 WBEM Provider for Integrity VM
MC/ServiceGuard from host :
PHSS_36997 1.0 Serviceguard A.11.18.00
Package-CVM-CFS A.11.18.00 HP SG Cluster CVM CFS SD Product
SG-Apache-Tool B.04.01 Serviceguard Apache Script Templates
SG-NFS-Tool A.11.23.07 Serviceguard NFS Script Templates
SG-Oracle-Tool B.04.01 Serviceguard Oracle Script Templates
SG-Samba-Tool B.04.01 Serviceguard Samba Script Templates
SG-Tomcat-Tool B.04.01 Serviceguard Tomcat Script Templates
SGManagerPI B.01.01 HP Serviceguard Manager
SGWBEMProviders A.02.00.00 HP Serviceguard WBEM Providers SD Product
ServiceGuard A.11.18.00 Serviceguard SD Product
Maybe you could also post some informations as I did yesterday ?
Regards
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2008 07:34 PM
тАО02-27-2008 07:34 PM
Re: hpvmstop - un-graceful shutdown
The puzzle is resolved. It was a full domain name in the hpvmdevmgmt. Though nothing was wrong with it, it didn't work with hpvmstatus. Once I changed it to short name, it worked.
Thanks a lot for your time & info.
Lorne
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2008 07:35 PM
тАО02-27-2008 07:35 PM