- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- extreme ignite backup test.. ??
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
04-03-2002 08:39 AM
04-03-2002 08:39 AM
I just did an ignite backup using
/opt/ignite/bin/make_tape_recovery -a /dev/rmt/0mn -I -v -x inc_entire=vg00
It finished and everything went fine.Now I want to test it. I was thinking of moving some files around like /stand/vmunix or /etc/rc.config.d/* and then boot from the ignite tape to see if it will recreate the moved files and boot right.
Now I am wondering is this too extereme? I just want to know without a dout that I can recover a system from an ignite tape if i have to. On that note if anyone has any tips on ignite recovery please do share them. From my understanding I just have to
Interupt the boot process and boot from the tape. Is it really that easy?
Richard
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2002 08:42 AM
04-03-2002 08:42 AM
Re: extreme ignite backup test.. ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2002 08:52 AM
04-03-2002 08:52 AM
SolutionI wouldn't do these tests if it is a production server ! If you have a test server of your own, then you can try that. You don't need to test the recreation of files, instead you can test the media, the recovery speed, the recovery options etc. Because during recover, it will recreate everything on the vg00.
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2002 08:53 AM
04-03-2002 08:53 AM
Re: extreme ignite backup test.. ??
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2002 09:05 AM
04-03-2002 09:05 AM
Re: extreme ignite backup test.. ??
You can do this safely just by booting from the tape. For safety, I would create 2 ignite tapes. Update us once you have done this ( the steps, any issues etc.)
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2002 09:12 AM
04-03-2002 09:12 AM
Re: extreme ignite backup test.. ??
There is no reason to move or delete anything before you boot from the tape though. When Ignite/UX starts the installation it will do a pvcreate, mkboot, etc. on the disk(s) that will comprise VG00. Any data that was there will be wiped out and overwritten.
If you're not familiar with the Ignite process, then this is the best way to learn.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2002 09:13 AM
04-03-2002 09:13 AM
Re: extreme ignite backup test.. ??
1. You can use copy_boot_tape command to copy the boot area into /tmp/bootarea.
copy_boot_tape -u /dev/rmt/0mn -b -d /tmp/bootarea
It should create a file called /tmp/bootarea/bootimage.
It will also list out the boot file contents once it is done. You can use regular lifls and lifcp commands against this file..
lifls /tmp/bootarea/bootimage
lifcp /tmp/bootarea/bootimage:AUTO -
This should give out the INSTALL string.
2. To view the archive later to bootimage use
mt -t /dev/rmt/0mn rew
mt -t /dev/rmt/0mn fsf 1
tar xvf /dev/rmt/0m specific files
If the above is successful, then tape will work.
There is also another useful command called make_check_recovery. Look the man page.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2002 09:31 AM
04-03-2002 09:31 AM
Re: extreme ignite backup test.. ??
This command won't do anything for though. There are 2 reasons for this: 1) You used the make_tape_recovery command to create your tape. check_recovery only works if you use make_recovery and the '-C' option. 2) check_recovery doesn't do what I think Sridhar thinks it does. From the check_recovery man page: "check_recovery compares the current state of the system to the System Recovery status file (created by the last invocation of make_recovery) to determine if a new System Recovery Tape needs to be created."
check_recovery, contrary to what MANY people believe, does NOT check to make sure your make_recovery, or make_tape_recovery, tape is good.
Keep creating your tape with make_tape_recovery. Don't worry about make_recovery and the '-C' option. It adds unnecessary time to the tape creation process and its just easier to go ahead and create a new tape. If you think you need a new make_tape_recovery tape, then you probably do.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2002 09:41 AM
04-03-2002 09:41 AM
Re: extreme ignite backup test.. ??
But he might be wrong thinking that I thought check_recovery is to check the ignite tape. That is the reason why I only mentioned that it was a useful command and advised to check the man page. In a nut shell, it tells you whether you need a fresh ignite tape based on the previous session. This was the answer to one of your questions about "tips". I always use -C option so that I can later use check_recovery.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2002 10:30 AM
04-03-2002 10:30 AM
Re: extreme ignite backup test.. ??
Thanks everyone
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2002 01:17 PM
04-03-2002 01:17 PM
Re: extreme ignite backup test.. ??
I'll make two additonal comments for you. First, I agree with Patrick in regard to using 'check_recovery' -- in my opinion it doesn't gain you much. It is much simpler to remake the Ingite recovery tape/archive on a routine basis or whenever configuration changes have been made. Moreover, it is likely that the command will disappear in a later Ignite release.
Secondly, if you ever implement (and I hope you do) an off-site Disaster Recovery plan, you will be utilizing your Ignite recovery tapes on hardware with (certainly) different I/O configurations.
In these cases, choose the "Advanced Installation" mode. This will give you the ability to select and control filesystem properties and/or choose whether you want to manually run '/sbin/set_parms' to setup the hostname and networking characteristics after the initial Ignite or let it be automatically done.
Map files on your volume groups were captured by the 'make_tape_recovery' process, and included on the tape you created. The Ignite recovery will attempt to 'vgimport' using these specifications. If you have different and/or missing device files as on a different server, then this will "fail". You will see a block-letter "FAILURE" message at the end of the ignition for this reason, but you *will* have a viable vg00. Review the install.log to confirm this and manually 'vgimport' your volume groups. If you have any mirrored logical volumes, you will have to re-mirror them manually since Ignite does not handle this.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2002 02:28 PM
04-03-2002 02:28 PM
Re: extreme ignite backup test.. ??
My 2 cents...
copy_boot_tape will read a make_tape_recovery tape. It will extract either the bootimage, archive, or both. Sri's command should write bootimage to /tmp/bootarea (providing it exists and has enough space - guessing about 60MB). I use this regularly after doing make_tape_recovery:
copy_boot_tape -u /dev/rmt/0mn -d /var/tmp -b
You can use lifls and lifcp again bootimage just as you would against the lif area of a disk.
I do agree that the best test is to boot from the tape but for me, that's not something I can do everytime I create a tape. I boot off one occassionally but the rest of the time I rely on copy_boot_tape.
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2002 03:47 PM
04-03-2002 03:47 PM
Re: extreme ignite backup test.. ??
My environment is where there are a number of administrators and hundreds of systems. Change is almost constant. When we do the change, we do it on multiple systems together and I can't run around with many tapes each time I make change. The best way is to check what changed since the last time the other administrator took the ignite. I don't care if nothing changed since then. This process is working like a charm for us and we don't mind spending a couple of minutes extra while taking the ignite.
So, it is not a general and recommended rule not to use -C option. If it fits to you, use it. I don't think HP would spend on developers to develop useless programs for no reasons.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2002 04:00 PM
04-03-2002 04:00 PM
Re: extreme ignite backup test.. ??
I have no answer but I would like to know the outome. please tell us what happened
and please assign some points to those who helped you , cheers
John.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2002 10:46 PM
04-03-2002 10:46 PM
Re: extreme ignite backup test.. ??
You can do this test in a test environment. If it is a production server and you do not have an test server you can try doing it by friday night so that in case of troubles you still have stareday and sunday for recovering ! ( of course if your production do not work in the weekend ).
Attention :
The only thing that Ignite-UX is not able to do and you must do it manuely IS :
Mirroring the internal disks ( of course if they are !).
Have alot of fun.
Magdi