- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Mirroring SW on different directories
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
тАО06-17-2002 06:32 AM
тАО06-17-2002 06:32 AM
Mirroring SW on different directories
I need an utility (hopefully a HP-UX command) which allows to perform the SW mirroring on between different directories.
In brief, it should be nice that the utility is triggered by the file changes and automatically apply the change (it copies the file).
Does it anything exist?
Thank you
Enrico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2002 06:34 AM
тАО06-17-2002 06:34 AM
Re: Mirroring SW on different directories
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2002 06:39 AM
тАО06-17-2002 06:39 AM
Re: Mirroring SW on different directories
I'm using HP-UX MC/SG. Each node has local disks and shared disks; some of the files on the local disks have to be replicated acros s all the nodes; the easiest way is to copy the files from the local disks to the shared disks each time the files change, then to copy the files from the shared disks to the local disks each time the shared disks are mounted by the new active node.
Finally, I need something which copies the files from the local disks to the shared one each time they change.
Thanks
Enrico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2002 06:42 AM
тАО06-17-2002 06:42 AM
Re: Mirroring SW on different directories
I'm unaware of a command or utility to do this automatically. We use the attached script to propagate files that need to be shared amongst our various servers.
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2002 06:43 AM
тАО06-17-2002 06:43 AM
Re: Mirroring SW on different directories
Perhaps the most strightforward way to do this, is to use a find -newer timestampfile -exec. The -exec would copy the file to the mirror location. The idea is that you would initially manually sync the files and create a timestampfile with touch. You could then have a cron job to run the find command and update the timestamp.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2002 06:47 AM
тАО06-17-2002 06:47 AM
Re: Mirroring SW on different directories
MirrorDisk/UX is used to mirror logical volumes on the same system. This is a licensed product and need a codeword to install. You can also looks at the hp-ux command "rdist" to see if that serves your purpose. Do "man rdist" for more info on this command.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2002 06:52 AM
тАО06-17-2002 06:52 AM
Re: Mirroring SW on different directories
There is NO utility or HP command to do what you require.
You will have to write yourself a script/job to do it using something like software distributor or cron/find etc. Its going to take some time and expertise to accomplish this im afraid.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2002 07:00 AM
тАО06-17-2002 07:00 AM
Re: Mirroring SW on different directories
I use HP-UX + MC/SG.
My cluster is composed by two nodes and three disks, two of them are local to the nodes, the third disk is shared and contains the application XXX.
I create an user of the application XXX when it is running on the node A: the passwd is updated, the /home/newuser directory is created; the application persistent data are updated with the newuser data.
When the appliication XXX switches to B node, the user newuser doesn't exist !! To solve this problem I can copy from A to B the portion of passwd with the line concerning newuser, but I have't yet the /home/newuser on B.
My idea is to copy /home/newuser from local disk to shared disk automatically, then to copy from shared disk to B local disk when the application XXX starts on B.
It must be clear that the copy is performed on the same host, not across different hosts!
So a simple cp command is enough! I need the trigger for the cp command ....
thanks
Enrico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2002 08:18 AM
тАО06-17-2002 08:18 AM
Re: Mirroring SW on different directories
Take a look at http://veritas.com
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2002 10:25 AM
тАО06-17-2002 10:25 AM
Re: Mirroring SW on different directories
the "trigger" you look for is hidden inside the kernel, so it's not easy (read: pretty difficult) to it that way.
Why not using a "crontab" entry to start "rsync"? That tool is free (get it from http://rsync.samba.org e.g.), has an option to transfer only the changed files (read: synchronize the directories), and can use "ssh" as the transport protcol (for security reasons).
HTH,
Wodisch