HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- make_recovery -r interactive
Operating System - HP-UX
1830581
Members
2915
Online
110015
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
11-27-2000 12:44 PM
11-27-2000 12:44 PM
Can I force make_recovery -r to occur without interacting with the user (me) ?
I would like to use make_recovery in cron to create a recovery tape on a daily basis.
I use the -p option to generate the arch.include file, then massage the file, and use make_recovery -r to finish the job. I may also add the commands automatically to config.recovery to automate the re-mirror of the OS drives.
I would like to use make_recovery in cron to create a recovery tape on a daily basis.
I use the -p option to generate the arch.include file, then massage the file, and use make_recovery -r to finish the job. I may also add the commands automatically to config.recovery to automate the re-mirror of the OS drives.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2000 01:00 PM
11-27-2000 01:00 PM
Solution
Use a file to feed the make_recovery a "yes" to continue.
# cat > /var/opt/ignite/recovery/yes.file
y
ctrl-d
So your cron entry would read something like:
#min hour monthday month weekday command
10 14 15 * 2 /opt/ignite/bin/make_recovery -r < /var/opt/ignite/recovery/yes.file > /var/opt/ignite/recovery/recovery.out 2> /var/opt/ignite/recovery/recovery.err
# cat > /var/opt/ignite/recovery/yes.file
y
ctrl-d
So your cron entry would read something like:
#min hour monthday month weekday command
10 14 15 * 2 /opt/ignite/bin/make_recovery -r < /var/opt/ignite/recovery/yes.file > /var/opt/ignite/recovery/recovery.out 2> /var/opt/ignite/recovery/recovery.err
"Downtime is a Crime."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2000 08:57 AM
11-28-2000 08:57 AM
Re: make_recovery -r interactive
Hi.
Within a script, I was able to simply:
echo "y" | make_recovery -r
I'll attach a script that I wrote (long ago!) to create a make_recovery and preserve mirror information.
Best of luck,
-tjh
Within a script, I was able to simply:
echo "y" | make_recovery -r
I'll attach a script that I wrote (long ago!) to create a make_recovery and preserve mirror information.
Best of luck,
-tjh
I learn something new everyday. (usually because I break something new everyday)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2000 11:16 AM
11-28-2000 11:16 AM
Re: make_recovery -r interactive
Replying to my own message:
echo "y" | make_recovery -r
was the first thing I thought of. Our system has quite a few disks, and is running in a ServiceGuard cluster, so the list_expander runs for a very long time. So the system appears to be doing nothing for a very long time (approx. 7 minutes). Giving me the impression that the re-direction of stdin did not work. Although I can use public domain software ("expect") to handle such behavious, I am always reluctant to do so.
But I have decided to become more patient, and, low and behold, it works fine.
It would be nice if make_recovery was a little more verbose about what it is doing...
Thanks all for your replies !!!
echo "y" | make_recovery -r
was the first thing I thought of. Our system has quite a few disks, and is running in a ServiceGuard cluster, so the list_expander runs for a very long time. So the system appears to be doing nothing for a very long time (approx. 7 minutes). Giving me the impression that the re-direction of stdin did not work. Although I can use public domain software ("expect") to handle such behavious, I am always reluctant to do so.
But I have decided to become more patient, and, low and behold, it works fine.
It would be nice if make_recovery was a little more verbose about what it is doing...
Thanks all for your replies !!!
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