- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Cluster 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
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
10-10-2005 07:27 PM
10-10-2005 07:27 PM
Cluster shutdown
In out enviorment we are using mc service gurad., and we are shutting down th cluster and rebooting all the servers once in a month,
My problem now is in a single cluster itself 12 to 15 Packages runiing, and we have only limited downtime ..,
My all cluster control scripts are able to shutdown the databases. Unmount filesystem ..,
Now my requirement is.., Anybody can help me to create a script that can shutdown all the packages and shutdown the cluster..,
I need to have a log file also to check whether every thing went well or not..,
So that i can run this script on multiple clusters at a time..,and hope can finish the activities within the scheduled time..,
Waiting for experts replay..,
Thanks and regards,
Siju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2005 07:34 PM
10-10-2005 07:34 PM
Re: Cluster shutdown
simply use:
cmhaltcl -f > logfile
in your script
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2005 07:44 PM
10-10-2005 07:44 PM
Re: Cluster shutdown
cmhaltpkg pkg1
...
cmhaltpkg pkg2
cmhaltnode node1
cmhaltnode node2
But the easiest way is
cmhaltcl -f
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2005 07:48 PM
10-10-2005 07:48 PM
Re: Cluster shutdown
cmhaltcl > log
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
10-10-2005 08:24 PM
10-10-2005 08:24 PM
Re: Cluster shutdown
Just use cmhaltcl -vf
Check the syslog.log for correct shutdown, or even verify each package log file. (tedious as you woukd need to know which package was running on which node)
Failing that, why not use Serviceguard Manager
to manage and halt all of the clusters.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2005 12:47 AM
10-11-2005 12:47 AM
Re: Cluster shutdown
or
for i in `cmviewcl -l package |grep up |awk '{print $1}'`
do
chmhaltpkg $i
done
or, if they need to be shutdown in a certain order, harcode the cmhaltpkg
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2005 01:15 AM
10-11-2005 01:15 AM
Re: Cluster shutdown
cmhaltcl -f
will run successfully if all the packages are shutdown ,if the any package halt failes due to the failure in customer defined run commands it will not work.
have you enabled the debug flag check in your control file ? if yes the best fasteset way is , let the DBAs shutdown their application manually and you touch the debug flag and shutdown all the pcakges .
thx,
bl.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2005 01:28 AM
10-11-2005 01:28 AM
Re: Cluster shutdown
Thanks for immediate responses..,
I was also thougt to use cmhaltcl -vf command first.,
But after some times some doubts comes to mind.,
If i am giving cmhaltcl -vf commnad, I hope it will start shutting down all the 12 to 15 packages at a time.., And i doubt it could freez my systems..,
Any body can say me, How cmhaltcl -vf commands workings., Is it shutting down all the packages at a time..,
If a need to shutdown only 4 packages at a time., Is it possible.,
Thansks in advance,
Siju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2005 01:33 AM
10-11-2005 01:33 AM
Re: Cluster shutdown
# cmhaltpkg -v pkg1
# cmhaltpkg -v pkg2
# cmhaltpkg -v pkg3
# cmhaltpkg -v pkg4