HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to distribute configuration files to multi...
Operating System - HP-UX
1833589
Members
3759
Online
110061
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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-18-2005 11:19 AM
02-18-2005 11:19 AM
I have multiple(11) systems running HPUX. I'd like to be able to distribute an ASCII config file to all the systems at once from a central location. For example the /etc/group file.
Any suggestions or recommended tools.
Any suggestions or recommended tools.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2005 11:27 AM
02-18-2005 11:27 AM
Re: How to distribute configuration files to multiple machines
Usually You'd simply loop over a list of servers like in the following:
for nodename in `cat list_of_nodes`
do
scp -qp /etc/group $nodename || echo copying to $nodename failed with error $? !
done
an automatic means for i.e. distribution from crontab that comes with the os is rdist, but I've found it to be somewhat risky for system files, which also counts for the more professional rsync program.
To be fair: I use both of them for distribution of data, and never encountered any problem.
rsync also has a daemon mode which is the ueber-feature of this product, changing the distribution from pushing to pulling the file.
If it were system files, I'd probably copy them to a /etc/group.new and have a local script do a small test (i.e. diff doesn't show unreasonable changes, number of lines doesn't drop by more than X) and mv them over on by a script in the target systems crontab, so that a unnoticed error won't easily disable all systems.
the classical way of distributing /etc/group and alike would be NIS, the Network Information Service.
for nodename in `cat list_of_nodes`
do
scp -qp /etc/group $nodename || echo copying to $nodename failed with error $? !
done
an automatic means for i.e. distribution from crontab that comes with the os is rdist, but I've found it to be somewhat risky for system files, which also counts for the more professional rsync program.
To be fair: I use both of them for distribution of data, and never encountered any problem.
rsync also has a daemon mode which is the ueber-feature of this product, changing the distribution from pushing to pulling the file.
If it were system files, I'd probably copy them to a /etc/group.new and have a local script do a small test (i.e. diff doesn't show unreasonable changes, number of lines doesn't drop by more than X) and mv them over on by a script in the target systems crontab, so that a unnoticed error won't easily disable all systems.
the classical way of distributing /etc/group and alike would be NIS, the Network Information Service.
yesterday I stood at the edge. Today I'm one step ahead.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2005 11:26 PM
02-18-2005 11:26 PM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2005 05:48 AM
03-09-2005 05:48 AM
Re: How to distribute configuration files to multiple machines
The first solution with scp is basicly what I've been doing.
The cfengine is interesting. I downloaded and compiled my own verison and just ran cfagent. I really like the output. I'm still in the test stage but will probably implement it.
Thanks,
Pete
The cfengine is interesting. I downloaded and compiled my own verison and just ran cfagent. I really like the output. I'm still in the test stage but will probably implement it.
Thanks,
Pete
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP