- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: halting script cmcluster.init using init 0
Operating System - Linux
1753746
Members
5163
Online
108799
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
08-07-2006 09:19 AM
08-07-2006 09:19 AM
Hello,
As my cluster is working fine and now i need some help regarding script which is cmcluster.init which resides at /usr/local/cmcluster/conf/cmcluster.init, this is scripts usually start , stop the package as well as cluster, as i have copy this script is /etc/init.d/cmcluster.init and make symbolic link at /etc/rc.d/rc0.d the link made as follows:
"ln -s /etc/init.d/cmcluster.init /etc/rc.d/rc0.d/K04cmcluster"
know as my cluster and package is running fine when i use the command cmruncl -v ...after that i not stop the cluster manually and just shutdown by typing the command "init0"...so the scripts works as it stop the package successfully but failed to stop the cluster and gives error and then shutdown the node...
As my question is that i just type init 0 on live and failover node and it start the script and stop the package and also cluster after successfully stoping the package and cluster it shutdown the node... please help me in this regards...
waiting for reply .....
As my cluster is working fine and now i need some help regarding script which is cmcluster.init which resides at /usr/local/cmcluster/conf/cmcluster.init, this is scripts usually start , stop the package as well as cluster, as i have copy this script is /etc/init.d/cmcluster.init and make symbolic link at /etc/rc.d/rc0.d the link made as follows:
"ln -s /etc/init.d/cmcluster.init /etc/rc.d/rc0.d/K04cmcluster"
know as my cluster and package is running fine when i use the command cmruncl -v ...after that i not stop the cluster manually and just shutdown by typing the command "init0"...so the scripts works as it stop the package successfully but failed to stop the cluster and gives error and then shutdown the node...
As my question is that i just type init 0 on live and failover node and it start the script and stop the package and also cluster after successfully stoping the package and cluster it shutdown the node... please help me in this regards...
waiting for reply .....
Solved! Go to Solution.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2006 04:24 PM
08-07-2006 04:24 PM
Solution
Shalom Muhammad,
This is very easy
The init script points to a startup script in /sbin/init.d/
That script reads a configuration file in /etc/rc.config.d
Change that to stop auto start of SG.
cmhaltcl -f
Will totally stop your cluster.
The init command stops a few other things that make your system somewhat of a brick. It is not necessary.
cmhaltcl will pull a node out of the cluster quickly and easily triggering failover of properly configured applications.
SEP
This is very easy
The init script points to a startup script in /sbin/init.d/
That script reads a configuration file in /etc/rc.config.d
Change that to stop auto start of SG.
cmhaltcl -f
Will totally stop your cluster.
The init command stops a few other things that make your system somewhat of a brick. It is not necessary.
cmhaltcl will pull a node out of the cluster quickly and easily triggering failover of properly configured applications.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP