Solved

What is the effect of /usr/es/sbin/cluster/utilities/clfileprop -m <collections>

Posted on 2012-04-03
1
999 Views
Last Modified: 2012-04-04
I have a 2-node cluster that I've been failing back and forth. The problem is that changes I make to my startup script on the receiving node keeps getting overwritten by the source node - even though the version on the source node is the once most recently updated. As part of the fallover procedure, the application stop script on the source node includes the following:

/usr/es/sbin/cluster/utilities/clfileprop -m collection1 collection2... collectionn

My understanding is that the propagation process is supposed to push the newest version to all nodes in the cluster. So, when I run the clfileprop command, shouldn't it recognize that the version of the file on the standby node is newer and update all nodes with that version?
0
Comment
Question by:babyb00mer
1 Comment
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 total points
ID: 37805002
Hi,

when running clfileprop manually the node from which this command is issued becomes the "propagation" node,
and the files of this node will be propagated to all other nodes, regardless of their age.

The same is true if the option to "propagate filecollections whenever cluster verification and synchronization is executed" is set.
The node from which verification is run is the propagation node.

The behaviour you desire can only be achieved when setting the option to "propagate the file collection automatically
after a change to one of the files in the collection."
HACMP checks the file collection status on each node (every 10 minutes by default) and propagates any changes.
This way any node which has a newer version of a file becomes the propagation node and consequently pushes this file
to the other nodes.

wmp
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question