Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Command to get the all the files under synchronization in hacmp

Status
Not open for further replies.

tech123786

Technical User
Nov 13, 2006
31
US
Hello,
I am trying to find a command to get list of the files which are being synchronized by hacmp 5.2/5.3.
I can go through the smitty cm_filecollection_mgt, from here I can add/remove file which needs to be under sync. Does anybody have any idea, how to get this list of files by a command.( I already tried the command which I got from smitty menu by ESC+6 but it was not working).


Thanks
 
Which command you tried? The cm_filecollection_mgt is just the fast path for the "Manage File Collection" menu!

I don't know why you want a command to do that coz if you go to "Change/Show a File Collection" from the above menu and then press F4 on Collection files (after choosing the File Collection Name) then you will be able to see them

I guess the command should be clfilecollection! but i haven't tried it though.

Good Question tech123786!

I couldn't find any thing documented on that even on the course materials for the HACMP 1 and 2!

What the IBM Supprot said about that?

Regards,
Khalid
 
I don't know if it will answer your question but here is the info I found in HACMP 5.3 Administration Guide on page 186:

Default HACMP File Collections
When you install HACMP, it sets up the following file collections:
• Configuration_Files
• HACMP_Files
HACMP Configuration_Files Collection
Configuration_Files is a container for the following essential system files:
• /etc/hosts
• /etc/services
• /etc/snmpd.conf
• /etc/snmpdv3.conf
• /etc/rc.net
• /etc/inetd.conf
• /usr/es/sbin/cluster/netmon.cf
• /usr/es/sbin/cluster/etc/clhosts


and on page 189:

Tracking HACMP File Collection Operations
Whenever the HACMP File Collections utility replaces a file on a node, the following
information about it is saved in the /var/hacmp/log/clutils.log file:
• Date and time of replacement
• Propagation type
• File name and file collection name
• Name of the remote and local nodes.
For example:
Wed Jan 07 11:08:55 2004: clfileprop: Manual file collection propagation
called.
Wed Jan 07 11:08:55 2004: clfileprop: The following file collections
will be processed:
Wed Jan 07 11:08:55 2004: clfileprop: Test_Files Wed Jan 07 11:08:55
2004: clfileprop:
Wed Jan 07 11:08:55 2004: clfileprop: Starting file propagation to
remote node riga.
Wed Jan 07 11:08:55 2004: clfileprop: Successfully propagated file
/tmp/kris to node riga.
Wed Jan 07 11:08:55 2004: clfileprop: Successfully propagated file
/tmp/k2 to node riga.
Wed Jan 07 11:08:55 2004: clfileprop: Total number of files propagated
to node riga: 2


Managing HACMP File Collections . . . . . . . . . . . . . . . . . . . . . . . 186
Default HACMP File Collections . . . . . . . . . . . . . . . . . . . . . . . . . 186
Options for Propagating an HACMP File Collection . . . . . . . . . . 188
Using SMIT to Manage HACMP File Collections . . . . . . . . . . . . 189
Setting the Automatic Timer for File Collections . . . . . . . . . . . . . 190
Changing a File Collection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191
Removing Files from a File Collection . . . . . . . . . . . . . . . . . . . . . 192
Removing a File Collection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192
Verifying and Synchronizing File Collections . . . . . . . . . . . . . . . 192


 
Khalida,
I haven't called IBM yet. Just wanted to post this before going to ask IBM.

Ogniemi,
I know we can use cm_filecollection_mgt fast path to see AIX_files, HACMP_files, configuration_files.
But what I am trying to get all these files by a command without using smitty ,which I could not find anywhere.


Thanks

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top