cancel
Showing results for 
Search instead for 
Did you mean: 

Backup's

SOLVED
Go to solution
Grayh
Trusted Contributor

Backup's

Which one of the following should I use for the back up before the ship the server to the destination...

I have SAP running on this L Class Box and is connected to SAN.....

make_sys_image

make_net_recovery to clone the system

make_net_recovery -s hp01 -x inc_entire=vg00 -x inc_entire=vg00 -x( to take the fiull system backup

--------------------------------------------

Which one of the following should I use to swing the server to a similar hardware without downtime .. like from an L Class to an L Class

1. Using the below create the Golden Archive..

http://docs.hp.com/en/5992-5309/ch11s02.html#cegbcbaf

or

use make_net_recovery to backup vg00

wat about the other filesystems... how do I take backup of the other filesystems..

So that the entire contents of System A are transferred to System B.What If I have Critical Applications running on System A..how then...

If the system is connected to a storage... how to do then...

plz advise

33 REPLIES
Patrick Wallek
Honored Contributor

Re: Backup's

>>Which one of the following should I use for
>>the back up before the ship the server to
>>the destination...

For VG00, you can use make_net_recovery.

For the rest of the data you need to use whatever your corporate backup product is.
V. Nyga
Honored Contributor

Re: Backup's

Hi,

you use make_sys_image if you want to use an ignite server (and use the image for several installations)
Else you use make_net_recovery or make_tape_recovery.

Normally you only create this backup for vg00.
Anything else you can backup with any backup utility (for ex. fbackup). Be sure that your applications are down for this backup.

HTH
Volkmar
*** Say 'Thanks' with Kudos ***
Grayh
Trusted Contributor

Re: Backup's

what are the files that I should check from the OS perspective and h/w perspective to swing the server to another N class..
Tingli
Esteemed Contributor
Solution

Re: Backup's

I think this is more likely a system clone. Here is a link with basic clone process, following it can lead you to the right direction.

http://docs.hp.com/en/5992-5309/ch15s02.html#bghcbdia
Grayh
Trusted Contributor

Re: Backup's

One last query..

I have a NFS mount set up... How can I use make_net_recovery to take images here at the mount.. also how to do it with fbackup..

For make_net_recovery to work.. wat s/w do I need on the Server..
Tingli
Esteemed Contributor

Re: Backup's

to make make_net_recovery work, you need ignite installed in your ignite server.
V. Nyga
Honored Contributor

Re: Backup's

Hi,

it makes no sense to make images from nfs mounts.

fbackup is in SAM - Backup and Recovery - Interactive Backup and Recovery -- then you need a connected backup device (tape) or use a remote backup device.

Hmmm - with make_sys_image there are some system file which are not stored, they are created new - /etc/passwd, /etc/hosts, /etc/fstab (your nfs informations)
I don't know how it is with make_net_recovery ...

V.
*** Say 'Thanks' with Kudos ***
Grayh
Trusted Contributor

Re: Backup's

http://docs.hp.com/en/5992-5309/ch15s02.html#bghcbdia

from the above link I see that both mk_sys image and mk_nte recovery can be used to clone systems... each has it's own pro's & con's

I have a rp5450 and I am cloning it to a new rp5450 and move this a different place..

Which method do u think would be the best.. In any method where will the image be stored...

Do I nees to have a Different Ignite server for this or should I install the Ignite depot on each of these boxes...

Tingli
Esteemed Contributor

Re: Backup's

I still suggest using the clone method, as you can just use the existing old ignite file to build the new system. You can use a single server for the build up but you need to have the new machine and the server in the same subnet to boot it up.
Grayh
Trusted Contributor

Re: Backup's

ok..

So do I need to hit this command at source(I have to make a exact copy of this on new server) or target(new system)

#make_net_recovery

Is it just that one line.... or do I have to specify a sequence of commands.. if so plz advise
Tingli
Esteemed Contributor

Re: Backup's

Usually, I make the ignite backup through gui from there server. It is a lazy but easy way.
Grayh
Trusted Contributor

Re: Backup's

Thats nice... Could you plz tell how to take backup using ignite in GUI...

Could you plz give me any doc on how to do it...
Tingli
Esteemed Contributor

Re: Backup's

In your server, set up its DISPLAY first. Then use ignite & to start it. The server will scan the net to find the clients by itself and creates icon for each client. And you can open the icon, which will lead you to where you want.
Gokul Chandola
Trusted Contributor

Re: Backup's

Hi,
For Ignite backup you have to install ignite s/w in a separate machine that will work as Ignite Server and from client end we can difine ignite Server for that and we will push for backup and time-to-time we can synchronise it and whenever we required restore.
We can Full system restore to Put Server ip in booting time.
Your full system will restore.

please read the Ignite document for that, this is simple and very safe But you need a separate server for that.

Regards,
Gokul Chandola
There is always some scope for improvment.
Grayh
Trusted Contributor

Re: Backup's

I am confused...

Should I take backups to clone the target from the source or from the Ignite server...

Where should I hit these commands or invoke the gui...
Grayh
Trusted Contributor

Re: Backup's

will the below script work....

#!/usr/bin/sh
# tape recover from net image.
# Author
#####
IGNDIR=/var/opt/ignite/clients
TMP=/tmp
TAPEDRIVE=/dev/rmt/0mn
#####

#########################
check ()
{
if [ "$(id -u)" != "0" ] ; then
echo "This script must be run as root" 1>&2
exit 1
fi
}

#########################
input ()
{
count=1
while [ $count -eq 1 ]
do
echo "Please enter name of system you want yo make image of:"
read System
if [ -d $IGNDIR/$System ] ;
then
echo "$System exist on mou065"
count=0
else
echo "!!! System You entered $System doesn't exist on Ignite Server !!!"
echo "!!! Please check and re-enter host !!!"
count=1
fi
done

echo "Please make selection what HP version to use"
echo "B.11.11, B.11.23, B.11.31:"
read var
case "$var" in
"B.11.11")
Ver=`echo "B.11.11"`
;;
"B.11.23")
Ver=`echo "B.11.23"`
;;
"B.11.31")
Ver=`echo "B.11.31"`
;;
*)
echo "No HP matching OS version found !"
exit 1
;;
esac
}
#############################
make_lif ()
{
REAL=`ls -l $IGNDIR/$System/recovery/| grep "latest" | awk -F"->" ' { pr
int $2 } ' | sed 's/ //g'`
cd $IGNDIR/$System/recovery/$REAL
/opt/ignite/bin/make_medialif -f system_cfg -f control_cfg -f archive_cf
g \
-C "$REAL $System recovery image" \
-l $TMP/lif -a -r $Ver
instl_adm -d -F $TMP/lif > $TMP/cfg.tmp
cat $TMP/cfg.tmp | grep -v "end instl_adm defaults." > /$TMP/cfg
echo "control_from_server=FALSE" >> $TMP/cfg
echo "run_ui=TRUE" >> $TMP/cfg
echo "env_vars += \"INST_ALLOW_WARNINGS=10\"" >> $TMP/cfg
echo "# end instl_adm defaults." >> $TMP/cfg
instl_adm -F $TMP/lif -f $TMP/cfg
}

###############################
make_tape ()
{
mt -t $TAPEDRIVE rew
dd if=$TMP/lif of=$TAPEDRIVE obs=2k
dd if=/var/opt/ignite/recovery/archives/$System/$REAL \
of=$TAPEDRIVE obs=10k
mt -t $TAPEDRIVE rew
}
###############################
cleanup ()
{
rm /tmp/lif
rm /tmp/cfg.tmp
rm /tmp/cfg
}

check
input
make_lif
make_tape
cleanup
Tingli
Esteemed Contributor

Re: Backup's

First, you make a vg00 backup from your old system. Then you create a backup clone following the clone document. After that, you install the new system from the backup clone.
Grayh
Trusted Contributor

Re: Backup's

How to take a backup & clone on a external disk...

could u plz give me the step by step instruction to do this please....
Tingli
Esteemed Contributor

Re: Backup's

Does your rp5450 have a tape drive?
Steven E. Protter
Exalted Contributor

Re: Backup's

Shalom,

How to take a backup & clone on a external disk...

could u plz give me the step by step instruction to do this please....


dd if=/localdisk of=/externaldisk bs=1024 count=#####

Replace localdisk with a valid disk device, externaldisk with an external disk you have already run pvcreate on. Make the ##### a count big enough to cover the entire contents of the disk.

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
Grayh
Trusted Contributor

Re: Backup's

No... It does not have a tape drive

I have just found out something...

On some of the machines I have 11.00 running... Can I clone them as well .. if yes how..

I do not see an supported version of Ignite for 11.00...
Tingli
Esteemed Contributor

Re: Backup's

I think that 11.00 can have ignite backup too.

And, have you decided a server as ignite server and does it have ignite installed?
Grayh
Trusted Contributor

Re: Backup's

http://docs.hp.com/en/IUX/download.html

The above link does not include 11.00.. plz advise..

I have an Ignite server on site.. but not sure for which version(11.00 or 11.11 or 11.23) it is...

I was also thinking to setup and Ignite server from the below link for 11.11.. I do not know wat to do with 11.00

http://docs.hp.com/en/IUX/download.html


Tingli
Esteemed Contributor

Re: Backup's

How about swlist -l product | grep -i ignite?