- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Recursive cmsync not working as expected
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
Discussions
Discussions
Forums
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
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
тАО03-30-2009 04:14 AM
тАО03-30-2009 04:14 AM
Recursive cmsync not working as expected
Is there a way to use "cmsync -r" to synchronize whole directories ?
SGLX version used :
node1# rpm -qa |grep serviceguard
serviceguard-A.11.18.06-0.rhel5
Here is an example. The directory was created on node1 and doesn't exist yet on node2.
node1# cd /usr/local/cmcluster/conf/pkg1
node1# ls -l test_dir
total 4
-rw-r--r-- 1 root root 0 Mar 30 13:50 dummy
drwxr-xr-x 3 root root 4096 Mar 30 13:54 test_dir
node1# cmsync -r test_dir
## Copying to node node1...
## Copying to node node2...
cmcp: /usr/local/cmcluster/conf/pkg1/test_dir on node node2: not a directory.
Is it a bug ?
Thanks
M. Pauliac
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2009 04:52 AM
тАО03-30-2009 04:52 AM
Re: Recursive cmsync not working as expected
file /usr/local/cmcluster/conf/pkg1/test_dir
Maybe its not a directory, it could be a file.
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
тАО03-30-2009 05:16 AM
тАО03-30-2009 05:16 AM
Re: Recursive cmsync not working as expected
"test_dir" is a directory containing one empty file that I created on node1 in order to illustrate our problem.
It doesn't exist on node2, so obviously it's not a directory on node2.
I just want to know how we are supposed to use "cmsync -r". It doesn't seem to work at all.
thanks anyway
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2009 12:36 AM
тАО03-31-2009 12:36 AM
Re: Recursive cmsync not working as expected
We have tried to use cmsync in place of one of our custom script to do so too, and get the same behavior.
Looks to me like a bug.
Maybe SG guys will be able to give their opinion, the behavior being the same on both SGUX and SGLX.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2009 05:53 AM
тАО03-31-2009 05:53 AM
Re: Recursive cmsync not working as expected
For me, cmsync is just introduce in the new release A.11.18 to copy files and directory to multiple nodes.
I really prefer some custom script with old [rcp/scp] or newer with DSAU command such as ccp in /opt/dsau/bin
For HPUX, some patch exist to correct some bugs cmsync but for linux, i really don't know.
Hope it helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2009 05:56 AM
тАО03-31-2009 05:56 AM
Re: Recursive cmsync not working as expected
* Configuration synchronization tools - provide policy-based configuration management for groups of systems and Serviceguard clusters.
* Consolidated logging tools - provide centralized logging and advanced log filtering features. Specific support is provided for creating a highly available log consolidation server using Serviceguard.
* Command fanout tools - provide high performance tools for executing shell commands and distributing files across groups of systems and Serviceguard clusters.
http://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPDSAU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-01-2009 04:39 AM
тАО04-01-2009 04:39 AM
Re: Recursive cmsync not working as expected
We're also using custom scripts to address this problem for the time being.
I guess we'll have to wait for a bug fix.