- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Disabling package startup
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
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
тАО01-14-2006 08:38 AM
тАО01-14-2006 08:38 AM
Disabling package startup
During testing today, I shut the packages down, rebooted the boxes, and then ran cmrunnode on each server to start the cluster (I like to do this manually instead of having the system do it on bootup).
Argh! Both packages attempted to start simultaneously on one of the servers! Very very very VERY bad times. I was able to corral things before they got out of control, but I need to figure out where in the control scripts I can disable automatic package startup on node startup. I want to be able to start the cluster software on each node, and then manually start the packages on each server, and THEN use cmmodpkg -e PKG_NAME to enable ONLY THE PROD PACKAGE for failover.
Any idea where this setting might reside?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-14-2006 08:42 AM
тАО01-14-2006 08:42 AM
Re: Disabling package startup
AUTO_RUN
1 means run
0 means not
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-14-2006 08:47 AM
тАО01-14-2006 08:47 AM
Re: Disabling package startup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-14-2006 08:58 AM
тАО01-14-2006 08:58 AM
Re: Disabling package startup
cmcheckconf -P packagename.ascii
or packagename.ctl naming convention is not important.
cmapplyconf -P packagename.ascii
cmruncl -v
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-14-2006 09:03 AM
тАО01-14-2006 09:03 AM
Re: Disabling package startup
A better way would be to use cmruncl, and not cmrunnode, this way the cluster starts up and should automatically start each package on it's primary node.
Using cmrunnode is not the correct way to start a cluster
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-14-2006 02:15 PM
тАО01-14-2006 02:15 PM
Re: Disabling package startup
you have to change the AUTO_RUN to a 0 in the package configuration file,(/etc/cmcluster) and then do cmapplyconf -v -P package.config file.
It will not ask for a recompilation.A better way would be to use cmruncl, and not cmrunnode, this way the cluster starts up and should automatically start each package on it's primary node.but if you changed the Auto_RUN=0,then youe packages will not automatically start.then you will have to use cmrunpkg -n node name.After start the packages you can modify ur packages according ur setting.
To use cmrunnode is not the correct way to start a cluster
Karan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-16-2006 01:27 AM
тАО01-16-2006 01:27 AM
Re: Disabling package startup
Use 'cmviewconf' to inspect the contents of the cluster binary file.
If you are not certain where the package configuration file is, you may recreate it using 'cmgetconf -p
Normally, the package configuration file is in the package directory on at least one of the cluster nodes, under /etc/cmcluster.
Note that to change the AUTO_RUN value from YES to NO in the cluster binary, you must halt that package before performing the 'cmapplyconf' command on the package configuration file.