- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Switching of a package
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
05-12-2010 03:22 AM
05-12-2010 03:22 AM
Coming directly to the point..
Cluster (serviceguard 11.18) has 2 nodes (node1 and node2).
Package is running on node1.
Now, suppose for any reason, I want to switch/transfer/run the package to node2 but with following condition:
-Package should not be halted
-Node1 should be continue running
I know, if something happens to node1, the package will switch over to node2 without interruption (switching is enabled).
How can we achieve this manually?
I do not require this but just wanted to know.
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2010 03:41 AM
05-12-2010 03:41 AM
SolutionPackage must be restarted, to release resources from one node (application, ip, VGs) and be available for the other node. VGs have exclusive activation, so they cannot be activated by two nodes at the same time and must be deactivated in one node before they can be activated by the 2nd node.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2010 03:44 AM
05-12-2010 03:44 AM
Re: Switching of a package
this is not possible, to make it without application downtime.
mikap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2010 03:45 AM
05-12-2010 03:45 AM
Re: Switching of a package
-Package should not be halted
-
Well you cannot do that, the package must first be halted on node1, then started on node2.
Use either cmhaltpkg/cmrunpkg, or use the SGMGR Gui to do this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2010 03:48 AM
05-12-2010 03:48 AM
Re: Switching of a package
Hi,
I doubt that the package can be switched to the other node without the package being halted on 1st node.
From my understanding, if we run manually
cmrunpkg -n node2 package >> would (try to)run the SAME package =>
TWO instances of ORACLE (for example) -- corrupting the Database itself.
That is my logic! :-)
HTH
SNS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2010 03:54 AM
05-12-2010 03:54 AM
Re: Switching of a package
That is what I wanted to clear.
@SNS
# cmrunpkg -n node2 package
I have already tried that, but got message something like "package already running on node1".
Have a great day !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2010 06:51 AM
05-12-2010 06:51 AM
Re: Switching of a package
The command wont work without halting the package :-) => not possible manually
(But, there is a way, of course cmruncl -n node2 >> and there you would get database CORRUPTION for a properly functional server & I wont try that out, normally!)
Danke,
SNS