- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- make_net_recovery and cron (distribution)
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
тАО08-08-2008 12:33 AM
тАО08-08-2008 12:33 AM
I'm setting up a local management server with my scripts and stuff.
I created a small script to take a make_net_recovery and wants to add this script to the crons of my client (servers).
However, I want to maintain this script locally, even so as all cron tasks.
So I was thinking:
1/ create make_net_recovery script locally
2/ add this script to my own crontab
3/ scp make_net_recovery-script to all clients
4/ scp my own crontab to all clients
however, then all clients will start their make_net_recovery exactly at the same time ...
any workarounds ?
brgds,
Raf
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2008 12:55 AM
тАО08-08-2008 12:55 AM
Re: make_net_recovery and cron (distribution)
I think you need to check how many clients the server can serve at a time ...
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2008 12:58 AM
тАО08-08-2008 12:58 AM
Re: make_net_recovery and cron (distribution)
Even so, if all 10 clients start at the same time, they all may take longer then when I start them one after the other ?
So what I want to accomplish is to have them all start with 1 hour difference.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2008 04:13 AM
тАО08-08-2008 04:13 AM
Re: make_net_recovery and cron (distribution)
I am not sure whether I understood your requirement correct or not. If you have a ignite server and wants to take clients backup in regular interval in different timings then
schedule the crontab entry with different timings in the clients like below.
on client1:
===========
00 01 15 * * /opt/ignite/bin/make_net_recovery -s
on client2:
===========
00 01 1 * * /opt/ignite/bin/make_net_recovery -s
on client 2
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2008 04:16 AM
тАО08-08-2008 04:16 AM
Re: make_net_recovery and cron (distribution)
yes that is exactly what I want, but I do not want to log on to each server, edit the contab en move to the next.
No I was thinking of creating one crontab, distribute it, and then apply some kind of trick I'm still looking for to make sure each server starts at a different time.
What you suggest is correct, but my question is, how to implement this with the least effort ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2008 06:29 AM
тАО08-13-2008 06:29 AM
SolutionWithin the script you could examine the hostname that it runs on and then fire off an "at" job at various times based on the hostname.
That would keep the script and the crontab the same, but buries the details of when the make_net_recovery actually is run.
This could cause issues around daylight saving time transitions, if they apply.
and it introduces a level of obfuscation that I don't like to see, but thats up to you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2008 07:01 AM
тАО08-13-2008 07:01 AM
Re: make_net_recovery and cron (distribution)
ssh HOSTNAME make_XXX_recovery
so it is the server who manages.
Thank you alle for the replies.
Raf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2008 07:10 AM
тАО08-13-2008 07:10 AM
Re: make_net_recovery and cron (distribution)
make_net_recovery uses a lot of network band width.
It is a BAD idea to start them all the same time. You need to stagger them.
Have root start the job on each system and set the crontab to stagger the jobs.
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
тАО08-13-2008 08:26 AM
тАО08-13-2008 08:26 AM
Re: make_net_recovery and cron (distribution)
I was not totally clear ;-)
Ignite server (cron)
0 22 * * * ssh server1 make_net_recovery
0 23 * * * ssh server2 make_net_recovery
etc etc
thanks all,
Raf