1825771 Members
2021 Online
109687 Solutions
New Discussion

Re: Ignite ux recovery

 
SOLVED
Go to solution
subodhbagade
Regular Advisor

Ignite ux recovery

Hi,

I am using hp-ux 11.11, having sap application on it and need suggestion on following task--

I am planning for Ignite -ux recovery to resize the root file system, i have prepare following steps please advice.

(1)
#/opt/ignite/bin/make_tape_recovery -a /dev/rmt/?mn -I -v -x inc_entire=vg00
or
#make_tape_recovery -v -x inc_entire=vg00 -a /dev/rmt/1mn

This command backs up every file in the root disk/volume vg00 and later make it possible to use for booting.

which command i should use or both gives a same o/p ?

(2)
> When we do make_tape_recovery should we stop applications and database?

(3)How to check the recovery on tape done successfully and it is up to date ( that we have backed up earlier using make_tape_recovery)

(4) Review the log files:
/var/opt/ignite/logs/makrec.log1 #Logs progress reports
/var/opt/ignite/logs/makrec.log2 #Logs an Index of filesets stored on tape

(5) Interrupt the boot sequence

Main Menu > Look for tape drive boot path, Sequential access media
Main Menu > BOOT from Interact with IPL? > N

(6)Install Hp-ux >>>>Advance installation >>install from this console.

(7)> When we boot from tape and install with large size of root ..... is the system automatically recovered or some steps are left after booting.

(8) Is the installation will ask me to add the ignite server ip and any details about ignite server ?

please suggest any changes or whether all steps are ok ? and what could be the post installation steps.

I am doing this 1st time kindly help..

Thanks in advance.
subodh
7 REPLIES 7
James R. Ferguson
Acclaimed Contributor
Solution

Re: Ignite ux recovery

Hi:

1. I prefer the syntax with the '-I' switch since then when you boot from the tape you are greeting with a one-line message identifying the system name and date of the tape.

2. There is no need to stop applications or databases as long as no volatile files reside on vg00 in this case.

3. If the make_tape_recovery completes sucesssfully, consider the tape "good". Like any backup tape, you won't _really_ know that its good until you use it!

4. These were logs from very old Ignite versions if I remember correctly. See: '/var/opt/ignite/recovery/latest' for current Ignite versions.

5. Yes.

6. Yes.

7. You will choose "Install HP-UX" -> Media Only" -> "Advanced Installation". On the "Basic" tab, at the bottom right, select the "Additional" dialog. Once there, choose your boot disk and whether or not you want to import your non-vg00 volume groups automatically. Afterwards, visit the "FileSystem" tab to size your logical volumes to your needs.

On the "System" tab under "Final System Parameters" I like to choose "Ask at First Boot". This will cause '/sbin/set_parms' to run after the Ignite session to allow you to configure your network settings.

8. Before you begin, 'vgexport' in _preview_ mode any non-vg00 volume groups. Use the '-s' and '-m' options and copy the mapfiles to a place (another server) where you can eaily get them. Document your server configuration and keep it handy. Do this before you actually boot from your tape.

Regards!

...JRF...
Steven E. Protter
Exalted Contributor

Re: Ignite ux recovery

Shalom,

1) Either command will run, first one is more to my liking

2) If you intend to restore the database or they are part of vg00, you MUST stop the database to get a clean copy. The database should not be part of vg00 and therefore can be ignored during the build stage.

3) There is a log file created in /var/opt/ignite Read it carefully.

4) Good step.

5) Interrupt is good.

6) Its not really an install, it just looks like an install. Simply resume after picking root file system size you can live with.

Note: You can avoid this procedure entirely if you stop storing data files in / fs.

du -k | more |sort -rn | more

You may identify some big files you can get rid of.

The procedure itself is solid.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Avinash20
Honored Contributor

Re: Ignite ux recovery

"I am planning for Ignite -ux recovery to resize the root file system, i have prepare following steps please advice."

Hope you have enough "Free PE" in vg00 for extending it.


"(3)How to check the recovery on tape done successfully"

look up the log files at /var/opt/ignite/recovery//.
recovery.log

Checking boot volume on tape (LIF header)

# /opt/ignite/bin/copy_boot_tape -u /dev/rmt/0mn -b -d /tmp
# /usr/bin/lifls â l /tmp/bootimage

Checking the tar archive on the tape

# /usr/bin/mt -t /dev/rmt/0mn rew
# /usr/bin/mt -t /dev/rmt/0mn fsf 1
# /usr/bin/tar tvf /dev/rmt/0m Note: 0m not 0mn
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Avinash20
Honored Contributor

Re: Ignite ux recovery

I followed this sequence once

Here are some steps that you will need to follow in order to change the size of your root filesystem using Ignite/UX and the make_recovery tape.
---------------------------------------------------------------------
1. Install Ignite-UX on your system
2. run make_recovery (with relevant options), to create bootable tape
3. reboot your system & Press a key to abort non-interactive recovery.
4. Select appropriate language.
5. Select Advanced Options from the menu (3rd option).
6. Select Edit Config from the submenu (2nd option).
7. Change the last RECOVERY entry in the file to RECOVERY=TRUE and exit vi.
8. Select Install HP-UX from the menu (1st option).
9. Choose either Guided or Advanced Installation (advanced is required for changing filesystems).
10. Complete all other required information and select Go! to begin the recovery.
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Bijeesh
Respected Contributor

Re: Ignite ux recovery

(1)
#/opt/ignite/bin/make_tape_recovery -a /dev/rmt/?mn -I -v -x inc_entire=vg00

This will give interactive mode which can use to make any desired changes to file system.

Checking boot volume on tape (LIF header)
# /opt/ignite/bin/copy_boot_tape -u /dev/rmt/0mn -b -d /tmp
# /usr/bin/lifls â l /tmp/bootimage
Checking the tar archive on the tape
# /usr/bin/mt -t /dev/rmt/0mn rew
# /usr/bin/mt -t /dev/rmt/0mn fsf 1
# /usr/bin/tar tvf /dev/rmt/0m

During booting from the tape,

1) Insert the System Recovery tape into the tape drive.
2) Boot the system.
3) Interrupt the boot sequence to redirect it to the tape drive.
4) Cancel the non-interactive installation by hitting the key
The "Ignite-UX Welcome" screen will be presented.
Select the option: [ Install HP-UX ]
Then select the option: [ ] Advanced Installation
5) Make any desired changes to the file systems


rgds
Bijeesh
Armin Kunaschik
Esteemed Contributor

Re: Ignite ux recovery

It's also possible to do this online if your vg00 is mirrored and you think that you can handle this.
Search the forum or check http://www.met.ca/itrc/index.php?option=com_content&task=view&id=79&Itemid=2
Make sure you have an ignite backup handy, in case something goes wrong... but you should always have a backup available.

My 2 cents,
Armin

PS: Please assign points!
And now for something completely different...
subodhbagade
Regular Advisor

Re: Ignite ux recovery

Hi.....

Thanks to all for giving valuable suggestion .

still I want to ensure the following---

(1)
As suggested by James, why " 'vgexport' in _preview_ mode for any non-vg00 volume groups " is require before booting from tape , Is it Mandatory ? how this will help ?
(while exporting vg it will remove all data concerning the vg from system)

I know the sequence i.e vgexport > mkdir > mknod > vgimport but how should i use this for non vg (syntax)..

(2)During what stage it will ask me to resize the root lv ..

(3) And what will be the post-installation steps..

Thanks in advance.
subodh.