- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Pakge Auto-run disable service guard
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
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
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
тАО12-18-2005 07:03 PM
тАО12-18-2005 07:03 PM
When I halt the pakage in one node it's not strating automatically in the second node, I have issued the command #cmmodpke -e
Any help will be apprecaited.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2005 07:13 PM
тАО12-18-2005 07:13 PM
Re: Pakge Auto-run disable service guard
This i normal. Because you give the cmhaltpkg the cluster sees you halted it. If you want to check if the packages is falling over you have to kill 1 of the processes of the software in the package.
good luck Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2005 07:16 PM
тАО12-18-2005 07:16 PM
Re: Pakge Auto-run disable service guard
Another good test (other then to kill )
is to unplug the
network cable so long it will exceed
the time-out you specified in your
cluster configuration file.
The switch-over should then happen
over the fail-over lan.
Rgds,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2005 07:29 PM
тАО12-18-2005 07:29 PM
Re: Pakge Auto-run disable service guard
When you issue the cmhaltpkg command this automatically disables global package switching.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2005 05:20 PM
тАО12-19-2005 05:20 PM
Re: Pakge Auto-run disable service guard
But I have kill on of the oracle datbase service, while pkg is running on the first node, pkg the pkg stop on the first node, but it's not able to failover to second node, it till me that pkg should not restart on node2, and then again I have to issue #cmmodpkg -e , and start it manually on the first node.
I don't know why it's not able to run on node2.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2005 05:26 PM
тАО12-19-2005 05:26 PM
Re: Pakge Auto-run disable service guard
cmmodpkg -ev "pkg_name"
Then kill/stop monitor service or you can just the lan cable off. Now check if package fails over or not. If not whay does package log file says??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2005 05:43 PM
тАО12-19-2005 05:43 PM
Re: Pakge Auto-run disable service guard
This is not work also.
pkg log file says:
NSS2:Unable to strat DB_Service.
NSS2: ask NSS1 to disable PKG golobaly.
DB_SERVICE is the monitoring service I have defined in control and config pkg configuation .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2005 05:54 PM
тАО12-19-2005 05:54 PM
Re: Pakge Auto-run disable service guard
cmrunpkg -v -n "other_node"
What does log files say??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2005 06:02 PM
тАО12-19-2005 06:02 PM
Re: Pakge Auto-run disable service guard
Also not work, when I isssue the cmd #cmrunpkg -v -n
it saying that Pkg should not restart on
unable to start DB_SEVICE.
Then it will umount file system, and remove the IP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2005 06:13 PM
тАО12-19-2005 06:13 PM
Re: Pakge Auto-run disable service guard
please make sure service is configured without typo's in both .cntl and .conf file
and
make sure service is applied...
use the commands
cmcheckconf -P /etc/cmcluster/
and
cmapplyconf -P /etc/cmcluster/
then try to start the package again.....
good luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2005 06:14 PM
тАО12-19-2005 06:14 PM
Re: Pakge Auto-run disable service guard
Now, cmrunpkg -v -n "other_node" "pkg_name"
What does log files say??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2005 07:28 PM
тАО12-19-2005 07:28 PM
Re: Pakge Auto-run disable service guard
What does cmviewcl -v -p
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2005 08:04 PM
тАО12-19-2005 08:04 PM
Re: Pakge Auto-run disable service guard
I didn't get you, what you mean typo's ?
#cmviewcl -v -P
it show Auto-run is enabled when pkg is runing.
how to enable local switching ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2005 08:39 PM
тАО12-19-2005 08:39 PM
Re: Pakge Auto-run disable service guard
can you post your output of
cmviewcl -v -p
it should be something like :
PACKAGE STATUS STATE AUTO_RUN NODE
xxxxx up running enabled oraxxxx
Policy_Parameters:
POLICY_NAME CONFIGURED_VALUE
Failover configured_node
Failback manual
Script_Parameters:
ITEM STATUS MAX_RESTARTS RESTARTS NAME
Service up 3 0 xxxxxx_mon
Subnet up 10.xxx.xx.xx
Node_Switching_Parameters:
NODE_TYPE STATUS SWITCHING NAME
Primary up enabled oraxxxxx (current)
Alternate up enabled orayyyyy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2005 09:28 PM
тАО12-19-2005 09:28 PM
Re: Pakge Auto-run disable service guard
pls see the log file of the second node
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2005 11:38 PM
тАО12-19-2005 11:38 PM
Solution> /etc/cmcluster/pkg/MXP/MXP.cntl[2]: > /etc/cmcluster/pkg/MXP/toolkit.sh: Autorisation d'excution refuse. <<<< This indiocates it is not executable?
> dc 19 21:59:29 - Node "NSS2": Starting service DB_SERVICE using "/etc/cmcluster/pkg/MXP/toolkit.sh monitor"
usage: cmrunserv [-v] [-r number_of_restarts | -R] service_name service_command_string
So the above shows a useage error in your script!
ERROR: Function start_services
ERROR: Failed to start service DB_SERVICE
dc 19 21:59:29 - Node "NSS2": Halting service DB_SERVICE
cmhaltserv : Service name DB_SERVICE is not running. <<< this tells you that because it could not start the service from above, it will halt th epackage!!
/etc/cmcluster/pkg/MXP/MXP.cntl[2]: /etc/cmcluster/pkg/MXP/toolkit.sh: Autorisation d'excution refuse. <<
This failure will automatically DISABLE the package from LOCAL switching, i.e. turn of the ability for this node to run the package.
Compare the toolkit.sh file between the working an dnon-working nodes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2005 11:44 PM
тАО12-19-2005 11:44 PM
Re: Pakge Auto-run disable service guard
check for execute bits on the monitorscript.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-20-2005 01:50 PM
тАО12-20-2005 01:50 PM
Re: Pakge Auto-run disable service guard
ll on it and compare the sizes and cksum.
Also are config and control files and monitoring scrips same on both nodes??
I think you may need to re-appy the changes to this node from working node.
cmapplyconf -P pkg_name -n other_node
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-20-2005 05:45 PM
тАО12-20-2005 05:45 PM
Re: Pakge Auto-run disable service guard
Thanks problem is solved, as per your advise.
I have change the execute permission for toolkit.sh on the second node, and also transfer the control fine again to second node, now all runiing fine.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-21-2005 12:43 AM
тАО12-21-2005 12:43 AM
Re: Pakge Auto-run disable service guard
Correcting the execute permission on the conntrol file and monitoring script (toolkit.sh) on the second node.