- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Script for automation in 3 node cluster
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
11-16-2009 01:43 PM
11-16-2009 01:43 PM
Script for automation in 3 node cluster
I have 3 node cluster and all 3 nodes are running with one package each.
Node A - Package X
Node B - Package Y
Node C - Package Z
The configuration is done like that if node A fails then Package X can failover to node B OR node C. The same config has been done for package Y & Z. Means any package can failover to any available node.
Now I want to do the automation in case of change in cluster, like if any new LV (File system) is added to a package the same changes has to replicate to other 2 nodes also.
Does anyone has this kind of script? If anyone has, please share.
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2009 08:15 PM
11-16-2009 08:15 PM
Re: Script for automation in 3 node cluster
I don't have script for it, but its very simple to add new FS and rcp to other adaptive nodes.
Regards,
Asif Sharif
Asif Sharif
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2009 06:02 AM
11-17-2009 06:02 AM
Re: Script for automation in 3 node cluster
Thanks for reply. I know the steps to replicate the changes to other node like rcp the cntl files between the nodes, but i need the script for the automation.
Shyam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2009 08:43 AM
11-17-2009 08:43 AM
Re: Script for automation in 3 node cluster
you created a new LV in a vg that is within a cluster package right?
usually this lvol and mounted by cliuster script that is in / etc / cmcluster / PKG_NAME
you should add the new lvol it in, and replicate this script that you changed to
the other nodes in the same path / etc / cmcluster / PKG_NAME
after that you must re-import the vg that you created a new lvol following steps
the node that you created the new lv run the command
vgexport-s-m-p /dev/vgname /tmp/vgname_map
Copy the file /tmp/vgname_map for the other 2 servers
import the vg on the other nodes with the commands
vgimport /dev/vgname /tmp/vgname_map
after that when the cluster to fail over the package it will enable and recognize the new lvol
otherwise it will not happen.
any doubt and so write here again
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2009 08:49 AM
11-17-2009 08:49 AM
Re: Script for automation in 3 node cluster
Yes, you understand right nad thanks for sharing the steps and I also do the same, but I need some readymade script, so whenever there is any change in cluster then this script should automatically replicate the same changes to other 2 nodes.
If you have this kind of script, then please share.
Thanks
Shyam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2009 10:46 AM
11-17-2009 10:46 AM
Re: Script for automation in 3 node cluster
then this script is in the path /etc/cmcluster each specific package has a script that runs the package, it is created when the package and created.
inside it has the settings of the vg start and Mountaga FS
if you want to list what is inside the path /etc/cmcluster it'll help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2009 10:57 AM
11-17-2009 10:57 AM
Re: Script for automation in 3 node cluster
My requirement is a kind of script which can do modification in PKG_NAME.cntl file, rcp of PKG_NAME.cntl file to other nodes, creation of map file using vgexport, rcp of map file to other nodes, then importing of vg on other node.
The script should do all these steps, whenever there is a change in the package.
Hope you understand the requirement.
Thanks
Shyam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2009 11:04 AM
11-17-2009 11:04 AM
Re: Script for automation in 3 node cluster
understand
you would like it to own the knife guard all mcservice replication work right?
then I have bad news, he does not.
unfortunately you will have to do the whole process manually.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2009 11:09 AM
11-17-2009 11:09 AM
Re: Script for automation in 3 node cluster
anybody else who can help me out to make & provide me this kind of script.
Regards,
Shyam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2009 11:14 AM
11-17-2009 11:14 AM
Re: Script for automation in 3 node cluster
I serves honest with you, until I started developing a script that does it automatically, so that started to become very large and the script has a lot of work, I decided to do it manually, and faster.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2009 11:39 AM
11-19-2009 11:39 AM
Re: Script for automation in 3 node cluster
To see if SMH-SGMgr is running on your Serviceguard server, use a URL of this syntax:
http://