- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how to keep scripts current
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
02-14-2007 07:18 AM
02-14-2007 07:18 AM
how to keep scripts current
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2007 07:23 AM
02-14-2007 07:23 AM
Re: how to keep scripts current
Simplest, declare a single server to be the gold version of all scripts.
All work occurs on that server.
Use scp or rsync to keep the script library current on all other nodes via cron
If you really have a lot of scripts you can go to a version management system. Something that elaborate is not something I ever needed to do.
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
02-14-2007 07:35 AM
02-14-2007 07:35 AM
Re: how to keep scripts current
2) Create a makefile that uses make to push the scripts to the listed nodes. Make is a good choice in that if any of your platforms change, you can set up dependencies to adapt to a particular environment.
3) Use rdist under cron to push the scripts periodically.
If your network is robust, 1) has a lot of merit.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2007 07:42 AM
02-14-2007 07:42 AM
Re: how to keep scripts current
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2007 08:00 AM
02-14-2007 08:00 AM
Re: how to keep scripts current
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2007 08:07 AM
02-14-2007 08:07 AM
Re: how to keep scripts current
http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1111
For good security, I would use ssh with rsync so the data is encrypted as it is distributed:
rsync -vzat --rsh=ssh mysystem:archive1/ archive1
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2007 01:29 AM
02-15-2007 01:29 AM
Re: how to keep scripts current
It's bundled with UX 11.23 starting
with the December '05 OE update.
cfengine is logically like using rdist/rsync
and would additionally allow you to
perform other synchronization actions in
a controlled fashion. If you just
need the 5 scripts cfengine is likely overkill.
If you want to synchronize a larger set
of files, directories, check/manage permissions
on files, perform controlled edits to files (e.g.
ensure the same cron job is defined across
N systems), check for specific processes, perform
tidy operations, etc. etc., cfengine would
be worth looking at.