- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- package requires cleanup on node
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
03-11-2010 02:44 PM
03-11-2010 02:44 PM
We have a script that is intended to halt all packages on a specific node and then run cmhaltnode. Depending on the circumstances, I sometimes get error messages when the cmhaltnode command is run similar to the following.
Unable to halt the cluster: package crs_uxprf_clus requires cleanup on node hpux6.
Ensure that all package components are halted and run
cmmodpkg -e -n hpux6 crs_uxprf_clus
to allow the node to halt.
Unable to halt the cluster: package cerner_hpux5 requires cleanup on node hpux6.
Ensure that all package components are halted and run
cmmodpkg -e -n hpux6 cerner_hpux5
to allow the node to halt.
I am not able to guess why SG is selecting certain packages to enable switching, i.e. I cannot figure out the pattern for its logic.
I'm attaching a file showing the cluster status (cmviewcl -v) after the cmhaltnode command was issued. It also contains output from cmviewcl -v -f line command.
Any insights would be appreciated!
Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2010 05:18 AM
03-12-2010 05:18 AM
SolutionSince cerner_hpux5 is dependent on crs_uxprf_clus, does your automation script halt the cerner_hpux5 package before attempting to halt the crs_uxprf_clus package?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2010 02:27 PM
03-12-2010 02:27 PM
Re: package requires cleanup on node
That appears to be exactly right, at least that is what is unique in the output from cmviewcl -v -f line. I cannot independently verify what happened as this was at one point in multiple tests we were running on this cluster.
Can you clarify one thing, please? Is this new with SG 11.18 or 11.19. I seem to recall reading that something about the last_halt_failed being a new option AND I do not remember ever seeing this error prior to working with 11.19 (we skipped over 11.18).
Thanks!
Ken
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2010 07:48 AM
03-17-2010 07:48 AM
Re: package requires cleanup on node
I see that you have a case open on this, so I recommend pursueing this question through the support center.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2010 06:55 AM
03-18-2010 06:55 AM
Re: package requires cleanup on node
Regardless of the version, the following script will automatically do the cleanup required before executing a cmhaltnode command.
/usr/sbin/cmviewcl -v -f line | grep "last_halt_failed=yes" | \
while read L_FAILED
do
L_TEMP=${L_FAILED#package:}
L_FAILED_PKG=${L_TEMP%%\|*}
L_TEMP=${L_FAILED#*node:}
L_FAILED_NODE=${L_TEMP%%\|*}
L_TEMP=$(/usr/sbin/cmviewcl -v -f line -p $L_FAILED_PKG | \
/usr/bin/grep "node:$L_FAILED_NODE\|available")
L_AVAIL_PKG=${L_TEMP##*available=}
if [[ $L_AVAIL_PKG = "no" ]]
then
echo "Enabling package $L_FAILED_PKG on node $L_FAILED_NODE"
/usr/sbin/cmmodpkg -e -n $L_FAILED_NODE $L_FAILED_PKG
fi
done